Beruflich Dokumente
Kultur Dokumente
Harshit Kumar
A Quick Review
• Direct proof
• Proof by contrapositive
• Proof by contradiction
• Proof by induction
Contrapositive
• If 3k+1 is even, then k is odd.
p2 is divisible by 3, so p is divisible by 3
q2 is divisible by 3, so q is divisible by 3
2
- y2 = 1
Contradiction - Answer
• Assume the contrary, there exist positive x
and y such that x2 – y2 = 1
• Then we get
» (x+y)(x-y) = 1
» (x+y)=1 or (x+y)=-1
» Contradiction!
Proof by Induction - 1
n +1
∑ i ⋅ 2
i =1
i
= n 2 n+2
+2 For all integer n >= 0
When n = k+1
Proof by Induction - 2
7n – 1 is divisible by 6, for all n >= 1.