Академический Документы
Профессиональный Документы
Культура Документы
^ And _ Or : Not 8 For all or every" 9 There exists or some" ! If Then or implies"
:::
$ If and only if
Laboratory for Uphill Computing
September 26, 1996 jaf
Overview
High level strategy Indicators for speci c strategies Speci c strategies Some good books
5. Apply proof techniques Work hard 6. Re-write for legibility and clarity Communicate
Laboratory for Uphill Computing
September 26, 1996 jaf
Speci c Strategies
Technique
Indicator
Any time There is For all, each, any For all, each, any Not, no in Not, no, any time Or And, both anytime
C
Forward-Backward Example
n Thm: n = n,r r Proof: By de nition,
! = ! , ! But = , , . So ! ! ! , ! =
, , ! , ! = ,
where the last step is by de nition. So, n = r
n . n,r
n
r r n r n r r n n n n r r n r n n n r n n r
Forward-Backward
Indicator Any time Strategy Work simultaneously from premise
and conclusion
n r
Construction
Indicator There is" Strategy Build a witness and use it Thm: The integers are denumerable.
Thm:
= n,r
n
Construction Example
Choose Example
integers. Let
tegers. Then, by de nition, = 2 + 1 and = 2 + 1 for two integers and . Now, let = + + 1. Then + = 2 +2 +2 = 2 So, by de nition, + is even.
x y a c b x y
10
Choose
Indicator For all, each, any" Strategy Choose and use an
even
arbitrary
Induction
Indicator For all, each, any" in a countable
domain witness
Strategy Find base case, show how to express large instance in terms of smaller instances, show that if it holds for the small instance then it holds for the next larger one.
i
11
Induction example
Thm: Prove that i= Proof: For the base case, assume n = 1. Then
i=1 nn+1 2
Pn
1 X
i=1
i=1=
So the base case holds. Now, show that if the theorem holds for n = k then it holds for n = k + 1. + k + 1 i=1 i=1 + = kk 2 1 + k + 1 = k + 1k + 2 2 The rst step is by de nition of summation, the second by inductive assumption, and the third by algebraic manipulation. This completes the induction.
i
k+1
2 11 + 1 2= 2
k X
pp
pq
12
14
Contrapositive
Indicator Not, no in "
C
Contradiction
Indicator Not, no, any time" or desperation
P
6=
pq
Thm: p2 is irrational.
13
15
Cases
Thm: p2 is irrational. Lemma: If
Contradiction Example
Indicator Or"or any time Strategy Divide and conquer Thm: There are irrational and such that
c b
2 is even, then so is x.
Proof: Let x2 = 2a. Then x2 = x x = 2a. So 2 must divide one of the multiplicands in x2.
So must be even.
x
is rational.
16
18
Then 2 = q for some integers and which p 2 have no common factors. Then 22 = 2 = p2 , q so 2 2= 2 So, 2 is even, which by the lemma implies that is even. In other words, = 2 for some integer .
q p p p p a a
Cases Example
p
This implies that 2 = 2qa22 = 4qa22 , which implies that 2 2 = 4 2 and that 2 = 2 2. So, 2 is even, which by the lemma implies that is even.
q a q a q q
This means that both and are even, and so they have the common factor 2. This contradicts our assumption and proves the theorem.
q p
p p Case 1: if 2 2 is rational, then let b = c = 2. p p Case 2: p Suppose 2 2 is irrational. Then let b = 2 2 and c = 2. Now p 2 bc = 2 2 p 2 2 = p2 = 22 = 2 So that bc is rational. These are the only two cases, so the theorem is true.
p p p p p
17
19
Compound proofs
Indicator And, both" Strategy Prove each part separately Thm: There is exactly one even prime.
Inspiration
Indicator Any time Strategy Change the Problem
20
22
Good Books
Compound Example Some excellent books on doing proofs:
Polya, G. How to Solve It, 2nd ed., Princeton, 1957. Solow, D. How to Read and Do Proofs, Wiley, 1990. Wickelgren, W. How to Solve Problems, Freeman, 1974. Polya, G. Patterns of Plausible Inference, 2nd ed., Princeton, 1968. Polya, G. Induction and Analogy in Mathematics, Princeton, 1973. Lakatos, I. Proofs and Refutations, Cambridge, 1976.
Thm: There is exactly one even prime. Proof: 2 is an even prime, so there is at least
one.
p
If and were both even primes, then both would have 2 as a divisor. But the only divisors of a prime are 1 and itself. So, both and must equal 2. So there are no other even primes than 2.
q p q
21
23