Prove Sum of Digits Divisible by 9 iff Num is Div by 9

Click For Summary

Homework Help Overview

The discussion revolves around proving that the sum of a number's digits is a multiple of 9 if and only if the number itself is divisible by 9. This topic falls under number theory and modular arithmetic.

Discussion Character

  • Exploratory, Conceptual clarification, Mathematical reasoning

Approaches and Questions Raised

  • The original poster attempts to establish a proof by expressing a number in terms of its digits and exploring its properties under modulo 9. They question the soundness of their reasoning.

Discussion Status

Participants have provided positive feedback on the proof's validity, suggesting that it is sufficiently rigorous for the context. There appears to be an ongoing exploration of the proof's rigor and completeness.

Contextual Notes

Some participants note that the proof may not be rigorous enough for higher standards, indicating a range of expectations regarding the level of detail required.

RK1992
Messages
87
Reaction score
0

Homework Statement


prove that the sum of a number's digits is a multiple of 9 if and only if it is divisible by 9


Homework Equations


none that i can think of


The Attempt at a Solution



say any real integer can be written as:
anan-1...a2a1a0
where a0 is the units, a1 is the tens digit and so on.

if we have the number x=anan-1...a2a1a0

we can say that x (mod 9) = 0 [tex]\Leftrightarrow[/tex] x divisible by 9

rewriting the number x:
anan-1...a2a1a0 = anan-1...a2a10 + a0 = anan-1...a200 + a0 + 10a1

x= 10nan + 10n-1an-1 + ... +100a2 + 10a1 + a0

we can then break up the so 10a1 = 9a1 + a1
and likewise the 100a2 = 99a2 + a2

however, working mod 9, 9a1=99a2 = 0
so we can rewrite x (mod 9) as:
x (mod 9) = an + an-1 + ... + a2 + a1 + a0

as we said that:
x (mod 9) = 0 [tex]\Leftrightarrow[/tex] x divisible by 9

we can say that:
an + an-1 + ... + a2 + a1 + a0 = 0 (mod 9)
but 0 (mod 9) = 9k
so if:
x = anan-1...a2a1a0
is divisible by 9
an + an-1 + ... + a2 + a1 + a0 = 9k


is this sound reasoning?

apologies if I've messed up with subscripts anywhere, i did check but its hurting my eyes :p

thanks
 
Physics news on Phys.org


This sounds like a good proof!
 


okay thanks :) i know its not rigourous but i think its watertight enough for the level I am working at
 


I think the proof IS rigourous enough. Much more rigour would be too much, in my opinion :smile:
 

Similar threads

Replies
5
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
Replies
32
Views
4K
  • · Replies 1 ·
Replies
1
Views
7K
Replies
1
Views
3K
  • · Replies 9 ·
Replies
9
Views
8K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 12 ·
Replies
12
Views
3K
  • · Replies 3 ·
Replies
3
Views
3K
  • · Replies 5 ·
Replies
5
Views
2K