Free Mathematics Class 8 CBSE notes · practise this chapter with an AI quiz

← All study notes

Algebra Explains Why the Number Trick Never Fails

Learn to model a think-of-a-number trick with an expression and simplify it to reveal why the answer is fixed, complete a number pyramid using variables, and express the top cell in terms of the base.

Why does a number trick give the same answer whatever you start with?

Because the starting number cancels out along the way. Write the steps with a letter instead of a number and you can watch it disappear, leaving only a fixed amount behind.

That is what algebra is for here — not finding an unknown, but proving something about every possible number at once. This page covers everything in the CBSE Class 8 Mathematics chapter's first part: modelling a number trick, completing a number pyramid, and expressing its top in terms of its base.

How do you model a think-of-a-number trick with algebra?

Call the chosen number , write each instruction as an operation on , then simplify.

Trick 1. Think of a number. Double it. Add . Halve the result. Subtract your original number.

Following it with :

- Think of a number:
- Double it:
- Add 10:
- Halve it:
- Subtract the original:

The answer is always 5, whatever was chosen. Testing with : . Testing with : .

Trick 2. Think of a number. Add . Multiply by . Subtract . Halve it. Subtract your original number.



The answer is always 1. Testing with : .

Trick 3. Think of a number. Multiply by . Add . Divide by . Subtract the original.



Always 4.

The pattern is visible once written this way: the ** term is removed by the final subtraction**, and what survives is whatever the constants worked out to. In Trick 1 the was halved to ; in Trick 3 the was divided by 3 to give — so you can predict a trick's answer by following only the constants.

How do you complete a number pyramid using variables?

In a number pyramid each cell is the sum of the two cells directly below it. Work upward, and use letters where the base entries are unknown.

With numbers. Base :

- Middle row: and
- Top:

With numbers again. Base :

- Middle row: and
- Top:

With variables. Base :

- Middle row: and
- Top:

Working downward instead. If the top is and the middle row is and , then the base entries must satisfy and . With , we get and — and checking, the base gives a middle row of and a top of .

A four-wide base. Base :

- Row 3: , ,
- Row 2: and
- Top:

Testing with base : row 3 is ; row 2 is ; top is . And the formula gives . They agree.

The reason the middle entries count more is that they feed into two cells above them, while the outer entries feed into only one. That is why appears twice in — and it explains why changing a middle base number moves the top far more than changing an end one.

How do you verify the formula for the top of a pyramid?

Substitute the numerical base values into the algebraic expression and check it matches the pyramid you built by adding.

Three-wide base, where the top is :

Base . Building upward gave a top of . The formula gives



They agree.

Base , which gave a top of :



Agrees.

Base :



and building upward gives middle row and top . Agrees.

Four-wide base, where the top is :

Base , which gave a top of :



Agrees.

Base :



and building upward gives row 3 as , row 2 as , and top . Agrees.

The coefficients follow a pattern worth noticing: for a three-wide base and for a four-wide one. Those are the same numbers that appear when expanding and , and they arise for the same reason — counting how many routes lead from each base cell up to the top.

Verifying with two different bases is what makes the check meaningful. A formula that matches one example might do so by accident, but one that matches several, including a base containing a zero, is almost certainly right — which is exactly the habit the syllabus is building.
Exam tip

Exam tip: showing the simplification line by line

These questions are marked on the working, since the answers are short.

Write each instruction as its own line of algebra — , then , then , then , then . The chain of lines is what earns the marks.

State the conclusion in words: *the answer is always 5, because the terms cancel.* Naming the cancellation is the point of the question.

Test with a number afterwards. Substituting and reaching the same answer confirms the algebra in one line.

For a pyramid, work upward and write each row out fully, collecting like terms as you go.

And when giving the top in terms of the base, verify with at least two numerical examples — and remember the middle entries carry the larger coefficients, for three and for four.
Did you know

Why does the middle of a pyramid base matter more than the ends?

Because there are more routes from the middle up to the top.

In a three-wide base, the left entry can only travel up the left edge — one path. The middle entry can go up-left or up-right, so it contributes along two paths. That is exactly why the top is rather than .

With a four-wide base the counts become , for the same reason. So increasing a middle base number by 1 raises the top by 3, while increasing an end number by 1 raises it by only 1 — a difference you can test in a few seconds with real numbers.
Key takeaways

Number tricks and pyramids: quick revision

- Model a trick by calling the number and writing each instruction as an operation, then simplify.
- The trick works because the ** terms cancel**: double, add 10, halve, subtract the original gives every time.
- You can predict a trick's answer by following only the constants — the 10 halved to 5, the 12 divided by 3 to 4.
- In a number pyramid each cell is the sum of the two below; base gives middle row and top .
- For a three-wide base the top is ; for a four-wide base it is .
- The coefficients and count the routes from each base cell to the top — so always verify the formula with two numerical bases.

You will remember all of this far better after answering five questions on it than after reading it twice.

Ready to put this into practice?

Create a personalized quiz on this exact topic — free to start.

Create your own quiz on Algebra Play — Part 1Create a free account
← Back to all articles