ArticleslgStudy

science

Casting out nines

Casting out nines is a science topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand Casting out nines rather than just read about it. In short: Casting out nines is any of three arithmetical procedures: Adding the decimal digits of a positive whole number, while optionally ignoring any 9s or digits which sum to 9 or a multiple of 9. The result of this procedure is a number which is smaller than the original whenever the original has more than one digit, leaves the same remainder as the original after division by nine, and may be obtained from the original b…

Casting out nines — main illustration
Casting out nines — illustration

Key takeaways

  • Casting out nines belongs to science; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect Casting out nines to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of Casting out nines from memory before moving on to harder problems.

Reference excerpt

Casting out nines is any of three arithmetical procedures:

Adding the decimal digits of a positive whole number, while optionally ignoring any 9s or digits which sum to 9 or a multiple of 9. The result of this procedure is a number which is smaller than the original whenever the original has more than one digit, leaves the same remainder as the original after division by nine, and may be obtained from the original by subtracting a multiple of 9 from it. The name of the procedure derives from this latter property. Repeated application of this procedure to the results obtained from previous applications until a single-digit number is obtained. This single-digit number is called the "digital root" of the original. If a number is divisible by 9, its digital root is 9. Otherwise, its digital root is the remainder it leaves after being divided by 9. A sanity test in which the above-mentioned procedures are used to check for errors in arithmetical calculations. The test is carried out by applying the same sequence of arithmetical operations to the digital roots of the operands as are applied to the operands themselves. If no mistakes are made in the calculations, the digital roots of the two resultants will be the same. If they are different, therefore, one or more mistakes must have been made in the calculations.

Digit sums

To "cast out nines" from a single number, its decimal digits can be simply added together to obtain its so-called digit sum. The digit sum of 2946, for example is 2 + 9 + 4 + 6 = 21. Since 21 = 2946 − 325 × 9, the effect of taking the digit sum of 2946 is to "cast out" 325 lots of 9 from it. If the digit 9 is ignored when summing the digits, the effect is to "cast out" one more 9 to give the result 12. More generally, when casting out nines by summing digits, any set of digits which add up to 9, or a multiple of 9, can be ignored. In the number 3264, for example, the digits 3 and 6 sum to 9. Ignoring these two digits, therefore, and summing the other two, we get 2 + 4 = 6. Since 6 = 3264 − 362 × 9, this computation has resulted in casting out 362 lots of 9 from 3264. For an arbitrary number, 10ndn+10n−1dn−1+⋯+d0, normally represented by the sequence of decimal digits, dndn−1…d0, the digit sum is dn+dn−1+⋯+d0. The difference between the original number and its digit sum is 10ndn+10n−1dn−1+⋯+d0−(dn+dn−1+⋯+d0)=(10n−1)dn+(10n−1−1)dn−1+⋯+9d1. Because numbers of the form 10i−1 are always divisible by 9 (since 10i−1=9×(10i−1+10i−2+⋯+1)), replacing the original number by its digit sum has the effect of casting out 10n−19dn+10n−1−19dn−1+⋯+d1 lots of 9.

Digital roots

If the procedure described in the preceding paragraph is repeatedly applied to the result of each previous application, the eventual result will be a single-digit number from which all 9s, with the possible exception of one, have been "cast out". The resulting single-digit number is called the digital root of the original. The exception occurs when the original number has a digital root of 9, whose digit sum is itself, and therefore will not be cast out by taking further digit sums. The number 12,565, for instance, has digit sum 1 + 2 + 5 + 6 + 5 = 19, which, in turn, has digit sum 1 + 9 = 10, which, in its turn has digit sum 1 + 0 = 1, a single-digit number. The digital root of 12,565 is therefore 1, and its computation has the effect of casting out (12,565 − 1) ÷ 9 = 1,396 lots of 9 from 12,565.

Checking calculations by casting out nines To check the result of an arithmetical calculation by casting out nines, each number in the calculation is replaced by its digital root and the same calculations applied to these digital roots. The digital root of the result of this calculation is then compared with that of the result of the original calculation. If no mistake has been made in the calculations, these two digital roots must be the same. Examples in which casting-out-nines has been used to check addition, subtraction, multiplication, and division are given below.

Examples

Addition In each addend, cross out all 9s and pairs of digits that total 9, then add together what remains. These new values are called excesses. Add up leftover digits for each addend until one digit is reached. Now process the sum and also the excesses to get a final excess.

Subtraction

Multiplication

*8 times 8 is 64; 6 and 4 are 10; 1 and 0 are 1.

Division

How it works The method works because the original numbers are 'decimal' (base 10), the modulus is chosen to differ by 1, and casting out is equivalent to taking a digit sum. In general any two 'large' integers, x and y, expressed in any smaller modulus as x' and y' (for example, modulo 7) will always have the same sum, difference or product as their originals. This property is also preserved for the 'digit sum' where the base and the modulus differ by 1. If a calculation was correct before casting out, casting out on both sides will preserve correctness. However, it is possible that two previously unequal integers will be identical modulo 9 (on average, a ninth of the time). The operation does not work on fractions, since a given fractional number does not have a unique representation.

A variation on the explanation A trick to learn to add with nines is to add ten to the digit and to count back one. Since we are adding 1 to the tens digit and subtracting one from the units digit, the sum of the digits should remain the same. For example, 9 + 2 = 11 with 1 + 1 = 2. When adding 9 to itself, we would thus expect the sum of the digits to be 9 as follows: 9 + 9 = 18, (1 + 8 = 9) and 9 + 9 + 9 = 27, (2 + 7 = 9). Let us look at a simple multiplication: 5 × 7 = 35, (3 + 5 = 8). Now consider (7 + 9) × 5 = 16 × 5 = 80, (8 + 0 = 8) or 7 × (9 + 5) = 7 × 14 = 98, (9 + 8 = 17), (1 + 7 = 8). Any non-negative integer can be written as 9×n + a, where 'a' is a single digit from 0 to 8, and 'n' is some non-negative integer. Thus, using the distributive rule, (9×n + a)×(9×m + b)= 9×9×n×m + 9(am + bn) + ab. Since the first two factors are multiplied by 9, their sums will end up being 9 or 0, leaving us with 'ab'. In our example, 'a' was 7 and 'b' was 5. We would expect that in any base system, the number before that base would behave just like the nine.

… excerpt ends here. Continue reading the full article.

Illustrations

Casting out nines: Finding the digital root of a number by casting out nines, multiples of nine and zeros, and repeatedly summing remaining digits
Finding the digital root of a number by casting out nines, multiples of nine and zeros, and repeatedly summing remaining digits

Worked examples

Example 1 — a first encounter with Casting out nines

Start with the simplest possible case. Write down what Casting out nines claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In science, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to Casting out nines before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about Casting out nines ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of Casting out nines

In research
Casting out nines appears in science research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses Casting out nines in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
Casting out nines is common in secondary-school and first-year university syllabi. It links to neighbouring topics Arithmetic, Error detection and correction, so understanding it makes those chapters shorter.
In everyday life
Look for Casting out nines outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “Casting out nines” →

How to study Casting out nines in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Casting out nines means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain Casting out nines out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Casting out nines in simple terms?

Casting out nines is any of three arithmetical procedures: Adding the decimal digits of a positive whole number, while optionally ignoring any 9s or digits which sum to 9 or a multiple of 9. The result of this procedure is a number which is smaller than the original whenever the original has more t…

Why does Casting out nines matter?

Because it connects several science ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study Casting out nines?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on Casting out nines.

Tags

  • Arithmetic
  • Error detection and correction

Keep exploring