NCERT Solutions Class 8 Maths Part 2 Chapter 6 In-Text Questions — Algebra Play
NCERT Class 8 Mathematics — Ganita Prakash Part 2, Chapter 6 Algebra Play, the questions in the running text of sections 6.2 to 6.5. All 19 questions solved.
These questions use letter-numbers to explain tricks and puzzles: a trick that always gives the same answer because the unknown cancels, a date trick that hides the date in $100M+D+\text{constant}$, number pyramids, calendar grids, shape grids, and the largest-product rule.
Key insight. When a trick works every time, the starting number or date must cancel or be recoverable from the algebra. Write the steps with a letter and simplify.
Section 6.2 Thinking about ‘Think of a Number’ Tricks
The solution is where the two sides meet. Open full size
Question 1
Think of a number. Double it. Add four. Divide by two. Subtract the original number. I predict you get $2$. Am I right? Try it out with different starting numbers. Do you always end up with the same value, $2$? Why?
Solution. Let the number be $x$. Doubling gives $2x$, adding four gives $2x+4$, dividing by two gives $x+2$, and subtracting $x$ leaves $2$. The $x$ cancels, so the answer is $2$ whatever you pick. Try $5$: $10,\ 14,\ 7,\ 2$.
Yes. The result is always $2$, because $x+2-x=2$.
Question 2
How would you change this game to make the final answer $3$? What about $5$?
Solution. If the step “add four” becomes “add $k$”, the result is $\dfrac{2x+k}{2}-x=\dfrac k2$. For $3$ take $k=6$ and for $5$ take $k=10$.
Add $6$ instead of $4$ to get $3$. Add $10$ instead of $4$ to get $5$.
Question 3
Can you come up with more complicated steps that always lead to the same final value?
Solution. Yes. Think of $x$, multiply by $3$, add $9$, divide by $3$, subtract $x$. The steps give $3x$, $3x+9$, $x+3$, and then $3$. Any steps in which the $x$ terms cancel give a fixed value; other correct sequences are fine.
Yes. For example: think of $x$, multiply by $3$, add $9$, divide by $3$, subtract $x$. The result is always $3$.
Question 4
Shubham asks Mukta to think of a date, multiply the month by $5$, add $6$, multiply by $4$, add $9$, multiply by $5$, and add the day. Mukta thinks of $26/01$ and gets $265+26=291$. How did Shubham figure out the date chosen by Mukta?
Solution. Let the month be $M$ and the day be $D$. The steps give $5M$, then $5M+6$, then $20M+24$, then $20M+33$, then $100M+165$, and finally $100M+165+D$. Subtracting $165$ leaves $100M+D$. For $291$: $291-165=126$. Since $D$ is at most $31$ and takes two digits, the last two digits are the day and the digits before them are the month: $M=1$, $D=26$, so the $26$th of January.
He subtracted $165$ from her answer. The last two digits are the day and the digits before them are the month.
Question 5
Mukta thinks of another date, follows the same steps, and reports her answer as $1390$. What date did Mukta start with this time?
Solution. $1390-165=1225=100\times12+25$. So $M=12$ and $D=25$.
The 25th of December ($25/12$).
Question 6
Find the dates if the final answers are the following.
(i) $1269$
Solution. $1269-165=1104=100\times11+4$. So $M=11$ and $D=4$.
The 4th of November ($04/11$).
(ii) $394$
Solution. $394-165=229=100\times2+29$. So $M=2$ and $D=29$. This date exists only in a leap year.
The 29th of February ($29/02$).
(iii) $296$
Solution. $296-165=131=100\times1+31$. So $M=1$ and $D=31$.
The 31st of January ($31/01$).
Question 7
Can you change the steps in this trick and still find the original date? Instead of subtracting $165$ from the final answer, you might have to subtract some other number.
Solution. Yes. The final answer is always $100M+D+c$, where $c$ is a constant that depends on the added numbers and the multipliers. For example, if “add $9$” becomes “add $10$”, then after multiplying by $5$ you get $100M+170$, so the final answer is $100M+170+D$ and you subtract $170$. Whatever steps you choose, expand them and subtract the constant term. Other correct changes are fine.
Yes. Work out the constant the steps add, and subtract that number instead of $165$. For example, adding $10$ instead of $9$ means subtracting $170$.
Question 8
Try to devise your own ‘Think of a Number’ trick.
Solution. This is open-ended; any trick where the algebra cancels or can be undone is acceptable. A model: think of a number $n$, add $5$, multiply by $2$, subtract $4$, divide by $2$, subtract $n$. The steps give $n+5$, $2n+10$, $2n+6$, $n+3$, and finally $3$. So the answer is always $3$, whatever the starting number.
Open-ended. For example: think of $n$, add $5$, double, subtract $4$, halve, subtract $n$. The result is always $3$.
Section 6.3 Number Pyramids
Question 9
Using the rule that each box is the sum of the two boxes just below it, fill the three pyramids with bottom rows $6,2$; $3,4,3$; and $5,4,5,0$.
Solution. For $6,2$ the top is $6+2=8$. For $3,4,3$ the middle row is $7,7$ and the top is $14$. For $5,4,5,0$ the next row is $9,9,5$, then $18,14$, and the top is $32$.
Tops: $8$; $14$; $32$. (Middle rows: $7,7$ for the second pyramid; $9,9,5$ then $18,14$ for the third.)
Question 10
How do we fill the pyramid with $10$ at the top, middle row $4,\ ?$ and bottom row $1,\ ?,\ ?$?
Solution. The top is the sum of the middle row, so $4+?=10$ gives $6$. Then $1+?=4$ gives $3$ and $3+?=6$ gives $3$.
Middle row: $4,6$. Bottom row: $1,3,3$.
Question 11
What about the pyramid with $60$ at the top, an empty middle row and bottom row $12,\ ?,\ 8$? Where do we start?
Solution. Let the bottom middle be $c$. The middle row is $12+c$ and $c+8$, and their sum is $60$: $20+2c=60$, so $c=20$. The middle row is $32$ and $28$.
Bottom middle: $20$. Middle row: $32,28$.
Question 12
Fill the following pyramids (the book gives three four-row pyramids with some boxes known).
Solution. Start from a box whose two parts you can work out. Pyramid 1 has top $50$, a $22$ in the second row and bottom row $4,\ ?,\ 6,\ ?$: from $28+22=50$ the left box is $28$; in the third row, $22=15+7$, so $28=13+15$; then $13=4+9$ and $15=9+6$, $7=6+1$. Pyramid 2 has $40$ in row $2$, $9$ in row $3$ and bottom row $5,\ ?,\ 7,\ ?$: $9=7+2$, so the last bottom box is $2$; $40=19+21$, $19=5+14$, and $21=14+7$. Pyramid 3 has top $35$, a $7$ in row $3$ and bottom row $3,5,\ ?,\ ?$: the first third-row box is $3+5=8$. Let the missing bottom boxes be $z,w$, so the third row is $8,\ 5+z,\ z+w$ with $z+w=7$. The second row is $13+z$ and $12+z$, which add to $25+2z=35$, so $z=5$ and $w=2$. The bottom row is $3,5,5,2$.
Pyramid 1: $50$; $28,22$; $13,15,7$; $4,9,6,1$. Pyramid 2: $70$; $40,30$; $19,21,9$; $5,14,7,2$. Pyramid 3: $35$; $18,17$; $8,10,7$; $3,5,5,2$.
Question 13
What is the relationship between the numbers in the bottom row and the number at the top? Start with the simplest pyramid: bottom row $a,b$.
Solution. The top box is the sum of the two boxes below it, so it is $a+b$.
The top number is the sum of the two bottom numbers: $a+b$.
Question 14
What about a pyramid with three rows and bottom row $a,b,c$?
Solution. The middle row is $a+b$ and $b+c$. The top is $(a+b)+(b+c)=a+2b+c$.
$a+2b+c$
Section 6.4 Fun with Grids
Question 15
A $2\times2$ grid is picked from a calendar. Let $a$ be the top left number, so the grid is $a,\ a+1$ over $a+7,\ a+8$ and the sum is $4a+16$. Suppose you are told that the sum is $36$. Can you find the $4$ numbers in the grid?
Solution. $4a+16=36$ gives $4a=20$, so $a=5$. The other numbers are $a+1=6$, $a+7=12$ and $a+8=13$. (In an August $2025$ calendar this is the grid $5,6,12,13$.)
The numbers are $5,\ 6,\ 12,\ 13$.
Question 16
In the following grids, find the values of the shapes and fill in the empty squares. The last column is the sum of the values to its left; the bottom row of the second grid is read the same way, down the columns.
Solution. Grid 1 has rows (square, square, circle) $=27$ and (circle, circle, square) $=21$. Writing $s$ for a square and $c$ for a circle: $2s+c=27$ and $s+2c=21$. Adding, $3s+3c=48$, so $s+c=16$. Subtracting the two equations, $s-c=6$, so $s=11$ and $c=5$. Check: $22+5=27$ and $11+10=21$. The empty cell is the row (circle, square, circle) $=5+11+5=21$.
Grid 2 has rows (circle, diamond, diamond) $=18$ and (diamond, circle, circle) $=15$. With circle $c$ and diamond $d$: $c+2d=18$ and $d+2c=15$. Adding, $3c+3d=33$, so $c+d=11$; then $d-c=3$ gives $d=7$, $c=4$. Check: $4+14=18$ and $7+8=15$. The third row (diamond, circle, circle) is $7+4+4=15$. The bottom row adds each column: $4+7+7=18$, $7+4+4=15$ and $7+4+4=15$ for the three columns, and the total is $18+15+15=48$.
Grid 1: square $=11$, circle $=5$; empty cell $=21$. Grid 2: circle $=4$, diamond $=7$; third row sum $=15$; bottom row $18,\ 15,\ 15$ and total $48$.
Section 6.5 The Largest Product
Question 17
Fill the digits $2$, $3$, and $5$ in $\square\square\times\square$, using each digit once. What is the largest product possible?
Solution. There are six arrangements: $23\times5=115$, $25\times3=75$, $32\times5=160$, $35\times2=70$, $52\times3=156$, $53\times2=106$. The largest is $160$.
The largest product is $160$, from $32\times5$.
Question 18
How do we find the largest product among these six options?
Solution. Group them in pairs with the same multiplier: $35\times2$ and $53\times2$; $25\times3$ and $52\times3$; $23\times5$ and $32\times5$. In each pair the larger two-digit number gives the larger product, which leaves $53\times2=106$, $52\times3=156$ and $32\times5=160$. Since $52\times3=(5\times10\times3)+(2\times3)$ and $32\times5=(3\times10\times5)+(2\times5)$ have the same first term, the second term decides, and $2\times5>2\times3$. So $32\times5=160$ wins.
Compare the pairs by their larger two-digit number, then the three remaining products. The largest is $32\times5=160$.
Question 19
Suppose $p$, $q$ and $r$ are the three digits with $p<q<r$. We used the largest digit as the multiplier and arranged the other two digits in decreasing order. Will this always be the case? Let us find out using algebra.
Solution. The six products group by multiplier into $qr\times p,\ rq\times p$; $pr\times q,\ rp\times q$; $pq\times r,\ qp\times r$. In each pair the number with the larger tens digit is better, leaving $rq\times p$, $rp\times q$ and $qp\times r$.
Compare the first two: $(10r+p)q-(10r+q)p=10rq+pq-10rp-pq=10r(q-p)>0$, since $q>p$. So $rp\times q$ beats $rq\times p$. Now compare $qp\times r=(10q+p)r$ with $rp\times q=(10r+p)q$: $(10q+p)r-(10r+p)q=pr-pq=p(r-q)>0$, since $r>q$. So $qp\times r$ is the largest.
Yes, it always holds. The largest product is $qp\times r$: the largest digit is the multiplier and the other two digits go in the multiplicand in decreasing order.
Common mistakes
- Question 4: Subtracting $165$ and then reading the answer as three separate digits. For a date like $04/11$ the result $1104$ has the day as the last two digits ($04$), not the last digit alone.
- Question 6(ii): Rejecting $29/02$ as an impossible date. It is possible in a leap year, which is why the trick still decodes it.
- Question 11: Trying to fill the middle row first. The middle numbers depend on the unknown bottom middle $c$, so write $12+c$ and $c+8$ and use the top.
- Question 12: Filling a pyramid from the top using only one equation. Use known boxes row by row, and check by adding the pairs again.
- Question 16: Mixing up the shapes while reading rows, so $2s+c$ becomes $s+2c$. Count each shape in the row before writing the equation.
- Question 19: Comparing two products by evaluating them for sample digits only. The algebra shows the order holds for every choice of $p<q<r$.
Practise next
- Mukta’s date trick gives $1130$. Which date was chosen? (It is $1130-165=965$, so $M=9$, $D=65$, which is not a date: a hint that a wrong answer can be spotted.)
- Try Figure it Out, page 140 for pyramids with $4$ rows and Virahānka-Fibonacci bottom rows.
- Test yourself with the free chapter quiz.
Done with this exercise? Try the short quiz on the whole chapter — free, no sign-in needed.

Doubts are answered by Shiwam, usually within a day. Ask about this question specifically — a general question about the chapter is better asked in class.