Docsity

Induction Examples Question 1. Prove using mathematical ..., Slides of Calculus

Toggle sidebar
bg1
Induction Examples
Question 1. Prove using mathematical induction that for all n≥1,
1+4+7+···+ (3n−2) = n(3n−1)
2.
Solution.
For any integer n≥1, let Pnbe the statement that
1+4+7+···+ (3n−2) = n(3n−1)
2.
Base Case. The statement P1says that
1 = 1(3 −1)
2,
which is true.
Inductive Step. Fix k≥1, and suppose that Pkholds, that is,
1+4+7+· ·· + (3k−2) = k(3k−1)
2.
It remains to show that Pk+1 holds, that is,
1 + 4 + 7 + · ·· + (3(k+ 1) −2) = (k+ 1)(3(k+ 1) −1)
2.
1+4+7+· ·· + (3(k+ 1) −2) = 1 + 4 + 7 + ···+ (3(k+ 1) −2)
=1+4+7+···+ (3k+ 1)
=1+4+7+···+ (3k−2) + (3k+ 1)
=k(3k−1)
2+ (3k+ 1)
=k(3k−1) + 2(3k+ 1)
2
=3k2−k+ 6k+ 2)
2
=3k2+ 5k+ 2)
2
=(k+ 1)(3k+ 2)
2
=(k+ 1)(3(k+ 1) −1)
2.
Therefore Pk+1 holds.
Thus, by the principle of mathematical induction, for all n≥1, Pnholds.
pf3
pf4
pf5
pf8
pf9
pfa

Partial preview of the text

Download Induction Examples Question 1. Prove using mathematical ... and more Slides Calculus in PDF only on Docsity!

Question 1. Prove using mathematical induction that for all n ≥ 1 ,

1 + 4 + 7 + · · · + (3n − 2) =

n(3n − 1)

2

Solution.

For any integer n ≥ 1, let Pn be the statement that

1 + 4 + 7 + · · · + (3n − 2) =

n(3n − 1)

2

Base Case. The statement P 1 says that

which is true.

Inductive Step. Fix k ≥ 1, and suppose that Pk holds, that is,

1 + 4 + 7 + · · · + (3k − 2) =

k(3k − 1)

2

It remains to show that Pk+1 holds, that is,

1 + 4 + 7 + · · · + (3(k + 1) − 2) =

(k + 1)(3(k + 1) − 1)

2

1 + 4 + 7 + · · · + (3(k + 1) − 2) = 1 + 4 + 7 + · · · + (3(k + 1) − 2)

= 1 + 4 + 7 + · · · + (3k + 1)

= 1 + 4 + 7 + · · · + (3k − 2) + (3k + 1)

k(3k − 1)

2

  • (3k + 1)

k(3k − 1) + 2(3k + 1)

2

3 k 2 − k + 6k + 2)

2

3 k^2 + 5k + 2)

2

(k + 1)(3k + 2)

2

(k + 1)(3(k + 1) − 1)

2

Therefore Pk+1 holds.

Thus, by the principle of mathematical induction, for all n ≥ 1, Pn holds.

Question 2. Use the Principle of Mathematical Induction to verify that, for n any positive integer, 6 n^ − 1

is divisible by 5.

Solution.

For any n ≥ 1, let Pn be the statement that 6 n − 1 is divisible by 5.

Base Case. The statement P 1 says that

is divisible by 5, which is true.

Inductive Step. Fix k ≥ 1, and suppose that Pk holds, that is, 6k^ − 1 is divisible by 5.

It remains to show that Pk+1 holds, that is, that 6 k+ − 1 is divisible by 5.

k+ − 1 = 6( k ) − 1

= 6( k − 1) − 1 + 6

= 6( k − 1) + 5.

By Pk, the first term 6( k − 1) is divisible by 5, the second term is clearly divisible by 5. Therefore the

left hand side is also divisible by 5. Therefore Pk+1 holds.

Thus by the principle of mathematical induction, for all n ≥ 1, Pn holds.

(k + 1)(2k + 3)(4k + 5)

3

(2k^2 + 5k + 3)(4k + 5)

3

8 k^3 + 30k^2 + 37k + 15

3

Therefore Pk+1 holds.

Thus, by the principle of mathematical induction, for all n ≥ 1, Pn holds.

Question 4. Consider the sequence of real numbers defined by the relations

x 1 = 1 and xn+1 =

1 + 2xn for n ≥ 1.

Use the Principle of Mathematical Induction to show that xn < 4 for all n ≥ 1.

Solution.

For any n ≥ 1, let Pn be the statement that xn < 4.

Base Case. The statement P 1 says that x 1 = 1 < 4, which is true.

Inductive Step. Fix k ≥ 1, and suppose that Pk holds, that is, xk < 4.

It remains to show that Pk+1 holds, that is, that xk+1 < 4.

xk+1 =

1 + 2xk

<

Therefore Pk+1 holds.

Thus by the principle of mathematical induction, for all n ≥ 1, Pn holds.

Question 6. Let p 0 = 1, p 1 = cos θ (for θ some fixed constant) and pn+1 = 2p 1 pn − pn− 1 for n ≥ 1. Use

an extended Principle of Mathematical Induction to prove that pn = cos(nθ) for n ≥ 0.

Solution.

For any n ≥ 0, let Pn be the statement that pn = cos(nθ).

Base Cases. The statement P 0 says that p 0 = 1 = cos(0θ) = 1, which is true. The statement P 1 says that

p 1 = cos θ = cos(1θ), which is true.

Inductive Step. Fix k ≥ 0, and suppose that both Pk and Pk+1 hold, that is, pk = cos(kθ), and pk+1 =

cos((k + 1)θ).

It remains to show that Pk+2 holds, that is, that pk+2 = cos((k + 2)θ).

We have the following identities:

cos(a + b) = cos a cos b − sin a sin b

cos(a − b) = cos a cos b + sin a sin b

Therefore, using the first identity when a = θ and b = (k + 1)θ, we have

cos(θ + (k + 1)θ) = cos θ cos(k + 1)θ − sin θ sin(k + 1)θ,

and using the second identity when a = (k + 1)θ and b = θ, we have

cos((k + 1)θ − θ) = cos(k + 1)θ cos θ + sin(k + 1)θ sin θ.

Therefore,

pk+2 = 2p 1 pk+1 − pk

= 2(cos θ)(cos((k + 1)θ)) − cos(kθ)

= (cos θ)(cos((k + 1)θ)) + (cos θ)(cos((k + 1)θ)) − cos(kθ)

= cos(θ + (k + 1)θ) + sin θ sin(k + 1)θ + (cos θ)(cos((k + 1)θ)) − cos(kθ)

= cos((k + 2)θ) + sin θ sin(k + 1)θ + (cos θ)(cos((k + 1)θ)) − cos(kθ)

= cos((k + 2)θ) + sin θ sin(k + 1)θ + cos((k + 1)θ − θ) − sin(k + 1)θ sin θ − cos(kθ)

= cos((k + 2)θ) + cos(kθ) − cos(kθ)

= cos((k + 2)θ).

Therefore Pk+2 holds.

Thus by the principle of mathematical induction, for all n ≥ 1, Pn holds.

Question 7. Consider the famous Fibonacci sequence {xn}∞ n=1, defined by the relations x 1 = 1, x 2 = 1,

and xn = xn− 1 + xn− 2 for n ≥ 3.

(a) Compute x 20.

(b) Use an extended Principle of Mathematical Induction in order to show that for n ≥ 1 ,

xn =

[(

)n

−

)n]

.

(c) Use the result of part (b) to compute x 20.

Solution.

(a) 1 , 1 , 2 , 3 , 5 , 8 , 13 , 21 , 34 , 55 , 89 , 144 , 233 , 377 , 610 , 987 , 1597 , 2584 , 4181 , 6765

(b) For any n ≥ 1, let Pn be the statement that

xn =

[(

)n

−

)n]

.

Base Case. The statement P 1 says that

x 1 =

[

]

[

]

[

]

which is true. The statement P 2 says that

x 2 =

)k ( 1 + 2

)k ( 1 − 2

)k ( 1 +

)k ( 1 −

)k+

−

)k+2

 (^).

Therefore Pk+2 holds.

Thus by the principle of mathematical induction, for all n ≥ 1, Pn holds.

(c) Plugging n = 20 in a calculator yields the answer quickly.