SUNY Geneseo Department of Mathematics

More Induction

Friday, March 9

Math 239 01
Spring 2018
Prof. Doug Baldwin

Return to Course Outline

Previous Lecture

Questions?

Proof by Induction

Formal Presentation

See how I formally wrote the proof about the sum of the first n natural numbers from Wednesday’s class.

Another Sum

Prove that 21 + 22 + ... + 2n = 2n+1 - 2.

Theorem: For all natural numbers n, 21 + 22 + ... + 2n = 2n+1 - 2 (Eq. 1).

Proof: We will use induction on n to prove that for all natural numbers n,

sum from 1 to n of 2^i = 2^(n+1)-2

For the base case, we note that

Sum from 1 to 1 of 2^i = 2 = 2^2 - 2

For the induction step, we assume that k is a natural number such that

Sum from 1 to k of 2^i = 2^(k+1) - 2 (Eq. 2)

and will show that

Sum from 1 to k+1 of 2^i = 2^(k+2) - 2

Adding 2k+1 to both sides of Eq. 2 yields

Sum from 1 to k of 2^i + 2^(k+1) = 2^(k+1)-2+2^(k+1) = 2^(k+2)-2

Finally, noting that

Sum from 1 to k of 2^i + 2^(k+1) = sum from 1 to k+2 of 2^i

completes the induction step.

Since we have now shown that Eq. 1 holds for n = 1, and that when it holds for n = k it also holds for n = k+1, it follows by the principle of mathematical induction that Eq. 1 holds for all natural numbers. We have thus shown that for all natural numbers n, 21 + 22 + ... + 2n = 2n+1 - 2. QED.

A Non-Sum Example

Theorem 3.28, part 3: for all integers a and b, and all natural numbers n and m, if ab (mod n), then ambm (mod n).

Proof: We will use induction on m to prove that for all integers a and b, and all natural numbers n and m, if ab (mod n), then ambm (mod n).

For the base case, note that a1 = a, b1 = b, and ab (mod n), so a1 ≡ b1 (mod n).

For the induction step, assume that k is a natural number such that akbk (mod n). We then show that ak+1bk+1 (mod n). Notice that ak+1 = a ak, bk+1 =b bk, and that ab (mod n) and akbk (mod n). Therefore by Theorem 3.28 part 2, ak+1bk+1 (mod n).

We have now shown that a1b1 (mod n) and that for any natural number k, if akbk (mod n) then ak+1bk+1 (mod n). It therefore follows by the principle of mathematical induction that for all integers a and b, and all natural numbers n and m, if ab (mod n), then ambm (mod n). QED.

Key Points

Induction proofs extend the “template” structure for a formal proof:

Look for a way to use the induction hypothesis early in the induction step.

Next

Extensions to the basic principle of mathematical induction.

Read section 4.2.

Next Lecture