Steply

Prove 10^n - 1 is divisible by 9 by induction

Step by step, with the reason for every step · Induction · Discrete Math

Step by step

The question

Question: prove by induction that 10ⁿ − 1 is divisible by 9, for every whole number n.

10n − 1 is divisible by 9

Like dominoes: show it for n = 1, then show that k passes it on to k + 1.

1 Check n = 1

For n = 1: 9, and that is 9 × 1.

Divisible by 9: the first domino falls.

101 − 1 = 9 = 9 × 1

2 Assume it works for k

Suppose it works for k: 10ᵏ − 1 is a multiple of 9.

So it is 9 times some whole number.

Call it m.

10k − 1 = 9m
m is a whole number

Move the rest to the other side: 10ᵏ equals 9m + 1.

We will need this.

10k = 9m + 1

3 What we must show

We must show the same for k + 1: every n becomes k + 1.

= 10k + 1 − 1 is divisible by 9

Careful!

One more power means one more times the number.

It is 10 times as big, not 1 more.

Careful: not 10k + 1 = 10k + 1 ✗

4 Use the assumption

One more power: 10 times the power with k.

10k + 1 − 1 = 10 × 10k − 1
10k + 1 = 10 × 10k

Now swap in 9m + 1 for 10ᵏ.

= 10(9m + 1) − 1

Open the bracket.

= 90m + 10 − 1

Like terms together.

= 90m + 9

5 Take out 9

Every term has a 9 in it.

Take out 9: 9(10m + 1).

= 9(10m + 1)
10m + 1 is a whole number

So it works for k + 1 too.

True for n = 1, and passed on each time: true for every whole number n.

The proof is done.

divisible by 9 for n = 1, and k → k + 1: for every n. ∎

6 Check

Let's check n = 3: it gives 999.

n = 3: 103 − 1 = 999

999 is 9 times 111.

Divisible by 9.

Right!

999 = 9 × 111

Let's look back.

First: check n = 1.

Then: assume it works for k.

Then: what we must show.

Then: use the assumption.

Then: take out 9.

Last: check.

Answer
10m + 1 is a whole number

Your turn

Try this one yourself, then check:

7n − 1 is divisible by 6
Show the answer
6(7m + 1)

More from Induction

The whole lesson: Induction →