Lectuer 6
Lectuer 6
Lectuer 6
Proof
A proof is a logically structured argument which
demonstrates that a certain proposition is true. When
the proof is complete, the resulting proposition becomes
a theorem, or if it is rather simple, a lemma.
Direct Proofs
Theorem
• Definition of Proof
• Methods of Proof
• Direct Proof
• Disproving by Counterexample.
• Proof by Contradiction
Easier Characterization
1
1. Let x 2 and y . Both are irrational.
2
1
2. Their product xy 2 1 is rational.
2
Method of Proof by Contra Positive
1. Express the statement to be proved in the form
∀x in D, if P(x) then Q(x).
2. Rewrite this statement in the contra positive form
∀x in D, if Q(x) is false then P(x) is false.
3. Prove the contra positive by a direct proof.
a. Suppose x is a (particular but arbitrarily chosen)
element of D such that Q(x) is false.
b. Show that P(x) is false.
Example
Proposition: For all integers n, if n2 is even then n is
even.
Contra positive: For all integers n, if n is not even then n2
is not even.
Proof: Suppose n is any odd integer. [We must show that
n2 is odd.] By definition of odd, n = 2k + 1 for some
integer k. By substitution and algebra,
n2 = (2k+1)22 = 4 k2 + 4k + 1 = 2(2 k2 + 2k) + 1.
But 2k2 + 2k is an integer because products and sums of
integers are integers. So n2 = 2·(an integer) + 1, and
thus, by definition of odd, n2 is odd.
Relation ship between Contra positive and
Contradiction Proofs
In a proof by contraposition, the statement
∀x in D, if P(x) then Q(x)
is proved by giving a direct proof of the equivalent
statement
∀x in D, if ∼Q(x) then ∼P(x).
To do this, you suppose you are given an arbitrary element
x of D such that ∼Q(x). You then show that ∼P(x). This is
illustrated in Figure
Cont….
To rewrite the proof as a proof by contradiction, you
suppose there is an x in D such that P(x) and ∼Q(x). You
then follow the steps of the proof by contraposition to
deduce the statement ∼P(x). But ∼P(x) is a contradiction
to the supposition that P(x) and ∼Q(x). (Because to
contradict a conjunction of two statements, it is only
necessary to
contradict one of them.) This process is illustrated in Figure
Two Classical Theorems
Theorem 1: Irrationality of 2 .
Proof:
Suppose not, suppose 2 is a rational number. Then there are integers m and n with no
m m2
common factors such that 2 , Squaring both side of the equation gives 2= 2
n n
or equivalently, m 2 2n 2 m 2 is even. it fallows that m 2k , for some integer k.
so m 2 (2k ) 2 4k 2 2n 2 , dividing both sides of the right most equation by 2 gives
n 2 2k 2 . Consequently, n 2 is even, and so n is even. Hence both m and n have a common
factor of 2. But this contradicts the supposition that m and n have no common
factors.
Cont…
Theorem 2: Prove by contra dictions 1+3 2 is irrational.
Lecture Summary
• Direct Proof
• Indirect Proof
• Proof by Contradiction
Contradiction
• Classical Theorems