Math Lab
Home/Class VIII/Ch 13/Think-of-a-number tricks

Think-of-a-number tricks

Try this on a friend: "Think of any number. Double it. Add four. Divide by two. Subtract the number you started with." Then announce , with great confidence , "Your answer is 2." Your friend looks puzzled. Magic? No , algebra.

Concept

The trick works because every step you ask your friend to do is really an operation on an unknown. The result is forced by algebra to be the same regardless of the starting number.

Walking through it. Let your friend's secret number be xx. Apply each step symbolically:

  1. Think of xx.
  2. Double it: 2x2x.
  3. Add four: 2x+42x + 4.
  4. Divide by two: 2x+42=x+2\dfrac{2x + 4}{2} = x + 2.
  5. Subtract the original number: (x+2)x=2(x + 2) - x = 2.

The xx cancels , the final value is always 22, no matter what number was chosen. That cancellation is the heart of every such trick.

Reverse-engineering a trick. If you instead want the final answer to be 3, then in step 33 ask them to "Add six" , because 2x+62x=3\dfrac{2x + 6}{2} - x = 3. For final answer 55, ask "Add ten". In general, to make the trick end at value kk, ask them to "Add 2k2k" at step 33.

A bigger trick , the calendar guess. Ask a friend to do these steps with a chosen date (a month MM and day DD).

  1. Multiply the month by 55: 5M5M.
  2. Add 66: 5M+65M + 6.
  3. Multiply by 44: 20M+2420M + 24.
  4. Add 99: 20M+3320M + 33.
  5. Multiply by 55: 100M+165100M + 165.
  6. Add the day: 100M+165+D100M + 165 + D.

If the friend says "291291," subtract 165165: 291165=126=100M+D291 - 165 = 126 = 100M + D. Since DD is at most 3131 (two digits), the last two digits of 126126 are D=26D = 26 and the rest is M=1M = 1. So the date is January 2626th.

Inventing your own. Any sequence of operations whose net effect on xx ends in a constant works. Some safe building blocks:

  • "Double, add a number, halve, subtract the original" , collapses to half the number you added.
  • "Multiply by 33, add a number, subtract twice the original" , collapses to (original + the constant).

Why this is powerful. Once you can write a procedure with xx, you have a way to explain, predict, and modify it. That is the everyday power of algebra.

Worked examples

Example 1. Trick: "Triple it, add six, divide by three, subtract the original." Verify the final answer is always 22.

  • Let xx be the number. 3x3x+63x+63=x+2(x+2)x=23x \to 3x+6 \to \dfrac{3x+6}{3} = x+2 \to (x+2) - x = 2. ✓

Example 2. What number should replace "add four" in the original trick so the final answer is always 77?

  • 2x+k2x=k2\dfrac{2x + k}{2} - x = \dfrac{k}{2}. For final =7= 7, k=14k = 14. So ask to "add 1414".

Example 3. A friend chose a date, did the steps in the calendar trick, and got 13901390. Find the date.

  • 1390165=1225=100M+D1390 - 165 = 1225 = 100M + D. Last two digits: D=25D = 25. Other digits: M=12M = 12. The date is December 2525.

Example 4. Trick: "Pick a number. Add 33. Multiply by 22. Subtract 44. Divide by 22. Subtract the original." Predict the constant.

  • xx+32x+62x+2x+1(x+1)x=1x \to x+3 \to 2x+6 \to 2x+2 \to x+1 \to (x+1) - x = 1. The answer is always 11.

Try it yourself

  1. Verify the trick "Think of xx. Multiply by 44. Add 88. Divide by 44. Subtract the original." Final answer?
  2. Adjust the trick "Double, add kk, halve, subtract the original" so the final answer is 1010. Find kk.
  3. Calendar trick: a friend reports 269269. Find the date.
  4. Make up a trick where the final answer is always 00.
  5. Trick: "x5x5x+20(5x+20)/5subtract xx \to 5x \to 5x + 20 \to (5x+20)/5 \to \text{subtract } x." Final answer?
  6. Calendar trick: a friend reports 394394. Find the date.
  7. Trick: "Pick xx. Multiply by 66. Add 1212. Divide by 33. Subtract 2x2x." Final?
  8. Why does cancelling the xx guarantee the trick "always" works?

Activity

Trick designer. Invent your own trick whose final answer is your favourite single-digit number. Write it out using xx to be sure the xx's cancel correctly. Test it on three friends. If any of them gets a different answer, find the slip and fix it.

Practice quiz

Quick check on this topic.

Quiz
Quick check : Think-of-a-number tricks
5 questions · pick the best answer
Q1

x3x3x+6(3x+6)/3subtract xx \to 3x \to 3x+6 \to (3x+6)/3 \to \text{subtract } x. Result

Q2

To make (2x+k)/2x(2x+k)/2 - x equal 1010, k=k =

Q3

Why do these tricks always work?

Q4

x4x4x+8(4x+8)/4subtract xx \to 4x \to 4x+8 \to (4x+8)/4 \to \text{subtract } x. Result

Q5

Calendar trick final answer is 269269. Then date is