Necessary But Not Sufficient Check For Addition

  • Context: High School 
  • Thread starter Thread starter LawrenceC
  • Start date Start date
  • Tags Tags
    Addition
Click For Summary

Discussion Overview

The discussion revolves around a method for checking the correctness of addition using digit sums, often referred to as "casting out nines." Participants explore the mathematical principles behind this technique, its implications for addition and multiplication, and the conditions under which it operates.

Discussion Character

  • Exploratory
  • Technical explanation
  • Conceptual clarification
  • Debate/contested

Main Points Raised

  • One participant describes a method for verifying addition by summing the digits of the numbers involved and comparing the final digit of the sum with the final digit of the total sum.
  • Another participant explains that this method relies on properties of numbers modulo 9, noting that changing digits 9 to 0 or vice versa does not affect the outcome.
  • A third participant elaborates on the concept of congruence modulo 9, demonstrating how the sum of digits reflects the original number's value in this system.
  • One participant mentions that the technique also applies to multiplication, providing an example but noting that it may not be as reliable in all cases.

Areas of Agreement / Disagreement

Participants generally agree on the mathematical principles underlying the method, but there is no consensus on its reliability across all operations, particularly multiplication, as one participant raises a concern about its limitations.

Contextual Notes

The discussion includes assumptions about the properties of numbers in modular arithmetic and does not resolve the limitations of applying the method to multiplication.

LawrenceC
Messages
1,198
Reaction score
5
When I was in grade school my father told me about a method of checking my addition when I added columns of numbers. I hold degrees in mechanical engineering but none of my math courses ever broached this subject as it is pretty much useless for engineering type problems.

Suppose you added three numbers, say 389+248+730. Adding correctly one gets 1367. Now let's add the digits of each number.

3+8+9=20
2+4+8=14
7+3+0=10

Now let's add the two digits of each of the previous sums.

2+0=2
1+4=5
1+0=1

Adding the result one gets

2+5+1=8

Going back to the original sum of 1367 and adding digits one gets

1+3+6+7=17

Adding the remaining two digits one gets

1+7=8

The fact that all this addition of digits produces the same final digit is a necessary condition that the addition was performed correctly.

Can someone please explain to me why this is so.

It works for any amount of numbers.
 
Physics news on Phys.org
Hi, LawrenceC,
the trick has a postdata: if you change *any* (or all) of the digits 9's by 0's, or any (or all) of the 0's by 9's, the result is the same. If fact, you can add as many arbitrary 9's as you please at any place, without changing anything: 9 appears to behave like a 0, to all effects.

The method is based on the fact that 10 = 9 + 1; in other words, when dividing 10 by 9, it leaves a residue of 1. Residues have an arithmetic of their own: if you were to add (or multiply, for that matter) 389+248+730, and were only interested in what remains after dividing by 9 and not in the whole result, you could add just the residues of the participating numbers in order to get the residue of the result.

A number like 389, representing 3 hundreds, 8 tens and 9 units, is an arithmetic operation waiting to happen: 3x10x10 + 8x10 + 9. Now, the residue modulo 9 of the result of that operation can be found, as mentioned, by operating with the residues of the participating numbers... and so all 10's can become 1's: the residue is the same as in the operation 3x1x1 + 8x1 + 9, which is just the sum of the digits 3 + 8 + 9.

See the Wikipedia page for "http://en.wikipedia.org/wiki/Casting_out_nines" ", and ask for more if needed.
 
Last edited by a moderator:
The trick is that you are calculating the remainder modulo 9.

Let's take x and y integers. We say "x=y (mod 9)" if and only if 9 divides x-y. For example, you have

[tex]0=9=18=27~(mod~9)~\text{and}~34=7~(mod~9)[/tex]

Now let [itex]a_na_{n-1}...a_2a_1a_0[/itex] be an integer. Of course we can write

[tex]a_na_{n-1}...a_2a_1a_0=a_n*10^n+a_{n-1}*10^{n-1}+...+a_2*10^2+a_1*10+a_0[/tex]

Let's calculate this (mod 9). It is obvious that [itex]10^n=1[/itex] (mod 9). Indeed: [itex]10^n-1=9999...9[/itex] which is divisible by 9. Thus

[tex]a_n*10^n+a_{n-1}*10^{n-1}+...+a_2*10^2+a_1*10+a_0 = a_n+a_{n-1}+...+a_2+a_1+a_0[/tex]

Now what you say follows immediately. Indeed, if x and y are integers and if x=x' and y=y' (mod 9), then x+y=x'+y' (mod 9).

So for example, 54 + 34 = 0+7=7 (mod 9). But on the other hand 54+34=88=7 (mod 9). The trick is of course that the sum of the digits is equal to the original number in (mod 9).
 
Thanks for the explanations. It has cleared the matter up for me.
 
LawrenceC said:
Thanks for the explanations. It has cleared the matter up for me.

and it works with multiplications too.
13*7=91 but here you don't add 13 to 7 but you mulitply 4 ( coming from 1+3 = 4 from 13 ) by 7 to get 28. Now you add the digits of the result 2+8 and it is of course equal to 9+1. But if by mistake you switch digits the sum of digits is not helpful because 13*7=19 will work too for the sum of digits.
 

Similar threads

  • · Replies 3 ·
Replies
3
Views
1K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 33 ·
2
Replies
33
Views
5K
  • · Replies 13 ·
Replies
13
Views
3K
  • · Replies 17 ·
Replies
17
Views
2K
Replies
8
Views
3K
  • · Replies 10 ·
Replies
10
Views
3K
  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 1 ·
Replies
1
Views
1K