Menu
Home
Classes
Class 1 Class 2 Class 3 Class 4 Class 5 Class 6 Class 7 Class 8 Class 9 Class 10 Class 11 Class 12
CUET UG
CUET Home Subjects Notes Quizzes Solutions Mock Tests Blog
OPSC
All Odisha exams OPSC Home OAS Preparation Question Papers Syllabus Practice MCQs Optional Subjects
Ask a Query
📱 Download BYTE App
About Contact Privacy
Home Class 8 App
Class 8 · Maths Part 2 · Chapter 6

Algebra PlayClass 8 Maths Part 2 · Chapter 6 Notes

NCERT Notes — Key Concepts & Quick Revision
Book Notes Quiz Solutions Extra Qs Sample Paper

🌟 Introduction

Over the last two years, we have used algebra to model different situations and learned how to solve algebraic equations to find the values of unknown letter-numbers. Now, let’s have some fun with algebra by investigating tricks and puzzles, and explaining why they work using algebra. We will also see how to invent new tricks and puzzles to entertain others.⁠​‌​​​‌​‌​‌​‌​​‌‌​‌‌‌‌‌​​​‌‌​‌‌‌​​​‌​‌‌‌‌​‌‌​‌‌‌​​‌‌​​​‌‌​‌‌​​‌​‌​‌‌‌​​‌​​‌‌‌​‌​​​​‌​‌‌​‌​‌‌​‌‌​‌​‌‌​​​​‌​‌‌‌​‌​​​‌‌​‌​​​​‌‌‌​​‌‌​​‌​‌‌​‌​‌‌‌​​​​​‌‌​​​​‌​‌‌‌​​‌​​‌‌‌​‌​​​​‌​‌‌​‌​​‌‌​​‌​​​‌​‌‌​‌​​‌‌‌​​​​​‌​‌‌‌‌​​‌‌​‌‌​⁠

6.2 Thinking about ‘Think of a Number’ Tricks

📚 Key Concepts

🔹 Understanding a Classic Trick

In Grade 7, we learned about ‘Think of a Number’ tricks. Here is one such trick:

  1. Think of a number.
  2. Double it.
  3. Add four.
  4. Divide by two.
  5. Subtract the original number you thought of.

The prediction is that you will always get 2. Let’s understand this through algebra.

  1. Think of a number: x
  2. Double it: 2x
  3. Add four: 2x + 4
  4. Divide by 2: x + 2
  5. Subtract the original number: x + 2 – x = 2

Therefore, no matter what the starting number is, the end result will always be 2!⁠​‌​​​‌​‌​‌​‌​​‌‌​‌‌‌‌‌​​​‌‌​‌‌‌​​​‌​‌‌‌‌​‌‌​‌‌‌​​‌‌​​​‌‌​‌‌​​‌​‌​‌‌‌​​‌​​‌‌‌​‌​​​​‌​‌‌​‌​‌‌​‌‌​‌​‌‌​​​​‌​‌‌‌​‌​​​‌‌​‌​​​​‌‌‌​​‌‌​​‌​‌‌​‌​‌‌‌​​​​​‌‌​​​​‌​‌‌‌​​‌​​‌‌‌​‌​​​​‌​‌‌​‌​​‌‌​​‌​​​‌​‌‌​‌​​‌‌‌​​​​​‌​‌‌‌‌​​‌‌​‌‌​⁠

Key Points:

  • Algebra helps us see why the trick always works.
  • The variable x represents any starting number.
  • The final result is independent of the starting number.

🔹 Modifying the Trick

How would you change this game to make the final answer 3? What about 5? You can come up with more complicated steps that always lead to the same final value.

🔹 A Date Trick

Let us now look at a different trick of this type. Mukta thinks of a date (like 26/01 for Republic Day). Shubham asks her to follow these steps:⁠​‌​​​‌​‌​‌​‌​​‌‌​‌‌‌‌‌​​​‌‌​‌‌‌​​​‌​‌‌‌‌​‌‌​‌‌‌​​‌‌​​​‌‌​‌‌​​‌​‌​‌‌‌​​‌​​‌‌‌​‌​​​​‌​‌‌​‌​‌‌​‌‌​‌​‌‌​​​​‌​‌‌‌​‌​​​‌‌​‌​​​​‌‌‌​​‌‌​​‌​‌‌​‌​‌‌‌​​​​​‌‌​​​​‌​‌‌‌​​‌​​‌‌‌​‌​​​​‌​‌‌​‌​​‌‌​​‌​​​‌​‌‌​‌​​‌‌‌​​​​​‌​‌‌‌‌​​‌‌​‌‌​⁠

  1. Multiply the month by 5.
  2. Add 6.
  3. Multiply by 4.
  4. Add 9.
  5. Multiply by 5.
  6. Add the day.

Mukta tells Shubham her answer (291). Shubham then figures out the date (26/01). How did he do it?

Let the month be M and the day be D.

  1. Multiply M by 5: 5M
  2. Add 6: 5M + 6
  3. Multiply by 4: 20M + 24
  4. Add 9: 20M + 33
  5. Multiply by 5: 100M + 165
  6. Add the day: 100M + 165 + D

Mukta’s answer was 291.⁠​‌​​​‌​‌​‌​‌​​‌‌​‌‌‌‌‌​​​‌‌​‌‌‌​​​‌​‌‌‌‌​‌‌​‌‌‌​​‌‌​​​‌‌​‌‌​​‌​‌​‌‌‌​​‌​​‌‌‌​‌​​​​‌​‌‌​‌​‌‌​‌‌​‌​‌‌​​​​‌​‌‌‌​‌​​​‌‌​‌​​​​‌‌‌​​‌‌​​‌​‌‌​‌​‌‌‌​​​​​‌‌​​​​‌​‌‌‌​​‌​​‌‌‌​‌​​​​‌​‌‌​‌​​‌‌​​‌​​​‌​‌‌​‌​​‌‌‌​​​​​‌​‌‌‌‌​​‌‌​‌‌​⁠

  • 291 = 100M + 165 + D
  • 291 – 165 = 100M + D
  • 126 = 100M + D

Since D is a day within a month, it is at most 31 and requires only 2 digits. So the last 2 digits are D and what comes before that is M. In this case, M is 1 and D is 26, i.e., the 26th of January.

🔹 Practice with the Date Trick

Mukta thinks of another date, follows the same steps, and reports her answer as 1390. What date did Mukta start with this time?

  • Subtracting 165 from 1390, we get 1225.
  • This means that the date she thought of was 25th December.

Find the dates if the final answers are the following:⁠​‌​​​‌​‌​‌​‌​​‌‌​‌‌‌‌‌​​​‌‌​‌‌‌​​​‌​‌‌‌‌​‌‌​‌‌‌​​‌‌​​​‌‌​‌‌​​‌​‌​‌‌‌​​‌​​‌‌‌​‌​​​​‌​‌‌​‌​‌‌​‌‌​‌​‌‌​​​​‌​‌‌‌​‌​​​‌‌​‌​​​​‌‌‌​​‌‌​​‌​‌‌​‌​‌‌‌​​​​​‌‌​​​​‌​‌‌‌​​‌​​‌‌‌​‌​​​​‌​‌‌​‌​​‌‌​​‌​​​‌​‌‌​‌​​‌‌‌​​​​​‌​‌‌‌‌​​‌‌​‌‌​⁠

  • (i) 1269
  • (ii) 394
  • (iii) 296

You can try this trick with your friends. Ask them to choose the starting date as their birthday. 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. Try to devise your own ‘Think of a Number’ trick.

6.3 Number Pyramids

📚 Key Concepts

🔹 The Rule of Number Pyramids

In a number pyramid, each number is the sum of the two numbers directly below it.

🖼️A number pyramid showing 10 at top, below it 1 and 9, and at bottom 1, 0, 9Image to be added

For example, in the pyramid shown: 10 = 1 + 9, and 9 = 0 + 9.

🔹 Filling Pyramids

Use the same rule to fill these pyramids:

🖼️Pyramid with bottom row: 6, 2, 3, 4, 3, 5, 5, 0Image to be added

How do we fill a pyramid when some numbers are missing? Let's look at an example:

🖼️Pyramid with bottom row: 4, 1, 10 and top: ?Image to be added

We start from the bottom. Since each number is the sum of the two below it:

  • The number above 4 and 1 is 4 + 1 = 5.
  • The number above 1 and 10 is 1 + 10 = 11.
  • The top number is 5 + 11 = 16.

But what if the top and some bottom numbers are given, and we need to find the middle numbers? Let's see:

🖼️🖼️Pyramid with top: 10, bottom: 4, 1, 10 and middle row unknownImage to be added

We can work backwards. The number above 4 and 1 is 5. The number above 1 and 10 is 11. But 5 + 11 = 16, not 10. So we need a different approach.

Let the unknown numbers be represented by letters. For the pyramid:

🖼️Pyramid with top: 60, middle row: a, b, bottom row: 12, c, 8Image to be added

From the rules for filling up pyramids, we get the following equations:

  • a + b = 60
  • 12 + c = a
  • c + 8 = b

From this, we see that:

  • (12 + c) + (c + 8) = a + b = 60
  • 20 + 2c = 60
  • 2c = 60 – 20 = 40
  • c = 20

Once we know c, we can find a and b, and complete the pyramid.

  • a = 12 + c = 12 + 20 = 32
  • b = c + 8 = 20 + 8 = 28

So the completed pyramid is:

🖼️Completed pyramid: top 60, middle 32 and 28, bottom 12, 20, 8Image to be added

🔹 Practice Filling Pyramids

Fill the following pyramids:

🖼️🖼️Pyramid 1: top 40, bottom 7, 5, 9. Pyramid 2: top 50, bottom 6, 4, 22. Pyramid 3: top 35, bottom 3, 7, 5Image to be added

🔹 Relationship Between Bottom Row and Top Number

What is the relationship between the numbers in the bottom row and the number at the top? Let us start with the simplest pyramid.

For a 2-row pyramid with bottom numbers a and b, the top is a + b.

What about a pyramid with three rows? Using letter numbers for the bottom row, we can write an expression for the top row.

🖼️🖼️Three-row pyramid with bottom row: a, b, c; middle row: a+b, b+c; top: a+2b+cImage to be added

The top number is a + 2b + c.

🔹 Figure it Out: Number Pyramids

1. Without building the entire pyramid, find the number in the topmost row given the bottom row in each of these cases.

  • Bottom row: 8, 13, 4
  • Bottom row: 11, 3, 7
  • Bottom row: 14, 25, 10

2. Write an expression for the topmost row of a pyramid with 4 rows in terms of the values in the bottom row.

3. Without building the entire pyramid, find the number in the topmost row given the bottom row in each of these cases.

  • Bottom row: 21, 8, 19, 13
  • Bottom row: 19, 7, 18, 6
  • Bottom row: 5, 9, 7, 11

4. Recall the Virahāṅka-Fibonacci number sequence 1, 2, 3, 5, … where each number is the sum of the two numbers before it. If the first three Virahāṅka-Fibonacci numbers are written in the bottom row of a number pyramid with three rows, fill in the rest of the pyramid. What numbers appear in the grid? What is the number at the top? Are they all Virahāṅka-Fibonacci numbers?

5. What can you say about the numbers in the pyramid and the number at the top in the following cases?

  • (i) The first four Virahāṅka-Fibonacci numbers are written in the bottom row of a four row pyramid.
  • (ii) The first 29 Virahāṅka-Fibonacci numbers are written in the bottom row of a 29 row pyramid.

6. If the bottom row of an n row pyramid contains the first n Virahāṅka-Fibonacci numbers, what can we say about the numbers in the pyramid? What can we say about the number at the top?

6.4 Fun with Grids

📚 Key Concepts

🔹 Calendar Magic

A page from a calendar is given below. Your friend picks a 2 × 2 grid from this calendar, adds the 4 numbers in this grid and tells you the sum.

🖼️Calendar page for August 2025Image to be added

Can we find the 4 numbers in the grid from just knowing this sum? Let us use algebra. Consider a 2 × 2 grid. Let a represent the top left number. What are the other numbers in terms of a?

🖼️2x2 grid: top left a, top right a+1, bottom left a+7, bottom right a+8Image to be added

Adding all four numbers, the sum is a + (a + 1) + (a + 7) + (a + 8) = 4a + 16.

Suppose you are told that the sum is 36. Can you find the 4 numbers in the grid?

  • 4a + 16 = 36
  • 4a = 20 (subtracting 16 from both sides)
  • a = 5 (dividing both sides by 4)

Now that we have found a, we know that the other three numbers are a + 1, a + 7 and a + 8. Therefore, the grid must be:

🖼️2x2 grid: 5, 6, 12, 13Image to be added

Create your own calendar trick. For instance, choose a grid of a different size and shape.

🔹 Algebra Grids

In the following grid, shapes represent numbers. In each row, the last column is the sum of the values to its left. How do we find the values of the shapes?

🖼️🖼️Grid with shapes: first row: triangle + square = 27; second row: triangle + circle = 19; third row: square + circle = 19; fourth row: 2 x triangle = 9; fifth row: 2 x square = 9Image to be added

We can solve this system of equations. From the fourth row, 2 × triangle = 9, so triangle = 4.5. From the fifth row, 2 × square = 9, so square = 4.5. Then from the first row, triangle + square = 4.5 + 4.5 = 9, but it says 27. This is a different grid. Let's look at the actual grid in the text.

In the following grids, find the values of the shapes and fill in the empty squares:

🖼️🖼️🖼️Three grids with shapes and sums: Grid 1: 27, 21, 18, 15. Grid 2 and 3 similar.Image to be added

6.5 The Largest Product

📚 Key Concepts

🔹 Problem: Largest Product with Three Digits

Fill the digits 2, 3, and 5 in __ × _, using each digit once. What is the largest product possible?

Let us approach this problem systematically. There are six ways to place three digits:

  • We can fill the first box with 2, 3 or 5.
  • For each of these choices, we have 2 ways of filling the remaining 2 digits.
  • The six options are 23 × 5, 25 × 3, 32 × 5, 35 × 2, 52 × 3, 53 × 2.

How do we find the largest product among these six options? We can group them in pairs where the multiplier is the same.

  • 35 × 2 and 53 × 2
  • 25 × 3 and 52 × 3
  • 23 × 5 and 32 × 5

In each pair, the one with the larger multiplicand generates the larger product, so we can reduce the comparison to these three expressions.

  • 53 × 2
  • 52 × 3
  • 32 × 5

It is clear that 52 × 3 is bigger than 53 × 2, so we only need to compare 52 × 3 and 32 × 5. Let us expand these.

  • 32 × 5 = (3 × 10 × 5) + (2 × 5)
  • 52 × 3 = (5 × 10 × 3) + (2 × 3)

The first terms in both expressions are the same. The second term shows that 32 × 5 is larger, and hence the largest of the six possible products we can form with 2, 3 and 5.

In this case, we used the largest digit as the multiplier. The other two digits were arranged in decreasing order to form the multiplicand. Will this always be the case? Let us find out using algebra.

🔹 Algebraic Proof for the Largest Product

Suppose p, q, and r are the three digits such that p < q < r.

As before, we have six possible products, which we group by the multiplier:

  • qr × p, rq × p
  • pr × q, rp × q
  • pq × r, qp × r

In each pair, the multiplicand with the larger tens digit forms the larger product. So we have three products to compare:

  • rq × p
  • rp × q
  • qp × r

Since q > p, we can see that rp × q is bigger than rq × p. This leaves us with a comparison between qp × r and rp × q. If we expand these, we get:

  • qp × r = (10 × q × r) + (p × r)
  • rp × q = (10 × r × q) + (p × q)

Once again, the first term is the same in both expressions. Since r > q, the second term of the first expression is larger, so the largest product is qp × r. This matches our earlier observation that the largest digit should be the multiplier and the other two digits should be arranged in decreasing order to form the multiplicand.

🔹 Figure it Out: Largest Product

1. Fill the digits 1, 3, and 7 in __ × _ to make the largest product possible.

2. Fill the digits 3, 5, and 9 in __ × _ to make the largest product possible.

6.6 Decoding Divisibility Tricks

📚 Key Concepts

🔹 Mukta's Divisibility Trick

It is now Mukta’s turn to show a mathematics trick to Shubham.

  1. Choose a 2-digit number of different digits and don’t reveal it! (e.g., 47)
  2. Reverse the digits to get another number. (74)
  3. Find their difference. (74 – 47 = 27)
  4. Divide the result by 9. (27 ÷ 9 = 3)

Mukta predicts there won't be any remainder. Let's understand why.

Suppose the two-digit number is ab. When it is reversed, the new number is ba.

  • If b > a, then ba > ab. So, the difference is (10b + a) – (10a + b)
  • = 10b – b – 10a + a
  • = 9b – 9a = 9(b – a)

The difference is divisible by 9. Can you work out what happens if a > b?

🔹 Figure it Out: Divisibility Tricks

1. In the trick given above, what is the quotient when you divide by 9? Is there a relationship between the two numbers and the quotient?

2. In the trick given above, instead of finding the difference of the two 2-digit numbers, find their sum. What will happen? For example:

  • We start with 31. After reversing we get 13. Adding 31 and 13, we get 44.
  • We start with 28. After reversing we get 82. Adding 28 and 82, we get 110.
  • We start with 12. After reversing we get 21. Adding 12 and 21, we get 33.

Observe that all these numbers are divisible by 11. Is this always true? Can we justify this claim using algebra?

3. Consider any 3-digit number, say abc (100a + 10b + c). Make two other 3-digit numbers from these digits by cycling these digits around, yielding bca and cab. Now add the three numbers. Using algebra, justify that the sum is always divisible by 37. Will it also always be divisible by 3? [Hint: Look at some multiples of 37.]

4. Consider any 3-digit number, say abc. Make it a 6-digit number by repeating the digits, that is abcabc. Divide this number by 7, then by 11, and finally by 13. What do you get? Try this with other numbers. Figure out why it works. [Hint: Multiply 7, 11 and 13.]

🔹 More Problems to Solve

5. There are 3 shrines, each with a magical pond in the front. If anyone dips flowers into these magical ponds, the number of flowers doubles. A person has some flowers. He dips them all in the first pond and then places some flowers in shrine 1. Next, he dips the remaining flowers in the second pond and places some flowers in shrine 2. Finally, he dips the remaining flowers in the third pond and then places them all in shrine 3. If he placed an equal number of flowers in each shrine, how many flowers did he start with? How many flowers did he place in each shrine?

6. A farm has some horses and hens. The total number of heads of these animals is 55 and the total number of legs is 150. How many horses and how many hens are on the farm? Can you solve this without letter-numbers? [Hint: If all the 55 animals were hens, then how many legs would there be? Using the difference between this number and 150, can you find the number of horses?]

7. A mother is 5 times her daughter’s age. In 6 years’ time, the mother will be 3 times her daughter’s age. How old is the daughter now?

8. Two friends, Gauri and Naina, are cowherds. One day, they pass each other on the road with their cows. Gauri says to Naina, “You have twice as many cows as I do”. Naina says, “That’s true, but if I gave you three of my cows, we would each have the same number of cows”. How many cows do Gauri and Naina have?

9. I run a small dosa cart and my expenses are as follows:

  • Rent for the dosa cart is ₹5000 per day.
  • The cost of making one dosa (including all the ingredients and fuel) is ₹10.

(i) If I can sell 100 dosas a day, what should be the selling price of my dosa to make a profit of ₹2000?

(ii) If my customers are willing to pay only ₹50 for a dosa, how many dosas should I aim to sell in a day to make a profit of ₹2000?

10. Evaluate the following sequence of fractions:

1/3, (1+3)/(5+7), (1+3+5)/(7+9+11)

What do you observe? Can you explain why this happens? [Hint: Recall what you know about the sum of the first n odd numbers.]

11. Karim and the Genie

Karim was taking a nap under a tree. He had a dream about a magical lamp and a genie. He heard a voice saying, “I have come to serve you, Oh master”. He woke up and to his surprise, it was a genie!

“Do you want to make money?”, asked the genie. Karim nodded dumbly in bewilderment. The genie continued, “Do you see the banyan tree over there? All you have to do is go around it once. The money in your pocket will double”.

Karim immediately started towards the tree, only to be stopped by the genie. “One moment!”, said the genie. “Since I am bringing you great riches, you should share some of your gains with me. You must give me 8 coins each time you go around the tree.”

Thinking that was a trifling amount, Karim readily agreed.

He went around the tree once. Just as the genie had said, the number of coins in his pocket doubled! He gave 8 coins to the genie. He made another round. Again the number of coins doubled. He gave 8 more coins to the genie. He went around the tree for the third time. The number of coins doubled again, but to his horror, he was left with only 8 coins, exactly the number of coins he owed the genie!

As Karim began to wonder how the genie tricked him, the genie let out a loud laugh and disappeared.

(i) How many coins did Karim initially have?

(ii) For what cost per round should Karim agree to the deal, if he wants to increase the number of coins he has?

(iii) Through its magical powers, the genie knows the number of coins that Karim has. How should the genie set the cost per round so that it gets all of Karim’s coins?

📝 Quick Revision

Key Takeaways:

  • Algebra is very useful in modeling and understanding numerical scenarios. Because of this, it occurs in almost all areas of mathematics, science and beyond.
  • Algebra is an indispensable tool in justifying mathematical statements.
  • We applied algebra to analyse ‘Think of a Number’ tricks, number pyramids, grids, ways of forming numbers using given digits to maximise certain products, divisibility tricks, and various other problems.
  • In 'Think of a Number' tricks, using a variable (like x) for the starting number helps us see why the final result is always the same.
  • In number pyramids, each number is the sum of the two numbers directly below it. We can use algebra to find missing numbers.
  • In calendar magic, a 2x2 grid of dates can be represented algebraically, allowing us to find the dates from their sum.
  • To find the largest product when filling a two-digit number times a one-digit number with three given digits, the largest digit should be the multiplier and the other two digits should be arranged in decreasing order to form the multiplicand.
  • The difference of a two-digit number and its reverse is always divisible by 9. The sum of a two-digit number and its reverse is always divisible by 11.
⏳ Loading notes...