Docsity

Mathematical Induction: Principles, Variations, and Applications, Slides of Algebra

Partial preview of the text

Download Mathematical Induction: Principles, Variations, and Applications and more Slides Algebra in PDF only on Docsity!

Mathematical Induction

Part Two

Let P be some property. The principle of mathematical induction states that if P is true for 0 and For any k ∈ ℕ , if P is true for k , then P is true for k + 1 then P is true for every n ∈ ℕ. If it starts true… …and it stays true… …then it's always true.

Induction in Practice

●

Typically, a proof by induction will not

explicitly state P ( n ).

●

Rather, the proof will describe P ( n ) implicitly

and leave it to the reader to fill in the details.

●

Provided that there is sufficient detail to

determine

● what P ( n ) is,

●

that P (0) is true, and that

● whenever P ( k ) is true, P ( k +1) is true,

the proof is usually valid.

Theorem: The sum of the first n powers of two is 2 n

Proof : By induction. For our base case, we'll prove the theorem is true when n = 0. The sum of the first zero powers of two is zero, and 2 0

  • 1 = 0, so the theorem is true in this case. For the inductive step, assume the theorem holds when n = k for some arbitrary k ∈ ℕ. Then 2 0
  • 2 1
  • … + 2 k -
  • 2 k = ( 0
  • 2 1
  • … + 2 k - ) + 2 k = 2 k
  • 1 + 2 k = 2( k ) – 1 = 2 k +

So the theorem is true when n = k +1, completing the induction. ■

Induction Starting at 0

● To prove that P ( n ) is true for all natural numbers greater than or equal to 0 : ● Show that P ( 0 ) is true. ● Show that for any k ≥ 0 , that if P ( k ) is true, then P ( k +1) is true. ● Conclude P ( n ) holds for all natural numbers greater than or equal to 0.

Induction Starting at m

● To prove that P ( n ) is true for all natural numbers greater than or equal to m : ● Show that P ( m ) is true. ● Show that for any k ≥ m , that if P ( k ) is true, then P ( k +1) is true. ● Conclude P ( n ) holds for all natural numbers greater than or equal to m.

Theorem: If n is a natural number and n ≥ 5, then n 2 < 2 n . Proof: Let P ( n ) be the statement “ n 2 < 2 n .” We will prove by induction that P ( n ) is true for all n ∈ ℕ where n ≥ 5, from which the theorem follows. As our base case, we prove P (5), that 5 2 < 2 5

. Note that 5 2 = 25 and that 2 5 = 32, so 5 2 < 2 5 . For the inductive step, assume that for some k ≥ 5 that P ( k ) is true, meaning that k 2 < 2 k . We will prove P ( k +1), that ( k +1) 2 < 2 k + . First, recall that ( k + 1) 2 = k 2

  • 2 k + 1. Starting with this equality and using the fact that k ≥ 5 (that is, that 5 ≤ k ), we derive the following: ( k + 1) 2 = k 2
  • 2 k + 1 < k 2
  • 2 k + k (since 1 < 5 ≤ k) = k 2
  • 3 k < k 2
  • k · k (since 3 < 5 ≤ k ) = k 2
  • k 2 = 2 k 2 So we see that ( k + 1) 2 < 2 k 2 . Now, by our inductive hypothesis, we know k 2 < 2 k . Some further algebra gives us the following: ( k + 1) 2 < 2 k 2 (from above) < 2( k ) (from the inductive hypothesis) = 2 k + So ( k +1) 2 < 2 k + . Therefore, P ( k +1) is true, completing the induction. ■

A Note on the Previous Proof

● (^) I chose this proof for a few reasons: ● (^) It uses induction to prove a result that is false for small n , but true for all sufficiently large n. ● (^) It doesn't require us to introduce any new terms and definitions. ● That said, I'm not a fan of it for a few reasons: ● (^) This result is not particularly deep or interesting. ● (^) There's a lot of algebra. ● (^) It's not at all obvious how to come up with this line of reasoning. ● (^) Challenge: Find an inductive proof with the two “good” qualities, but without the three “bad” qualities.

Subdividing a Square

For what values of n can a square be subdivided into n squares?

1 2 3 4 5 6 7 8 9 10 11 12 1 2 3 6 5 4

1 2 3 4 5 6 7 8 9 10 11 12 1 3 2 5 6 4 7

The Key Insight

The Key Insight