Slide 6 - Mathematical Induction
Slide 6 - Mathematical Induction
I know I can change my life by changing my attitude. Everyday I am creating a better life by changing my attitude.
License
When n = 1, 2, 3, 4, 5
• 1=1
• 1+3=4
• 1+3+5=9
• 1 + 3 + 5 + 7 = 16
• 1 + 3 + 5 + 7 + 9 = 25
Introduction
Problem
What is the formula for the sum of the first n positive odd integers?
When n = 1, 2, 3, 4, 5
• 1=1
From these values it is reasonable to
• 1+3=4 guess that the sum of the first n positive
• 1+3+5=9 odd integers is n2
When n = 1, 2, 3, 4, 5
• 1=1
From these values it is reasonable to
• 1+3=4 guess that the sum of the first n positive
• 1+3+5=9 odd integers is n2
When n = 1, 2, 3, 4, 5
• 1=1
From these values it is reasonable to
• 1+3=4 guess that the sum of the first n positive
• 1+3+5=9 odd integers is n2
L14 11
Illustrations of Mathematical Induction
P (n)
L14 12
Illustrations of Mathematical Induction
Mathematical Induction
When the domino falls (to right), the corresponding
proposition is considered true:
P (n)
true
L14 13
Illustrations of Mathematical Induction
Mathematical Induction
Suppose that the dominos satisfy two constraints.
1) Well-positioned: If any domino falls (to right),
next domino (to right) must fall also.
P (n) P (n+1)
L14 14
Illustrations of Mathematical Induction
Mathematical Induction
Suppose that the dominos satisfy two constraints.
1) Well-positioned: If any domino falls to right, the
next domino to right must fall also.
P (n) P (n+1)
L14 15
Illustrations of Mathematical Induction
Mathematical Induction
Suppose that the dominos satisfy two constraints.
1) Well-positioned: If any domino falls to right, the
next domino to right must fall also.
P (n) P (n+1)
true true
L14 16
Illustrations of Mathematical Induction
Mathematical Induction
Then can conclude that all the dominos fall!
L14 17
Illustrations of Mathematical Induction
Mathematical Induction
Then can conclude that all the dominos fall!
L14 18
Illustrations of Mathematical Induction
Mathematical Induction
Then can conclude that all the dominos fall!
P (0) …
true
L14 19
Illustrations of Mathematical Induction
Mathematical Induction
Then can conclude that all the dominos fall!
P (0) P (1) …
true true
L14 20
Illustrations of Mathematical Induction
Mathematical Induction
Then can conclude that all the dominos fall!
P (n) P (n+1)
L14 21
Illustrations of Mathematical Induction
Mathematical Induction
Then can conclude that all the dominos fall!
P (n) P (n+1)
L14 22
Illustrations of Mathematical Induction
Mathematical Induction
Then can conclude that all the dominos fall!
P (n+1)
L14 23
Illustrations of Mathematical Induction
Mathematical Induction
Then can conclude that all the dominos fall!
L14 24
Illustrations of Mathematical Induction
Mathematical Induction
Principle of Mathematical Induction:
If:
1) [basis] P (0) is true
2) [induction] k P(k)P(k+1) is true
Then:
n P(n) is true
This formalizes what occurred to dominos.
L14 25
Mathematical Induction
A proof by Mathematical Induction that P(n) is true for every positive integer n consists of
two steps:
• When we complete both steps of a proof. We prove that P(n) is true for
all positive integers n.
• That is we have shown that ∀n P(n) is true
Mathematical Induction
Theorem
• P(n): a predicate defined on n ∈ Z+
• P(n0) ∧ (∀k ≥ n0 [P(k) ⇒ P(k + 1)]) ⇒ ∀n ≥ n0 P(n)
Answer
Solution: Let P(n) denote the proposition that the sum of the first n odd positive
integers is n2. That is,
P(n) : ∀n ∈ Z+ , [1 + 3 + 5 + · · · + (2n − 1) = n2]
Basic Step: P(1) state that the sum of the first one odd positive integer is 1. This is
true since the sum of the first odd positive integer is 1.
Inductive Step: Suppose that P(k) is true for a positive integer k, that is
1 + 3 + 5 + · · · + (2k − 1) = k2
Answer in the Examination
Q1: Use mathematical induction to prove that the sum of the first n odd positive integers in n2
Answer……
…….
Now, we have to show that P(k + 1) is true, assuming that P(k) is true. That is we
have to show that
1 + 3 + 5 + · · · + (2k − 1) + (2k + 1) = (k + 1) 2
So, assuming that P(k) is true, it follows that
1 + 3 + 5 + · · · + (2k − 1) + (2k + 1) = [1 + 3 + 5 + · · · + (2k − 1)] + (2k + 1)
Answer in the Examination
Q1: Use mathematical induction to prove that the sum of the first n odd positive integers in n2
Answer……
…….
1 + 3 + 5 + · · · + (2k − 1) + (2k + 1) = [1 + 3 + 5 + · · · + (2k − 1)] + (2k + 1)
= k2 + (2k + 1)
= k2 + 2k + 1
= (k + 1)2
That is shows that P(k+1) is true if P(k) is true.
Answer in the Examination
Q1: Use mathematical induction to prove that the sum of the first n odd positive integers in n2
Answer……
…….
Science P(1) is true and the implication P(k) ⇒ P(k + 1) is true for all positive
integers k, the principle of mathematical induction shows that P(n) is true for all
positive integers n. (Proved)
Introduction Example
L14 34
Introduction Example
L14 35
Introduction Example
L14 36
Introduction Example
L14 37
Introduction Example
L14 38
Introduction Example
L14 39
Introduction Example
L14 40
Introduction Example
• P(n) : n < 2n
• P(1) : 1 < 21
• P(k) : assume k < 2k
• P (k + 1) : have to show that k + 1 < 2k + 1
Adding 1 both sides of K < 2k
• K + 1 < 2k + 1 <= 2k + 2k = 2k + 1
Introduction Example
Introduction Example
Strong Induction
2) [strong induction]
k [P (0)P (1) … P (k)] P(k+1)
Then:
n P(n)
L14 47
Strong Induction Example
Flawed Induction Example