Discrete Structures Lecture 12
Discrete Structures Lecture 12
(Discrete Mathematics)
Fall 2016
Lecture - 12
Mathematical
Induction
Mathematical Induction
• It is a method of proof.
1. Basis Step:
• Verify P(1) is true.
2. Inductive Step:
• Show P(k) → P(k+1) is true for all positive integers k.
Mathematical Induction
• Basis Step: P(1)
• Inductive Step: ∀𝑘(P(k) → P(k+1))
• Result: ∀ n P(n) domain: positive integers
• Proof by induction:
• First define P(n)
P(n) is 1 + 2 + 3 + … + n = n(n+1) / 2
• Proof by induction:
• First define P(n)
P(n) is 1 + 3 + 5 … + (2𝑛 − 1) = 𝑛2
• We showed that P(k+1) is true under assumption that P(k) is true. So,
by mathematical induction 1 + 3 + 5 … + (2𝑛 − 1) = 𝑛2 .
Example
• Prove by mathematical induction
12 + 22 + 32 + ⋯ + 𝑛2 = 𝑛(𝑛+1)(2𝑛+1)
6
𝑓𝑜𝑟 𝑎𝑙𝑙 𝑖𝑛𝑡𝑒𝑔𝑒𝑟𝑠 𝑛≥1.
Example
• Use mathematical induction to prove the formula for the
sum of a finite number of terms of a geometric
progression.
𝑛 𝑘 2 𝑛 (𝑎𝑟 𝑛+1 −𝑎)
• 𝑘=0 𝑎𝑟 = 𝑎 + 𝑎𝑟 + 𝑎𝑟 + ⋯ + 𝑎𝑟 = (𝑟−1)
𝑤𝑒𝑟𝑒 𝑟 ≠ 1.
• Proof by induction:
• First define P(n)
(𝑎𝑟 𝑛+1 −𝑎)
P(n) is 𝑎 + 𝑎𝑟 + 𝑎𝑟 2 + ⋯ + 𝑎𝑟 𝑛 = (𝑟−1)
= 𝑎𝑟 𝑘+1 − 𝑎 𝑘+1 (𝑟 − 1)
𝑟−1 + 𝑎𝑟 (𝑟 − 1)
𝑘+1 𝑘+2 𝑘+1
= 𝑎𝑟 − 𝑎 + 𝑎𝑟 − 𝑎𝑟
𝑟−1
= 𝑎𝑟 𝑘+2 − 𝑎
𝑟−1
• We showed that P(k+1) is true under assumption that P(k) is true.
(𝑎𝑟 𝑛+1 −𝑎)
So, by mathematical induction 𝑎 + 𝑎𝑟 + 𝑎𝑟 2 + ⋯+ 𝑎𝑟 𝑛 = (𝑟−1)
Proving Inequalities Example
• 𝑈𝑠𝑒 𝑚𝑎𝑡𝑒𝑚𝑎𝑡𝑖𝑐𝑎𝑙 𝑖𝑛𝑑𝑢𝑐𝑡𝑖𝑜𝑛 𝑡𝑜 𝑝𝑟𝑜𝑣𝑒 𝑡𝑒 𝑖𝑛𝑒𝑞𝑢𝑎𝑙𝑖𝑡𝑦
𝑛 < 2𝑛 𝑓𝑜𝑟 𝑎𝑙𝑙 𝑝𝑜𝑠𝑖𝑡𝑖𝑣𝑒 𝑖𝑛𝑡𝑒𝑔𝑒𝑟𝑠 𝑛.
• Proof by induction:
• First define P(n)
P(n) is 𝑛 < 2𝑛 .
• Basis step: (Show P(1) is true.)
1< 21 = 2
So, P(1) is true.
• Inductive Step: (Show ∀k (P(k) → P(k+1)) is true.)
• Assume P(k) is true 𝑘 ≥ 1.
𝑘 < 2𝑘
Proving Inequalities Example
• Proof by induction:
• Proof by induction:
(𝑘 + 1)3 − 𝑘 + 1 = 𝑘 3 + 3𝑘 2 + 3𝑘 + 1 − (𝑘 + 1)
= (𝑘 3 − 𝑘) + 3(𝑘 2 + 𝑘)
Chapter # 5
Topic # 5.1
Q 3, 4, 5, 7, 8, 18, 20, 21, 31, 32, 33, 34