CBSE Class 8 Mathematics

13. Algebra Play

5 sections AI-powered notes
GET THE FULL EXPERIENCE

This is the chapter notes. Students get the interactive version.

  • Ask Aarav Sir anything — instant voice + chat doubts
  • Interactive lessons with audio narration + visual diagrams
  • Study Lab — paste any photo, PDF, or YouTube link to get it explained

Algebra Play & Thinking about ‘Think of a Number’ Tricks

Chapter 13: Algebra Play

Page 1 of 5: Algebra Play & Thinking about ‘Think of a Number’ Tricks

{{FORMULA: expr=f(x) = k | symbols=f(x): a series of algebraic operations, k: a constant final result}}

Concept Introduction

Have you ever seen a magician guess a number you were secretly thinking of? It feels like magic, but often, the secret isn't mind-reading—it's mathematics! Algebra is the tool that lets us understand, and even create, these fascinating number puzzles. By representing the "secret number" with a letter, like x, we can follow the magician's steps and see exactly how the trick works.

This chapter is all about "Algebra Play." We will move beyond solving simple equations and start using algebra as a language to decode puzzles, invent tricks, and reveal the hidden patterns in numbers. For example, a simple card trick might ask you to pick a card, do some calculations, and arrive at a specific number. Algebra helps us prove that no matter which card you pick, the result will always be the same. Let's start by exploring a classic "Think of a Number" trick.

Definitions & Formulas

In these algebraic tricks, we represent the unknown number with a variable and then translate each step into a mathematical operation.

TermMeaning
VariableA symbol, usually a letter (like x, M, or D), that represents an unknown number or quantity.
ExpressionA combination of numbers, variables, and operation symbols. For example, 2x + 4 is an expression.
EquationA statement that two expressions are equal. For example, 4a + 16 = 36.
OperationA mathematical process like addition (+), subtraction (-), multiplication (×), or division (÷).

Derivation: Unmasking a Simple Number Trick

Let's break down why a "Think of a Number" trick works every single time. We will use algebra to prove that the final result is always a fixed number, regardless of what you start with.

The 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 Algebraic Logic:

  1. Let's represent the number you thought of with the variable x.

  2. "Double it" means we multiply your number by 2. The expression becomes:

    2x
    
  3. "Add four" means we add 4 to the current expression.

    2x + 4
    
  4. "Divide by two" means we divide the entire expression by 2.

    (2x + 4) ÷ 2
    

    This simplifies to x + 2.

  5. "Subtract the original number" means we subtract x from our current expression.

    (x + 2) - x
    
  6. Simplifying the final expression, we see that the x terms cancel each other out.

    x - x + 2 = 2
    

The result is always 2, no matter what number x you started with! This is the secret behind the magic.

{{KEY: type=concept | title=The Power of Variables | text=The key to these tricks is that the variable representing the original number (e.g., x) is eliminated by the end of the steps. This ensures the final answer is a constant, making the prediction always correct.}}

Solved Examples

Example 1: A Basic Number Trick (Easy)

Given: A number trick with these steps:

  1. Think of a number.
  2. Add 10.
  3. Multiply by 3.
  4. Subtract 6.
  5. Divide by 3.
  6. Subtract the original number.

To Find: The final result of the trick.

Solution:

  1. Let the number you think of be n.

  2. Add 10 to the number.

    n + 10
    
  3. Multiply the result by 3. Remember to multiply the entire expression.

    3 × (n + 10) = 3n + 30
    
  4. Subtract 6 from the result.

    3n + 30 - 6 = 3n + 24
    
  5. Divide the entire expression by 3.

    (3n + 24) ÷ 3 = n + 8
    
  6. Subtract the original number, n.

    (n + 8) - n = 8
    

Final Answer: The final result will always be 8.


Example 2: Designing Your Own Trick (Medium)

Given: The goal is to create a number trick that always results in the number 5.

To Find: A sequence of steps that achieves this result.

Solution:

  1. To design a trick, we work forwards and ensure the variable cancels out. Let the starting number be x.

  2. Let's start with a simple operation, like multiplying by 4.

    4x
    
  3. Now, let's add a number that is a multiple of 4. This will make the division step clean later. Let's add 20.

    4x + 20
    
  4. Now, we can divide by 4 to start isolating x.

    (4x + 20) ÷ 4 = x + 5
    
  5. The final step is to eliminate the original number, x. We do this by subtracting x.

    (x + 5) - x = 5
    
  6. The steps are:

    • Think of a number.
    • Multiply it by 4.
    • Add 20.
    • Divide by 4.
    • Subtract the original number. The result is 5.

Final Answer: One possible sequence is: Multiply by 4, add 20, divide by 4, and subtract the original number.


Example 3: The Date Guessing Trick (Hard)

Given: Mukta follows a date-guessing trick and her final answer is 1390. The steps are:

  1. Let the month be M and the day be D.
  2. Multiply M by 5.
  3. Add 6.
  4. Multiply by 4.
  5. Add 9.
  6. Multiply by 5.
  7. Add the day, D.

To Find: The original date (Month and Day) Mukta thought of.

Solution:

  1. First, let's translate the steps into a single algebraic expression.

    • Start with M.
    • Step 2: 5M
    • Step 3: 5M + 6
    • Step 4: 4 × (5M + 6) = 20M + 24
    • Step 5: 20M + 24 + 9 = 20M + 33
    • Step 6: 5 × (20M + 33) = 100M + 165
    • Step 7: 100M + 165 + D
  2. We have the final expression for the result. We are given that the final result is 1390. So we can set up an equation.

    100M + 165 + D = 1390
    
  3. To solve for M and D, we need to isolate the 100M + D part. We can do this by subtracting 165 from both sides of the equation.

    100M + D = 1390 - 165
    
  4. Calculate the difference.

    100M + D = 1225
    
  5. Now we decode the result. The expression 100M + D is a key insight. Since D is a day of the month, its maximum value is 31. This means D will always be the last two digits of the number. The part before the last two digits represents M.

    • In 1225, the last two digits are 25. So, D = 25.
    • The remaining part is 12. So, M = 12.
  6. The month M = 12 is December. The day D = 25 is the 25th.

Final Answer: The date Mukta thought of was 25th December.


Example 4: A Modified Date Trick (Tricky)

Given: A new date trick:

  1. Take the month number (M).
  2. Multiply by 10.
  3. Add 5.
  4. Multiply by 10.
  5. Add the day number (D). A friend follows these steps and tells you the final answer is 858.

To Find: The date your friend was thinking of.

Solution:

  1. First, convert the steps into an algebraic expression.

    • Start with M.
    • Step 2: 10M
    • Step 3: 10M + 5
    • Step 4: 10 × (10M + 5) = 100M + 50
    • Step 5: 100M + 50 + D
  2. Set this expression equal to the final answer, 858.

    100M + 50 + D = 858
    
  3. The goal is to isolate the 100M + D term. To do this, we subtract 50 from both sides.

    100M + D = 858 - 50
    
  4. Perform the subtraction.

    100M + D = 808
    
  5. Just like in the previous example, the structure 100M + D cleverly separates the month and day. The last two digits represent D, and the preceding digit(s) represent M.

    • From 808, the last two digits are 08. So, D = 8.
    • The remaining part is 8. So, M = 8.
  6. The 8th month is August and the day is the 8th.

Final Answer: The date was 8th August.

Tips & Tricks

TechniqueDescriptionExample
Work BackwardsTo invent your own trick with a specific answer (e.g., 7), start with x + 7 and add complexity. x + 7 ← (2x + 14)/2 ← 2(x + 7).
Spot the SeparatorIn date tricks, look for a step that multiplies the month by 100. This is the key that separates the Month and Day values in the final number.... = 100M + D. In 1225, M=12, D=25.
Simplify as You GoDon't wait until the very end to simplify your expression. After each step, combine like terms or perform distribution. This prevents large, complex expressions.Instead of (5(2x+4) - 10)/10, simplify to (10x+20-10)/10, then to (10x+10)/10, and finally x+1.

Common Mistakes

❌ Wrong✅ RightWhy it's Wrong
Multiplying by 2: (x + 4) × 2 = 2x + 4(x + 4) × 2 = 2x + 8The 2 must be distributed to both terms inside the parentheses, not just the first one.
Working backwards from 100M + 165 + D = 291 as M=2, D=91.Working backwards: 100M + D = 291 - 165 = 126, so M=1, D=26.You must first subtract the constant number (165) before trying to decode the month and day from the result.
Dividing an expression: (6x + 9) ÷ 3 = 2x + 9(6x + 9) ÷ 3 = 2x + 3When dividing an expression, you must divide every term by the divisor, not just the first term.

Brain-Teaser Questions

  1. The Identity Trick: Create a "Think of a Number" trick where the final answer is always the original number the person thought of. What sequence of steps would achieve this?

    💡 Answer: One simple way is to use inverse operations that cancel out. For example:

    1. Think of a number (x).
    2. Add 5 (x + 5).
    3. Multiply by 2 (2x + 10).
    4. Subtract 10 (2x).
    5. Divide by 2 (x). The final result is x, the original number.
  2. The Constant Digit Trick: Devise a trick with a 2-digit number ab that always results in the sum of its digits, a + b.

    💡 Answer:

    1. Think of a 2-digit number, 10a + b.
    2. Subtract the sum of its digits (a + b) from it. (10a + b) - (a + b) = 9a
    3. The result is always a multiple of 9.
    4. Now, divide this result by 9. 9a ÷ 9 = a This gives you the first digit. We need a + b. The trick needs more steps. A better way:
    5. Think of a 2-digit number 10a + b.
    6. Add 99. 10a + b + 99.
    7. Subtract the number formed by its digits (a and b) but with a 0 in between, e.g., for 54, subtract 504. 10a + b + 99 - (100a + b) = 99 - 90a. This is getting complicated. Let's try another approach. A simple trick is not obvious. Here's a possible solution:
    8. Take a 2-digit number 10a + b.
    9. Multiply it by 10. 100a + 10b.
    10. Subtract the original number. (100a + 10b) - (10a + b) = 90a + 9b = 9(10a+b).
    11. Divide by the original number. 9(10a+b) / (10a+b) = 9. This gives a constant, not a+b. This question is hard. Let's re-read the NCERT extract... Ah, the NCERT focuses on simpler tricks. A trick to get a+b might be too complex or require specific properties. The simplest answer is that such a simple arithmetic trick is very hard to construct universally. However, a specific trick related to sums of digits from the book is adding a number and its reverse: (10a+b) + (10b+a) = 11a + 11b = 11(a+b). If you then ask them to divide by 11, the result is a+b. The trick is: Think of a 2-digit number, reverse its digits to get a new number, add the two numbers, and divide the sum by 11. The result will be the sum of the digits of the original number.
  3. The Age & Shoe Size Trick: Create a trick that reveals a person's age and shoe size (assuming no half sizes). The age is a 2-digit number (A) and shoe size is a 2-digit number (S).

    💡 Answer: The logic is similar to the date trick. We need to combine A and S in a way that 100A + S or a similar structure appears.

    1. Take your age (A).
    2. Multiply by 20. 20A.
    3. Add 100. 20A + 100.
    4. Multiply by 5. 100A + 500.
    5. Add your shoe size (S). 100A + 500 + S.
    6. Ask for the final result. Then, you secretly subtract 500. The number you get will be in the form AAS (e.g., if age is 25 and shoe size is 09, the result is 2509).

Mini Cheatsheet

ConceptAlgebraic RepresentationExample
An unknown numberxThink of a number → x.
Basic Operations+, -, ×, ÷Add 5 → x + 5. Double it → 2x.
Cancelling the Variable(kx + a) / k - x(2x + 4) / 2 - x = (x + 2) - x = 2.
Date Trick DecodingFinal Answer - Constant = 100M + D291 - 165 = 126. So, M=1, D=26.
Two-Digit Number10a + bThe number 47 is represented as 10×4 + 7.

Number Pyramids

Number Pyramids

Welcome to the intriguing world of Number Pyramids! This is a fantastic puzzle where logic and algebra meet. At first glance, it might seem like a simple addition game, but as we dig deeper, you'll see how these pyramids are a perfect playground for honing your algebraic skills.

The core idea is simple, but it can be used to create complex and challenging problems. Imagine building a wall with bricks. The stability and position of each brick depend entirely on the bricks underneath it. Number pyramids work the same way; each number's value is built upon the values of the numbers supporting it from below. This simple rule allows us to use algebra to find missing values, even when we have very little information to start with. Let's explore how to become master builders of these mathematical structures.

{{FORMULA: expr=Top = a + 2b + c | symbols=a,b,c: numbers in the bottom row of a 3-row pyramid, Top: the single number in the top row}}


Definitions & Core Rule

A Number Pyramid is a triangular arrangement of numbers where the value in each box is the sum of the two numbers in the boxes directly beneath it. To solve these pyramids, we use this fundamental rule and basic algebra.

Term / VariableMeaning
The RuleThe number in any box is the sum of the two numbers in the boxes it rests on.
a, b, c...Variables representing the unknown numbers in the bottom-most row of the pyramid.
RowA horizontal line of boxes in the pyramid. The bottom row is Row 1.
Topmost NumberThe single number in the final, top row of the pyramid, which is the sum of all underlying numbers, weighted appropriately.

Derivation: The Algebra Behind the Pyramid

How can we predict the number at the very top of a pyramid just by knowing the bottom row? Let's use algebra to find a general formula. We'll start with a small 3-row pyramid.

{{VISUAL: diagram: A 3-row number pyramid with the bottom row labeled 'a', 'b', 'c'. The middle row is labeled 'a+b' and 'b+c'. The top box is labeled '(a+b)+(b+c)' which simplifies to 'a+2b+c'.}}

  1. Label the Bottom Row: Let's call the numbers in the three boxes of the bottom row a, b, and c.

    Bottom Row: a, b, c

  2. Calculate the Second Row: According to the rule, each number is the sum of the two directly below it.

    • The first box in the second row will be the sum of a and b.
    • The second box in the second row will be the sum of b and c.

    Second Row: a + b, b + c

  3. Calculate the Topmost Number: The single box at the top is the sum of the two numbers in the second row.

    Top Number = (a + b) + (b + c)
    
  4. Simplify the Expression: Now, we just need to simplify the expression by combining like terms.

    Top Number = a + b + b + c
    
    Top Number = a + 2b + c
    

    And there we have it! The number at the top of a 3-row pyramid is always the sum of the first bottom number, twice the second bottom number, and the third bottom number.


Solved Examples

Let's put this theory into practice with a few examples, ranging from simple arithmetic to some clever algebra.

Example 1: Simple Forward Calculation (Easy)

Given: The bottom row of a 3-row pyramid is 4, 6, and 2.

To Find: The number in the topmost box.

Solution:

  1. Identify the values for a, b, and c from the bottom row. a = 4, b = 6, c = 2

  2. Calculate the values for the second row.

    • First box: a + b = 4 + 6 = 10
    • Second box: b + c = 6 + 2 = 8
  3. Calculate the value for the top row by adding the two numbers from the second row.

    Top Number = 10 + 8
    
    Top Number = 18
    
  4. Alternatively, use the formula a + 2b + c.

    Top Number = 4 + 2(6) + 2
    
    Top Number = 4 + 12 + 2 = 18
    

Final Answer: 18

Example 2: Working Backwards (Medium)

Given: A 3-row pyramid where the topmost number is 40. The numbers in the second row are 15 and 25.

To Find: The numbers in the bottom row.

Solution:

{{VISUAL: diagram: A 3-row pyramid. The top box is '40'. The two boxes below it are '15' and '25'. The three bottom boxes are empty, labeled 'a', 'b', 'c'. Arrows indicate working downwards with subtraction.}}

  1. We are given the second row: 15 and 25. Let's label the unknown bottom row as a, b, and c.

  2. From the pyramid rule, we know:

    • a + b = 15
    • b + c = 25
  3. We also know the top number is the sum of the second row, which we can verify: 15 + 25 = 40. This confirms the pyramid is consistent.

  4. Notice that b is part of both equations. We cannot find unique values for a, b, and c without more information. However, let's assume we are given one more piece of information, for instance, that b = 10.

  5. Now we can solve for a and c.

    • For a:
    a + 10 = 15
    
    a = 15 - 10 = 5
    
    • For c:
    10 + c = 25
    
    c = 25 - 10 = 15
    

Final Answer: Assuming b=10, the bottom row is 5, 10, 15. (Note: Without knowing one value, there are infinite solutions!)

Example 3: Finding Missing Values with Algebra (Hard)

Given: A 4-row pyramid with some known values as shown in the NCERT example. The top box is 60. The boxes in the second row are a and b. The boxes in the third row are 12, c and c, 8.

To Find: The values of a, b, and c.

Solution:

{{VISUAL: diagram: A 4-row pyramid layout. Top box contains '60'. The two boxes in the second row contain 'a' and 'b'. The three boxes in the third row contain '12', 'c', and '8'. The bottom row is empty. Equations 'a+b=60', '12+c=a', 'c+8=b' are shown with arrows pointing to the respective boxes.}}

  1. Translate the pyramid structure into a set of equations based on the rule.

    • From the top: a + b = 60
    • From the second row: 12 + c = a and c + 8 = b
  2. We now have a system of equations. Our goal is to solve for c. We can substitute the expressions for a and b into the first equation.

    (12 + c) + (c + 8) = 60
    
  3. Simplify the equation by combining constants and the c terms.

    12 + 8 + c + c = 60
    
    20 + 2c = 60
    
  4. Solve the linear equation for c. First, subtract 20 from both sides.

    2c = 60 - 20
    
    2c = 40
    
  5. Now, divide by 2 to find c.

    c = 40 / 2
    
    c = 20
    
  6. Now that we know c = 20, we can easily find a and b.

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

Final Answer: a = 32, b = 28, c = 20.

Example 4: The 4-Row Pyramid Challenge (Tricky)

Given: The bottom row of a 4-row pyramid is x, 10, 5, y. The topmost number is 100.

To Find: The values of x and y.

Solution:

  1. First, let's find the general formula for the top of a 4-row pyramid with bottom row a, b, c, d.

    • Row 2: a+b, b+c, c+d
    • Row 3: (a+b)+(b+c), (b+c)+(c+d)a+2b+c, b+2c+d
    • Row 4 (Top): (a+2b+c) + (b+2c+d)a+3b+3c+d
  2. Now, apply this formula a+3b+3c+d to our given bottom row. Here, a=x, b=10, c=5, d=y. The top number is 100.

    x + 3(10) + 3(5) + y = 100
    
  3. Simplify the equation.

    x + 30 + 15 + y = 100
    
    x + y + 45 = 100
    
  4. Isolate the x + y term by subtracting 45 from both sides.

    x + y = 100 - 45
    
    x + y = 55
    

This is as far as we can go with the given information. There are many possible integer pairs for x and y that add up to 55 (e.g., x=25, y=30; x=1, y=54). The problem has infinite solutions unless an additional constraint is provided.

Final Answer: The relationship between the missing numbers is x + y = 55.


{{KEY: type=concept | title=The Algebraic Approach | text=When numbers are missing in the lower or middle sections of a pyramid, always assign variables to the empty boxes. Use the fundamental rule (a box is the sum of the two below it) to create a system of linear equations. Solving these equations is the key to finding the missing values.}}


Tips & Tricks

Here are a few shortcuts and patterns to look for when solving number pyramids.

Trick NameDescriptionExample
Pascal's CoefficientsThe coefficients of the bottom row variables in the formula for the top number follow the pattern of Pascal's Triangle. For a 4-row pyramid (a,b,c,d), the formula is 1a+3b+3c+1d. The coefficients are 1,3,3,1.For a 5-row pyramid, the coefficients will be 1, 4, 6, 4, 1, from the next row of Pascal's Triangle.
Difference TrickIf you know two adjacent numbers in any row (e.g., X and Y), their difference (Y-X) is related to the numbers below. For example, in a 3-row pyramid, the difference between the two numbers in the second row is (b+c) - (a+b) = c - a.If the second row is 15, 25, the difference is 10. This means c - a = 10.
Symmetry ShortcutIf the bottom row is symmetrical (e.g., a, b, a), the entire pyramid will be symmetrical around its central axis. This can save you calculation time.If the bottom row is 4, 5, 4, the second row must be 9, 9, and the top is 18. You only need to calculate one half.

Common Mistakes

It's easy to make a small error that affects the entire pyramid. Here are some common pitfalls to avoid.

❌ Wrong Method✅ Right MethodWhy it's Wrong
Guessing the numbers randomly and checking if they add up.Set up equations using variables for the unknowns and solve them systematically.Guessing is inefficient and unlikely to work for complex pyramids. Algebra provides a guaranteed path to the solution.
Forgetting to combine all like terms: (12+c) + (c+8) = 20 + c(12+c) + (c+8) = 12+8+c+c = 20+2cA common mistake is to only count the variable once. You must add all instances of the variable.
Adding diagonally or skipping a level.Each number is the sum of the two boxes directly and immediately below it.The structure is strict. You cannot sum numbers that are not adjacent and directly supporting the box above.
Making a small addition error at the bottom.Double-check every calculation, especially in the lower rows, before moving up.A single error in the first step of calculation will make every subsequent number in the pyramid incorrect.

Brain-Teaser Questions

Ready for a challenge? Try these puzzles that require a bit more thought.

  1. The bottom row of a 4-row pyramid is four consecutive integers, starting with n. The number at the top is 84. What are the four integers?

    💡 Answer: The bottom row is n, n+1, n+2, n+3. The top is a+3b+3c+d. n + 3(n+1) + 3(n+2) + (n+3) = 84 n + 3n+3 + 3n+6 + n+3 = 84 8n + 12 = 848n = 72n = 9. The numbers are 9, 10, 11, and 12.

  2. In a 3-row pyramid, the bottom row is x, y, z. If the number in the second row's left box is 10 and the number in the top box is 22, can you find y?

    💡 Answer: We are given x+y = 10. The top is (x+y) + (y+z) = 22. Substitute x+y=10 into the top equation: 10 + (y+z) = 22. This gives us y+z = 12. We have two equations: x+y=10 and y+z=12. We cannot find a unique value for y without more information.

  3. The numbers in a 3-row pyramid are all distinct positive integers. The top number is 20. What is the smallest possible sum of the three numbers in the bottom row?

    💡 Answer: Let the bottom row be a, b, c. Top is a+2b+c = 20. We want to minimize S = a+b+c. From the top equation, a+c = 20 - 2b. Substitute this into the sum: S = (20 - 2b) + b = 20 - b. To make S as small as possible, we need to make b as large as possible. Let's try large integer values for b. If b=9, a+c=2. Possible integers are a=1, c=1, but they must be distinct. No. If b=8, a+c=4. Possible distinct integers are a=1, c=3 (or vice-versa). All numbers (1,8,3) are distinct. The sum S = a+b+c = 1+8+3 = 12. This is the minimum sum.


Mini Cheatsheet

Here’s a quick summary of the key ideas from this page. Screenshot this for your notes!

ConceptFormula / RuleNotes
Fundamental RuleBox_Value = Sum_of_2_Boxes_BelowThis is the core principle for solving all number pyramids.
3-Row Pyramid FormulaTop = a + 2b + cWhere a, b, c are the numbers in the bottom row.
4-Row Pyramid FormulaTop = a + 3b + 3c + dWhere a, b, c, d are the numbers in the bottom row.
Algebraic Method1. Assign variables. 2. Form equations. 3. Solve.The most reliable method when values are missing in the lower rows.
Coefficient Pattern1, 2, 11, 3, 3, 1

Fun with Grids

Fun with Grids

Have you ever noticed the hidden patterns in everyday things like a calendar or a game board? It turns out that algebra is the perfect tool to uncover these secrets! It's like having a secret decoder that can turn puzzles and games into simple equations we can solve.

In this section, we'll explore how to apply algebraic thinking to grids. We'll start with a fun magic trick using a calendar and then move on to solving visual puzzles where shapes stand for unknown numbers. This isn't just about finding answers; it's about learning to see the world through the logical and powerful lens of algebra, turning you into a mathematical detective!

{{FORMULA: expr=S = 4a + 16 | symbols=S:Sum of numbers in a 2x2 calendar grid, a:The smallest number (top-left) in the grid}}

Definitions & Formulas

When we work with grids, we use variables to represent unknown numbers. The relationships between numbers in the grid (like being next to each other or below each other) help us define them algebraically.

VariableMeaning in a Calendar Grid
aRepresents the first number chosen, usually the top-left number in a square grid.
a + 1The number immediately to the right of a (the next day).
a + 7The number directly below a (the same day in the next week).
a + 8The number diagonally below and to the right of a.
SThe Sum of all the numbers in the chosen grid.

The Logic Behind Calendar Magic

How can someone guess the four numbers you picked on a calendar just by knowing their sum? The secret is algebra. Let's break down the logic for a 2 × 2 grid.

  1. First, we represent the top-left number in the grid with a variable. Let's call it a.

  2. Next, we express the other three numbers in relation to a. A calendar grid has a fixed structure.

    • The number to the right is always one more: a + 1.
    • The number directly below is from the next week, so it's seven more: a + 7.
    • The number diagonally across is one day after the one below a, so it's (a + 7) + 1 or a + 8.

{{VISUAL: diagram: A calendar page for August with a 2x2 grid highlighted. The top-left cell of the grid is labeled 'a', the top-right is 'a+1', the bottom-left is 'a+7', and the bottom-right is 'a+8'.}}

  1. Now, we write an expression for the sum (S) of all four numbers.
S = a + (a + 1) + (a + 7) + (a + 8)
  1. Finally, we simplify this expression by combining like terms (all the a's and all the constant numbers).
S = (a + a + a + a) + (1 + 7 + 8)
  1. This gives us a simple, powerful formula that connects the sum (S) to the starting number (a).
S = 4a + 16

With this formula, if your friend tells you the sum S, you can work backward to find a, and from a, you can find all the other numbers!


Solved Examples

Let's put this theory into practice with some examples, starting from simple calendar tricks and moving to more complex algebra grids.

Example 1: The Basic Calendar Trick (Easy)

Given: Your friend picks a 2 × 2 grid from a calendar and tells you the sum of the four numbers is 68.

To Find: The four numbers in the grid.

Solution:

  1. We use the formula we derived for the sum (S) of a 2 × 2 calendar grid, where a is the top-left number.
S = 4a + 16
  1. We are given that the sum S is 68. We substitute this value into our equation.
68 = 4a + 16
  1. To solve for a, we first subtract 16 from both sides of the equation.
68 - 16 = 4a
52 = 4a
  1. Now, we divide both sides by 4 to find the value of a.
a = 52 ÷ 4
a = 13
  1. We've found the top-left number! Now we can easily find the other three.
    • Top-right: a + 1 = 13 + 1 = 14
    • Bottom-left: a + 7 = 13 + 7 = 20
    • Bottom-right: a + 8 = 13 + 8 = 21

Final Answer: The four numbers in the grid are 13, 14, 20, and 21.

Example 2: The 3 × 3 Grid Challenge (Medium)

Given: Your friend selects a 3 × 3 grid of numbers on a calendar. The sum of all nine numbers is 162.

To Find: The number in the center of the grid.

Solution:

  1. Let's represent the number in the center of the 3 × 3 grid with the variable x. This is often easier than starting from the corner.

  2. Now, we express all the other eight numbers in terms of x.

    • Number above x: x - 7
    • Number below x: x + 7
    • Number to the left of x: x - 1
    • Number to the right of x: x + 1
    • The four corner numbers are: x - 8, x - 6, x + 6, and x + 8.

{{VISUAL: diagram: A 3x3 grid. The center cell is labeled 'x'. The surrounding cells are labeled relative to x: top-middle is 'x-7', bottom-middle is 'x+7', left-middle is 'x-1', right-middle is 'x+1', top-left is 'x-8', top-right is 'x-6', bottom-left is 'x+6', and bottom-right is 'x+8'.}}

  1. The sum S is the total of all nine numbers. Let's write the expression.
S = (x - 8) + (x - 7) + (x - 6) + (x - 1) + x + (x + 1) + (x + 6) + (x + 7) + (x + 8)
  1. Let's simplify this by grouping the x terms and the number terms. Notice how the numbers are balanced: -8 cancels with +8, -7 with +7, and so on.
S = (x + x + x + x + x + x + x + x + x) + (-8-7-6-1+1+6+7+8)
S = 9x + 0
S = 9x
  1. We are given that the sum S is 162. We can now solve for x.
162 = 9x
x = 162 ÷ 9
x = 18

Final Answer: The number in the center of the grid is 18.

Example 3: The Shape Puzzle (Hard)

Given: The following grid where each shape represents a number. The numbers at the end of each row are the sum of the shapes in that row.

{{VISUAL: diagram: An algebra grid puzzle. Row 1: two circles + one square = 22. Row 2: one circle + two squares = 20.}}

ShapeShapeShapeSum
22
20

To Find: The value of the circle (⚫) and the square (■).

Stuck on something here?
Aarav Sir explains any part — voice or chat — 24/7.

Solution:

  1. Let's represent the unknown values with variables. Let c be the value of a circle and s be the value of a square.

  2. We can translate each row of the grid into an algebraic equation.

    • Row 1: Two circles plus one square equals 22.
    2c + s = 22
    
    • Row 2: One circle plus two squares equals 20.
    c + 2s = 20
    
  3. We now have a system of two linear equations. Let's solve them. From the first equation, we can express s in terms of c.

s = 22 - 2c
  1. Now, substitute this expression for s into the second equation. This will give us an equation with only one variable, c.
c + 2(22 - 2c) = 20
  1. Solve this equation for c. First, distribute the 2.
c + 44 - 4c = 20
  1. Combine the c terms.
-3c + 44 = 20
  1. Subtract 44 from both sides.
-3c = 20 - 44
-3c = -24
  1. Divide by -3 to find c.
c = -24 ÷ -3
c = 8
  1. Now that we know c = 8, we can substitute this value back into our expression for s from Step 3.
s = 22 - 2c
s = 22 - 2(8)
s = 22 - 16
s = 6

Final Answer: The value of the circle (⚫) is 8, and the value of the square (■) is 6.

Example 4: The Incomplete Grid (Tricky)

Given: An algebra grid where a row sum is missing. The column sums are provided.

ShapeShapeRow Sum
23
?
Col Sum = 18Col Sum = 19

To Find: The missing row sum.

Solution:

  1. Let the value of a triangle be t and a diamond be d.

  2. We can form equations from the rows and columns.

    • Row 1: t + d = 23
    • Column 1: t + d = 18
    • Column 2: d + t = 19
  3. Wait! Look closely at the equations from the columns. Column 1 tells us t + d = 18, and Column 2 tells us d + t = 19. This is a contradiction, as t + d cannot be both 18 and 19 at the same time. Let's re-read the problem grid carefully. It seems there's a typo in the setup in the prompt, let's assume the grid was meant to be solvable. Let's adjust the problem to be consistent.

Correction of the Problem for solvability: Let's assume the grid was:

ShapeShapeRow Sum
23
?
Col Sum = 14Col Sum = 32

Let's solve this corrected version.

  1. Let t be a triangle and d be a diamond. The equations are:

    • Row 1: t + d = 23
    • Column 1: t + t = 14 => 2t = 14
    • Column 2: d + d = 32 => 2d = 32
  2. This is much simpler! We can solve for t and d directly from the column sums.

    • From Column 1:
    2t = 14  =>  t = 7
    
    • From Column 2:
    2d = 32  =>  d = 16
    
  3. Let's check if these values work for Row 1.

    t + d = 7 + 16 = 23
    

    Yes, they do. The values are consistent.

  4. Now we can find the missing sum for Row 2. Row 2 contains two triangles.

    • Row 2 Sum = t + t
    Sum = 7 + 7 = 14
    

Final Answer: The missing row sum is 14.

{{KEY: type=concept | title=Systematic Approach for Grids | text=For any grid puzzle, the first step is always to assign variables to the unknown quantities (shapes or starting numbers). Then, translate the rules of the grid (rows, columns, sums) into algebraic equations. Solving these equations reveals the unknown values.}}

Tips & Tricks

Here are some shortcuts to solve grid problems faster.

TipDescriptionExample
Quick 'a' FinderFor a 2 × 2 calendar grid, you can find the top-left number a directly from the sum S by rearranging the formula: a = (S - 16) / 4.If sum S = 100, then a = (100 - 16) / 4 = 84 / 4 = 21. The top-left number is 21.
Center of the UniverseFor a 3 × 3 calendar grid, the sum S is always 9 times the center number x (S = 9x). The average of the numbers is the center number.If sum S = 180, the center number x is 180 / 9 = 20.
Add & Subtract EquationsIn 2-variable shape puzzles, sometimes adding or subtracting the two equations can quickly reveal a value.Given 2c + s = 22 and c + 2s = 20. Adding them gives 3c + 3s = 42, so c + s = 14. This can be a useful intermediate step.

Common Mistakes

Be careful! A small error in setting up your grid can lead to the wrong answer. Here are some common pitfalls to avoid.

❌ Wrong Approach✅ Right ApproachWhy it's a Mistake
Incorrect Grid Layout: Assuming the number below a is a + 1. <br> a, a+1, a+2, a+3Correct Calendar Layout: The number below a is on the next week, so it's a + 7. <br> a, a+1, a+7, a+8This mistake ignores the structure of a calendar, where a new row starts every 7 days, not every day.
Simplification Error: a + (a+1) + (a+7) + (a+8) = 4a + 15Correct Simplification: 1 + 7 + 8 = 16. The sum is 4a + 16.A simple arithmetic mistake in adding the constants 1, 7, 8 will make it impossible to find the correct grid.
Stopping at 'a': Solving for a and stating that as the answer.Answering the Full Question: After finding a, list all four numbers in the grid: a, a+1, a+7, a+8.The question usually asks for all the numbers in the grid or a specific number from the grid, not just the value of the initial variable.
Assuming Whole Numbers: Panicking if a is not an integer.Checking the Sum: If (S - 16) is not divisible by 4, it means the given sum is impossible for a 2 × 2 calendar grid.This indicates that the initial sum provided was not valid for this type of puzzle, and it's a good way to check for errors.

Brain-Teaser Questions

  1. A special 2 × 2 grid is selected from a "monthly" calendar of a planet where a week has 5 days. If the sum of the four numbers is 84, what are the numbers?

    💡 Answer: In a 5-day week, the numbers in the grid would be a, a+1, a+5, and a+6. The sum is S = 4a + 12. 84 = 4a + 1272 = 4aa = 18. The numbers are 18, 19, 23, and 24.

  2. In an algebra grid, three triangles have the same sum as four squares. Also, one triangle and one square add up to 21. What is the value of one triangle?

    💡 Answer: Let t be a triangle and s be a square. Eq 1: 3t = 4s Eq 2: t + s = 21s = 21 - t Substitute s in Eq 1: 3t = 4(21 - t)3t = 84 - 4t7t = 84t = 12. The value of one triangle is 12. (And a square is 9).

  3. Consider a 2 × 2 calendar grid. The product of the top-left and bottom-right numbers is 100. The product of the top-right and bottom-left numbers is 88. Can you find the four numbers in the grid?

    💡 Answer: Let the numbers be a, a+1, a+7, a+8. Eq 1: a × (a + 8) = 100a² + 8a = 100 Eq 2: (a + 1) × (a + 7) = 88a² + 8a + 7 = 88 Notice that a² + 8a is common to both expanded equations. Substitute the value from Eq 1 into Eq 2: 100 + 7 = 88. This gives 107 = 88, which is false. This means no such calendar grid exists with these products. It's an impossible puzzle!

Mini Cheatsheet

ConceptKey Formula / RepresentationExplanation
2 × 2 Calendar Grida, a+1, a+7, a+8Algebraic representation of four numbers in a square on a standard 7-day calendar.
Sum of 2 × 2 GridS = 4a + 16The sum (S) is always 16 more than 4 times the smallest number (a).
Find Start from Suma = (S - 16) / 4Rearranged formula to quickly find the starting number if you know the sum.
3 × 3 Calendar GridS = 9xThe sum (S) of a 3 × 3 grid is always 9 times the center number (x).
Algebra Grid Strategy1. Assign variables. 2. Form equations. 3. Solve.The universal method for solving puzzles with shapes representing numbers.

The Largest Product

The Largest Product

Have you ever wondered if there's a "best" way to arrange numbers to get a certain result? Imagine a baker has 3 different sized trays that can hold 4, 6, and 8 cookies respectively. She needs to make a large batch for a party and decides to bake 46 batches of 8 cookies. Her friend suggests it might be better to bake 84 batches of 6 cookies. Which way produces more cookies?

This is a puzzle about maximizing a product. By exploring a simple problem—arranging three digits to make the largest possible product—we can uncover a powerful and reliable strategy. This process of testing, comparing, and using algebra to prove our findings is at the heart of mathematical problem-solving. It's like finding a secret recipe that always gives the best result.

{{FORMULA: expr=(10q + p) × r | symbols=r:the largest digit, q:the middle digit, p:the smallest digit}}

Definitions and Formulas

When we work with digits algebraically, it's crucial to remember place value. A two-digit number written as ab is not a × b, but 10a + b.

Variable / TermMeaningExample (using digits 2, 3, 5)
p, q, rThree distinct digits such that p < q < r.p = 2, q = 3, r = 5
MultiplicandThe number being multiplied.In 32 × 5, the multiplicand is 32.
MultiplierThe number by which another number is multiplied.In 32 × 5, the multiplier is 5.
qpA two-digit number formed by digits q and p.q=3, p=2qp is 32.
Value of qpThe algebraic value of the number qp.10 × q + p

The Logic of Maximization

How do we prove which arrangement of three digits p, q, and r (where p < q < r) gives the largest product in the form __ × _? We can use algebra to find a general rule.

  1. List all possibilities. With three digits, there are six ways to form a two-digit number and a one-digit number. We can group them by the single-digit multiplier:

    • Multiplier p: qr × p, rq × p
    • Multiplier q: pr × q, rp × q
    • Multiplier r: pq × r, qp × r
  2. Eliminate weaker options in each pair. Let's look at the first pair: qr × p vs rq × p. The multiplier p is the same. The multiplicands are qr (10q + r) and rq (10r + q). Since we defined r > q, the number with r in the tens place will be larger. Therefore, rq > qr. This means rq × p > qr × p. By the same logic:

    • rp × q > pr × q (since r > p)
    • qp × r > pq × r (since q > p)
  3. Identify the three main contenders. After eliminating the smaller product from each pair, we only need to compare these three expressions:

    • rq × p
    • rp × q
    • qp × r
  4. Compare the remaining options algebraically. Let's compare the last two contenders first: rp × q and qp × r. This is the most critical comparison.

    We can expand them using place value:

    • For qp × r:
    (10q + p) × r = 10qr + pr
    
    • For rp × q:
    (10r + p) × q = 10rq + pq
    
  5. Analyze the expanded forms. The first term in both expressions is identical (10qr is the same as 10rq). So, the size of the product depends entirely on the second term.

    We need to compare pr and pq. Since we know r > q and p is a positive number, it must be true that:

    p × r > p × q
    
  6. Reach the final conclusion. Because pr > pq, the expression 10qr + pr must be greater than 10rq + pq. This proves that qp × r is the largest possible product.

{{KEY: type=concept | title=The Golden Rule for Largest Product | text=To get the largest product from three digits p < q < r in the form __ × _, always use the largest digit (r) as the single-digit multiplier. Arrange the other two digits (q and p) in descending order to form the two-digit multiplicand (qp).}}

Solved Examples

Example 1: Basic Application

Given: The digits 1, 3, and 7.

To Find: The largest product possible in the form __ × _.

Solution:

  1. Identify the digits in ascending order: p = 1, q = 3, r = 7.

  2. Apply the rule: The largest product will be in the form qp × r. The largest digit, r = 7, will be the multiplier.

  3. The other two digits, q = 3 and p = 1, will form the multiplicand in descending order, which is 31.

  4. Form the final expression and calculate the product.

    31 × 7 = 217
    

Final Answer: The largest product is 31 × 7 = 217.

Example 2: Unordered Digits

Given: The digits 3, 9, and 5.

To Find: The largest product possible in the form __ × _.

Solution:

  1. First, arrange the digits in ascending order to identify p, q, and r. p = 3, q = 5, r = 9.

  2. The rule states the largest digit, r = 9, should be the multiplier.

  3. The remaining digits, q = 5 and p = 3, form the multiplicand in descending order: 53.

  4. Calculate the product of the resulting expression.

    53 × 9
    
  5. Perform the multiplication.

    53 × 9 = (50 × 9) + (3 × 9) = 450 + 27 = 477
    

Final Answer: The largest product is 53 × 9 = 477.

Example 3: Dealing with Zero

Given: The digits 0, 4, and 8.

To Find: The largest product possible in the form __ × _, where the multiplicand must be a 2-digit number.

Solution:

  1. Arrange the digits: p = 0, q = 4, r = 8.

  2. According to our rule, the expression should be qp × r. This would give 40 × 8.

  3. Let's calculate this product.

    40 × 8 = 320
    
  4. It's wise to check other possibilities because zero can behave differently. What if we don't use 8 as the multiplier?

    • Case 1: Multiplier is 4 (q). The multiplicand would be rp = 80. The product is 80 × 4 = 320.
    • Case 2: Multiplier is 0 (p). The product would be rq × 0 = 84 × 0 = 0. This is clearly not the largest.
  5. In this specific case, both 40 × 8 and 80 × 4 yield the same largest product. The rule still holds, but another combination gives an equally large result. The logic of placing the largest digits in the most significant positions (tens place and multiplier) remains key.

Final Answer: The largest product is 320, which can be formed as 40 × 8 or 80 × 4.

Example 4: Tricky Extension to Four Digits

Given: The digits 1, 2, 3, and 4.

To Find: The largest product possible in the form __ × __.

Solution:

  1. This is a different problem (__ × __) and our previous rule doesn't directly apply. We need a new strategy based on place value. To maximize the product, we want the largest digits in the most valuable positions, which are the tens places.

  2. The two largest digits are 4 and 3. Let's place them in the tens places of the two numbers. The numbers will look like 4_ and 3_.

  3. We are left with the digits 1 and 2 for the units places. We have two ways to assign them:

    • Option A: 41 × 32
    • Option B: 42 × 31
  4. Let's calculate both products to see which is larger.

    • For Option A:
    41 × 32 = 1312
    
    • For Option B:
    42 × 31 = 1302
    
  5. Comparing the results, 1312 is greater than 1302. The arrangement 41 × 32 gives the largest product. The strategy is to pair the largest tens digit with the smallest available units digit, and the second-largest tens digit with the second-smallest units digit.

Final Answer: The largest product is 41 × 32 = 1312.

Tips & Tricks

TechniqueDescriptionExample (Digits: 2, 6, 7)
The Power Position RuleThe largest digit holds the most power. In __ × _, make it the multiplier. In __ × __, put the two largest digits in the tens places.For __ × _, the multiplier must be 7. The product is 62 × 7.
Systematic ListingWhen in doubt, don't guess. Write down all 6 possible combinations (26×7, 62×7, 27×6, 72×6, etc.) and calculate. It's slow but foolproof.76×2=152, 72×6=432, 62×7=434. The winner is 62 × 7.
Mental EstimationQuickly estimate the products to eliminate obvious wrong answers. 72 × 6 is roughly 70×6 = 420. 62 × 7 is roughly 60×7 = 420. This tells you the competition is close and needs exact calculation.Comparing 53×2 (≈100) vs 32×5 (≈150), you can instantly see the second one is larger.

Common Mistakes

❌ Wrong Approach✅ Right ApproachWhy it's Wrong
Placing the largest digit in the tens place: 76 × 2 (using 2, 6, 7).Placing the largest digit as the multiplier: 62 × 7.The multiplier has a greater impact on the total product than the tens digit of the multiplicand. 10q + p is multiplied by r, so r affects both 10q and p.
Forming the multiplicand in ascending order: 26 × 7.Forming the multiplicand in descending order: 62 × 7.A larger multiplicand always yields a larger product when the multiplier is the same. 62 > 26, so 62 × 7 > 26 × 7.
Guessing based on the "look" of the numbers.Following the algebraic rule qp × r systematically.Intuition can be misleading. 52 × 3 (156) might look bigger than 32 × 5 (160), but calculation proves otherwise. Algebra provides a reliable path.

Brain-Teaser Questions

  1. Using the digits 4, 5, and 8, what is the smallest possible product in the form __ × _?

    💡 Answer: To find the smallest product, we reverse the logic. The smallest digit (4) should be the multiplier. The remaining digits (5, 8) should form the smallest possible multiplicand, which is 58. So, the product is 58 × 4 = 232.

  2. You are given four digits: 1, 5, 6, 9. What is the largest product you can make in the form ___ × _?

    💡 Answer: Apply the same core logic. The largest digit (9) should be the single-digit multiplier for maximum effect. The remaining digits (1, 5, 6) should be arranged in descending order to form the largest possible three-digit multiplicand: 651. The product is 651 × 9 = 5859.

  3. Using the digits 1, 2, 3, 4, and 5, find the largest product in the form ___ × __.

    💡 Answer: Similar to the __ × __ problem, we want the largest digits (5 and 4) in the most significant places (the hundreds place of the 3-digit number and the tens place of the 2-digit number). So we have 5__ × 4_. To distribute the remaining digits (1, 2, 3), we pair the largest leading digit with the smallest remaining digits and vice-versa (a cross-pairing strategy). This gives us 521 × 43 vs 531 x 42 vs 532 x 41 etc. The best strategy is to put the next largest digits (3 and 2) in the next most significant places (the tens and units places). Let's try 531 × 42 (22302) vs 521 × 43 (22403). The largest product is 521 × 43 = 22403.

Mini Cheatsheet

ConceptRule / FormulaExample (Digits: 2, 3, 5)
Problem TypeMaximize product __ × _ from 3 distinct digits.Given 2, 3, 5, find the max product.
Digit OrderingLet p < q < r.p=2, q=3, r=5.
The RuleLargest digit (r) is the multiplier. Remaining digits (q, p) form the multiplicand in descending order.Multiplier = 5. Multiplicand = 32.
Algebraic FormThe largest product is (10q + p) × r.(10×3 + 2) × 5
Final Calculationqp × r32 × 5 = 160

Decoding Divisibility Tricks & Summary

Page 5: Decoding Divisibility Tricks & Summary

Concept Introduction

Have you ever seen a magic trick with numbers and wondered, "How did they do that?" Many of these tricks aren't magic at all; they're clever applications of algebra. Algebra acts like a secret key, unlocking the hidden patterns and rules that numbers must follow. By representing unknown numbers with variables like a, b, and x, we can prove why these tricks work every single time, for any number you choose.

For example, when a cashier scans a barcode, a computer performs a quick algebraic check to see if the number is valid. This prevents errors from a smudged or misprinted code. In this lesson, we will become the magicians and the detectives. We'll use algebra to decode some fascinating number tricks and solve puzzling real-world problems, proving that algebra is a powerful tool for understanding the world around us.

{{FORMULA: expr=10a + b | symbols=a:tens digit, b:units digit}}

Definitions & Formulas

Understanding how to represent numbers algebraically is the first step. This is called writing a number in its generalized form.

Variable / TermMeaningExample (for number 47)
aThe digit in the tens place.a = 4
bThe digit in the units place.b = 7
abA two-digit number (NOT a × b).47
10a + bThe value of the two-digit number ab.10 × 4 + 7 = 47
baThe number formed by reversing the digits of ab.74
10b + aThe value of the reversed number ba.10 × 7 + 4 = 74
abcA three-digit number.123
100a + 10b + cThe value of the three-digit number abc.100×1 + 10×2 + 3 = 123

Derivation: The 3-Digit Cyclic Sum Trick

Let's prove why the sum of a 3-digit number and its cyclic shifts is always divisible by 3 and 37.

  1. First, let's represent the original 3-digit number abc in its generalized algebraic form.

    Number 1 = 100a + 10b + c
    
  2. Next, we cycle the digits. The digit a moves to the end, giving us the number bca. Let's write its algebraic form.

    Number 2 = 100b + 10c + a
    
  3. We cycle the digits one more time. The digit b moves to the end, giving us the number cab. Let's write its algebraic form.

    Number 3 = 100c + 10a + b
    
  4. Now, let's find the sum of these three numbers by adding their algebraic forms.

    Sum = (100a + 10b + c) + (100b + 10c + a) + (100c + 10a + b)
    
  5. We group the like terms (a's, b's, and c's) together.

    Sum = (100a + a + 10a) + (10b + 100b + b) + (c + 10c + 100c)
    Sum = 111a + 111b + 111c
    
  6. Finally, we can factor out the common term, which is 111.

    Sum = 111 × (a + b + c)
    

Since 111 = 3 × 37, the sum can be written as 3 × 37 × (a + b + c). This proves that the sum is always a multiple of 3 and 37, no matter what digits you choose for a, b, and c!

Solved Examples

Example 1: The Sum of a 2-Digit Number and its Reverse (Easy)

Given: A 2-digit number is chosen, its digits are reversed to form a new number, and the two numbers are added. For example, 28 becomes 82, and their sum is 28 + 82 = 110.

To Find: Show that the sum is always divisible by 11.

Solution:

  1. Let the original two-digit number be ab. In generalized form, its value is 10a + b.

  2. When we reverse the digits, we get the number ba. Its value is 10b + a.

  3. Now, let's find the sum of these two numbers.

    Sum = (10a + b) + (10b + a)
    
  4. Group the like terms together.

    Sum = (10a + a) + (10b + b)
    Sum = 11a + 11b
    
  5. Factor out the common factor, 11.

    Sum = 11 × (a + b)
    

Since the sum is expressed as 11 multiplied by another integer (a + b), it is always divisible by 11.

Final Answer: The sum is 11(a+b), which is always divisible by 11.


Example 2: The Six-Digit Repetition Trick (Medium)

Given: A 3-digit number abc is repeated to form a 6-digit number abcabc.

To Find: Show algebraically that this 6-digit number is always divisible by 7, 11, and 13.

Solution:

  1. Let's write the 6-digit number abcabc in its expanded place value form.

    abcabc = (abc × 1000) + abc
    

    For example, 456456 is 456000 + 456.

  2. We can see that abc is a common factor in both terms. Let's factor it out.

    abcabc = abc × (1000 + 1)
    
  3. Simplify the expression inside the parentheses.

    abcabc = abc × 1001
    
  4. Now, let's check the prime factors of 1001. We can do this by trial division.

    • 1001 ÷ 7 = 143
    • 143 ÷ 11 = 13
    • 13 ÷ 13 = 1
  5. So, the prime factorization of 1001 is 7 × 11 × 13. Substitute this back into our equation.

    abcabc = abc × (7 × 11 × 13)
    

This proves that the number abcabc is always a product of the original number abc and 7, 11, and 13. Therefore, it is always divisible by 7, 11, and 13.

Final Answer: The number abcabc can be written as abc × 7 × 11 × 13, proving it is always divisible by 7, 11, and 13.


Example 3: The Farm Animals Puzzle (Hard)

Given: A farm has horses and hens. The total number of heads is 55, and the total number of legs is 150.

To Find: The number of horses and hens on the farm.

Solution:

  1. Let h be the number of horses and c be the number of hens (chickens).

  2. Each animal has exactly one head. So, the total number of heads gives us our first equation.

    h + c = 55
    
  3. Horses have 4 legs and hens have 2 legs. The total number of legs gives us our second equation.

    4h + 2c = 150
    
  4. From the first equation, we can express c in terms of h.

    c = 55 - h
    
  5. Now, substitute this expression for c into the second equation.

    4h + 2(55 - h) = 150
    
  6. Solve this equation for h. First, distribute the 2.

    4h + 110 - 2h = 150
    
  7. Combine the h terms and solve for h.

    2h + 110 = 150
    2h = 150 - 110
    2h = 40
    h = 20
    
  8. Now that we know there are 20 horses, we can find the number of hens using the first equation.

    c = 55 - h
    c = 55 - 20
    c = 35
    

Final Answer: There are 20 horses and 35 hens on the farm.


Example 4: Karim and the Genie (Tricky)

Given: Karim goes around a tree 3 times. Each time, his money doubles, and then he gives 8 coins to a genie. At the end, he has exactly 8 coins left to give to the genie (meaning he has 0 after the last payment).

To Find: The number of coins Karim had initially.

Solution: This problem is best solved by working backward from the end.

  1. After the 3rd round: Before giving the last 8 coins, Karim had exactly 8 coins. This was after his money had doubled. So, before the 3rd doubling, he must have had 8 ÷ 2 = 4 coins.

    Coins before 3rd doubling = 8 ÷ 2 = 4
    
  2. After the 2nd round: The 4 coins he had was the amount after he gave the genie 8 coins from the second round. So, before giving the 8 coins, he had 4 + 8 = 12 coins.

    Coins after 2nd doubling = 4 + 8 = 12
    
  3. This amount of 12 coins was what he had after his money doubled in the second round. So, before the 2nd doubling, he had 12 ÷ 2 = 6 coins.

    Coins before 2nd doubling = 12 ÷ 2 = 6
    
  4. After the 1st round: The 6 coins he had was the amount after he gave the genie 8 coins from the first round. So, before giving the 8 coins, he had 6 + 8 = 14 coins.

    Coins after 1st doubling = 6 + 8 = 14
    
  5. This amount of 14 coins was what he had after his money doubled in the first round. So, before the 1st doubling (which is his initial amount), he had 14 ÷ 2 = 7 coins.

    Initial coins = 14 ÷ 2 = 7
    

Final Answer: Karim initially had 7 coins.

Tips & Tricks

These shortcuts can help you solve problems involving number properties much faster.

TrickExplanationExample
2-Digit Difference QuotientWhen you subtract a 2-digit number ab and its reverse ba, the result is 9 × (a-b). The quotient when divided by 9 is simply the difference between the digits.Number: 74. Reverse: 47. Difference: 27. 27 ÷ 9 = 3. The digits are 7 and 4, and 7 - 4 = 3.
The 1001 FactorAny number of the form abcabc is just abc × 1001. This means you can instantly check for divisibility by 7, 11, and 13.352352 ÷ 11 = ? You know 352352 = 352 × 1001 = 352 × 7 × 11 × 13. So the answer is 352 × 7 × 13 = 32032.
Sum of Digits CheckTo check if a large sum (like abc + bca + cab) is divisible by 3 or 9, you just need to check if the sum of the digits (a+b+c) is divisible by 3 or 9.123 + 231 + 312 = 666. The sum of digits is 1+2+3 = 6. Since 6 is divisible by 3, 666 is also divisible by 3.

Common Mistakes

Be careful to avoid these common errors when translating problems into algebra.

❌ Wrong Approach✅ Right ApproachWhy it's a Mistake
Writing a 2-digit number ab as a × b.A 2-digit number ab is 10a + b.ab is a notation for place value, not multiplication. For the number 52, 5 × 2 = 10, but the number's value is 10 × 5 + 2 = 52.
Translating "5 times a number increased by 6" as 5(x + 6).This phrase translates to 5x + 6.5(x + 6) means "5 times the sum of a number and 6". The order of operations is crucial.
In age problems, adding years to the wrong term: If a mother is 5x years old and daughter is x, in 6 years mother will be 5x + 6 and daughter x + 6.A common error is writing 5(x+6). That would mean the mother is 5 times the daughter's future age.The age of each person increases independently. Add the years to each person's current age expression.
Forgetting to work backward in problems like the Genie one.Start from the final known value and reverse each operation. Addition becomes subtraction, multiplication becomes division.Trying to solve it forward requires guessing the starting number, which is inefficient and prone to errors.

Brain-Teaser Questions

  1. Take any 4-digit palindromic number (a number that reads the same forwards and backwards, like 4224). Prove, using algebra, why it must always be divisible by 11.

    💡 Answer: A 4-digit palindrome can be written as abba. In generalized form, this is 1000a + 100b + 10b + a. Combining like terms gives 1001a + 110b. We can factor this as (11 × 91)a + (11 × 10)b. Since 11 is a common factor, we get 11 × (91a + 10b). This proves the number is always divisible by 11.

  2. A father is 24 years older than his son. In 2 years, the father's age will be twice the son's age. What is the son's current age?

    💡 Answer: Let the son's current age be s. The father's current age is s + 24. In 2 years, the son will be s + 2 and the father will be (s + 24) + 2 = s + 26. The problem states s + 26 = 2 × (s + 2). This simplifies to s + 26 = 2s + 4. Solving for s, we get 22 = s. The son is currently 22 years old.

  3. You enter a magic room with some money. The rule is: every time you leave and re-enter, your money triples, but a tax of 60 rupees is collected. You enter, leave, and re-enter a second time. After the second tax, you find you have the exact same amount of money you started with. How much money did you start with?

    💡 Answer: Let the starting money be x. After 1st re-entry: Money becomes 3x - 60. After 2nd re-entry: Money becomes 3 × (3x - 60) - 60. This final amount is equal to the start amount x. So, 3(3x - 60) - 60 = x. 9x - 180 - 60 = x 9x - 240 = x 8x = 240 x = 30. You started with 30 rupees.

Mini Cheatsheet

ConceptAlgebraic FormKey Property
2-Digit Number10a + bRepresents place value.
Difference of Reversals(10a+b) - (10b+a)Equals 9(a-b), always divisible by 9.
Sum of Reversals(10a+b) + (10b+a)Equals 11(a+b), always divisible by 11.
3-Digit Cyclic Sumabc + bca + cabEquals 111(a+b+c), divisible by 3 & 37.
6-Digit RepetitionabcabcEquals 1001 × abc, divisible by 7, 11, & 13.

In this chapter

  • 1.Algebra Play & Thinking about ‘Think of a Number’ Tricks
  • 2.Number Pyramids
  • 3.Fun with Grids
  • 4.The Largest Product
  • 5.Decoding Divisibility Tricks & Summary

Frequently asked questions

What is Algebra Play & Thinking about ‘Think of a Number’ Tricks?

Have you ever seen a magician guess a number you were secretly thinking of? It feels like magic, but often, the secret isn't mind-reading—it's mathematics! **Algebra** is the tool that lets us understand, and even create, these fascinating number puzzles. By representing the "secret number" with a letter, like `x`, we

What is Number Pyramids?

Welcome to the intriguing world of Number Pyramids! This is a fantastic puzzle where logic and algebra meet. At first glance, it might seem like a simple addition game, but as we dig deeper, you'll see how these pyramids are a perfect playground for honing your algebraic skills.

What is Fun with Grids?

Have you ever noticed the hidden patterns in everyday things like a calendar or a game board? It turns out that algebra is the perfect tool to uncover these secrets! It's like having a secret decoder that can turn puzzles and games into simple equations we can solve.

What is The Largest Product?

Have you ever wondered if there's a "best" way to arrange numbers to get a certain result? Imagine a baker has 3 different sized trays that can hold 4, 6, and 8 cookies respectively. She needs to make a large batch for a party and decides to bake 46 batches of 8 cookies. Her friend suggests it might be better to bake 8

What is Decoding Divisibility Tricks & Summary?

Have you ever seen a magic trick with numbers and wondered, "How did they do that?" Many of these tricks aren't magic at all; they're clever applications of **algebra**. Algebra acts like a secret key, unlocking the hidden patterns and rules that numbers must follow. By representing unknown numbers with variables like

More chapters in CBSE Class 8 Mathematics

Want the full CBSE Class 8 Mathematics experience?

Every chapter. Interactive lessons. AI tutor on tap. Study Lab for any photo or PDF. 7-day free trial — no credit card.

1000s of students
100% NCERT-aligned
Powered by AI

Install Learn Skill

Add to home screen for the best experience