Mathematical Reasoning: Methods of Proof
Mathematical Reasoning: Methods of Proof
Methods of Proof
This Lecture
• Direct proof
• Contrapositive
• Proof by contradiction
• Proof by cases
“Proof:" We use these steps, where a and b are two equal positive
integers.
Step Reason
1.a = b Given
2.a2 = ab Multiply both sides of (1) by a
3.a2 −b2 = ab−b2 Subtract b2 from both sides of (2)
4.(a−b)(a+b)= b(a−b) Factor both sides of (3)
5.a+b = b Divide both sides of (4) by a−b
6.2b = b Replace a by b in (5) because a = b and
simplify
7.2=1 Divide both sides of (6) by b
Proof n = 2k + 1
n2 = (2k + 1) 2 = 4k2 + 4k + 1 = 2(2k2 + 2k) + 1.
By the definition of an odd integer, we can
conclude that n2 is an odd integer
• Direct proof
• Contrapositive
• Proof by contradiction
• Proof by cases
Proving an Implication
numerator
and b ≠ 0.
denominator
Method 2: Prove the contrapositive, i.e. prove “not Q implies not P”.
Proof: n = 2k
n2 = 4k2
Proof: n2 = 2k
n = √(2k)
??
Proof the Contrapositive
So n2 = (2k+1)2
So n2 is an odd number.
Prove that if n is an integer and 3n+2 is odd, then n is odd
Proof by contrapositive:
“If 3n+2 is odd, then n is odd” is false; namely,
Contrapositive: If n is even, then 3n+2 is even.
assume that n is even.
Then, by the definition of an even integer, n = 2k for some integer
k.
Substituting 2k for n, we find that
3n+2 = 3(2k)+2 = 6k +2 = 2(3k+1).
• Direct proof
• Contrapositive
• Proof by contradiction
• Proof by cases
Proof by Contradiction
PF
P
To prove P, you prove that not P would lead to ridiculous result,
and so P must be true.
Proof by Contradiction, Example
Assume p is true and q is false, Assume that n3+5 is odd, and n is odd
Theorem: 2 is irrational.
if the square of an integer is even, then the integer itself must be even.
2b2 = a2
Thus, 2b2 = 4c2. Dividing both sides of this equation by 2
b2 = 2c2.
So, √2 is irrational.
This Lecture
• Direct proof
• Contrapositive
• Proof by contradiction
• Proof by cases
Proof by Cases
x is positive or x is negative
x2 > 0.
Proof by Cases
p1 p2 ... pn q p1 q p2 q ... pn q
Summary
• Direct proof
• Contrapositive
• Proof by contradiction
• Proof by cases