Title: Lecture 6 Induction
1- Lecture 6 Induction
- June 2nd, 2003
2Review of last class
3Induction
- Given that you are climbing an infinitely high
ladder. - Question How to you know whether you will be
able to reach an arbitrarily high rung?
4 Two assertions
- You can reach the first rung.
- Once you get to a rung, you can always climb to
the next one up. -
- Assertion 1 sets the starting point.
- Assertion2 guarantees that you can go beyond the
first rung . - This technique can be used to prove properties
for all positive integers.
51 has property P
- P(1)
- For any positive integer k, P(k)?P(k1)
if we can prove this, P(n) holds for any positive
integer n
If any number has property p, so does the next
number.
6First Principle of Mathematical Induction
Inductive assumption or inductive hypothesis
Basis step
- P(1) is true
- (?k)P(k) true ? P(k1) true
P(n) true for all positive integers n.
to show that this is true
Inductive step
We show that 1 2 are true
7How do we prove 1 2?
- Prove 1
- We need only show that property P holds for the
- number 1.
- Prove 2 (Implication that must hold for all k)
- We need to assume that P(k) is true for an
- arbitrary integer k.
- Show that P(k1) is true based on the previous
- assumption.
8Mathematical induction
- Some issues to be cleared
- It is not an exploratory proof technique, it can
only confirm a correct conjecture. - It is actually a deductive technique, not a
method of inductive. - Even the conjecture is slightly incorrect, you
might see the correct conclusion during the proof.
9Mathematical induction (cont.)
- Example Prove that the equation 135.(2n-1)
n2 - Base Step
- P(1) 1 12
- Inductive hypothesis (Assumption).
- P(k) 135(2k-1) k2
- Prove the next one up.
- P(k1) 135(2(k1)-1) ? (k1)2
10Three steps for First Principle of induction
- Step 1---Prove the base case
- Step 2 Assume P(k)
- Step 3 Prove P(k1)
11One more Example
- 123n n(n1)/2.
- Base Step
- P(1) 1 12/2
- Inductive hypothesis (Assumption).
- P(k) 123kk(k1)/2
- Prove the next one up.
- P(k1) 123(k1) ? (k1)((k1)1)/2
12Second Principle of Induction
- P(1) is true
- (?k) P(r) true for all r,
- 1 ? r ? k ?P(k1) true
P(n) true for all positive integers n
In statement 2 we can assume that P(r) is true
for all integers r between 1 and an arbitrary
positive integer k in order to prove that P(k1)
is true. Both principles of induction are
equivalent.
13Assignment 2