PrepShorts · Study sheet · Class 8 Mathematics · Chapter 6, Algebra PlayPrepShorts

Chapter 6 · Algebra Play

Decoding a divisibility trick with algebra

Optimising and justifying10 min

This video could not be loaded. Reload the page to try again.

Sign in with Google

10 min.

Reverse a two-digit number, subtract the smaller from the larger, divide by nine. It comes out exactly — every time, and you can see why.

The idea

Turning a two-digit number back to front changes nothing about its digits — only about the weights they carry. One digit trades a weight of ten for a weight of one and the other makes the opposite trade, so the two numbers differ by ten minus one, nine times over, applied to the gap between the digits. That is where the 9 comes from: not from the number 47, and not from anything mysterious about nines, but from the difference between two neighbouring place values. Add instead of subtracting and the same two weights give ten plus one, so eleven appears. Every other puzzle in this section is the same idea at a different length — cycling three digits produces 111, which is 3 times 37, and repeating a block of three produces 1001, which is 7 times 11 times 13. The trick is a fact about place value, and algebra is what lets you see it rather than believe it.

What you should be able to do

  • Write a two-digit number and its reversal as expressions in the same two digits
  • Subtract those expressions, simplify, and take out the common factor to display the 9
  • Read the quotient off the factored form and identify it as the gap between the digits
  • Carry out the other case, when the tens digit is the larger, and say why the conclusion is unchanged
  • Add the two expressions instead, and account for the 11 that appears
  • Extend the method to three digits cycled around, factor the result, and name both divisors it displays
  • Explain why repeating a three-digit block gives a number divisible by 7, by 11 and by 13, and what three successive divisions return
  • Set up and solve each of the chapter's end-of-section word problems by naming the unknown and writing what the situation asserts
  • Say, in general, why algebra is what justifies a claim about all numbers where examples cannot

Words to know

TermDefinition in one lineFirst introduced
divisibilitywhether one number divides another leaving nothing overprinted in the section heading, Part II §6.6, p.144, and in the SUMMARY, Part II p.147; Part II p.145 prints divisible, not divisibility
divisibleleaving no remainder on divisionprinted in Part II §6.6, p.145
remainderwhat is left over when a division does not come out exactlyprinted in Part II §6.6, pp.144–145
quotientthe result of the divisionprinted in Part II §6.6, p.145, in the Figure it Out block
reverseto write the digits of a number in the opposite orderprinted in Part II §6.6, pp.144–145
differencewhat you get by subtracting one number from the otherprinted in Part II §6.6, pp.144–145
cyclingmoving each digit along one position, the last coming round to the frontprinted in Part II §6.6, p.145, item 3
justifyto give a reason that settles a claim for all cases, not to check examplesprinted in Part II §6.6, p.145, item 2, and in the SUMMARY, p.147
letter-numberthe book's word for a letter standing in for a number that is not known yetprinted in Part II §6.1, p.135, and again in §6.6, p.146, item 6
place valuethe weight a digit carries because of the position it sits instandard NCERT terminology from earlier chapters; the phrase is not printed in this chapter, though every argument in §6.6 turns on it
weight of a placethe number a digit in that position is effectively multiplied byan added term; the chapter writes the tens weight out as a 10 and never names the idea

Where people slip up

  • "It worked because 47 has something special about it." Nothing about 47 enters the argument. The expression covers every two-digit number with unequal digits at once, which is a different kind of statement from a hundred successful examples.
  • "9 must be special." 9 is 10 − 1. The nine is manufactured by the two place weights the reversal swaps, and the addition version manufactures 11 = 10 + 1 in exactly the same way from exactly the same weights.
  • "The digits have to be far apart." They only have to differ, so that the difference is not zero. A gap of 1 gives 9 itself, which the trick handles fine.
  • "The quotient is unpredictable." It is the digit gap, and once you know that the trick has a second half: name the gap as well.
  • "If the tens digit is the larger, the trick breaks." The difference is nine times the gap the other way round, which is still a multiple of 9. The chapter leaves this case to the reader precisely because it changes nothing.
  • "Adding should also give a multiple of 9." It gives a multiple of 11. Students who have internalised "reversal means nines" will predict wrongly here, which is what makes item 2 worth doing before item 3.
  • "Divisibility by 7, 11 and 13 for a repeated block is a coincidence." It is one factorisation, 1001 = 7 × 11 × 13, applied once. The chapter's own hint says as much.
  • "Justifying means checking enough cases." Three instances of the addition rule are printed, and the item still asks for a justification. The chapter's SUMMARY states outright that this distinction is what algebra is for.
  • "The word problems at the end belong to a different chapter." Every one is the same act: name what you do not know, write down what the situation asserts about it, solve. That is why they are here and not in a chapter on equations.
  • "Karim was unlucky." Karim was arithmetically doomed. The break-even charge equals the holding, and 8 exceeded his 7 from the outset; the genie, knowing the holding, chose accordingly.
Transcript1,448 words

Here is a trick you can do on anyone. Ask them for a two-digit number with two different digits, kept to themselves. Write the same digits the other way round, take the smaller from the larger, and divide what is left by nine. Then tell them, before they finish, that it came out exactly. Say they picked forty-seven. Backwards that is seventy-four; take one from the other and you get twenty-seven; and twenty-seven divided by nine is three, exactly.

One example proves nothing. There are eighty-one numbers they could have picked, and checking every one would still not tell you why. So instead of checking, we are going to find out where the nine comes from. The first move is to write the number so its digits show. Forty-seven is four tens and seven ones. Ten times four, plus seven. Written that way you can see the two digits, and something else: the number each one is being multiplied by. Four by ten, seven by one.

Call those the weights. A digit is worth its own value times the weight of the place it sits in, and that is the only thing the position of a digit ever does. Now reverse it, and watch what actually changes. Forty-seven becomes seventy-four. The digits are still a four and a seven. Not one of them has become a different digit. What has changed is which weight each of them is carrying.

In forty-seven, the four carries ten and the seven carries one. In seventy-four, the four carries one and the seven carries ten. They have traded. One gives up ten and takes one; the other does the opposite. That is the whole of what reversing does, and once you see it that way the nine is almost already there. Take one from the other and let the digits stay as letters.

Seventy-four is ten times seven, plus four. Forty-seven is ten times four, plus seven. Subtract. The tens parts leave ten sevens minus ten fours. The ones parts leave four minus seven. Collect them, and you have ten of one difference and one of the opposite difference: nine times the gap between the digits. Nothing about forty-seven survived that. The letters could have been any two digits at all. And there is the nine. It is ten, minus one. The difference between the two weights that swapped places.

What we proved says more than the trick claimed. The difference is not merely a multiple of nine. It is nine times the gap between the digits. So the quotient is not a leftover number - it is the gap. Four and seven differ by three, and the answer was three. So the trick has a second half: you can announce the quotient too. It runs from one to nine. Twelve and twenty-one differ by nine itself. And ninety, reversed, is just nine; ninety take nine is eighty-one, which is nine nines.

The gap does the work. The nine was never the interesting part. There is a case we skipped. We assumed the ones digit was the larger. What if the first one is? Run the same subtraction the other way round and you get nine times the gap the other way round. But the instruction was to take the smaller from the larger, so the gap is positive either way. Which is why forty-seven and seventy-four both give twenty-seven. Same pair of digits, and the trick cannot tell which you started from.

Now change one word in the instructions. Instead of subtracting, add. Thirty-one and thirteen make forty-four. Twenty-eight and eighty-two make one hundred and ten. Twelve and twenty-one make thirty-three. Every one is a multiple of eleven. And you should want to know why it is eleven and not nine. Add the two expressions instead of subtracting. The tens parts give ten of each digit; the ones parts give one of each. So every digit is counted ten times and once: eleven times the total of the two.

Ten minus one gave nine. Ten plus one gives eleven. It is the same two weights, doing the only two things you can do with two numbers. And the quotient this time is the total of the digits: four, then ten, then three. Three digits now. Take two hundred and thirty-four, and cycle the digits round: each one moves along a place, and the last one comes round to the front.

That gives four hundred and twenty-three, and then three hundred and forty-two. Add all three and you get nine hundred and ninety-nine. Here is why. Look at any one digit across the three lines: it sits in the hundreds once, in the tens once, and in the ones once. So every digit is counted a hundred times, and ten times, and once. A hundred and eleven times, each of them.

The total is a hundred and eleven times the sum of the digits. Two and three and four is nine, and that gives nine hundred and ninety-nine. And a hundred and eleven is three times thirty-seven. So the total is always a multiple of thirty-seven, and always a multiple of three - both from one factorisation, not two separate facts. One more. Take any three-digit number and write it out twice in a row, to make a six-digit number.

Four six two becomes four six two, four six two. Now divide it by seven. Then divide that by eleven. Then divide that by thirteen. Nothing is left over at any stage, and what you hold at the end is the number you started with. The reason is the same as every other one. Writing the block twice pushes the first copy up three places, so the number is the block times a thousand plus the block times one: the block times a thousand and one.

And a thousand and one is seven, times eleven, times thirteen. Dividing by those three, in any order, undoes the multiplication and hands the block straight back. Look at the four of them together. Nine is ten minus one. Eleven is ten plus one. A hundred and eleven is a hundred and ten and one added up. A thousand and one is a thousand and one added up. Every one of those numbers is built out of place-value weights and nothing else. Not one is a fact about nines, or elevens, or seven and thirteen. They are facts about what moving a digit does - and moving a digit only ever changes what it is multiplied by.

That is why algebra was worth the trouble. Examples can tell you that something keeps happening. Only a statement with letters in it can tell you what would have to change for it to stop. The same move settles puzzles that look nothing like this one. Name what you do not know, write down what the situation says, and read off the answer. Three gardens, each with a pool that doubles any flowers dipped in it, leaving the same number at each and finishing with none. Start with seven, leave eight: seven doubles to fourteen, leave eight, six left; six doubles to twelve, leave eight, four left; four doubles to eight, and eight is what you leave.

Horses and hens behind a fence: fifty-five heads, a hundred and fifty legs, twenty horses and thirty-five hens. Or without letters at all - fifty-five hens would be a hundred and ten legs, forty short, and each horse adds two. Two herds, one twice the other, made equal by handing over three: six and twelve, becoming nine and nine. Every one is the same act. The unknown gets a name before it gets a value.

One last story, because here the answer is not the point. A traveller meets a genie by a tree. Each time he walks round it, the coins in his pocket double - and each time, he pays the genie eight. After the third walk he holds exactly eight, which is exactly what he owes. He hands them over and goes home with nothing. Work backwards and he began with seven. Seven doubles to fourteen, pay eight, six left. Six doubles to twelve, pay eight, four left. Four doubles to eight, and eight was the fee.

But here is the thing. Doubling then paying leaves twice what he had, minus the fee - which beats what he had only when the fee is smaller than his holding. He was holding seven. The fee was eight. He was not unlucky, and he did not lose on the third circuit. He was losing from the first one, and the genie, who could see his pocket, had priced it that way.

Where this fits

Either side of this one

The book

Open in a new tab