L
LLLOS.ai
Learn
L
Class 8 Mathematics Chapter 0 of 16

Ganita Prakash II · Chapter 6 — Algebra Play

Start learning → Step-by-step lesson with a teacher voice, questions and notes.

Reading view

Overview

This chapter is about having fun with algebra and using it to explain why tricks and puzzles work. You begin with think-of-a-number tricks: by writing the secret number as x and simplifying after every step, you see why the answer is always the same, and you learn to design your own. A date trick shows how place value and the expression 100M + D + 165 let a friend name your chosen date from one number. Number pyramids, where each number is the sum of the two below, lead to neat formulas such as a + 2b + c for the top, and to a surprise with the Virahāṅka-Fibonacci numbers. Calendar squares and shape grids become one-line equations. You search systematically for the largest product of a two-digit and a one-digit number and prove the rule with algebra. Place-value expressions such as 10a + b explain divisibility tricks with 9, 11, 37 and 1001. Finally you solve classic puzzles about horses and hens, ages, cows, a dosa cart, magic ponds and a cunning genie, by naming one unknown, writing an equation, solving it and checking the answer in the story.

हिंदी में पढ़ें

संख्या की युक्तियाँ, तिथि बूझने की युक्ति, संख्या पिरामिड, कैलेंडर वर्ग, सबसे बड़ा गुणनफल और विभाज्यता की युक्तियाँ, सब बीजगणित से समझाई गई।

Learning Objectives

  • Use algebra to explain think-of-a-number tricks and design new ones
  • Decode the date trick using algebra and place value
  • Fill number pyramids with letter-numbers and find the top from the bottom row
  • Explain calendar tricks and solve algebra grids
  • Find the largest product of digits systematically and prove the rule
  • Prove divisibility tricks with place-value expressions such as 10a + b
  • Solve word puzzles by forming and solving equations
  • Solve repeated doubling puzzles by algebra and by working backwards

Topics in this chapter

8 topics · tap a topic title to jump straight to it.

Topic 1 of 8
🔢1

Think-of-a-number tricks

By the end you canUse algebra to explain why think-of-a-number tricks work and to design new ones.

1Think first

Why does ‘double it, add 4, halve it, subtract the number’ always give 2?No wrong answer. Think for a moment, then read on.

2The idea, in plain words

‘Think of a number. Double it. Add 4. Divide by 2. Take away the number you first thought of. Your answer is 2!’ Try it with 5, with 13, with 100. It always works. Why?

Let algebra do the thinking. Call the secret number x and follow each step.

StepWith 5With x
Think of a number5x
Double it102x
Add 4142x + 4
Divide by 27x + 2
Subtract the original number2x + 2 − x = 2

The x disappears in the last step, so the answer is 2 whatever number you start with. A single example shows that the trick works for that number; the algebra proves it works for every number.

Changing the answer. The ‘add 4’ step decides the final answer: after halving, it becomes + 2. To make the answer 3, add 6 instead; for 5, add 10. In general, adding 2k gives a final answer of k.

Designing your own trick. The recipe: do some steps that build an expression in x, then undo the x part so only a number remains. Example:

  • Think of a number: x.
  • Multiply by 3: 3x.
  • Add 12: 3x + 12.
  • Divide by 3: x + 4.
  • Subtract your number: 4.

A trick that reveals the number. Instead of cancelling x, keep it and then work backwards. ‘Think of a number, add 7, multiply by 2, subtract 4, tell me the answer.’ The expression is 2(x + 7) − 4 = 2x + 10. If your friend says 36, then 2x + 10 = 36, so x = 13. To find the number quickly, subtract 10 and halve.

Why tricks fail. If a step like ‘divide by 2’ comes when the expression is odd for some starting numbers, your friend gets a fraction and may stop. Check that every step works for whole numbers. Also, if your friend makes an arithmetic slip, the trick ‘fails’, which is a good reason to ask them to check each step.

The big idea. A letter-number lets us follow every possible starting number at once. Simplifying the expression after each step shows exactly what the trick does.

Formulas to remember
  1. Adding 2k before halving gives a final answer of k
  2. Undo a trick by reversing its steps in the opposite order
Whenthe steps build an expression in which x cancelsThenevery starting number gives the same answer
Whenthe final expression still contains xThenthe answer can be worked backwards to reveal the secret number

3Worked example

Explain the trick: think of a number, add 5, multiply by 4, subtract 20, divide by 4. What do you get?
Step 1x + 5, then 4(x + 5) = 4x + 20.
Step 2Subtract 20: 4x.
Step 3Divide by 4: x.
Step 4You always get back the number you started with.
More examples
  • 2x → 2x + 4 → x + 2 → 2
  • 3x → 3x + 12 → x + 4 → 4
  • 2(x + 7) − 4 = 2x + 10; answer 36 gives x = 13

4Your turn

Think of x, double it, add 10, halve it, subtract x. What is the result?

5Remember this

One line to keepWrite each step as an expression in x; if x cancels, the answer is the same for everyone.
Common mistake. Halving only the 2x and forgetting to halve the added number too.
Topic 2 of 8
⌨️2

The date trick: decoding with place value

By the end you canDecode the date trick with algebra and place value, and design a new version.

1Think first

How can a friend name your chosen date from one number you tell them?No wrong answer. Think for a moment, then read on.

2The idea, in plain words

Mukta thinks of a date and follows Shubham’s steps: multiply the month by 5, add 6, multiply by 4, add 9, multiply by 5, then add the day. She says ‘291’. Shubham instantly says ‘26 January, Republic Day!’ How?

Algebra. Let the month be M and the day D.

StepExpression
Multiply the month by 55M
Add 65M + 6
Multiply by 420M + 24
Add 920M + 33
Multiply by 5100M + 165
Add the day100M + 165 + D

So the answer is always 100M + D + 165. Shubham just subtracts 165. That leaves 100M + D.

Place value does the rest. A day is at most 31, so D fits in the last two digits, and 100M sits in the hundreds and above. For 291: 291 − 165 = 126, so M = 1 and D = 26: 26 January.

  • Answer 1390: 1390 − 165 = 1225, so 25 December.
  • Answer 1269: 1104, so 4 November.
  • Answer 394: 229, so 29 February.
  • Answer 296: 131, so 31 January.

Try it on a birthday. 14 November: 5 × 11 = 55, + 6 = 61, × 4 = 244, + 9 = 253, × 5 = 1265, + 14 = 1279. Subtract 165: 1114, which is 11 and 14, the 14th of November.

Making your own version. The aim is to end with 100M + D plus some fixed number. Any steps that multiply M by 100 overall will do. For example: multiply the month by 4, add 3, multiply by 25, add the day. This gives 100M + 75 + D, so you subtract 75. Check with 15 August: 4 × 8 = 32, + 3 = 35, × 25 = 875, + 15 = 890, and 890 − 75 = 815: month 8, day 15.

Why must the multiplier be 100? If M were multiplied by only 10, the month and the day would overlap: 10M + D for 1 and 23 gives 33, and so does 2 and 13. Multiplying by 100 keeps the two-digit day in its own place, so the answer can be split up uniquely.

The same idea lies behind tricks that find someone’s age and shoe size, or two dice throws: build 100 × first + second (or 10 × first + second when the second is a single digit) plus a constant.

Formulas to remember
  1. Final answer = 100M + 165 + D
  2. Date = answer − 165, read as month | two-digit day
Whenthe steps make 100M + D plus a constantThensubtracting the constant shows the month in the hundreds and the day in the last two digits
Whenthe month is multiplied by only 10Thendifferent dates can give the same answer, so the trick fails

3Worked example

Someone gets 1018 with the 5, 6, 4, 9, 5 date trick. What date did they choose?
Step 1Subtract 165: 1018 − 165 = 853.
Step 2The last two digits give the day: 53 is not a possible day.
Step 3So there is an arithmetic slip; ask them to check their steps.
More examples
  • 291 − 165 = 126: 26 January
  • 1390 − 165 = 1225: 25 December
  • 14 November gives 1279
  • Version 2: (4M + 3) × 25 + D = 100M + 75 + D

4Your turn

The date trick gives 100M + 165 + D and your friend says 1180. What date did they choose?

5Remember this

One line to keepAlgebra shows the answer is 100M + D + 165; subtract 165 and read month and day by place value.
Common mistake. Forgetting that the day uses two places, so 4 November is read from 1104, not 114.
Topic 3 of 8
🔢3

Number pyramids

By the end you canFill number pyramids using algebra and find the top directly from the bottom row.

1Think first

How can you find the top of a pyramid without filling in the middle rows?No wrong answer. Think for a moment, then read on.

2The idea, in plain words

In a number pyramid, each number is the sum of the two numbers just below it. With 1, 9, 4 in the bottom row, the next row is 10 and 13, and the top is 23.

Filling gaps by working backwards. If the top is 10, the left middle is 4 and the left bottom is 1, then the right middle is 10 − 4 = 6, the middle bottom is 4 − 1 = 3, and the right bottom is 6 − 3 = 3.

When no simple start exists, use letters. The top is 60 and the bottom row is 12, c, 8. Call the middle row a and b.

  • a = 12 + c and b = c + 8.
  • a + b = 60, so (12 + c) + (c + 8) = 60.
  • 20 + 2c = 60, so 2c = 40 and c = 20.
  • Then a = 32 and b = 28. Check: 32 + 28 = 60.

A formula for the top. With two rows, the top of a and b is a + b. With three rows and bottom a, b, c, the middle is a + b and b + c, so the top is

(a + b) + (b + c) = a + 2b + c.

The middle number counts twice, because it feeds both numbers above it. For 4, 13, 8 the top is 4 + 26 + 8 = 38, without building the pyramid. For 7, 11, 3 it is 7 + 22 + 3 = 32.

With four rows and bottom a, b, c, d:

RowExpressions
Topa + 3b + 3c + d
Thirda + 2b + c, b + 2c + d
Seconda + b, b + c, c + d
Bottoma, b, c, d

For 8, 19, 21, 13 the top is 8 + 57 + 63 + 13 = 141. The multipliers 1, 2, 1 and 1, 3, 3, 1 are the rows of a famous triangle of numbers (Pascal’s triangle, known in India as Meru Prastāra from Piṅgala’s work).

Pyramids from Virahāṅka-Fibonacci numbers. In the sequence 1, 2, 3, 5, 8, 13, 21, ... each number is the sum of the two before it. Put 1, 2, 3 in the bottom row: the next row is 3, 5 and the top is 8, all numbers from the sequence. With 1, 2, 3, 5 in a four-row pyramid you get 3, 5, 8, then 8, 13, then 21. The reason: adding two neighbouring terms always gives the next term, so every row is part of the sequence, shifted along by 2 each time. The top of an n-row pyramid is the term 2(n − 1) places after the first one.

Formulas to remember
  1. Three rows: top = a + 2b + c
  2. Four rows: top = a + 3b + 3c + d
Whena number in the bottom row feeds more paths to the topThenit is counted more times in the top number
Whenthe bottom row holds consecutive Virahāṅka-Fibonacci numbersThenevery number in the pyramid is also in that sequence

3Worked example

The top of a three-row pyramid is 50 and the bottom row is 9, x, 7. Find x.
Step 1Top = 9 + 2x + 7 = 16 + 2x.
Step 216 + 2x = 50, so 2x = 34.
Step 3x = 17. Check: 26 and 24 add to 50.
More examples
  • 1, 9, 4 → 10, 13 → 23
  • Top 60 over 12, c, 8 gives c = 20
  • Three rows: top = a + 2b + c
  • Four rows: top = a + 3b + 3c + d
  • 1, 2, 3, 5 → 3, 5, 8 → 8, 13 → 21

4Your turn

A three-row pyramid has bottom row 10, 14, 25. What is the top?

5Remember this

One line to keepIn a three-row pyramid the top is a + 2b + c; letters let you fill any pyramid.
Common mistake. Counting each bottom number only once; the middle numbers are counted more than once.
Topic 4 of 8
🔣4

Calendar magic and algebra grids

By the end you canUse algebra to explain calendar tricks and to solve shape grids.

1Think first

How can someone tell your four calendar dates from just their sum?No wrong answer. Think for a moment, then read on.

2The idea, in plain words

A friend picks a 2 × 2 square of dates on a calendar page, adds the four dates and tells you only the sum, say 36. You announce: ‘Your dates are 5, 6, 12 and 13!’

The secret. On a calendar, the next date to the right is 1 more, and the date just below is 7 more (one week later). If the top-left date is a, the square is

aa + 1
a + 7a + 8

The sum is a + (a + 1) + (a + 7) + (a + 8) = 4a + 16. If the sum is 36, then 4a + 16 = 36, 4a = 20 and a = 5. So the dates are 5, 6, 12, 13. Quick rule: subtract 16 and divide by 4.

Check with another square. 6, 7, 13, 14 add to 40, and (40 − 16)/4 = 6. Correct.

Other shapes.

  • A 3 × 3 square with centre m: the dates are m − 8, m − 7, m − 6, m − 1, m, m + 1, m + 6, m + 7, m + 8. The sum is 9m, so divide the sum by 9 to get the centre.
  • Three dates in a column: a, a + 7, a + 14 add to 3a + 21.
  • A plus shape around centre m: m − 7, m − 1, m, m + 1, m + 7 add to 5m.

Algebra grids. In a grid puzzle, each shape stands for a number, and the last column (or row) gives the sum of the shapes in that row. For example:

  • Row 1: three circles = 27, so a circle is 9.
  • Row 2: two triangles and a circle = 19, so 2 × triangle + 9 = 19, and a triangle is 5.
  • Row 3: a circle, a triangle and a square = 20, so 9 + 5 + square = 20, and a square is 6.

The plan is the same as in a pyramid: start with a row that has only one unknown, find it, and then use it in the other rows. Each row is really an equation such as 3c = 27 or 2t + c = 19.

Create your own. Choose values for the shapes first, build the rows, and work out the sums. Then hide the values and give the puzzle to a friend. Make sure some row lets them start.

Formulas to remember
  1. 2 × 2 square: sum = 4a + 16, a = (sum − 16)/4
  2. 3 × 3 square: sum = 9 × centre
  3. Plus shape: sum = 5 × centre
Whena calendar date moves one place right or downThenit increases by 1 or by 7
Whena grid row has only one kind of unknownThenit gives the value of that unknown, which unlocks the other rows

3Worked example

The sum of a 3 × 3 square of calendar dates is 135. Find the dates.
Step 1Sum = 9 × centre, so the centre = 135 ÷ 9 = 15.
Step 2Row above: 7, 8, 9; middle row: 14, 15, 16; row below: 21, 22, 23.
Step 3Check: 24 + 45 + 66 = 135.
More examples
  • 2 × 2 calendar square: sum = 4a + 16
  • Sum 36 gives a = 5: dates 5, 6, 12, 13
  • 3 × 3 calendar square: sum = 9 × centre
  • Three circles = 27, so circle = 9

4Your turn

A 2 × 2 calendar square adds up to 60. What is its top-left date?

5Remember this

One line to keepWrite the hidden numbers in terms of one letter, form one equation from the sum, and solve.
Common mistake. Forgetting that the date below is 7 more, not 1 more.
Topic 5 of 8
🔢5

The largest product

By the end you canFind the largest product systematically and prove the rule with algebra.

1Think first

With digits 2, 3 and 5, should the biggest digit go in the tens place or be the multiplier?No wrong answer. Think for a moment, then read on.

2The idea, in plain words

Put the digits 2, 3 and 5 into the boxes □□ × □ (a two-digit number times a one-digit number), using each digit once. Which arrangement gives the largest product?

List the cases. The first box can take 3 digits and then the next box 2, leaving 1, so there are 3 × 2 = 6 arrangements: 23 × 5, 25 × 3, 32 × 5, 35 × 2, 52 × 3, 53 × 2.

Compare cleverly, not by brute force. Group by the multiplier.

  • × 2: 35 × 2 and 53 × 2. The bigger number 53 wins.
  • × 3: 25 × 3 and 52 × 3. 52 wins.
  • × 5: 23 × 5 and 32 × 5. 32 wins.

Now compare 53 × 2, 52 × 3 and 32 × 5. Clearly 52 × 3 is more than 53 × 2. For the last two, expand:

32 × 5 = (3 × 10 × 5) + (2 × 5) and 52 × 3 = (5 × 10 × 3) + (2 × 3).

The first parts are equal (150), and the second parts are 10 and 6. So 32 × 5 = 160 is the largest. (The others: 52 × 3 = 156, 53 × 2 = 106.)

Is there a rule? It seems we should use the largest digit as the multiplier and arrange the other two in decreasing order. Let us prove it for any three different digits p, q, r with p < q < r. Within each pair with the same multiplier, the larger tens digit wins, leaving rq × p, rp × q and qp × r.

  • rp × q beats rq × p: rp × q = 10rq + pq and rq × p = 10rp + pq, and 10rq is bigger than 10rp because q is bigger than p.
  • Now compare qp × r = 10qr + pr with rp × q = 10rq + pq. The first parts are equal, and pr is bigger than pq because r is bigger than q.

So qp × r is always the largest: the largest digit is the multiplier, and the other two digits form the multiplicand in decreasing order.

Check. Digits 1, 3, 7: the rule gives 31 × 7 = 217. The nearest rival 71 × 3 = 213 is smaller. Digits 3, 5, 9: 53 × 9 = 477 beats 93 × 5 = 465.

Why algebra helps. Trying all six cases works for one set of digits. The algebra shows the rule works for every set of three different digits, and also explains why: the tens parts tie, and the units parts decide.

Formulas to remember
  1. Two-digit number ab = 10a + b
  2. Largest □□ × □: largest digit as multiplier, others in decreasing order
Whentwo products have the same multiplierThenthe one with the larger tens digit in the multiplicand is larger
Whenthe tens parts of two expanded products are equalThenthe units parts decide which is larger

3Worked example

Use 4, 6 and 8 in □□ × □ to make the largest product.
Step 1The rule: largest digit 8 as multiplier, then 6 and 4 in decreasing order.
Step 264 × 8 = 512.
Step 3Check the rival 84 × 6 = 504, which is smaller.
More examples
  • 2, 3, 5: 32 × 5 = 160 is largest
  • 1, 3, 7: 31 × 7 = 217
  • 3, 5, 9: 53 × 9 = 477
  • qp × r = 10qr + pr

4Your turn

Using 2, 5 and 7 once each, which product is largest?

5Remember this

One line to keepGroup cases, expand with place value, and the largest digit turns out best as the multiplier.
Common mistake. Assuming the largest digit should always go in the tens place.
Topic 6 of 8
➗6

Decoding divisibility tricks

By the end you canUse place-value algebra to explain divisibility tricks.

1Think first

Why is the difference between a two-digit number and its reverse always divisible by 9?No wrong answer. Think for a moment, then read on.

2The idea, in plain words

Mukta says: ‘Choose a two-digit number with different digits, reverse the digits, subtract the smaller from the larger and divide by 9. There will be no remainder!’ With 47: 74 − 47 = 27, and 27 ÷ 9 = 3.

Why? A two-digit number with tens digit a and units digit b is 10a + b. Reversed it is 10b + a. If b is larger:

(10b + a) − (10a + b) = 9b − 9a = 9(b − a).

So the difference is always a multiple of 9, and the quotient is b − a, the difference of the digits. For 47 the quotient is 7 − 4 = 3. (If a is larger, the difference is 9(a − b).)

Add instead of subtract. 31 + 13 = 44, 28 + 82 = 110, 12 + 21 = 33. All are multiples of 11, because (10a + b) + (10b + a) = 11a + 11b = 11(a + b).

Cycling three digits. From abc make bca and cab, and add: for 123, 123 + 231 + 312 = 666. In general

(100a + 10b + c) + (100b + 10c + a) + (100c + 10a + b) = 111(a + b + c).

Since 111 = 3 × 37, the sum is always divisible by 37 and by 3. For 123: 666 = 111 × 6 = 37 × 18.

The abcabc trick. Write a three-digit number twice, like 425425. Divide by 7, then 11, then 13: you get back 425! Because abcabc = abc × 1000 + abc = abc × 1001, and 1001 = 7 × 11 × 13.

TrickAlgebraAlways divisible by
ab − ba9(a − b)9
ab + ba11(a + b)11
abc + bca + cab111(a + b + c)3, 37 and 111
abcabc1001 × abc7, 11, 13

Even and odd averages. Algebra also settles quick claims. Is the average of two even numbers always even? 2m and 2n have average m + n, which can be odd (2 and 4 average 3). So no. Is the average of five multiples of 5 a multiple of 5? 5a + 5b + 5c + 5d + 5e over 5 is a + b + c + d + e, a whole number, but not necessarily a multiple of 5 (5, 10, 15, 20, 30 average 16). So no again: one counter-example settles it.

The lesson. Examples suggest a pattern; algebra with place value (10a + b, 100a + 10b + c) proves it for every case.

Formulas to remember
  1. Two-digit number = 10a + b
  2. ab − ba = 9(a − b); ab + ba = 11(a + b)
  3. abc + bca + cab = 111(a + b + c)
  4. abcabc = 1001 × abc
Whena two-digit number and its reverse are subtractedThenthe result is 9 times the difference of the digits
Whena three-digit number is written twiceThenthe result is the number times 1001 = 7 × 11 × 13

3Worked example

Show that 583583 is divisible by 13 and find the quotient.
Step 1583583 = 583 × 1001.
Step 21001 = 7 × 11 × 13, so 1001 ÷ 13 = 77.
Step 3583583 ÷ 13 = 583 × 77 = 44,891.
More examples
  • 74 − 47 = 27 = 9 × 3
  • 28 + 82 = 110 = 11 × 10
  • 123 + 231 + 312 = 666 = 111 × 6
  • 425425 = 425 × 1001 = 425 × 7 × 11 × 13

4Your turn

For 92, reversing and subtracting gives 92 − 29. Divided by 9, what is the quotient?

5Remember this

One line to keepWrite numbers as 10a + b or 100a + 10b + c; factor the result to see why the trick works.
Common mistake. Treating the two-digit number ab as a × b instead of 10a + b.
Topic 7 of 8
🔢7

Solving puzzles with letter-numbers

By the end you canModel and solve word puzzles with letter-numbers and check the answers.

1Think first

A farm has 55 heads and 150 legs. How many of the animals are horses?No wrong answer. Think for a moment, then read on.

2The idea, in plain words

Many old puzzles become easy once we name the unknown with a letter and write an equation.

Horses and hens. A farm has 55 heads and 150 legs. How many horses and hens? Let the horses be h; then the hens are 55 − h. Legs: 4h + 2(55 − h) = 150, so 2h + 110 = 150, 2h = 40 and h = 20. There are 20 horses and 35 hens.

Without letters. If all 55 were hens there would be 110 legs. The real count is 40 more. Each horse adds 2 extra legs, so there are 40 ÷ 2 = 20 horses. The algebra and the reasoning say the same thing.

Ages. A mother is 5 times her daughter’s age. In 6 years she will be 3 times her daughter’s age. Let the daughter be d; the mother is 5d. In 6 years: 5d + 6 = 3(d + 6) = 3d + 18. So 2d = 12, d = 6. The daughter is 6 and the mother 30. Check: in 6 years, 36 = 3 × 12.

Cows. Naina has twice as many cows as Gauri. If Naina gave Gauri 3 cows, they would be equal. Let Gauri have g; Naina has 2g. Then 2g − 3 = g + 3, so g = 6. Gauri has 6 cows and Naina 12. Check: 9 and 9.

A dosa cart. Rent is ₹5000 a day and each dosa costs ₹10 to make.

  • To earn a profit of ₹2000 by selling 100 dosas at a price s: 100s − (5000 + 10 × 100) = 2000, so 100s = 8000 and s = ₹80.
  • If customers pay only ₹50: 50n − (5000 + 10n) = 2000, so 40n = 7000 and n = 175 dosas.

A pattern with odd numbers. Look at 1/3, (1 + 3)/(5 + 7), (1 + 3 + 5)/(7 + 9 + 11). They are 1/3, 4/12 and 9/27, all equal to 1/3! The first n odd numbers add to n², and the first 2n odd numbers add to (2n)² = 4n². So the next n odd numbers add to 4n² − n² = 3n², and the fraction is n²/3n² = 1/3 every time.

A method for word problems.

  • Choose a letter for one unknown and write the others in terms of it.
  • Turn each sentence into an equation.
  • Solve, and answer in words.
  • Check the answer in the original story.
Formulas to remember
  1. Profit = income − (fixed cost + cost per item × number)
  2. 1 + 3 + ... + (2n − 1) = n²
Whenone unknown is named with a letterThenthe other unknowns can be written in terms of it, giving one equation
Whenan answer is foundThenputting it back into the story checks it

3Worked example

A father is 4 times his son’s age. In 5 years he will be 3 times his son’s age. Find their ages.
Step 1Let the son be s; the father is 4s.
Step 2In 5 years: 4s + 5 = 3(s + 5) = 3s + 15.
Step 3s = 10, so the son is 10 and the father 40.
Step 4Check: in 5 years, 45 = 3 × 15.
More examples
  • 55 heads, 150 legs: 20 horses, 35 hens
  • Daughter 6, mother 30
  • Gauri 6 cows, Naina 12
  • Dosa price ₹80 for 100 dosas; 175 dosas at ₹50
  • (1 + 3 + 5)/(7 + 9 + 11) = 9/27 = 1/3

4Your turn

A pen stand has 30 pens and pencils, with 8 more pencils than pens. How many pens?

5Remember this

One line to keepName one unknown, write an equation from the story, solve, and check in the story.
Common mistake. Forgetting to add the years to both people’s ages in age problems.
Topic 8 of 8
🔢8

Doubling puzzles: the magic ponds and the genie

By the end you canUse algebra and working backwards to solve repeated doubling puzzles.

1Think first

If your coins double each round but you pay 8 each time, can you end up with nothing?No wrong answer. Think for a moment, then read on.

2The idea, in plain words

Some puzzles repeat the same action again and again. Algebra keeps track of every round.

Karim and the genie. A genie tells Karim: ‘Each time you walk round that tree, the coins in your pocket will double, but you must then pay me 8 coins.’ Karim walks round three times and after the third payment he has nothing left. How many coins did he start with?

Let him start with x coins.

RoundAfter doublingAfter paying 8
12x2x − 8
24x − 164x − 24
38x − 488x − 56

He ends with nothing, so 8x − 56 = 0 and x = 7. Check: 7 → 14 → 6 → 12 → 4 → 8 → 0.

When is the deal good for Karim? After one round he has 2x − c if the fee is c. This is more than x only when c is less than x. With 7 coins he gains only if the fee is less than 7 coins per round; at 7 he stays at 7 for ever.

How could the genie take everything? With fee c, after three rounds Karim has 8x − 7c. Setting this to 0 gives c = 8x/7. For x = 7 that is 8 coins, exactly what the genie asked. The genie chose the fee knowing Karim’s coins!

The magic ponds. A pilgrim dips his flowers into a magic pond that doubles them, then leaves p flowers at the first shrine. He repeats this at a second pond and shrine, and at a third, where he leaves all the remaining flowers, again p. Let him start with f flowers.

  • After pond 1 and shrine 1: 2f − p.
  • After pond 2 and shrine 2: 2(2f − p) − p = 4f − 3p.
  • After pond 3: 8f − 6p, and this is all placed at shrine 3, so 8f − 6p = p.

So 8f = 7p. The smallest whole numbers are f = 7 and p = 8. He starts with 7 flowers and places 8 at each shrine. Check: 7 → 14 → 6 → 12 → 4 → 8 → 0. (Notice it is the same chain as Karim’s coins!) Any multiple also works: 14 flowers and 16 per shrine.

Working backwards is another method. Before the last shrine he had 8 flowers, so before the last pond 4; before the second shrine 4 + 8 = 12, so before the second pond 6; before the first shrine 6 + 8 = 14, so he started with 7. Reverse each step: halve instead of double, add back instead of taking away.

Why algebra wins. Working backwards needs the final number. Algebra also handles questions like ‘for what fee does Karim gain?’, which have no single final number.

Formulas to remember
  1. After three rounds of ×2 then −c: 8x − 7c
  2. Ponds: 8f − 6p = p, so 8f = 7p
Whena quantity is doubled and then reduced by c, three timesThenit becomes 8x − 7c
Whenthe fee per round is less than the coins you holdThenyour coins grow each round

3Worked example

Coins double each round and you then pay 10. After two rounds you have 6 coins. How many did you start with?
Step 1After round 1: 2x − 10; after round 2: 2(2x − 10) − 10 = 4x − 30.
Step 24x − 30 = 6, so 4x = 36 and x = 9.
Step 3Check: 9 → 18 → 8 → 16 → 6.
More examples
  • Karim: 8x − 56 = 0 gives x = 7
  • 7 → 14 → 6 → 12 → 4 → 8 → 0
  • Ponds: 8f = 7p gives 7 flowers, 8 per shrine
  • Genie takes everything when the fee is 8x/7

4Your turn

You start with 5 coins; they double and you pay 4, twice. How many do you have?

5Remember this

One line to keepTrack each round with an expression; set the final expression equal to what is left and solve.
Common mistake. Doubling the payment too, or doing the steps in the wrong order when working backwards.

Key Concepts

Letter-number (variable)
A letter such as x that stands for any number, used to follow every case at once.
Expression
A combination of numbers and letter-numbers, such as 2x + 4.
Simplifying
Rewriting an expression in a shorter equal form, such as (2x + 4)/2 = x + 2.
Think-of-a-number trick
A set of steps that always gives the same answer, or reveals the starting number.
Place value form
A two-digit number ab written as 10a + b; abc as 100a + 10b + c.
Date trick
Steps giving 100M + D + 165, so subtracting 165 shows the month and day.
Number pyramid
A triangle of numbers where each is the sum of the two below it.
Top of a three-row pyramid
a + 2b + c for bottom row a, b, c.
Virahāṅka-Fibonacci numbers
1, 2, 3, 5, 8, 13, ..., each the sum of the two before it.
Calendar square
A 2 × 2 block of dates a, a + 1, a + 7, a + 8, with sum 4a + 16.
Algebra grid
A puzzle where shapes stand for numbers and row sums are given.
Multiplicand and multiplier
In 32 × 5, 32 is the multiplicand and 5 is the multiplier.
Divisibility by 9 trick
A two-digit number minus its reverse is 9 times the difference of the digits.
1001 trick
abcabc = abc × 1001 = abc × 7 × 11 × 13.
Counter-example
One example that shows a general claim is false.
Working backwards
Undoing the steps of a puzzle in reverse order to find the start.

End-of-Chapter Trial Paper & Test Questions

Topic-wise questions to test your understanding of every concept in this chapter.

  1. Explain why ‘think of a number, double it, add 4, halve it, subtract the number’ always gives 2. / समझाइए कि ‘कोई संख्या सोचो, दुगुनी करो, 4 जोड़ो, आधी करो, सोची हुई संख्या घटाओ’ से सदा 2 क्यों मिलता है।
    Show answer

    With x the steps give 2x, 2x + 4, x + 2 and then x + 2 − x = 2, so the x cancels and every number gives 2. / x लेने पर चरण 2x, 2x + 4, x + 2 और फिर x + 2 − x = 2 देते हैं, अतः x कट जाता है और हर संख्या से 2 मिलता है।

  2. In the date trick the answer is 100M + 165 + D. Which date gives the answer 1390? / तिथि वाली युक्ति में उत्तर 100M + 165 + D है। उत्तर 1390 किस तिथि से मिलेगा?
    Show answer

    Subtracting 165 gives 1225, so the month is 12 and the day is 25, which is 25 December. / 165 घटाने पर 1225 मिलता है, अतः महीना 12 और दिन 25 है, अर्थात् 25 दिसंबर।

  3. Find the top of a three-row number pyramid whose bottom row is 4, 13, 8. / उस तीन पंक्तियों वाले संख्या पिरामिड का शीर्ष ज्ञात कीजिए जिसकी निचली पंक्ति 4, 13, 8 है।
    Show answer

    The top is a + 2b + c = 4 + 26 + 8 = 38, because the middle number is counted twice. / शीर्ष a + 2b + c = 4 + 26 + 8 = 38 है, क्योंकि बीच की संख्या दो बार गिनी जाती है।

  4. Write the top of a four-row pyramid with bottom row a, b, c, d. / निचली पंक्ति a, b, c, d वाले चार पंक्तियों के पिरामिड का शीर्ष लिखिए।
    Show answer

    The second row is a + b, b + c, c + d, the third is a + 2b + c and b + 2c + d, so the top is a + 3b + 3c + d. / दूसरी पंक्ति a + b, b + c, c + d है, तीसरी a + 2b + c और b + 2c + d है, अतः शीर्ष a + 3b + 3c + d है।

  5. Four dates in a 2 × 2 calendar square add to 40. Find them. / कैलेंडर के 2 × 2 वर्ग की चार तिथियों का योग 40 है। तिथियाँ ज्ञात कीजिए।
    Show answer

    The sum is 4a + 16 = 40, so a = 6 and the dates are 6, 7, 13 and 14. / योग 4a + 16 = 40 है, अतः a = 6 और तिथियाँ 6, 7, 13 और 14 हैं।

  6. Use the digits 1, 3 and 7 once each in □□ × □ to make the largest product. / अंकों 1, 3 और 7 को एक-एक बार □□ × □ में रखकर सबसे बड़ा गुणनफल बनाइए।
    Show answer

    Use the largest digit as the multiplier and the others in decreasing order: 31 × 7 = 217, which beats 71 × 3 = 213. / सबसे बड़े अंक को गुणक बनाइए और बाकी को घटते क्रम में: 31 × 7 = 217, जो 71 × 3 = 213 से बड़ा है।

  7. Prove that a two-digit number plus its reverse is always divisible by 11. / सिद्ध कीजिए कि दो अंकों की संख्या और उसके उलट का योग सदा 11 से विभाज्य होता है।
    Show answer

    The number is 10a + b and its reverse 10b + a, so the sum is 11a + 11b = 11(a + b), a multiple of 11. / संख्या 10a + b और उसका उलट 10b + a है, अतः योग 11a + 11b = 11(a + b) है, जो 11 का गुणज है।

  8. Why does abcabc divided by 7, then 11, then 13 give back abc? / abcabc को 7, फिर 11, फिर 13 से भाग देने पर abc क्यों मिलता है?
    Show answer

    Because abcabc = abc × 1000 + abc = abc × 1001 and 1001 = 7 × 11 × 13, so dividing by all three removes the 1001. / क्योंकि abcabc = abc × 1000 + abc = abc × 1001 और 1001 = 7 × 11 × 13 है, इसलिए तीनों से भाग देने पर 1001 हट जाता है।

  9. A farm has 55 heads and 150 legs of horses and hens. How many of each? / एक फ़ार्म पर घोड़ों और मुर्गियों के 55 सिर और 150 पैर हैं। प्रत्येक कितने हैं?
    Show answer

    With h horses, 4h + 2(55 − h) = 150 gives 2h = 40, so there are 20 horses and 35 hens. / h घोड़े लेने पर 4h + 2(55 − h) = 150 से 2h = 40 मिलता है, अतः 20 घोड़े और 35 मुर्गियाँ हैं।

  10. Karim’s coins double each round and he pays 8; after three rounds he has none. How many did he start with? / करीम के सिक्के हर चक्कर में दुगुने होते हैं और वह 8 देता है; तीन चक्करों के बाद उसके पास कुछ नहीं बचता। उसके पास शुरू में कितने सिक्के थे?
    Show answer

    After three rounds he has 8x − 56 coins, and 8x − 56 = 0 gives x = 7, so he started with 7 coins. / तीन चक्करों के बाद उसके पास 8x − 56 सिक्के हैं, और 8x − 56 = 0 से x = 7 मिलता है, अतः उसके पास 7 सिक्के थे।

Related Laws & Principles

Explore all

Foundational laws & principles behind this chapter. Each one opens a full page — what it says, why it matters, five practice questions and the mistakes to avoid.

Loading related laws…
Sourced from 0 content files · LLOS Learn · browse all chapters