﻿ Show the rule of divisibility for 9

# Show the rule of divisibility for 9

The rule of divisibility for 9 says that if a number is divisible by 9, the sum of all digits of the number is divisible by 9.

For example, 19341, the digits on all places of the number are 1, 9, 3, 4, 1. The sum of all digits are 1+9+3+4+1 = 18, which is divisible by 9. And the division of this number by 9 shows it is divisible by 9.

9\,|\,19341

Then how to prove this rule is true for all numbers

First, let's have an observation on place values of tens place. 10 is 1 more than a number that is divisible by 9. 20 is 2 more than a number that is divisible by 9. And so on ... The remainders after division by 9 are 1, 2 ... (in the 3rd column) which are the same as the digits on the place(in the 1st column of the table below).

\begin{array}{|c|c|c|} \hline 1&10=9+1&1 \\ \hline 2&20=18+2&2 \\ \hline 3&30=27+3&3 \\ \hline 4&40=36+4&4 \\ \hline 5&50=45+5&5 \\ \hline 6&60=54+6&6 \\ \hline 7&70=63+7&7 \\ \hline 8&80=72+8&8 \\ \hline 9&90=81+9&9 \\ \hline \end{array}

Second, let's observe the place values of hundreds place, which could be transformed to the sum of a number that is divisible by 9 and a place value of tens place. Division of the tens place by 9 gives the remainders that are equal to the digits on the hundreds place.

\begin{array}{|c|c|c|} \hline 1&100=90+10&1 \\ \hline 2&200=180+20&2 \\ \hline 3&300=270+30&3 \\ \hline 4&400=360+40&4 \\ \hline 5&500=450+50&5 \\ \hline 6&600=540+60&6 \\ \hline 7&700=630+70&7 \\ \hline 8&800=720+80&8 \\ \hline 9&900=810+90&9 \\ \hline \end{array}

Repeating the process on place values of thousands place, or more reviews the same rule. Division of place values by 9 give remainders that are the same as the digits on the places.

Next, let’s evaluate a 4-digit number that is denoted as \overline{abcd}, in which a, b, c, d are four digits on thousands, hundreds, tens and ones places respectively. Since a number can be expressed as the sum of its place values, \overline{abcd} is rewritten as

\overline{abcd}=1000a+100b+10c+d
(1)

For place value on tens place,

10c = 9c+c
(2)

For the place value on hundreds place,

\begin{aligned} 100b &= 90b+10b \\ &=90b+(9b+b) \\ &=(90b+9b)+b \end{aligned}
(3)

where the first part 90b+9b is divisible by 9. And the remainder is b

For the place value on thousands place,

\begin{aligned} 1000a &= 900a+100a \\ &= 900a+[90a+(9a+a)] \\ &=(900a+90a+9a)+a \end{aligned}
(4)

where the first part 900a+90a+9a is divisible by 91 and the remainder is a.

Substituting (2),(3) and (4) into (1) gives

\begin{aligned} \overline{abcd}&=[(900a+90a+9a)+(90b+9b)+ 9c]+a+b+c+d \end{aligned}

which shows the divisibility of the number by 9 is dependent on the sum of digits on all places of the number. If the sum is divisible by 9, the number is divisible by 9.

In a more general form, an integer can be expressed as

a=a_{n}10^{n}+a_{n-1}10^{n-1}+\dots+a_210^2+a_{1}10^1+a_0

The observation above reviews

10\equiv 1 (\text{mod } 9)
(5)

and further,

10^k\equiv 1 (\text{mod } 9)
(6)

where k = 1, 2,3,4 ...

Then,

\begin{aligned} a &\equiv a_{n}10^{n}+a_{n-1}10^{n-1}+\dots+a_210^2+a_{1}10^1+a_0 \quad(\text{mod } 9) \\ &\equiv a_{n}+a_{n-1}+\dots+a_2+a_1+a_0 \quad (\text{mod } 9) \\ \end{aligned}

Therefore, the number a is divisible by 9 if and only if the sum of digits on the all places of the number is divisible by 9.

Collected in the board: Number Theory

Steven Zheng posted 5 months ago

Scroll to Top