Think of a Number Tricks: Why Algebra Always Works
On this page· 13 sections
Source & scope. Class 8 Mathematics (Ganita Prakash, Part 2), Chapter 13 Algebra Play, Section 6.2 (the "think of a number" tricks). This article covers how a variable turns a magic trick into a proof, and how the date trick recovers a birthday from one final answer. Next: Number Pyramids.
Source & scope. Class 8 Mathematics (Ganita Prakash, Part 2), Chapter 13 Algebra Play, Section 6.2 (the "think of a number" tricks). This article covers how a variable turns a magic trick into a proof, and how the date trick recovers a birthday from one final answer. Next: Number Pyramids.
A "think of a number" trick works for every starting number because a variable stands for any number: if you follow the steps on and the cancels, the final answer cannot depend on what was chosen. Doubling, adding , halving and subtracting the original always gives , and the date trick gives , from which the date is recovered by subtracting .
At a glance
- Trick 1: , always.
- Why it works: the variable cancels, so the answer is free of the chosen number.
- Date trick: month , day give .
- Decode: subtract to get ; the last two digits are and the rest is .
- Example: gives 26 January; gives 25 December.
- Testing a few numbers shows a pattern; algebra proves it for all numbers.
Learning objectives
- Represent an unknown chosen number by a variable and follow each instruction as an algebraic expression.
- Prove that a trick gives the same answer for every starting number.
- Explain why the date trick works and decode a date from the final answer.
- Design a new trick of this kind by choosing steps in which the variable cancels.
- Distinguish a pattern spotted from examples from a statement proved with a variable.
Prerequisite knowledge
The reader should know how to write expressions such as , how to multiply a bracket by a number (the distributive property), and how to collect like terms.
Core explanation
What is a "think of a number" trick?
In the trick, a person thinks of a number, performs a list of operations, and the performer announces something about the result. Trying it on , or always gives the same answer, which makes it look like magic. NCERT uses it to show that a variable lets us follow the steps without knowing the number.
Why is the answer always 2?
The steps are: think of a number, double it, add four, divide by two, subtract the original number. Let the number be . The appears in the third and fourth steps, and subtracting the original number removes it completely. Since was any number, the answer is for every starting number. This is the difference between checking many examples (which can only suggest a pattern) and proving it with algebra.
How does the date trick work?
Think of a date written as month (a number from to ) and day (from to ). The steps and the matching expressions are:
- Multiply the month by : .
- Add : .
- Multiply by : .
- Add : .
- Multiply by : .
- Add the day: .
How is the date recovered?
The performer hears only the final answer. Subtracting gives Because , it occupies the last two digits, and is the number formed by the digits before them. So the last two digits are the day and the rest is the month.
- Answer : , so month and day : 26 January.
- Answer : , so month and day : 25 December.
How can we invent our own trick?
Choose steps that build an expression like and then remove the part. For instance, (standard background) "triple the number, add , divide by , subtract the number" gives . The trick "works" exactly when the coefficient of in the final expression is zero, or when a known constant can be undone, as with the above.
Key terms
- Variable — a letter standing for any number, here the number someone thinks of.
- Expression — a combination of numbers and variables, such as .
- Cancel — terms such as and add to zero and disappear.
- Constant — a fixed number such as that does not depend on the chosen date.
- Generalise — to show a result for every number by using a variable.
Diagram / figure guidance
Draw a horizontal flow chart of boxes joined by arrows. The top row shows a number such as moving through the steps (double, add , halve, subtract the original) and ending in . The row beneath it shows the same boxes labelled , , , and . For the date trick, add a second chart whose last box reads , with an arrow labelled "subtract " pointing to .
Worked example
A friend thinks of a date, follows the six steps of the date trick and announces . Find the date. Then show that the trick "think of , add , double, subtract , divide by " returns the original number.
Subtract : . Then , so the month is and the day is : 15 November. Check: , , , , , . It matches. (If the leftover two digits were more than , we would know the announced answer was impossible.)
For the second trick, start with : So the answer is always the original number.
Common misconceptions
- "A trick that works for three numbers is proved." Examples only suggest a pattern; a variable proves it for all numbers.
- " is a particular unknown number I must find." Here is any number and we never solve for it.
- "Multiplying by affects only ." The multiplier applies to the whole bracket: .
- "Divide by means ." Both terms are halved: .
- "The day can be any number." The decoding needs so that it fits in the last two digits.
Exam application (JEE)
Forming an algebraic expression from a verbal description, simplifying it and spotting that a variable cancels is a core JEE foundation skill. The same habit appears in word problems that reduce to linear equations, in proving that an expression is independent of a parameter, and in digit-based number problems such as . Careful bracket handling, as in , avoids the most common marks lost.
Frequently asked questions
- Why does the "double, add 4, halve, subtract" trick always give 2? Because the steps turn into and subtracting leaves , whatever was.
- What does the date trick produce? After all six steps the result is .
- How do I find the date from the answer? Subtract to get ; the last two digits are the day and the leading digits are the month.
- Why is subtracted? It comes from the constants: .
- Is checking examples enough to prove a trick? No, examples suggest it; a variable proves it for every number.
Practice questions (original practice questions)
- Think of , multiply by , add , divide by and subtract . The result is:
- (a)
- (b)
- (c)
- (d)
- Answer: (b) — , and .
- In the date trick the final answer is . The date is:
- (a) 15 July
- (b) 15 August
- (c) 8 May
- (d) 15 September
- Answer: (b) — , so month and day .
- Think of , add , double, subtract and divide by . The result equals:
- (a)
- (b)
- (c)
- (d)
- Answer: (c) — , and dividing by gives .
- In the date trick, why must be subtracted from the answer?
- (a) It is the day
- (b) It is the month
- (c) It is the constant left by the steps,
- (d) It is only
- Answer: (c) — The constants and the multipliers combine to , leaving .
- Think of , multiply by , add , halve and subtract . The result is:
- (a)
- (b)
- (c)
- (d)
- Answer: (a) — , and .
Quick revision
- A variable stands for any number, so it proves a trick for all numbers.
- : the answer is always .
- Date trick final value: .
- Subtract to get : last two digits are the day.
- gives 26 January; gives 25 December.
Related articles
- Builds on: Distributive Property of Multiplication over Addition
- Next: Number Pyramids
- Then: Calendar Grid Tricks
- Related topics: Calendar Grid Tricks: Why a 2×2 Grid Sums to 4a + 16, Decoding Divisibility Tricks: Why the Digit-Reversal Trick Works, Number Pyramids: Solving for Unknown Blocks with Algebra, The Largest Product: Arranging Digits with Algebra (Class 8), A Pinch of History: Squares, Cubes and Roots, Angle Sum of a Quadrilateral