Docsity

Lecture Note #3 (Mathematical Induction) - Exercises, Exams of Algebra

Toggle sidebar
bg1
LectureNote#3(MathematicalInduction)
Exercises
==========================================================================================
2)WeakformofMathematicalInduction
#1.Show1+3+5+..+(2n‐1)=n2.
Proof:Theequation(tobeproven)canbewrittenusingsequencenotationas:
2𝑖1
 𝑛
Weshowbyinductiononn.
1) Basisstep:Whenn=1,
LHS(Left‐handside)=∑2𝑖 1
 2∙111
RHS(Right‐handside)=12=1.
Therefore,wehaveLHS=RHS.…(A)
2) Inductivestep:
[Inductivehypothesis]
Assumetheequationholdsforsomeintegerkwhichis>=1.Thatis,∑2𝑖 1
 𝑘.
[Inductivestatement]
Weshowthattheequationholdsfork+1,thatis,∑2𝑖 1

 󰇛𝑘1󰇜
.
𝐿𝐻𝑆
 2𝑖1


 2𝑖1
 󰇛2󰇛𝑘1
󰇜1󰇜…by definition of this sequence
𝑘󰇛2󰇛𝑘1
󰇜1󰇜…by inductive hypothesis
𝑘 2𝑘 1 …by algebra
󰇛𝑘1󰇜
𝑅𝐻𝑆 󰇛𝑘 1󰇜… as to be shown in inductive statement
ThuswegetLHS=RHS.…(B)
By(A)and(B),wecanconcludethatthestatementistrue(forallintegersn>=1).QED.
pf3
pf4

Partial preview of the text

Download Lecture Note #3 (Mathematical Induction) - Exercises and more Exams Algebra in PDF only on Docsity!

Lecture Note #3 (Mathematical Induction)

Exercises

2) Weak form of Mathematical Induction

#1. Show 1 + 3 + 5 + .. + (2n‐1) = n 2.

Proof: The equation (to be proven) can be written using sequence notation as:

௡

௜ୀଵ

We show by induction on n.

  1. Basis step: When n = 1,

LHS (Left‐hand side) = ∑^ ଵ௜ୀଵ 2𝑖 െ 1ൌ 2 ∙ 1 െ 1 ൌ 1 RHS (Right‐hand side) = 1 2 = 1. Therefore, we have LHS = RHS. … (A)

  1. Inductive step: [Inductive hypothesis] Assume the equation holds for some integer k which is >= 1. That is, ∑ ௞௜ୀଵ 2𝑖 െ 1ൌ 𝑘 ଶ. [Inductive statement] We show that the equation holds for k+1, that is, ∑^ ௞ାଵ௜ୀଵ 2𝑖 െ 1ൌ ሺ𝑘 ൅ 1ሻଶ.

𝐿𝐻𝑆

ൌ ෍ 2𝑖 െ 1

௞ାଵ

௜ୀଵ

ൌ ෍ 2𝑖 െ 1

௞

௜ୀଵ

൅ ሺ2ሺ𝑘 ൅ 1ሻ െ 1ሻ … by definition of this sequence

ൌ 𝑘 ଶ^ ൅ ሺ2ሺ𝑘 ൅ 1ሻ െ 1ሻ … by inductive hypothesis ൌ 𝑘 ଶ^ ൅ 2𝑘 ൅ 1 … by algebra ൌ ሺ𝑘 ൅ 1ሻ ଶ

𝑅𝐻𝑆 ൌ ሺ𝑘 ൅ 1ሻଶ^ … as to be shown in inductive statement

Thus we get LHS = RHS. … (B)

#2. Show 1 + 2 + 2^2 + 2^3 + .. + 2n^ = 2n+1‐1.

Proof: The equation (to be proven) can be written using sequence notation as:

௡

௜ୀ଴

ൌ 2௡ାଵ^ െ 1

We show by induction on n.

  1. Basis step: When n = 0,

LHS = ∑ ଴௜ୀ଴ 2 ௜ൌ 2଴^ ൌ 1 RHS = 2 0+1^ ‐1= 2 1 ‐1 = 2 – 1 = 1 Therefore, we have LHS = RHS. … (A)

  1. Inductive step: [Inductive hypothesis] Assume the equation holds for some integer k which is >= 0. That is, ∑^ ௞௜ୀ଴ 2 ௜ൌ 2௞ାଵ^ െ 1. [Inductive statement] We show that the equation holds for k+1, that is, ∑ ௞ାଵ௜ୀ଴ 2 ௜ൌ 2௞ାଶ^ െ 1.

𝐿𝐻𝑆

ൌ ෍ 2௜

௞ାଵ

௜ୀ଴

ൌ ෍ 2௜^ ൅ 2௞ାଵ^ … by definition of this sequence

௞

௜ୀ଴ ൌ ሺ2௞ାଵ^ െ 1ሻ ൅ 2௞ାଵ^ … by inductive hypothesis ൌ 2 ∙ 2௞ାଵ^ െ 1 ൌ 2௞ାଶ^ െ 1

𝑅𝐻𝑆 ൌ 2௞ାଶ^ െ 1 .. as to be shown in inductive statement

Thus we get LHS = RHS. … (B)

#4. Show 5 n^ ‐1 is divisible by 4, for n=1,2,…

Proof: We show by induction on n.

  1. Basis step: When n = 1,

5 1 ‐1 = 4, and 4 is divisible by 4. … (A)

  1. Inductive step:

[Inductive hypothesis] Assume 5 k^ ‐1 is divisible by 4.

[Inductive statement] Show 5 k+1^ ‐1 is divisible by 4 as well.

5 ௞ାଵ^ െ 1 ൌ 5 ∙ 5௞^ െ 1 ൌ 5 ∙ ൫5௞^ െ 1൯ ൅ 4

Here, since 5 k‐1 is divisible by 4 by inductive hypothesis, it can be written as 4*a, where a is an

integer. Substituting that in the previous expression,

5 ∙ ൫5௞^ െ 1൯ ൅ 4 ൌ 5 ∙ ሺ4𝑎ሻ ൅ 4 ൌ 4 ∙ ሺ5𝑎 ൅ 1ሻ

Since 5a+1 is an integer, 4 ∙ ሺ5𝑎 ൅ 1ሻ is divisible by 4. … (B)

By (A) and (B), we can conclude that the statement is true (for all integers n >= 1). QED.

#5. Show that, for all n >= 4 (where n is also an integer), n cents can be obtained using 2‐cent and 5‐

cent coins (only).

Proof: We show by induction on n.

  1. Basis step: When n = 4, we can make 4 cents by two 2‐cent coins. … (A)

  2. Inductive step:

[Inductive hypothesis] Assume k cents can be obtained using 2‐cent and 5‐cent coins (only), k >= 5.

[Inductive statement] Show k+1 cents can be obtained using 2‐cent and 5‐cent coins (only) as well.

Basically there are two cases to go from k to k+1.  Case 1: If n cents include at least two 2‐cent coins, to make k+1 cents we can remove two 2‐cent coins and add one 5‐cent coin.  Case 2: If n cents include at least one 5‐cent coin, to make k+1 cents we can remove one 5‐cent coin and add three 2‐cent coins The configuration of the coins for k cents (k >= 5) is always either case 1 or 2. More specifically, having 4 or more cents implies: o There are at least two 2‐cent coins; or o There is at least one 5‐cent coin. Therefore, when we have k cents, we can always make k+1 cents using 2‐cent and 5‐cent coins only… (B)