PART IV — ALGEBRA
Patterns, Variables, Constants, Writing and Evaluating Expressions, Formulas
and First Equations
1. See how algebra grows out of number patterns.
2. Understand variables (letters for changing quantities) and constants.
3. Translate word statements into algebraic expressions.
4. Follow the standard rules of algebraic notation.
5. Evaluate expressions by substituting integers and rational numbers.
6. Use and build formulas for perimeter, area, interest and speed.
7. Recognise an equation and solve simple ones by inspection and trial.
8. Use algebra to PROVE general facts about numbers.
9. Appreciate India’s contribution: Brahmagupta and Bhaskara II’s Bijaganita.
10. Solve olympiad-style number tricks and identities using algebra.
34.1 From Patterns to Algebra
Algebra begins when we notice a pattern and describe it for EVERY case at once, using a letter instead of a particular number.
| Matchstick pattern | n = 1 | n = 2 | n = 3 | n = 4 | Rule |
|---|---|---|---|---|---|
| Letter L shapes | 2 | 4 | 6 | 8 | 2n |
| Row of triangles (sharing sides) | 3 | 5 | 7 | 9 | 2n + 1 |
| Row of squares (sharing sides) | 4 | 7 | 10 | 13 | 3n + 1 |
| Letter C shapes | 3 | 6 | 9 | 12 | 3n |
| Row of pentagons (sharing sides) | 5 | 9 | 13 | 17 | 4n + 1 |
WHY 3n + 1 FOR SQUARES? The first square needs 4 sticks; each new square shares one side, so it adds only 3. Total = 4 + 3(n − 1) = 3n + 1.
A RULE LETS US ANSWER ANY QUESTION:
Sticks for 50 squares = 3 × 50 + 1 = 151.
Squares made with 100 sticks: 3n + 1 = 100 → n = 33.
34.2 Variables and Constants
VARIABLE: a letter that stands for a quantity which can take different values.
n = number of squares; x = an unknown number; t = time.
CONSTANT: a quantity with a fixed value. 5, −3/4, π are constants.
In 2n + 1: n is the variable; 2 and 1 are constants.
In the area formula A = l × b: A, l, b are variables.
In the circumference C = 2πr: 2 and π are constants; C and r are variables.
WHY LETTERS? A letter is a placeholder that says "this works for ANY value".
34.3 Writing Expressions from Words
| Words | Expression |
|---|---|
| 5 more than x | x + 5 |
| 7 less than y | y − 7 |
| y less than 7 | 7 − y |
| twice a number n | 2n |
| one-third of p | p/3 |
| 3 more than twice m | 2m + 3 |
| the square of k, decreased by 4 | k² − 4 |
| the sum of a and b, divided by 2 | (a + b)/2 |
| the product of x and y, increased by 1 | xy + 1 |
| three consecutive integers starting at n | n, n + 1, n + 2 |
⚠ Common Mistake: "7 less than y" is y − 7, but "y less than 7" is 7 − y. The phrase "less than"
REVERSES the order you read it in. Always ask: less than WHAT?
34.4 Rules of Algebraic Notation
1. The multiplication sign is dropped: 3 × x = 3x, a × b = ab.
2. The number is written first: x × 5 = 5x (not x5).
3. A coefficient of 1 is not written: 1x = x; −1x = −x.
4. Repeated multiplication uses powers: x × x = x²; y × y × y = y³.
5. Division is written as a fraction: a ÷ 4 = a/4.
6. Letters are usually written in alphabetical order: b × a × 2 = 2ab.
7. Brackets group quantities: 3 × (x + 2) = 3(x + 2).
CAREFUL: 2x² means 2 × x × x, but (2x)² means 2x × 2x = 4x².
3x means 3 × x, NOT a two-digit number "3x".
34.5 Evaluating Expressions (Substitution)
| SUBSTITUTE | Replace each letter by its value, then use BODMAS |
Step 1: Write the expression and put each value in BRACKETS, especially negative numbers.
Step 2: Do powers first, then multiplication/division, then addition/subtraction.
Step 3: Simplify fractions at the end.
3x² − 2x + 5 at x = −2: 3(−2)² − 2(−2) + 5 = 12 + 4 + 5 = 21.
3x² − 2x + 5 at x = 1/2: 3(1/4) − 1 + 5 = 3/4 + 4 = 19/4.
(a + b)/(a − b) at a = 3/4, b = −1/4: (1/2)/(1) = 1/2.
x² + y² at x = −3, y = 4: 9 + 16 = 25.
⚠ Common Mistake: Always bracket negative values: for x = −2, x² = (−2)² = 4, but writing −2²
gives −4.
34.6 Formulas
| Quantity | Formula | Meaning of letters |
|---|---|---|
| Perimeter of rectangle | P = 2(l + b) | l length, b breadth |
| Area of rectangle | A = lb | |
| Perimeter of square | P = 4s | s side |
| Perimeter of regular polygon | P = ns | n sides of length s |
| Simple interest | SI = PRT/100 | P principal, R rate %, T years |
| Speed | s = d/t | d distance, t time |
| Fahrenheit from Celsius | F = 9C/5 + 32 | C degrees Celsius |
| Sum 1 + 2 + … + n | S = n(n + 1)/2 | n number of terms |
34.7 A First Look at Equations
An EXPRESSION has no "=" sign: 3x + 5.
An EQUATION states that two expressions are equal: 3x + 5 = 20.
A SOLUTION is a value that makes the equation true.
BY INSPECTION / TRIAL: 3x + 5 = 20.
x = 4: 17 (too small). x = 5: 20 . Solution x = 5.✓
THE BALANCE IDEA: an equation is like a balanced scale. Whatever you do to one side, do to the other, and it stays balanced. Systematic solving follows in later chapters.
AN IDENTITY is true for EVERY value: 2(x + 3) = 2x + 6.
WORKED EXAMPLES
Section A: Easy Problems
Problem 1: A row of hexagons sharing sides uses 6, 11, 16, … matchsticks. Find the rule and the sticks needed for 20 hexagons.
✔ Solution
Each new hexagon adds 5 sticks: 6 + 5(n − 1) = 5n + 1.
For n = 20: 5 × 20 + 1 = 101 sticks.
Problem 2: Write expressions: (a) 4 less than three times p (b) the cost of x pens at Rs.12 each and 2 notebooks at Rs.45 each (c) half the sum of m and n.
✔ Solution
(a) 3p − 4 (b) 12x + 90 (c) (m + n)/2
Problem 3: Evaluate 3x² − 2x + 5 for x = −2 and x = 1/2.
✔ Solution
x = −2: 12 + 4 + 5 = 21. x = 1/2: 3/4 − 1 + 5 = 19/4.
Problem 4: Ravi is x years old. His father is 4 years more than three times Ravi’s age. Write both ages after 5 years.
✔ Solution
Father now: 3x + 4. After 5 years: Ravi x + 5, father 3x + 9.
Problem 5: Find the perimeter formula of a regular octagon of side s, and its value when s = 2.5 cm.
✔ Solution
P = 8s = 8 × 2.5 = 20 cm.
Problem 6: Solve by trial: (a) 3x + 5 = 20 (b) x/4 − 2 = 1 (c) 10 − 2y = 4.
✔ Solution
(a) x = 5 (b) x = 12 (12/4 − 2 = 1) (c) y = 3 (10 − 6 = 4)
Section B: Medium Problems
Problem 7: Dots arranged in triangles: 1, 3, 6, 10, … Find the rule for the nth triangle.
✔ Solution
Row k has k dots, so the nth triangle has 1 + 2 + … + n dots.
Pair the first and last rows: n(n + 1)/2. Check n = 4: 4 × 5/2 = 10. ✓
Problem 8: Prove that the sum of two consecutive odd numbers is always a multiple of 4.
✔ Solution
Consecutive odd numbers: 2n − 1 and 2n + 1. Sum = 4n, a multiple of 4. QED
Problem 9: "Think of a number, double it, add 10, halve the result, subtract your original number." Show the answer is always 5.
✔ Solution
n → 2n → 2n + 10 → n + 5 → (n + 5) − n = 5. The answer never depends on n.
Problem 10: On a calendar, a 3 × 3 block of dates is chosen. Show the sum of the nine dates is 9 times the middle date.
✔ Solution
Middle m. Rows: m − 8, m − 7, m − 6; m − 1, m, m + 1; m + 6, m + 7, m + 8.
All the ± parts cancel: total = 9m.
Problem 11: A purse has x five-rupee coins and twice as many two-rupee coins. Write the total value and find it when x = 12.
✔ Solution
Value = 5x + 2(2x) = 9x rupees. For x = 12: Rs.108.
Problem 12: Convert 25°C and −40°C to Fahrenheit using F = 9C/5 + 32.
✔ Solution
25°C: 45 + 32 = 77°F. −40°C: −72 + 32 = −40°F (the one temperature where both scales agree).
Section C: Challenge Problems
Challenge Problem 13: Find a formula for the sum of n consecutive integers starting at a.
✔ Solution
a + (a + 1) + … + (a + n − 1) = na + (0 + 1 + … + (n − 1)) = na + n(n − 1)/2.
Check a = 3, n = 4: 3 + 4 + 5 + 6 = 18 = 12 + 6. ✓
Challenge Problem 14: Prove that a two-digit number minus its reverse is always divisible by 9.
✔ Solution
Number = 10a + b; reverse = 10b + a. Difference = 9a − 9b = 9(a − b). QED
Example: 72 − 27 = 45 = 9 × 5.
Challenge Problem 15: Show (n + 1)² − n² = 2n + 1, and use it to write 15 and 101 as differences of two squares.
✔ Solution
(n + 1)² − n² = n² + 2n + 1 − n² = 2n + 1.
15 = 2(7) + 1 = 8² − 7². 101 = 2(50) + 1 = 51² − 50².
So every odd number is a difference of two consecutive squares.
Challenge Problem 16: Prove that the product of a number and the next one, plus the next one, is a perfect square: n(n + 1) + (n + 1).
✔ Solution
n(n + 1) + (n + 1) = (n + 1)(n + 1) = (n + 1)².
Example n = 6: 42 + 7 = 49 = 7². ✓
OLYMPIAD CORNER
Olympiad Problem O-1: If x + y = 10 and xy = 21, find x² + y² without finding x and y.
✔ Solution
(x + y)² = x² + 2xy + y², so x² + y² = 100 − 42 = 58.
(Check: x, y = 3, 7 → 9 + 49 = 58.)
Olympiad Problem O-2: The 1089 trick: take a 3-digit number abc with a − c ≥ 2, subtract its reverse, then add the result to its own reverse. Prove you always get 1089.
✔ Solution
abc − cba = 99(a − c). With d = a − c (2 ≤ d ≤ 9), 99d is a 3-digit number with digits (d − 1), 9, (10 − d).
Its reverse has digits (10 − d), 9, (d − 1). Sum = 100·9 + 10·18 + 9 = 900 + 180 + 9 = 1089. QED
Olympiad Problem O-3: Prove that the sum of the first n odd numbers is n².
✔ Solution
From Problem 15: 1 = 1² − 0², and each odd number 2k + 1 = (k + 1)² − k².
So 1 + 3 + 5 + … + (2n − 1) telescopes: (1² − 0²) + (2² − 1²) + … + (n² − (n − 1)²) = n². QED
BRAIN TEASERS
Brain Teaser 1
I am a number. Double me and add 7 to get 31. Who am I?
Answer: 2x + 7 = 31 → x = 12.
Brain Teaser 2
Does 2x always mean the same as x²?
Answer: No. For x = 3: 2x = 6 but x² = 9. They agree only at x = 0 and x = 2.
Brain Teaser 3
If a = 2b and b = 3c, write a in terms of c.
Answer: a = 2(3c) = 6c.
Brain Teaser 4
Which is greater for x = 1/2: x, x² or √x?
Answer: x² = 1/4 < x = 1/2 < √x ≈ 0.707. For numbers between 0 and 1, squaring makes them SMALLER.
Brahmagupta (628 AD) called algebra "avyakta-ganita" — calculation with the unknown — and named unknowns by colours: "kalaka" (black), "nilaka" (blue), "pitaka" (yellow).
The first unknown was "yavat-tavat" ("as much as so much"), abbreviated "ya".
Bhaskara II’s "Bijaganita" (1150 AD) is a complete algebra textbook, including
equations, negative numbers and identities.
The word ALGEBRA comes from the Arabic "al-jabr" in al-Khwarizmi’s book (~820 AD).
Using x for an unknown was made popular by René Descartes (1637).
PRACTICE EXERCISE 34.A — Easy
1. Write the rule for patterns needing 4, 7, 10, 13, … sticks, and for 20 shapes.
2. Write expressions: (a) 9 less than n (b) n less than 9 (c) the square of (p + q) (d) one-quarter of the product of a and b.
3. Write in standard notation: (a) y × 7 × x (b) a × a × a × b (c) m ÷ 5 (d) 1 × p − 1 × q.
4. Evaluate 2a² − 3a + 1 for a = 3, −1, 1/2.
5. Find the perimeter of a rectangle with l = 2x + 1 and b = x − 2.
6. Solve by trial: (a) 4x − 3 = 21 (b) 5 + y/3 = 9.
PRACTICE EXERCISE 34.B — Medium
1. A school orders x boxes of 24 pencils and y boxes of 12 erasers. Write the total number of items.
2. Show that the sum of three consecutive integers is always divisible by 3.
3. Find the simple interest on Rs.P at 8% for 3 years, then evaluate for P = 12,500.
4. Pattern: 1, 4, 9, 16, … Write the nth term and the 25th term.
5. If x = −1/2 and y = 2/3, evaluate (x + y)/(x − y).
6. Write a formula for the number of handshakes when n people each shake hands once with everyone else.
PRACTICE EXERCISE 34.C — Challenge
1. Prove the sum of any five consecutive integers is divisible by 5.
2. Prove that a 3-digit number minus its reverse is divisible by 99.
3. If a + b = 7 and ab = 10, find a² + b² and (a − b)².
4. Show that n² − n is always even.
ANSWER KEY — CHAPTER 34
Exercise 34.A
1. 3n + 1; 61 sticks. 2. (a) n − 9 (b) 9 − n (c) (p + q)² (d) ab/4. 3. (a) 7xy (b) a³b (c) m/5 (d) p − q. 4. a = 3: 10; a = −1: 6; a = 1/2: 0. 5. 2(3x − 1) = 6x − 2. 6. (a) 6 (b) 12.
Exercise 34.B
1. 24x + 12y. 2. (n − 1) + n + (n + 1) = 3n. 3. SI = 24P/100 = 6P/25; Rs.3,000. 4. n²; 625. 5. x + y = 1/6, x − y = −7/6, ratio −1/7. 6. n(n − 1)/2.
Exercise 34.C (notes)
1. Sum = 5n + 10 = 5(n + 2). 2. 100a + 10b + c − (100c + 10b + a) = 99(a − c). 3. a² + b² = 49 − 20 = 29; (a − b)² = 29 − 20 = 9. 4. n² − n = n(n − 1), a product of consecutive integers, so even.
CHAPTER 34 — NEW TERMS FOR GLOSSARY
| Term | Definition |
|---|---|
| Algebra | The branch of mathematics that uses letters to describe general rules and |
unknowns.
| Variable | A letter standing for a quantity that can change, e.g. n, x, t. |
| Constant | A fixed value, e.g. 5, −3/4, π. |
| Expression | A combination of numbers, letters and operations with no "=" sign, e.g. 3x + |
5.
| Formula | A rule linking quantities, e.g. A = lb. |
| Equation | A statement that two expressions are equal, true only for certain values. |
| Identity | An equation true for every value of the variable, e.g. 2(x + 3) = 2x + 6. |
| Substitution | Replacing letters by numbers to evaluate an expression. |
| Bijaganita | Bhaskara II’s algebra text (1150 AD); "bija" means seed — the unknown. |