Loading

Chapter 4

Exploring Algebraic Identities

An identity is an equation that is true for every number you put in it. In this chapter you will see identities as pictures of squares, rectangles and cubes, prove them with the distributive property, and use them to square numbers in your head, to factorise expressions, and to simplify algebraic fractions, one careful step at a time.

  • What an identity is, and how it differs from an equation
  • (a + b)², (a − b)² and (a + b + c)² as pictures of squares and rectangles, and why they hold for every number
  • How to square and multiply numbers in your head, including Śrīdharācārya's method
  • How to factorise with identities: perfect squares and the difference of two squares
  • How algebra tiles show products and factors, and how to split the middle term without them
  • The cube identities, with a cube cut into two cubes and six cuboids
  • x³ + y³ + z³ − 3xyz and how to use it
  • How to simplify algebraic fractions by cancelling common factors
Class 9, MathematicsOpen the original PDF

StartBefore you start: ten ideas you already know

This chapter is about algebraic identities: rules that are true for every number you put in them. To follow it comfortably you need ten ideas from earlier classes. Each one is refreshed below with a small example. If one of them feels unfamiliar, slow down on it now; the later pages lean on all of them.

1. Terms, like terms and coefficients

In 3x² + 5x − 7, the terms are 3x², 5x and −7 (each with the sign in front of it). The number in front of the letters is the coefficient: 3 for x² and 5 for x. Like terms have exactly the same letters with the same powers, and only like terms can be added into one: 4ab + 2ab = 6ab, but 4ab + 2a² stays as it is.

2. Multiplying terms

To multiply two terms, multiply the numbers and then multiply the letters. When the same letter appears in both, add its powers, because x² × x = (x × x) × x = x³.

  • 3x × 4x = 12x² and 2a × 5b = 10ab.
  • x² × x = x³ and 2a²b × 3ab = 6a³b².
  • ab and ba are the same term, because a × b = b × a. So ab + ba = 2ab.

3. Squaring and cubing a whole term

When you square a term, everything in it is squared: the number and the letters. (5x)² = 5x × 5x = 25x², not 5x². In the same way (2y)³ = 2y × 2y × 2y = 8y³.

Signs matter too. (−3)² = (−3) × (−3) = 9, because two negatives make a positive. But (−3)³ = (−3) × (−3) × (−3) = −27: an odd number of negatives leaves a negative. Fractions follow the same rule: (2/3)² = 4/9 and (x/2)² = x²/4.

4. The distributive property: multiplying out brackets

To multiply a sum by a number, multiply each part: a(b + c) = ab + ac. For example 3(x + 5) = 3x + 15.

To multiply two brackets, multiply each term of the first by each term of the second, and add the results: (a + b)(c + d) = ac + ad + bc + bd. With numbers: 13 × 12 = (10 + 3)(10 + 2) = 100 + 20 + 30 + 6 = 156. Every identity in this chapter can be proved this way.

5. Taking out a common factor

Going backwards from the distributive property is called factorising. If every term has the same factor, write it once outside a bracket: 6x + 9 = 3(2x + 3), because 6x = 3 × 2x and 9 = 3 × 3. And 2x² + 4x = 2x(x + 2). Check by multiplying out again.

6. Factor pairs of a number

A factor pair of 12 is two numbers that multiply to 12: 1 and 12, 2 and 6, 3 and 4. With negatives there are more: −3 and −4 also multiply to 12, and they add up to −7. In section 4.6 we search factor pairs for one with a given sum.

7. Areas and volumes

The area of a rectangle is length × breadth, and the area of a square of side a is a × a = a². The volume of a cuboid is length × breadth × height, and the volume of a cube of edge a is a × a × a = a³. This is why we read a² as "a squared" and a³ as "a cubed".

8. Some squares and cubes

It helps to know these by heart: 11² = 121, 12² = 144, 13² = 169, 14² = 196, 15² = 225, 16² = 256, 17² = 289, 18² = 324, 19² = 361, 20² = 400. And the cubes 2³ = 8, 3³ = 27, 4³ = 64, 5³ = 125, 10³ = 1000.

9. An equation (Chapter 2)

An equation says two expressions are equal. Usually it is true only for some values: 2x + 10 = 64 is true only when x = 27. Keep this in mind; an identity, coming next, is different.

10. Never divide by zero (Chapter 3)

Division by zero has no answer. So a fraction such as 5/(x − 4) makes no sense when x = 4. In section 4.8, every fraction with letters comes with the condition that its bottom is not 0.

By the end of this chapter you will be able to

  • say what an identity is, and how it differs from an equation;
  • see (a + b)², (a − b)², (a + b + c)² and (a + b)³ as pictures of squares, rectangles and cubes;
  • prove identities with the distributive property, and use them to expand brackets;
  • square and multiply numbers quickly in your head, including Śrīdharācārya's method;
  • factorise expressions with identities, algebra tiles, and by splitting the middle term;
  • use the cube identities, including x³ + y³ + z³ − 3xyz;
  • simplify algebraic fractions by cancelling common factors.

4.1Introduction: a pattern that always gives 2

In earlier chapters you learnt about linear polynomials, and how they describe and solve real-life problems. You also met linear equations and saw how they describe relationships between quantities. In this chapter we take the next step: algebraic identities. These are special rules that make complicated calculations easier, and help us work quickly and correctly with algebraic expressions.

Let us begin by exploring a few simple patterns.

Example 1: three consecutive squares

The square numbers are 1, 4, 9, 16, 25, 36, 49, …, that is, 1², 2², 3², 4², … Take any three consecutive ones (next to each other in this list), such as 1, 4 and 9. Now follow a rule:

  1. Add the smallest and the largest: 1 + 9 = 10.
  2. Subtract twice the middle one: 10 − (2 × 4) = 10 − 8 = 2.

Try the same rule on other sets of three consecutive squares:

Three consecutive squaresSmallest + largest2 × middleResult
1, 4, 91 + 9 = 102 × 4 = 82
9, 16, 259 + 25 = 342 × 16 = 322
25, 36, 4925 + 49 = 742 × 36 = 722
100, 121, 144100 + 144 = 2442 × 121 = 2422

The result always seems to be 2! The pattern looks surprising. Soon, in section 4.3, algebra will show us the reason, and prove that it works for every set of three consecutive squares, not just the ones we tried.

Checking is not proving

Trying four sets and getting 2 each time makes us believe the pattern. But there are infinitely many sets of three consecutive squares, and we can never try them all. A proof is an argument that covers every case at once. Algebra gives us such arguments: one letter, n, stands for every number at the same time.

Think and Reflect. Try and find other patterns like this one. For example, you could consider 4 consecutive squares and see if you can find a pattern.Tap to reveal

The plan: Take four consecutive squares and try simple combinations of adding and subtracting; keep any combination that always gives the same answer.

  1. Try 1, 4, 9, 16. Add the first and the last, and subtract the two middle ones: 1 + 16 − 4 − 9 = 17 − 13 = 4.
  2. Try 4, 9, 16, 25: 4 + 25 − 9 − 16 = 29 − 25 = 4.
  3. Try 16, 25, 36, 49: 16 + 49 − 25 − 36 = 65 − 61 = 4.
  4. So for four consecutive squares, (first + last) − (the two middle ones) always seems to be 4.
  5. Another pattern: the largest minus the next, minus the next, plus the smallest: 16 − 9 − 4 + 1 = 4, and 49 − 36 − 25 + 16 = 4. It is the same combination written in a different order.
  6. A proof comes once we have the identity (a + b)² in section 4.2: with the squares n², (n + 1)², (n + 2)², (n + 3)², the combination n² + (n + 3)² − (n + 1)² − (n + 2)² works out to exactly 4 for every n.

For four consecutive squares, adding the first and last and subtracting the two middle ones always gives 4.

Check: With the next four, 25 + 64 − 36 − 49 = 89 − 85 = 4. Correct again.

Check yourself

What is the difference between checking a pattern and proving it?Tap to reveal

The plan: Compare what each one covers.

  1. Checking means trying some examples. It can make a pattern believable, and one failed example can show the pattern is false.
  2. But checking can never cover all the infinitely many cases.
  3. Proving means giving an argument, usually with letters, that works for every case at once.

Checking tests some cases; proving shows, with letters, that every case works.

When you are stuck: spotting why a pattern works

Try more cases. Work out the pattern for three or four sets of numbers, including large ones and negative ones.

Name the middle number. Call the middle square's number n; then the others are n − 1 and n + 1.

Expand and simplify. Once everything is written with n, multiplying out shows why the answer is always the same.

In one line

For any three consecutive squares, smallest + largest − 2 × middle = 2; algebra will prove why.

4.2Visualising identities: (a + b)² as a picture

In this section we revisit an identity you met in Class 8, and see it as a picture made of squares and rectangles.

Take two line segments, of lengths a units and b units. Put them end to end, in a straight line, to make one longer segment of length (a + b) units.

a unitsb units(a + b) units
Book Fig. 4.1: segments of length a and b placed end to end make one of length a + b.

Now build a square whose side is this longer segment, (a + b) units. Cut each side at the point where a ends and b begins, and draw lines across. The big square splits into four pieces:

  • a square of side a, with area a × a = a²;
  • a square of side b, with area b × b = b²;
  • two rectangles, each a long and b wide, with area ab each.
a²b²abababab
Book Fig. 4.2: the square of side (a + b) is made of a², b² and two rectangles of area ab, so (a + b)² = a² + 2ab + b².

The area of the outer square is (a + b)². The four pieces fill it exactly, with no gaps and no overlaps. So their areas add up to the big area:

The square of a sum

Read it as "a plus b, all squared, equals a squared plus two a b plus b squared". In words: square the first, add twice the product of the two, and add the square of the second.

Here is the same picture with numbers, so you can count the unit squares yourself.

a² = 9b² = 4ab = 6ab = 6a = 3b = 2a = 3b = 2
(a + b)² with numbers. With a = 3 and b = 2 the big square has side 5, so it holds 25 unit squares. Count them by pieces: 9 in a², 4 in b², and 6 in each of the two rectangles. 9 + 6 + 6 + 4 = 25, so (3 + 2)² = 3² + 2 × 3 × 2 + 2².

Does it work when a and b are not lengths?

The picture shows that (a + b)² = a² + 2ab + b² when a and b are lengths, which are positive. But a and b could be any numbers. What if they are negative? The book checks a few cases.

Example 2 (from the book)

Check (a + b)² = a² + 2ab + b² when a = −2 and b = −3.

The plan: Work out each side separately, with brackets around the negative numbers.

  1. Left side: a + b = (−2) + (−3) = −5, so (a + b)² = (−5)² = 25.
  2. Right side: a² = (−2)² = 4, b² = (−3)² = 9, and 2ab = 2 × (−2) × (−3) = 12.
  3. a² + 2ab + b² = 4 + 12 + 9 = 25.

Both sides are 25, so the identity holds for these negative numbers too.

Example 2, continued (from the book)

Check it for the fractions a = −2/3 and b = 3/4.

The plan: Use the common denominator 12 for the sum, and 144 for the squares.

  1. a + b = −2/3 + 3/4 = −8/12 + 9/12 = 1/12, so (a + b)² = 1/144.
  2. a² = 4/9 = 64/144 and b² = 9/16 = 81/144.
  3. 2ab = 2 × (−2/3) × (3/4) = −12/12 = −1 = −144/144.
  4. a² + 2ab + b² = (64 − 144 + 81)/144 = 1/144.

Both sides are 1/144: the identity seems to hold for rational numbers as well.

But checking examples, however many, does not prove that it is true for all numbers. To be sure, the book uses the distributive property, which is true for every number:

  1. (a + b)² means (a + b) × (a + b).
  2. By the distributive property, multiply the second bracket by a, and then by b: (a + b)(a + b) = a(a + b) + b(a + b).
  3. Open each bracket: a(a + b) = a² + ab and b(a + b) = ba + b².
  4. ba is the same as ab, so ab + ba = 2ab. Altogether: (a + b)² = a² + 2ab + b².

Every step used only rules that hold for all numbers, positive, negative or fractions. So the result holds for all numbers. You were introduced to (a + b)² = a² + 2ab + b² in Class 8 as an identity. Here is exactly what that word means.

An identity and an equation

Identity

An algebraic identity is an equation that is true for all values of the variables in it.

An ordinary equation need not be true for all values; usually it is true only for a few.

  • x² − 1 = 24 is true only for x = 5 or x = −5 (both give 25 − 1 = 24). Try x = 2: 4 − 1 = 3, not 24. So it is an equation, not an identity.
  • (x + y)² = x² + 2xy + y² is true for all values of x and y. So this equation is also an identity.
  • 2(x + 3) = 2x + 6 is an identity (the distributive property), but 2x + 3 = 11 is only an equation: it is true only for x = 4.

A quick test: if one single value of the variables makes the two sides different, it is not an identity.

(a + b)² is not a² + b²

By now you have seen that (a + b)² ≠ a² + b² (read "is not equal to"): the middle term 2ab is missing from a² + b². But which one is bigger? For a = 10 and b = 2: (a + b)² = 12² = 144, while a² + b² = 100 + 4 = 104. In this case (a + b)² > a² + b². Is that always so?

Think and Reflect. 1. What can you say about a and b if (a + b)² < a² + b²? 2. What if (a + b)² > a² + b²? 3. When will (a + b)² be equal to a² + b²?Tap to reveal

The plan: Use the identity: (a + b)² = a² + b² + 2ab. The two expressions differ by exactly 2ab, so the sign of ab decides everything.

  1. (a + b)² − (a² + b²) = 2ab. Both (a + b)² and a² + b² are never negative, so it is the middle term 2ab that decides which is larger.
  2. 1. (a + b)² < a² + b² exactly when 2ab is negative, that is, when a and b have opposite signs. Example: a = 3, b = −5 gives (−2)² = 4, but 9 + 25 = 34.
  3. 2. (a + b)² > a² + b² exactly when ab is positive, that is, when a and b are both positive or both negative. Example: a = 10, b = 2 gives 144 > 104.
  4. 3. They are equal exactly when 2ab = 0, that is, when a = 0 or b = 0. Example: a = 3, b = 0 gives 9 = 9 + 0.

(a + b)² is smaller when a and b have opposite signs, larger when they have the same sign, and equal when one of them is 0; the difference is always 2ab.

Using the identity: expanding and calculating

In the identity, a and b can stand for any expressions, not just single letters. That lets us square any two-term expression (a binomial) in one step.

Example 3 (from the book)

Expand (5x + 2y)².

The plan: Match it with (a + b)²: here a = 5x and b = 2y. Then square the first, add twice the product, and add the square of the second.

  1. a² = (5x)² = 25x² (square both the 5 and the x).
  2. 2ab = 2 × (5x) × (2y) = 20xy.
  3. b² = (2y)² = 4y².

(5x + 2y)² = 25x² + 20xy + 4y².

Check: Put x = 1 and y = 1: the left side is 7² = 49, and the right side is 25 + 20 + 4 = 49.

Example 4 (from the book)

Find 43² without long multiplication.

The plan: Split 43 into an easy number plus a small one: 43 = 40 + 3, and use (a + b)² with a = 40 and b = 3.

  1. a² = 40² = 1600.
  2. 2ab = 2 × 40 × 3 = 240.
  3. b² = 3² = 9.
  4. Add: 1600 + 240 + 9 = 1849.

43² = 1849.

Check: 43 × 43 = 43 × 40 + 43 × 3 = 1720 + 129 = 1849.

Worked example 1

Expand (i) (3m + 5)² (ii) (x + 1/2)², and find 81².

The plan: Each is a square of a sum: identify a and b, then a² + 2ab + b².

  1. (i) a = 3m, b = 5: 9m² + 2 × 3m × 5 + 25 = 9m² + 30m + 25.
  2. (ii) a = x, b = 1/2: x² + 2 × x × 1/2 + 1/4 = x² + x + 1/4.
  3. 81² = (80 + 1)² = 6400 + 160 + 1 = 6561.

(i) 9m² + 30m + 25 (ii) x² + x + 1/4; 81² = 6561.

Check: (ii) with x = 1: (3/2)² = 9/4, and 1 + 1 + 1/4 = 9/4.

Common mistakes with (a + b)²

Forgetting the middle term: (x + 3)² is x² + 6x + 9, not x² + 9. Test with x = 1: 4² = 16, but 1 + 9 = 10.

Squaring only the letter: (5x)² = 25x², not 5x².

Forgetting the 2: the middle term is 2ab, twice the product, because there are two rectangles in the picture.

When you are stuck: (a + b)²

Draw the square. Split a square of side a + b into four parts: a², b² and two rectangles ab.

Count the middle term twice. (a + b)² has 2ab in the middle; leaving it out gives the wrong a² + b².

Test with numbers. Put a = 3 and b = 2: (3 + 2)² = 25, and 9 + 12 + 4 = 25. If your expansion gives a different number, it is wrong.

Use the identity for quick squares. 103² = (100 + 3)² = 10,000 + 600 + 9.

Your turn

1. Expand (4a + 3b)².Tap to reveal

The plan: a² + 2ab + b² with the first term 4a and the second 3b.

  1. (4a)² = 16a².
  2. 2 × 4a × 3b = 24ab.
  3. (3b)² = 9b².

(4a + 3b)² = 16a² + 24ab + 9b².

Check: With a = b = 1: 7² = 49 and 16 + 24 + 9 = 49.

2. Find 102² in your head.Tap to reveal

The plan: 102 = 100 + 2, so use (a + b)².

  1. 100² = 10,000.
  2. 2 × 100 × 2 = 400.
  3. 2² = 4.
  4. Add: 10,000 + 400 + 4 = 10,404.

102² = 10,404.

Check: 102 × 102 = 102 × 100 + 102 × 2 = 10,200 + 204 = 10,404.

3. Without working out both, decide which is bigger: (7 + (−3))² or 7² + (−3)².Tap to reveal

The plan: The difference between them is 2ab; look at its sign.

  1. Here a = 7 and b = −3 have opposite signs, so 2ab = 2 × 7 × (−3) = −42 is negative.
  2. So (a + b)² is 42 less than a² + b².
  3. Indeed (7 − 3)² = 16, while 49 + 9 = 58.

7² + (−3)² is bigger (58 against 16).

In one line

(a + b)² = a² + 2ab + b² for all numbers: the picture shows it for lengths, and the distributive property proves it for every number.

Ex 4.1Exercise Set 4.1, solved

When you are stuck: Exercise Set 4.1

Match each part to a and b. In (2x + 3)², a = 2x and b = 3; square a as a whole, so a² = 4x².

Write the three terms in order. a², then 2ab, then b², so that no term is forgotten.

Check with x = 1. The expanded form and the original must give the same value.

1. Using the identity (a + b)² = a² + 2ab + b², expand the following: (i) (7x + 4y)² (ii) ((7/5)x + (3/2)y)² (iii) (2.5p + 1.5q)² (iv) ((3/4)s + 8t)² (v) (x + 1/(2y))² (vi) (1/x + 1/y)²Tap to reveal

The plan: For each, name a and b, then write a², 2ab and b², squaring every number and letter inside a and b.

  1. (i) a = 7x, b = 4y. a² = 49x², 2ab = 2 × 7x × 4y = 56xy, b² = 16y². So (7x + 4y)² = 49x² + 56xy + 16y².
  2. (ii) a = (7/5)x, b = (3/2)y. a² = (49/25)x², 2ab = 2 × (7/5) × (3/2) xy = (42/10)xy = (21/5)xy, b² = (9/4)y². So the answer is (49/25)x² + (21/5)xy + (9/4)y².
  3. (iii) a = 2.5p, b = 1.5q. a² = 6.25p², 2ab = 2 × 2.5 × 1.5 pq = 7.5pq, b² = 2.25q². So (2.5p + 1.5q)² = 6.25p² + 7.5pq + 2.25q².
  4. (iv) a = (3/4)s, b = 8t. a² = (9/16)s², 2ab = 2 × (3/4) × 8 st = 12st, b² = 64t². So the answer is (9/16)s² + 12st + 64t².
  5. (v) a = x, b = 1/(2y). a² = x², 2ab = 2 × x × 1/(2y) = x/y, b² = 1/(4y²). So (x + 1/(2y))² = x² + x/y + 1/(4y²).
  6. (vi) a = 1/x, b = 1/y. a² = 1/x², 2ab = 2/(xy), b² = 1/y². So (1/x + 1/y)² = 1/x² + 2/(xy) + 1/y².

(i) 49x² + 56xy + 16y² (ii) (49/25)x² + (21/5)xy + (9/4)y² (iii) 6.25p² + 7.5pq + 2.25q² (iv) (9/16)s² + 12st + 64t² (v) x² + x/y + 1/(4y²) (vi) 1/x² + 2/(xy) + 1/y².

Check: (i) with x = y = 1: 11² = 121, and 49 + 56 + 16 = 121. (iii) with p = q = 1: 4² = 16, and 6.25 + 7.5 + 2.25 = 16.

2. Using the same identity, find the values of the following: (i) (64)² (ii) (105)² (iii) (205)²Tap to reveal

The plan: Split each number into a round number plus a small one, then use a² + 2ab + b².

  1. (i) 64 = 60 + 4: 60² + 2 × 60 × 4 + 4² = 3600 + 480 + 16 = 4096.
  2. (ii) 105 = 100 + 5: 100² + 2 × 100 × 5 + 5² = 10,000 + 1000 + 25 = 11,025.
  3. (iii) 205 = 200 + 5: 200² + 2 × 200 × 5 + 5² = 40,000 + 2000 + 25 = 42,025.

(i) 4096 (ii) 11,025 (iii) 42,025.

Check: (i) 64² = 2¹² = 4096, since 64 = 2⁶. Another way for (ii) and (iii): numbers ending in 5 are squared by Śrīdharācārya's method in section 4.4.

4.3Factorisation of algebraic expressions using identities

An identity can be read in both directions. Read left to right, (a + b)² = a² + 2ab + b² expands a square. Read right to left, a² + 2ab + b² = (a + b)² factorises a three-term expression into a square. To factorise means to write an expression as a product of simpler expressions, called its factors.

Example 5 (from the book)

Factorise x² + 4x + 4.

The plan: Look for the pattern a² + 2ab + b²: two terms that are squares, and a middle term that is twice the product of their roots.

  1. x² is the square of x, so a = x.
  2. 4 is the square of 2, so b = 2.
  3. Check the middle term: 2ab = 2 × x × 2 = 4x. It matches.
  4. So x² + 4x + 4 = x² + 2(x)(2) + 2² = (x + 2)².

x² + 4x + 4 = (x + 2)², so (x + 2) is a factor of x² + 4x + 4 (it appears twice).

Check: Multiply back: (x + 2)² = x² + 4x + 4. With x = 3: 9 + 12 + 4 = 25 = 5².

Example 6 (from the book)

Factorise 36x² + 12x + 1.

The plan: Find what is squared in the first and last terms, then test the middle term.

  1. 36x² = (6x)², so a = 6x.
  2. 1 = 1², so b = 1.
  3. Middle term: 2ab = 2 × 6x × 1 = 12x. It matches.
  4. So 36x² + 12x + 1 = (6x)² + 2(6x)(1) + 1² = (6x + 1)².

36x² + 12x + 1 = (6x + 1)², so (6x + 1) is a factor.

Check: With x = 1: 36 + 12 + 1 = 49 = 7², and 6 × 1 + 1 = 7.

Example 7 (from the book)

Factorise 50p² + 60pq + 18q².

The plan: 50 is not a perfect square, so first take out a common factor of all three terms; then look for the pattern inside the bracket.

  1. What is squared to give 50p²? It is √50 p, an awkward square root. The book avoids it like this.
  2. All three numbers, 50, 60 and 18, are even, so 2 is a common factor: 50p² + 60pq + 18q² = 2(25p² + 30pq + 9q²).
  3. Inside the bracket: 25p² = (5p)² and 9q² = (3q)².
  4. Middle term: 2 × 5p × 3q = 30pq. It matches.
  5. So 25p² + 30pq + 9q² = (5p + 3q)², and the whole expression is 2(5p + 3q)².

50p² + 60pq + 18q² = 2(5p + 3q)².

Check: With p = q = 1: 50 + 60 + 18 = 128, and 2 × 8² = 2 × 64 = 128.

Spotting a perfect square

A three-term expression is a perfect square (a² + 2ab + b²) when:

1. two of its terms are squares, say A² and B²; and

2. the remaining term is exactly 2 × A × B. Then the expression equals (A + B)².

If the numbers are not squares, look first for a common factor to take out, as in Example 7.

The square of a difference

Think and Reflect. What if we replace b by −b in (a + b)² = a² + 2ab + b²?Tap to reveal

The plan: An identity is true for every value of b, so it stays true when b is replaced by −b. Replace every b and simplify.

  1. Left side: (a + (−b))² = (a − b)².
  2. The middle term: 2a(−b) = −2ab.
  3. The last term: (−b)² = b², because a negative number squared is positive.
  4. So (a − b)² = a² − 2ab + b².

We get (a − b)² = a² − 2ab + b², which is also an identity, used just like (a + b)².

The square of a difference

Read it as "a minus b, all squared, equals a squared minus two a b plus b squared". Only the middle term changes sign; b² stays positive.

Why the pattern of section 4.1 always gives 2

Now we can prove the pattern of Example 1. Any three consecutive whole numbers can be written as (n − 1), n and (n + 1), where n is the middle one. Their squares are (n − 1)², n² and (n + 1)².

  1. By the two identities: (n − 1)² = n² − 2n + 1 and (n + 1)² = n² + 2n + 1.
  2. Smallest plus largest: (n − 1)² + (n + 1)² = n² − 2n + 1 + n² + 2n + 1 = 2n² + 2. The −2n and +2n cancel.
  3. Subtract twice the middle square, 2n²: 2n² + 2 − 2n² = 2.

The n has disappeared completely, so the answer is 2 whatever n is. This is a proof that adding the smallest and largest of any three consecutive square numbers and subtracting twice the middle one always gives 2.

The same method proves the pattern for four consecutive squares from section 4.1: n² + (n + 3)² − (n + 1)² − (n + 2)² = n² + (n² + 6n + 9) − (n² + 2n + 1) − (n² + 4n + 4) = 9 − 1 − 4 = 4. The n² and n terms all cancel.

Using (a − b)² for squares and its picture

Example 8 (from the book)

Find 29².

The plan: 29 is just below 30, so write 29 = 30 − 1 and use (a − b)².

  1. a² = 30² = 900.
  2. 2ab = 2 × 30 × 1 = 60.
  3. b² = 1² = 1.
  4. a² − 2ab + b² = 900 − 60 + 1 = 841.

29² = 841.

Check: 29 × 29 = 29 × 30 − 29 = 870 − 29 = 841.

To see (a − b)² as a picture, draw a square of side a, and cut each side into two parts: one of length (a − b) and one of length b.

(a − b)²abb(a − b)a − bba − bba
Book Fig. 4.3: in the square of side a, the piece (a − b)² is a² minus the rectangle ab (right) and the rectangle b(a − b) (top).

The big square has area a². The small corner square has area (a − b)². The larger rectangle (a by b) has area ab, and the smaller rectangle has area b(a − b). To get the corner (a − b)², take the two rectangles away from the big square:

(a − b)² = a² − ab − b(a − b) = a² − ab − ba + b² = a² − 2ab + b².

(a − b)² = 9ab = 10b(a − b) = 6a − b = 3b = 2a = 5
(a − b)² with numbers. With a = 5 and b = 2: the whole square is 25. Take away the strip ab = 5 × 2 = 10 and the strip b(a − b) = 2 × 3 = 6, and the corner (a − b)² = 9 is left: 25 − 10 − 6 = 9 = 3². In letters: a² − ab − b(a − b) = a² − 2ab + b².

Worked example 2

Factorise 4x² − 12x + 9, and find 98².

The plan: For the first, look for a² − 2ab + b²; for 98², write 98 = 100 − 2.

  1. 4x² = (2x)² and 9 = 3². Middle term: 2 × 2x × 3 = 12x, with a minus sign. So 4x² − 12x + 9 = (2x − 3)².
  2. 98² = (100 − 2)² = 10,000 − 400 + 4 = 9604.

4x² − 12x + 9 = (2x − 3)², and 98² = 9604.

Check: With x = 1: 4 − 12 + 9 = 1 = (−1)². And 98 × 98 = 98 × 100 − 98 × 2 = 9800 − 196 = 9604.

Common mistakes with (a − b)²

(a − b)² is not a² − b². Test with a = 5, b = 3: (5 − 3)² = 4, but 25 − 9 = 16.

The last term is +b², never −b², because (−b)² is positive. Only the middle term is negative.

When you are stuck: factorising with identities

Look for two perfect squares. If the first and last terms are squares, try (a ± b)².

Check the middle term. It must be exactly 2ab, with the sign telling you + or −.

Take out a common factor first. 2x² + 12x + 18 = 2(x² + 6x + 9), and then the bracket is a square.

Multiply back to check. Expanding your factors must give the original expression.

Your turn

1. Factorise 25m² + 40mn + 16n².Tap to reveal

The plan: Look for (A + B)²: two squares and twice their product.

  1. 25m² = (5m)² and 16n² = (4n)².
  2. 2 × 5m × 4n = 40mn. It matches the middle term.

25m² + 40mn + 16n² = (5m + 4n)².

Check: With m = n = 1: 25 + 40 + 16 = 81 = 9².

2. Factorise 12x² − 36x + 27.Tap to reveal

The plan: 12 and 27 are not squares, so first take out their common factor 3.

  1. 12x² − 36x + 27 = 3(4x² − 12x + 9).
  2. Inside: 4x² = (2x)², 9 = 3², and 2 × 2x × 3 = 12x with a minus sign.
  3. So 4x² − 12x + 9 = (2x − 3)².

12x² − 36x + 27 = 3(2x − 3)².

Check: With x = 1: 12 − 36 + 27 = 3, and 3 × (−1)² = 3.

3. Find 49² using (a − b)².Tap to reveal

The plan: 49 = 50 − 1.

  1. 50² = 2500.
  2. 2 × 50 × 1 = 100.
  3. 1² = 1.
  4. 2500 − 100 + 1 = 2401.

49² = 2401.

Check: 49 × 49 = 49 × 50 − 49 = 2450 − 49 = 2401.

In one line

Read an identity backwards to factorise: a² ± 2ab + b² = (a ± b)²; take out a common factor first when the numbers are not squares.

Ex 4.2Exercise Set 4.2, solved

When you are stuck: Exercise Set 4.2

Write each term as a square if you can. 9x² = (3x)², 25 = 5².

Try the sign of the middle term. A minus in the middle means (a − b)²; a plus means (a + b)².

If it will not fit, it may not be a square. Then use another method, such as splitting the middle term.

1. Factor completely: (i) 9x² + 24xy + 16y² (ii) 4s² + 20st + 25t² (iii) 49x² + 28xy + 4y² (iv) 64p² + (32/3)pq + (4/9)q² *(v) 3a² + 4ab + (4/3)b² *(vi) (9/5)s² + 6sv + 5v² (Hint: 2 was taken out as a common factor in Example 7. Is it possible to do something similar in (v) and (vi)?)Tap to reveal

The plan: For each, find what is squared in the first and last terms, and check that the middle term is twice their product. In (v) and (vi) take out a number first, as the hint says.

  1. (i) 9x² = (3x)², 16y² = (4y)², and 2 × 3x × 4y = 24xy. So 9x² + 24xy + 16y² = (3x + 4y)².
  2. (ii) 4s² = (2s)², 25t² = (5t)², and 2 × 2s × 5t = 20st. So 4s² + 20st + 25t² = (2s + 5t)².
  3. (iii) 49x² = (7x)², 4y² = (2y)², and 2 × 7x × 2y = 28xy. So 49x² + 28xy + 4y² = (7x + 2y)².
  4. (iv) 64p² = (8p)², (4/9)q² = ((2/3)q)², and 2 × 8p × (2/3)q = (32/3)pq. So the expression is (8p + (2/3)q)².
  5. (v) 3 is not a perfect square, so take it out: 3a² + 4ab + (4/3)b² = 3(a² + (4/3)ab + (4/9)b²). Inside: a² and ((2/3)b)², with 2 × a × (2/3)b = (4/3)ab. So it is 3(a + (2/3)b)².
  6. (vi) Take out 1/5: (9/5)s² + 6sv + 5v² = (1/5)(9s² + 30sv + 25v²). Inside: (3s)² and (5v)², with 2 × 3s × 5v = 30sv. So it is (1/5)(3s + 5v)².

(i) (3x + 4y)² (ii) (2s + 5t)² (iii) (7x + 2y)² (iv) (8p + (2/3)q)² (v) 3(a + (2/3)b)², which is also (1/3)(3a + 2b)² (vi) (1/5)(3s + 5v)², which is also 5((3/5)s + v)².

Check: (v) with a = b = 1: 3 + 4 + 4/3 = 25/3, and 3 × (5/3)² = 3 × 25/9 = 25/3. (vi) with s = v = 1: 9/5 + 6 + 5 = 64/5, and (1/5) × 8² = 64/5.

2. Find the values of the following using the identity (a − b)² = a² − 2ab + b²: (i) (79)² (ii) (193)² (iii) (299)²Tap to reveal

The plan: Write each number as a round number minus a small one, then use a² − 2ab + b².

  1. (i) 79 = 80 − 1: 80² − 2 × 80 × 1 + 1² = 6400 − 160 + 1 = 6241.
  2. (ii) 193 = 200 − 7: 200² − 2 × 200 × 7 + 7² = 40,000 − 2800 + 49 = 37,249.
  3. (iii) 299 = 300 − 1: 300² − 2 × 300 × 1 + 1² = 90,000 − 600 + 1 = 89,401.

(i) 6241 (ii) 37,249 (iii) 89,401.

Check: (i) 79 × 79 = 79 × 80 − 79 = 6320 − 79 = 6241.

4.4More identities: the square of three terms

What happens when we square the sum of three numbers a, b and c, that is, (a + b + c)²? We can reuse the identity we already have, with a clever trick: treat b + c as a single number.

  1. Let d stand for b + c. Then (a + b + c)² = (a + d)².
  2. We already know (a + d)² = a² + 2ad + d².
  3. Put b + c back in place of d: a² + 2a(b + c) + (b + c)².
  4. Open the brackets: 2a(b + c) = 2ab + 2ac, and (b + c)² = b² + 2bc + c².
  5. Altogether: (a + b + c)² = a² + 2ab + 2ac + b² + 2bc + c².

It is easier to remember with the squares first and the products after:

The square of three terms

Read it as "a plus b plus c, all squared, equals a squared plus b squared plus c squared, plus two a b plus two b c plus two c a". In words: the square of each term, plus twice the product of every pair.

To see it, draw a square of side a + b + c, and cut each side into the three parts a, b and c.

a²abacabb²bcacbcc²abcabc
Book Fig. 4.4: the square of side (a + b + c) is made of a², b², c² and two each of ab, bc and ca.
Think and Reflect. Label the squares and rectangles in Fig. 4.4 so that it represents the identity (a + b + c)² = a² + b² + c² + 2ab + 2bc + 2ca.Tap to reveal

The plan: Each small piece is a rectangle whose sides are one of a, b, c across and one of a, b, c down. Its area is the product of the two.

  1. The cuts make a 3 by 3 grid of 9 pieces. Across the top the widths are a, b, c; down the side the heights are a, b, c.
  2. On the diagonal, the width and height are the same: these three pieces are squares, with areas a², b² and c².
  3. The other six pieces come in matching pairs on either side of the diagonal: two rectangles a by b (area ab each), two b by c (area bc each), and two c by a (area ca each).
  4. Adding all nine areas: a² + b² + c² + 2ab + 2bc + 2ca, which must equal the area of the whole square, (a + b + c)².

The diagonal pieces are the squares a², b², c²; the six others are two ab, two bc and two ca rectangles.

Example 9 (from the book)

Find 119² using (a + b + c)².

The plan: Split 119 into three easy parts: 100 + 10 + 9.

  1. The three squares: 100² = 10,000, 10² = 100 and 9² = 81.
  2. The three doubled products: 2 × 100 × 10 = 2000, 2 × 100 × 9 = 1800 and 2 × 10 × 9 = 180.
  3. Add them all: 10,000 + 100 + 81 + 2000 + 1800 + 180 = 14,161.

119² = 14,161.

Check: Another way: 119 = 120 − 1, so 119² = 14,400 − 240 + 1 = 14,161.

So far we have verified three identities and used them for calculations and for working with expressions:

IdentityRead as
(a + b)² = a² + 2ab + b²the square of a sum
(a − b)² = a² − 2ab + b²the square of a difference
(a + b + c)² = a² + b² + c² + 2ab + 2bc + 2cathe square of three terms

Worked example 3

Expand (2x + y − 3)².

The plan: Use (a + b + c)² with a = 2x, b = y and c = −3. Keep the minus sign inside c.

  1. Squares: (2x)² = 4x², y², and (−3)² = 9.
  2. 2ab = 2 × 2x × y = 4xy.
  3. 2bc = 2 × y × (−3) = −6y.
  4. 2ca = 2 × (−3) × 2x = −12x.

(2x + y − 3)² = 4x² + y² + 9 + 4xy − 6y − 12x.

Check: With x = y = 1: the left side is (2 + 1 − 3)² = 0, and the right side is 4 + 1 + 9 + 4 − 6 − 12 = 0.

Common mistake: losing a cross term or a sign

(a + b + c)² has six terms, not four: three squares and three doubled products. Write the pairs ab, bc, ca in turn so that none is missed.

With a minus sign, keep it with its term: in (3x − 2y + 4z)², take b = −2y. Then 2ab = −12xy and 2bc = −16yz, while 2ca = +24xz.

When you are stuck: (a + b + c)²

List the squares, then the pairs. Three squares a², b², c², and three pairs ab, bc, ca, each doubled.

Keep the signs with the letters. For (x − 2y + 3)², treat b as −2y, so every term with b carries its sign.

Count the terms. The expansion must have six terms before collecting; fewer means a pair was lost.

Your turn

1. Expand (a − b + c)².Tap to reveal

The plan: Use the three-term identity with the terms a, −b and c.

  1. Squares: a², b², c² (since (−b)² = b²).
  2. Doubled products: 2a(−b) = −2ab, 2(−b)c = −2bc, 2ca = 2ca.

(a − b + c)² = a² + b² + c² − 2ab − 2bc + 2ca.

Check: With a = b = c = 1: (1 − 1 + 1)² = 1 and 3 − 2 − 2 + 2 = 1.

2. Find 211² with (a + b + c)².Tap to reveal

The plan: 211 = 200 + 10 + 1.

  1. Squares: 40,000 + 100 + 1.
  2. Doubled products: 2 × 200 × 10 = 4000, 2 × 10 × 1 = 20, 2 × 1 × 200 = 400.
  3. Total: 40,000 + 100 + 1 + 4000 + 20 + 400 = 44,521.

211² = 44,521.

Check: (210 + 1)² = 44,100 + 420 + 1 = 44,521.

In one line

(a + b + c)² = a² + b² + c² + 2ab + 2bc + 2ca: every square, plus twice every pair.

Ex 4.3Exercise Set 4.3, solved

When you are stuck: Exercise Set 4.3

Name a, b and c with their signs. Writing them down first stops sign slips later.

Check with small numbers. Put each letter equal to 1 and compare both sides.

Work backwards for factorising. Find the three square roots, then check the cross terms.

1. Find the following squares using one of the above identities. Determine which of these identities will make these calculations easier: (i) 117² (ii) 78² (iii) 198² (iv) 214² (v) 1104² (vi) 1120²Tap to reveal

The plan: Split each number into round parts. A number just above a round number suits (a + b)²; just below suits (a − b)²; three easy parts suit (a + b + c)².

  1. (i) 117 = 120 − 3, so (a − b)²: 14,400 − 2 × 120 × 3 + 9 = 14,400 − 720 + 9 = 13,689. (With (a + b + c)² and 100 + 10 + 7: 10,000 + 100 + 49 + 2000 + 1400 + 140 = 13,689, the same.)
  2. (ii) 78 = 80 − 2, so (a − b)²: 6400 − 320 + 4 = 6084.
  3. (iii) 198 = 200 − 2, so (a − b)²: 40,000 − 800 + 4 = 39,204.
  4. (iv) 214 = 200 + 14, so (a + b)²: 40,000 + 2 × 200 × 14 + 14² = 40,000 + 5600 + 196 = 45,796.
  5. (v) 1104 = 1100 + 4, so (a + b)²: 12,10,000 + 2 × 1100 × 4 + 16 = 12,10,000 + 8800 + 16 = 12,18,816.
  6. (vi) 1120 = 1100 + 20, so (a + b)²: 12,10,000 + 2 × 1100 × 20 + 400 = 12,10,000 + 44,000 + 400 = 12,54,400.

(i) 13,689 (ii) 6084 (iii) 39,204 (iv) 45,796 (v) 12,18,816 (vi) 12,54,400.

Check: (ii) 78 × 78 = 78 × 80 − 78 × 2 = 6240 − 156 = 6084.

2. Factor using suitable identities: (i) 16y² − 24y + 9 (ii) (9/4)s² + 6st + 4t² (iii) m²/9 + mk/3 + k²/4 + 3nk + 2mn + 9n² (iv) p²/16 − 2 + 16/p² (v) 9a² + 4b² + c² − 12ab + 6ac − 4bcTap to reveal

The plan: Find the squared parts; check that every other term is twice a product of them, with the right sign.

  1. (i) 16y² = (4y)², 9 = 3², and the middle term is −2 × 4y × 3 = −24y. So (4y − 3)².
  2. (ii) (9/4)s² = ((3/2)s)², 4t² = (2t)², and 2 × (3/2)s × 2t = 6st. So ((3/2)s + 2t)².
  3. (iii) Three squares: m²/9 = (m/3)², k²/4 = (k/2)², 9n² = (3n)². Products: 2(m/3)(k/2) = mk/3, 2(k/2)(3n) = 3nk, 2(3n)(m/3) = 2mn. All match, so (m/3 + k/2 + 3n)².
  4. (iv) p²/16 = (p/4)² and 16/p² = (4/p)². The middle term: 2 × (p/4) × (4/p) = 2, with a minus sign. So (p/4 − 4/p)².
  5. (v) Squares: 9a² = (3a)², 4b² = (2b)², c². The products 2(3a)(2b) = 12ab must be negative, so take b-part = −2b; then 2(−2b)(c) = −4bc and 2(3a)(c) = 6ac. All match: (3a − 2b + c)².

(i) (4y − 3)² (ii) ((3/2)s + 2t)² (iii) (m/3 + k/2 + 3n)² (iv) (p/4 − 4/p)² (v) (3a − 2b + c)².

Check: (v) with a = b = c = 1: 9 + 4 + 1 − 12 + 6 − 4 = 4, and (3 − 2 + 1)² = 2² = 4.

3. Expand the following using the identity (a + b + c)² = a² + b² + c² + 2ab + 2bc + 2ca: (i) (p + 3q + 7r)² (ii) (3x − 2y + 4z)²Tap to reveal

The plan: Name the three terms (keeping signs), then write the three squares and the three doubled products.

  1. (i) a = p, b = 3q, c = 7r. Squares: p², 9q², 49r². Products: 2 × p × 3q = 6pq, 2 × 3q × 7r = 42qr, 2 × 7r × p = 14pr.
  2. (ii) a = 3x, b = −2y, c = 4z. Squares: 9x², 4y², 16z². Products: 2 × 3x × (−2y) = −12xy, 2 × (−2y) × 4z = −16yz, 2 × 4z × 3x = 24xz.

(i) p² + 9q² + 49r² + 6pq + 42qr + 14pr (ii) 9x² + 4y² + 16z² − 12xy − 16yz + 24xz.

Check: (ii) with x = y = z = 1: (3 − 2 + 4)² = 25, and 9 + 4 + 16 − 12 − 16 + 24 = 25.

4. Is this an identity? (a + b − c)² + (a − b + c)² + (a − b − c)² = 2a² + 2b² + 2c²Tap to reveal

The plan: Expand the left side fully and compare; or test one set of values (one failure is enough to say no).

  1. (a + b − c)² = a² + b² + c² + 2ab − 2bc − 2ca.
  2. (a − b + c)² = a² + b² + c² − 2ab − 2bc + 2ca.
  3. (a − b − c)² = a² + b² + c² − 2ab + 2bc − 2ca.
  4. Adding: 3a² + 3b² + 3c² − 2ab − 2bc − 2ca.
  5. This is not 2a² + 2b² + 2c². For example, a = 1, b = 0, c = 0 gives 1 + 1 + 1 = 3 on the left but 2 on the right.

No, it is not an identity: the left side equals 3a² + 3b² + 3c² − 2ab − 2bc − 2ca, and a = 1, b = c = 0 already makes the two sides differ (3 and 2).

Check: Adding (a + b + c)² to the left side cancels the products and gives 4a² + 4b² + 4c², an identity you will see in Fig. 4.6.

4.4One more identity: a² − b², and Śrīdharācārya's squares

In Class 8 you met yet another identity: a² − b² = (a + b)(a − b). The distributive property proves it in one line: (a + b)(a − b) = a² − ab + ba − b² = a² − b², because −ab and +ba cancel.

The difference of two squares

Read it as "a squared minus b squared equals a plus b, times a minus b".

It becomes very useful when it is rewritten as a² = (a + b)(a − b) + b². Look at the figure and justify this for yourself.

(a + b)(a − b)b²a + ba − bbtogether: area a²
Book Fig. 4.5: the rectangle (a + b)(a − b) and the square b² together have area a², so a² = (a + b)(a − b) + b².

Why the picture works. Start with a square of side a and cut a small square of side b out of one corner. What is left is an L-shape of area a² − b². Cut the L-shape into two strips and move one strip next to the other: together they make a rectangle a + b long and a − b wide. So a² − b² = (a + b)(a − b), and putting back the small square, a² = (a + b)(a − b) + b².

Śrīdharācārya's quick squares

Around 750 CE, the mathematician Śrīdharācārya proposed this identity as a fast way to square numbers. Choose b so that a + b and a − b are easy to multiply. For example:

55² = (55 + 5)(55 − 5) + 5² = 60 × 50 + 25 = 3000 + 25 = 3025.

Think and Reflect 1. Try to evaluate the following using a suitable identity: (i) 35² (ii) 65² (iii) 85² (iv) 105². Do you observe any interesting pattern?Tap to reveal

The plan: Use a² = (a + b)(a − b) + b² with b = 5, so that a + 5 and a − 5 are multiples of 10.

  1. (i) 35² = 40 × 30 + 25 = 1200 + 25 = 1225.
  2. (ii) 65² = 70 × 60 + 25 = 4200 + 25 = 4225.
  3. (iii) 85² = 90 × 80 + 25 = 7200 + 25 = 7225.
  4. (iv) 105² = 110 × 100 + 25 = 11,000 + 25 = 11,025.
  5. The pattern: every answer ends in 25, and the digits in front are the tens part times one more than itself: 3 × 4 = 12, 6 × 7 = 42, 8 × 9 = 72, 10 × 11 = 110.
  6. Why: a number ending in 5 is 10n + 5. Then (10n + 5)² = 100n² + 100n + 25 = 100 × n(n + 1) + 25.

1225, 4225, 7225 and 11,025: to square a number ending in 5, multiply the part before the 5 by the next whole number, and write 25 after it.

Check: 45²: 4 × 5 = 20, so 2025. And 45 × 45 = 2025.

Think and Reflect 2. Observe the two rows of figures in Fig. 4.6. They represent an algebraic identity. Try to identify it.Tap to reveal
a+b+ca+b−ca−b+ca−b−c2a2b2c
Book Fig. 4.6: the four squares on top have the same total area as the three below: (a + b + c)² + (a + b − c)² + (a − b + c)² + (a − b − c)² = (2a)² + (2b)² + (2c)².

The plan: The top row has four squares and the bottom row three. Write each area, and compare the totals.

  1. Top row: squares of sides a + b + c, a + b − c, a − b + c and a − b − c.
  2. Bottom row: squares of sides 2a, 2b and 2c, with areas 4a², 4b² and 4c².
  3. Expanding the four top squares (as in Exercise Set 4.3, Q4, plus (a + b + c)²): every product term cancels, and each of a², b², c² appears 4 times.
  4. So the four top areas add up to 4a² + 4b² + 4c², exactly the total of the bottom row.

(a + b + c)² + (a + b − c)² + (a − b + c)² + (a − b − c)² = (2a)² + (2b)² + (2c)².

Check: With a = 3, b = 2, c = 1: 36 + 16 + 4 + 0 = 56, and 36 + 16 + 4 = 56.

Worked example 4

Find 97² and 52² with a² = (a + b)(a − b) + b².

The plan: Pick b so that one of a + b, a − b is a round number.

  1. 97²: take b = 3. (97 + 3)(97 − 3) + 3² = 100 × 94 + 9 = 9400 + 9 = 9409.
  2. 52²: take b = 2. (52 + 2)(52 − 2) + 2² = 54 × 50 + 4 = 2700 + 4 = 2704.

97² = 9409 and 52² = 2704.

Check: 52² = (50 + 2)² = 2500 + 200 + 4 = 2704.

When you are stuck: a² − b²

Look for a square minus a square. Two square terms with a minus between them factorise as (a + b)(a − b).

A plus sign does not work. a² + b² does not factorise this way.

Use it for quick products. 103 × 97 = (100 + 3)(100 − 3) = 10,000 − 9.

For Śrīdharācārya's squares, pick a round number. 47² = (50)(44) + 3²: go up to 50, down the same amount to 44, and add the square of the step.

Your turn

1. Find 75² by Śrīdharācārya's method, and 63 × 57.Tap to reveal

The plan: For 75², take b = 5. For 63 × 57, notice 63 = 60 + 3 and 57 = 60 − 3.

  1. 75² = (75 + 5)(75 − 5) + 5² = 80 × 70 + 25 = 5600 + 25 = 5625.
  2. 63 × 57 = (60 + 3)(60 − 3) = 60² − 3² = 3600 − 9 = 3591.

75² = 5625 and 63 × 57 = 3591.

Check: By the shortcut for numbers ending in 5: 7 × 8 = 56, then 25: 5625.

2. Factorise 49x² − 64y².Tap to reveal

The plan: It is a difference of two squares.

  1. 49x² = (7x)² and 64y² = (8y)².
  2. a² − b² = (a + b)(a − b) with a = 7x and b = 8y.

49x² − 64y² = (7x + 8y)(7x − 8y).

Check: With x = 2 and y = 1: 196 − 64 = 132, and 22 × 6 = 132.

In one line

a² − b² = (a + b)(a − b); rewritten as a² = (a + b)(a − b) + b², it squares numbers quickly (Śrīdharācārya, about 750 CE).

4.5Factorisation using algebra tiles

Algebra tiles are flat pieces whose areas stand for the terms of an expression. There are three kinds:

  • an x²-tile: a square x units by x units, with area x²;
  • an x-tile: a long strip x units by 1 unit, with area x;
  • a unit tile: a small square 1 unit by 1 unit, with area 1.

So x² + 7x + 12 is one x²-tile, seven x-tiles and twelve unit tiles. Multiplying two expressions means building a rectangle with them as its sides. Factorising means doing the opposite: arranging the tiles into a rectangle, then reading off its sides.

A rectangle x + 3 by x + 4

Take a rectangle with sides x + 3 and x + 4. Its area is (x + 3)(x + 4). By the distributive property:

(x + 3)(x + 4) = x² + 3x + 4x + 12 = x² + 7x + 12.

x²xxxx111x111x111x111x + 3x + 4
Book Fig. 4.7: one x² tile, 3 + 4 = 7 x-tiles and 3 × 4 = 12 unit tiles form a rectangle of sides x + 3 and x + 4, so x² + 7x + 12 = (x + 3)(x + 4).

The figure shows this product with tiles. The side x + 3 is one x-length and three units; the side x + 4 is one x-length and four units. Inside the rectangle are the x²-tile, the 7 x-tiles and the 12 unit tiles.

Notice how the 7x has been split as 3x + 4x: three x-tiles sit on one side of the x²-tile and four along the other. And the 12 unit tiles fill the corner as a 3 by 4 block. Once the rectangle is complete, we can read its sides: x + 3 and x + 4.

Think and Reflect. Suppose 7x is split as 2x + 5x; can a similar rectangular arrangement be formed? Consider other possibilities and check.Tap to reveal

The plan: Whatever the split, the corner left for the unit tiles is a block whose sides are the two parts. Check whether 12 unit tiles fill it exactly.

  1. Split 2x + 5x: the corner block is 2 by 5, with room for exactly 10 unit tiles. We have 12, so 2 are left over: no rectangle.
  2. Split 1x + 6x: the corner is 1 by 6, room for 6 tiles. 6 are left over: no rectangle.
  3. Split 3x + 4x: the corner is 3 by 4, room for exactly 12 tiles. It works.
  4. So the split must use two numbers that add to 7 (the x-tiles) and multiply to 12 (the unit tiles). Only 3 and 4 do.

No: with 2x + 5x the corner holds only 10 unit tiles, not 12. Only the split 3x + 4x (sum 7, product 12) makes a rectangle.

So Fig. 4.7 shows two identities at once:

  • multiplying: the linear expressions x + 3 and x + 4 multiply to give (x + 3)(x + 4) = x² + 7x + 12;
  • factorising: x² + 7x + 12 can be written as the product of its linear factors (x + 3) and (x + 4).
Think and Reflect 1. Figure out the product of x + 2 and x + 3 using algebra tiles.Tap to reveal
x²x3x2(x + 2)(x + 3) = x² + 5x + 6
(x + 2)(x + 3) with tiles. The rectangle is x + 3 wide and x + 2 tall. Inside: one x² tile, 3 + 2 = 5 x-tiles, and 2 × 3 = 6 unit tiles. So (x + 2)(x + 3) = x² + 5x + 6.

The plan: Build a rectangle with sides x + 2 and x + 3, and count the tiles inside.

  1. One side: one x-length and 2 units. Other side: one x-length and 3 units.
  2. Inside: one x²-tile in the corner where the two x-lengths meet.
  3. x-tiles: 3 along one side of the x²-tile and 2 along the other, 5 in all.
  4. Unit tiles: the corner block is 2 by 3, so 6 unit tiles.

(x + 2)(x + 3) = x² + 5x + 6.

Check: Distributive property: x² + 3x + 2x + 6 = x² + 5x + 6.

Think and Reflect 2. Lay out algebra tiles for x² + 11x + 30 in such a way that you will see its factors.Tap to reveal
x²x6x5x² + 11x + 30 = (x + 5)(x + 6)
x² + 11x + 30 laid out as a rectangle. The 11 x-tiles are split 5 and 6 so that the 30 unit tiles fill a 5 by 6 block. The rectangle's sides can then be read off: x + 5 and x + 6.

The plan: We need to split the 11 x-tiles into two groups whose sizes multiply to 30, so the 30 unit tiles fill the corner exactly.

  1. Pairs that multiply to 30: 1 and 30, 2 and 15, 3 and 10, 5 and 6.
  2. Their sums: 31, 17, 13 and 11. Only 5 and 6 add up to 11.
  3. So place 6 x-tiles along one side of the x²-tile and 5 along the other; the corner is a 5 by 6 block of 30 unit tiles.
  4. The sides of the rectangle are x + 5 and x + 6.

x² + 11x + 30 = (x + 5)(x + 6).

Think and Reflect. We have seen that (x + 3)(x + 4) = x² + 7x + 12. Also (x + 6)(x + 7) = x² + 13x + 42. Generalise the pattern to get an expression for (x + a)(x + b).Tap to reveal

The plan: Look at where 7 and 12 come from (3 + 4 and 3 × 4), and 13 and 42 (6 + 7 and 6 × 7); then prove it with the distributive property.

  1. In both examples, the coefficient of x is the sum of the two numbers, and the constant is their product.
  2. Proof: (x + a)(x + b) = x² + bx + ax + ab = x² + (a + b)x + ab.

(x + a)(x + b) = x² + (a + b)x + ab.

The product of x + a and x + b

Read it as "x plus a, times x plus b, equals x squared plus a plus b times x, plus a b". It holds for negative a and b too: (x + 4)(x − 9) = x² + (4 − 9)x + 4 × (−9) = x² − 5x − 36.

When x has a number in front

Now take a rectangle with sides 2x + 3 and 3x + 1. What is its area (2x + 3)(3x + 1)?

x²x²xxxx²x²xxxx²x²xxxxx1112x + 33x + 1
Book Fig. 4.8: (2x + 3)(3x + 1) uses 6 x² tiles, 2 + 9 = 11 x-tiles and 3 unit tiles: 6x² + 11x + 3.

Counting tiles: two x-lengths times three x-lengths make 2 × 3 = 6 x²-tiles. The 3 units along one side meet the 3x along the other to give 9 x-tiles, and the 2x meets the 1 unit to give 2 more: 11 x-tiles. The corner is 3 × 1 = 3 unit tiles. So (2x + 3)(3x + 1) = 6x² + 11x + 3.

Fill in the blanks with the appropriate expressions to make the equation true: (px + a)(qx + b) = (___)x² + (___)x + ___. Also verify your answer using the distributive property.Tap to reveal

The plan: Copy what happened with (2x + 3)(3x + 1), then prove it.

  1. x² terms: px × qx = pqx².
  2. x terms: px × b + a × qx = (pb + qa)x.
  3. Constant: a × b = ab.
  4. Distributive property: (px + a)(qx + b) = px(qx + b) + a(qx + b) = pqx² + pbx + qax + ab = pqx² + (pb + qa)x + ab.
  5. Check with p = 2, a = 3, q = 3, b = 1: pq = 6, pb + qa = 2 + 9 = 11, ab = 3. This matches 6x² + 11x + 3.

(px + a)(qx + b) = (pq)x² + (pb + qa)x + ab.

The product of two linear expressions

Read it as "p x plus a, times q x plus b, equals p q x squared, plus p b plus q a times x, plus a b".

When you are stuck: factorising with algebra tiles

Place the big square first. Put the x² tiles in a corner, then the ones (units) in the opposite corner.

Split the x-tiles into two groups. The groups must add up to the middle number and multiply to the number of unit tiles.

Read the sides. When the tiles make a full rectangle, its length and width are the two factors.

Your turn

1. With algebra tiles, find (x + 1)(x + 4).Tap to reveal

The plan: Build a rectangle with sides x + 1 and x + 4 and count the tiles.

  1. One x²-tile where the two x-lengths meet.
  2. x-tiles: 4 along one side and 1 along the other, 5 in all.
  3. Unit tiles: the corner block is 1 by 4, so 4 of them.

(x + 1)(x + 4) = x² + 5x + 4.

Check: Distributive property: x² + 4x + x + 4 = x² + 5x + 4.

2. Can the tiles for x² + 6x + 7 be laid out as a rectangle?Tap to reveal

The plan: The 6 x-tiles must split into two groups whose sizes multiply to 7, the number of unit tiles.

  1. The only whole-number pair with product 7 is 1 and 7.
  2. Their sum is 8, not 6. So no split of the 6 x-tiles leaves a corner that 7 unit tiles fill exactly.
  3. So these tiles cannot form a rectangle, and x² + 6x + 7 has no factors of the form (x + a)(x + b) with whole numbers a and b.

No. Not every quadratic expression can be factorised with whole numbers; x² + 6x + 7 is one that cannot.

In one line

Algebra tiles turn a product into a rectangle: the x-tiles split into two groups whose sizes add to the middle coefficient and multiply to the constant.

4.6Factorisation without algebra tiles: splitting the middle term

We saw that x² + 7x + 12 came from multiplying x + 3 and x + 4, and that the tiles needed 7x to be split as 3x + 4x. But how do we find that split without tiles? We use the identity (x + a)(x + b) = x² + (a + b)x + ab in reverse.

Example 10 (from the book)

Factorise x² + 7x + 12.

The plan: Compare x² + 7x + 12 with x² + (a + b)x + ab, and find a and b.

  1. Matching the x terms: a + b = 7. Matching the constants: ab = 12.
  2. Two numbers that multiply to 12 and add to 7: only 3 and 4 (or 4 and 3).
  3. So x² + 7x + 12 = (x + 3)(x + 4).

x² + 7x + 12 = (x + 3)(x + 4).

Check: (x + 3)(x + 4) = x² + 4x + 3x + 12 = x² + 7x + 12.

Example 11 (from the book)

Factorise x² + 11x + 30.

The plan: We need a + b = 11 and ab = 30. List the factor pairs of 30 and their sums.

  1. Pairs with product 30: 1 × 30, 2 × 15, 3 × 10, 5 × 6.
  2. Their sums: 31, 17, 13 and 11.
  3. a = 2 and b = 15, or a = 3 and b = 10, give the right product but the wrong sum, so they do not work.
  4. 5 and 6 give the product 30 and the sum 11. So 11x splits as 5x + 6x.

x² + 11x + 30 = x² + (5 + 6)x + 30 = (x + 5)(x + 6).

Check: With x = 1: 1 + 11 + 30 = 42, and 6 × 7 = 42.

Example 12 (from the book)

Factorise x² − 5x + 6.

The plan: Now the middle coefficient is negative: a + b = −5 and ab = 6.

  1. The product is positive, so a and b have the same sign. The sum is negative, so both are negative.
  2. Negative pairs with product 6: −1 and −6 (sum −7), −2 and −3 (sum −5).
  3. So a = −2 and b = −3.

x² − 5x + 6 = (x − 2)(x − 3).

Check: (x − 2)(x − 3) = x² − 3x − 2x + 6 = x² − 5x + 6.

Constant termMiddle termSigns of a and bExample
positivepositiveboth positivex² + 7x + 12 = (x + 3)(x + 4)
positivenegativeboth negativex² − 5x + 6 = (x − 2)(x − 3)
negativeeitherone positive, one negative; the bigger size takes the middle term's signx² + 2x − 35 = (x + 7)(x − 5)

Worked example 5

Factorise x² + 2x − 35 and x² − 3x − 28.

The plan: Negative constant: a and b have opposite signs, and their sizes differ by the middle coefficient.

  1. x² + 2x − 35: pairs with product 35 are 1, 35 and 5, 7. Sizes 5 and 7 differ by 2. The sum must be +2, so +7 and −5: (x + 7)(x − 5).
  2. x² − 3x − 28: pairs with product 28 are 1, 28; 2, 14; 4, 7. Sizes 4 and 7 differ by 3. The sum must be −3, so −7 and +4: (x − 7)(x + 4).

x² + 2x − 35 = (x + 7)(x − 5) and x² − 3x − 28 = (x − 7)(x + 4).

Check: (x + 7)(x − 5) = x² − 5x + 7x − 35 = x² + 2x − 35.

When x² has a number in front: splitting the middle term

For an expression like 2x² + 9x + 10, the form (px + a)(qx + b) = pqx² + (pb + qa)x + ab tells us what to look for. The two parts of the middle term, pb and qa, multiply to pq × ab, which is the first coefficient times the constant. So:

Splitting the middle term

1. Multiply the coefficient of x² by the constant term.

2. Find two numbers that multiply to that product and add up to the coefficient of x.

3. Split the middle term into those two parts, group the four terms in pairs, and take out a common factor from each pair.

4. The two brackets left are the same; take that bracket out as a common factor.

Why this is the tile rectangle in disguise. In the tile picture for (px + a)(qx + b), the x-tiles come in two groups: pb of them along one side and qa along the other. The corner holds ab unit tiles, and the x²-tiles fill a p by q block. So the two groups of x-tiles always multiply to (pb)(qa) = (pq)(ab): the number of x²-tiles times the number of unit tiles. Splitting the middle term finds those two groups by arithmetic instead of by moving tiles.

Worked example 6

Factorise 2x² + 9x + 10.

The plan: First coefficient × constant = 2 × 10 = 20. Find two numbers with product 20 and sum 9.

  1. Pairs with product 20: 1 and 20, 2 and 10, 4 and 5. Their sums: 21, 12, 9. So 4 and 5.
  2. Split: 2x² + 9x + 10 = 2x² + 4x + 5x + 10.
  3. Group: 2x(x + 2) + 5(x + 2).
  4. Both groups contain (x + 2): (x + 2)(2x + 5).

2x² + 9x + 10 = (2x + 5)(x + 2).

Check: (2x + 5)(x + 2) = 2x² + 4x + 5x + 10 = 2x² + 9x + 10.

Worked example 7

Multiply out (x + 4)(x − 9) and (3x + 2)(x + 5).

The plan: Use the two product identities.

  1. (x + 4)(x − 9) = x² + (4 − 9)x + 4 × (−9) = x² − 5x − 36.
  2. (3x + 2)(x + 5): p = 3, a = 2, q = 1, b = 5. pq = 3, pb + qa = 15 + 2 = 17, ab = 10.

(x + 4)(x − 9) = x² − 5x − 36 and (3x + 2)(x + 5) = 3x² + 17x + 10.

Check: With x = 1: 5 × (−8) = −40 and 1 − 5 − 36 = −40; 5 × 6 = 30 and 3 + 17 + 10 = 30.

Common mistakes when splitting

Choosing a pair with the right product but the wrong sum (2 and 15 for x² + 11x + 30). Always check both conditions.

Losing a sign: x² − 5x + 6 needs −2 and −3, not 2 and 3. Multiply your brackets back out to check.

When you are stuck: splitting the middle term

List the factor pairs of the constant. Write every pair that multiplies to C (or to A × C); then look for the pair that adds to B.

Mind the signs. If C is positive, both numbers have the sign of B; if C is negative, the numbers have opposite signs.

Group in twos. After splitting, take a common factor out of each pair of terms; the brackets left must match.

If no pair works, check the question. Some quadratics do not factorise with whole numbers.

Your turn

1. Factorise x² + 9x + 20 and x² − x − 12.Tap to reveal

The plan: Find two numbers with the right product and sum each time.

  1. x² + 9x + 20: product 20 and sum 9 give 4 and 5. So (x + 4)(x + 5).
  2. x² − x − 12: product −12 and sum −1 give −4 and 3. So (x − 4)(x + 3).

x² + 9x + 20 = (x + 4)(x + 5) and x² − x − 12 = (x − 4)(x + 3).

Check: (x − 4)(x + 3) = x² + 3x − 4x − 12 = x² − x − 12.

2. Factorise 3x² + 10x + 8.Tap to reveal

The plan: Split the middle term: 3 × 8 = 24; find two numbers with product 24 and sum 10.

  1. Pairs with product 24: 1 and 24, 2 and 12, 3 and 8, 4 and 6. Their sums: 25, 14, 11, 10. So 4 and 6.
  2. Split: 3x² + 4x + 6x + 8.
  3. Group: x(3x + 4) + 2(3x + 4).
  4. Take out the common bracket: (3x + 4)(x + 2).

3x² + 10x + 8 = (3x + 4)(x + 2).

Check: With x = 1: 3 + 10 + 8 = 21, and 7 × 3 = 21.

In one line

To factorise x² + Bx + C, find two numbers that multiply to C and add to B; with a number A in front of x², they must multiply to A × C.

Ex 4.4Exercise Set 4.4, solved

When you are stuck: Exercise Set 4.4

Write A × C before searching. For 2x² + 7x + 3, search for numbers that multiply to 6 and add to 7.

Try the pairs in order. 1 and 6, then 2 and 3: a careful list beats guessing.

Expand to check. Multiplying the two brackets must give back the quadratic.

1. Fill in the blanks to complete the following identities: (i) s² − 11s + 24 = (___)(___) (ii) (___)(x + 1) = 3x² − 4x − 7 (iii) 10x² − 11x − 6 = (2x − ___)(___ + 2) (iv) 6x² + 7x + 2 = (___)(___)Tap to reveal

The plan: Use the sum-and-product idea, or split the middle term; then multiply back to check each answer.

  1. (i) Two numbers with product 24 and sum −11: −3 and −8. So s² − 11s + 24 = (s − 3)(s − 8).
  2. (ii) The missing factor times (x + 1) must start with 3x² and end with −7, so it is (3x − 7). Check: (3x − 7)(x + 1) = 3x² + 3x − 7x − 7 = 3x² − 4x − 7.
  3. (iii) The second bracket must be (5x + 2), so that 2x × 5x = 10x². Then the constant: −(blank) × 2 = −6, so the blank is 3. Check: (2x − 3)(5x + 2) = 10x² + 4x − 15x − 6 = 10x² − 11x − 6.
  4. (iv) 6 × 2 = 12; two numbers with product 12 and sum 7: 3 and 4. Split: 6x² + 3x + 4x + 2 = 3x(2x + 1) + 2(2x + 1) = (2x + 1)(3x + 2).

(i) (s − 3)(s − 8) (ii) (3x − 7)(x + 1) (iii) (2x − 3)(5x + 2) (iv) (2x + 1)(3x + 2).

Check: (iv) with x = 1: 6 + 7 + 2 = 15, and 3 × 5 = 15.

2. Select and use the identity that will help you to find the following products without multiplying directly: (i) 41² (ii) 27² (iii) 23 × 17 (iv) 135² (v) 97² (vi) 18 × 29 (vii) 34 × 43 (viii) 205²Tap to reveal

The plan: Squares near round numbers: (a ± b)²; two numbers equally far from a middle number: (a + b)(a − b); two numbers near the same round number: (x + a)(x + b); numbers ending in 5: Śrīdharācārya.

  1. (i) (40 + 1)² = 1600 + 80 + 1 = 1681.
  2. (ii) (30 − 3)² = 900 − 180 + 9 = 729.
  3. (iii) 23 × 17 = (20 + 3)(20 − 3) = 400 − 9 = 391.
  4. (iv) 135² = (135 + 5)(135 − 5) + 25 = 140 × 130 + 25 = 18,200 + 25 = 18,225.
  5. (v) (100 − 3)² = 10,000 − 600 + 9 = 9409.
  6. (vi) 18 × 29 = (20 − 2)(20 + 9) = 20² + (−2 + 9) × 20 + (−2) × 9 = 400 + 140 − 18 = 522.
  7. (vii) 34 × 43 = (40 − 6)(40 + 3) = 1600 + (−6 + 3) × 40 + (−6) × 3 = 1600 − 120 − 18 = 1462.
  8. (viii) (200 + 5)² = 40,000 + 2000 + 25 = 42,025.

(i) 1681 (ii) 729 (iii) 391 (iv) 18,225 (v) 9409 (vi) 522 (vii) 1462 (viii) 42,025.

Check: (vi) 18 × 29 = 18 × 30 − 18 = 540 − 18 = 522.

3. Factor the following: (i) 9a² + b² + 4c² − 6ab + 12ac − 4bc (ii) 16s² + 25t² − 40st (iii) r² − r − 42 (iv) 49g² + 14gh + h² (v) 64u² + 121v² + 4w² − 176uv − 32uw + 44vwTap to reveal

The plan: Squares of three terms: find the three roots, then choose their signs to match the product terms. Quadratics: sum and product.

  1. (i) 9a² = (3a)², b², 4c² = (2c)². −6ab needs the b-part negative: 2(3a)(−b) = −6ab; then 2(3a)(2c) = 12ac and 2(−b)(2c) = −4bc. So (3a − b + 2c)².
  2. (ii) 16s² = (4s)², 25t² = (5t)², and −40st = −2 × 4s × 5t. So (4s − 5t)².
  3. (iii) Product −42, sum −1: −7 and 6. So (r − 7)(r + 6).
  4. (iv) (7g)² + 2 × 7g × h + h². So (7g + h)².
  5. (v) 64u² = (8u)², 121v² = (11v)², 4w² = (2w)². −176uv = 2(8u)(−11v) and −32uw = 2(8u)(−2w), so the v- and w-parts are negative; then 2(−11v)(−2w) = +44vw matches. So (8u − 11v − 2w)².

(i) (3a − b + 2c)² (ii) (4s − 5t)² (iii) (r − 7)(r + 6) (iv) (7g + h)² (v) (8u − 11v − 2w)².

Check: (iii) (r − 7)(r + 6) = r² + 6r − 7r − 42 = r² − r − 42.

Think and Reflect. James: (a − b)²(a + b) = (a² − 2ab + b²)(a + b). Reshma: (a − b)²(a + b) = (a − b)[(a − b)(a + b)] = (a − b)(a² − b²), and I will find this product. According to you, who is correct and why? Try to combine more such identities and find new results.Tap to reveal

The plan: Finish both methods and compare the results.

  1. James: (a² − 2ab + b²)(a + b) = a³ + a²b − 2a²b − 2ab² + ab² + b³ = a³ − a²b − ab² + b³.
  2. Reshma: (a − b)(a² − b²) = a³ − ab² − a²b + b³, the same four terms.
  3. Both are correct: they only grouped the three brackets differently, and multiplication can be grouped in any way. Reshma's grouping is quicker, because (a − b)(a + b) collapses to a² − b².
  4. Another combination: (a + b)²(a − b)² = [(a + b)(a − b)]² = (a² − b²)² = a⁴ − 2a²b² + b⁴.

Both are correct and give a³ − a²b − ab² + b³; Reshma's way is shorter.

4.7Finding new identities: cubes

In this section we play with algebraic expressions to find new identities. The first question: what does (a + b)³ look like?

The cube of a sum

(a + b)³ means (a + b) × (a + b) × (a + b). We already know the square, so (a + b)³ = (a + b)(a² + 2ab + b²). Now use the distributive property:

  1. Multiply a by each term of the second bracket: a × a² + a × 2ab + a × b² = a³ + 2a²b + ab².
  2. Multiply b by each term: b × a² + b × 2ab + b × b² = a²b + 2ab² + b³.
  3. Add the two rows and collect like terms: a³ + (2a²b + a²b) + (ab² + 2ab²) + b³ = a³ + 3a²b + 3ab² + b³.
The cube of a sum

Read it as "a plus b, all cubed, equals a cubed plus three a squared b plus three a b squared plus b cubed". The powers of a go down 3, 2, 1, 0 while the powers of b go up 0, 1, 2, 3, and the numbers in front are 1, 3, 3, 1.

Let us see this identity as a solid. A square of side a + b split into squares and rectangles gave us (a + b)². What about a cube of edge (a + b)? Can we split it into smaller cubes and cuboids?

abab
Book Fig. 4.9: a cube of edge (a + b). Cutting every edge into a and b splits it into the 8 pieces of Fig. 4.10.

The volume of this cube is (a + b)³. Cut every edge at the point where a ends and b begins, and slice the cube through those points in all three directions.

Book Fig. 4.10: the cube of edge (a + b) taken apart: a cube a³, a cube b³, three cuboids a × a × b and three cuboids a × b × b.

The big cube splits into two cubes and six cuboids (box shapes):

  • a cube of edge a, with volume a³, and a cube of edge b, with volume b³;
  • three cuboids that are a × a × b, each with volume a²b;
  • three cuboids that are a × b × b, each with volume ab².

The six cuboids together have volume 3a²b + 3ab². So the whole cube gives (a + b)³ = a³ + 3a²b + 3ab² + b³, the same identity. With numbers, a = 2 and b = 1: the big cube is 3 × 3 × 3 = 27 small cubes, and 8 + 3 × 4 + 3 × 2 + 1 = 8 + 12 + 6 + 1 = 27.

The cube of a difference

What happens if we replace b with −b in this new identity? [a + (−b)]³ = a³ + 3a²(−b) + 3a(−b)² + (−b)³. Now (−b)² = b² and (−b)³ = −b³, so:

The cube of a difference

Read it as "a minus b, all cubed, equals a cubed minus three a squared b plus three a b squared minus b cubed". Of the four terms, two are positive and two negative, and the signs take turns: +, −, +, −.

Now let us use these identities.

Example 13 (from the book)

What is the side of the cube whose volume is p³ + 6p²q + 12pq² + 8q³ cubic units?

The plan: Compare with a³ + 3a²b + 3ab² + b³: the first term is a cube and the last is a cube; check the middle two.

  1. p³ = (p)³, so a = p. 8q³ = (2q)³, so b = 2q.
  2. 3a²b = 3 × p² × 2q = 6p²q. It matches.
  3. 3ab² = 3 × p × (2q)² = 3 × p × 4q² = 12pq². It matches.
  4. So p³ + 6p²q + 12pq² + 8q³ = (p)³ + 3(p)²(2q) + 3(p)(2q)² + (2q)³ = (p + 2q)³.

The volume is (p + 2q)³, so a side of the cube is p + 2q units.

Check: With p = q = 1: 1 + 6 + 12 + 8 = 27 = 3³, and p + 2q = 3.

Example 14 (from the book)

Write 8n³ − 60n²m + 150nm² − 125m³ in the form (a − b)³. What are a and b?

The plan: The signs alternate +, −, +, −, which suggests (a − b)³. Find the cube roots of the first and last terms, then check the middle ones.

  1. 8n³ = (2n)³, so a = 2n. 125m³ = (5m)³, so b = 5m.
  2. 3a²b = 3 × (2n)² × 5m = 3 × 4n² × 5m = 60n²m. It matches.
  3. 3ab² = 3 × 2n × (5m)² = 3 × 2n × 25m² = 150nm². It matches.
  4. So the expression is (2n)³ − 3(2n)²(5m) + 3(2n)(5m)² − (5m)³ = (2n − 5m)³.

8n³ − 60n²m + 150nm² − 125m³ = (2n − 5m)³, with a = 2n and b = 5m.

Check: With n = 3 and m = 1: 216 − 540 + 450 − 125 = 1 = (6 − 5)³.

The sum and difference of two cubes

Now let us play with known identities to discover more. Multiply these, using the distributive property: 1. (x − y)(x² + xy + y²) and 2. (x + y)(x² − xy + y²). Here is the first:

  1. x × (x² + xy + y²) = x³ + x²y + xy².
  2. −y × (x² + xy + y²) = −x²y − xy² − y³.
  3. Add: the x²y terms cancel, and the xy² terms cancel. What is left is x³ − y³.

So (x − y)(x² + xy + y²) = x³ − y³. This is also an identity! Verify it for yourself with numbers: x = 3, y = 1 gives (2)(9 + 3 + 1) = 26, and 27 − 1 = 26.

Predict the second product: by the same cancelling, (x + y)(x² − xy + y²) = x³ + y³. Check with x = 2, y = 1: (3)(4 − 2 + 1) = 9, and 8 + 1 = 9.

Difference and sum of two cubes

Read the first as "x cubed minus y cubed equals x minus y, times x squared plus x y plus y squared". Notice the sign pattern: the first bracket has the same sign as the cubes, and the middle term of the second bracket has the opposite sign.

Think and Reflect. We have verified x² − y² = (x − y)(x + y) and x³ − y³ = (x − y)(x² + xy + y²), so x − y is a common factor of x² − y² and x³ − y³. Do you think x − y is also a factor of x⁴ − y⁴? Note that x⁴ − y⁴ = (x²)² − (y²)² = (x² − y²)(x² + y²). How about x⁵ − y⁵?Tap to reveal

The plan: Use the difference of squares twice for x⁴ − y⁴; for x⁵ − y⁵, guess the pattern and multiply out to check.

  1. x⁴ − y⁴ = (x² − y²)(x² + y²), and x² − y² = (x − y)(x + y). So x⁴ − y⁴ = (x − y)(x + y)(x² + y²): yes, x − y is a factor.
  2. For x⁵ − y⁵, follow the pattern of x³ − y³: try (x − y)(x⁴ + x³y + x²y² + xy³ + y⁴).
  3. Multiplying out: x × (…) = x⁵ + x⁴y + x³y² + x²y³ + xy⁴, and −y × (…) = −x⁴y − x³y² − x²y³ − xy⁴ − y⁵.
  4. Everything in the middle cancels, leaving x⁵ − y⁵. So x − y is a factor of x⁵ − y⁵ too.

Yes: x⁴ − y⁴ = (x − y)(x + y)(x² + y²) and x⁵ − y⁵ = (x − y)(x⁴ + x³y + x²y² + xy³ + y⁴). In fact x − y is a factor of xⁿ − yⁿ for every whole number n.

Check: With x = 2, y = 1: 32 − 1 = 31, and (1)(16 + 8 + 4 + 2 + 1) = 31.

Three cubes

Exploring further, multiply (x + y + z) by (x² + y² + z² − xy − xz − yz). Multiply each of x, y and z by the whole second bracket:

  • x × (…) = x³ + xy² + xz² − x²y − x²z − xyz;
  • y × (…) = x²y + y³ + yz² − xy² − xyz − y²z;
  • z × (…) = x²z + y²z + z³ − xyz − xz² − yz².

Now add the three rows. Each mixed term such as xy² appears once with + and once with −, so they all cancel in pairs. What survives is x³ + y³ + z³ and three copies of −xyz.

The sum of three cubes

Read it as "x cubed plus y cubed plus z cubed minus three x y z equals x plus y plus z, times x squared plus y squared plus z squared minus x y minus y z minus z x".

A useful special case: if x + y + z = 0, the right side is 0, so x³ + y³ + z³ = 3xyz. For example 2 + 3 + (−5) = 0, and 8 + 27 − 125 = −90 = 3 × 2 × 3 × (−5).

Example 15 (from the book)

The sum of three numbers is 10 and their product is 25. The sum of their squares is 38. Find the sum of their cubes.

What we know: x + y + z = 10, xyz = 25 and x² + y² + z² = 38.

What we need: x³ + y³ + z³.

The plan: Put what we know into the three-cubes identity; the one missing piece, xy + yz + zx, comes from the identity for (x + y + z)².

  1. The identity: x³ + y³ + z³ − 3xyz = (x + y + z)(x² + y² + z² − xy − xz − yz).
  2. Substitute: x³ + y³ + z³ − 3 × 25 = 10 × (38 − (xy + xz + yz)).
  3. So x³ + y³ + z³ = 380 − 10(xy + xz + yz) + 75 = 455 − 10(xy + xz + yz).
  4. To find xy + xz + yz, use (x + y + z)² = x² + y² + z² + 2(xy + xz + yz): 100 = 38 + 2(xy + xz + yz), so xy + xz + yz = 62 ÷ 2 = 31.
  5. Then x³ + y³ + z³ = 455 − 10 × 31 = 455 − 310 = 145.

The sum of their cubes is 145.

Worked example 8

Expand (2x − 1)³ and (a + 2)³, and factorise 27 − y³.

The plan: Use the cube identities with the right a and b.

  1. (2x − 1)³: a = 2x, b = 1. (2x)³ − 3(2x)²(1) + 3(2x)(1)² − 1 = 8x³ − 12x² + 6x − 1.
  2. (a + 2)³ = a³ + 3a²(2) + 3a(2²) + 2³ = a³ + 6a² + 12a + 8.
  3. 27 − y³ = 3³ − y³ = (3 − y)(9 + 3y + y²).

(2x − 1)³ = 8x³ − 12x² + 6x − 1; (a + 2)³ = a³ + 6a² + 12a + 8; 27 − y³ = (3 − y)(9 + 3y + y²).

Check: With x = 1: (2 − 1)³ = 1 and 8 − 12 + 6 − 1 = 1.

Common mistakes with cubes

(a + b)³ is not a³ + b³: the two middle terms 3a²b + 3ab² are needed. Test with a = b = 1: 2³ = 8, but 1 + 1 = 2.

In x³ + y³ = (x + y)(x² − xy + y²), the middle sign inside the second bracket is minus. A plus there gives x³ + 2x²y + 2xy² + y³ instead.

Where do the numbers 1, 3, 3, 1 come from?

Look at the numbers in front of the terms. (a + b)² gives 1, 2, 1, and (a + b)³ gives 1, 3, 3, 1. Write the rows one under another, starting with (a + b)¹ = a + b, which gives 1, 1:

  • (a + b)¹: 1, 1
  • (a + b)²: 1, 2, 1
  • (a + b)³: 1, 3, 3, 1
  • (a + b)⁴: 1, 4, 6, 4, 1

Each number is the sum of the two numbers just above it: 3 = 1 + 2, and 6 = 3 + 3. The reason is the distributive property: multiplying by one more (a + b) adds each term to its neighbour. Indian mathematicians knew this triangle of numbers as the Meru Prastara, linked with the work of Piṅgala on poetic metres and explained by Halāyudha in the 10th century. In Europe it is called Pascal's triangle. The next row gives a new identity: (a + b)⁴ = a⁴ + 4a³b + 6a²b² + 4ab³ + b⁴. Check it with a = b = 1: 2⁴ = 16, and 1 + 4 + 6 + 4 + 1 = 16.

When you are stuck: identities for cubes

Remember 1, 3, 3, 1. (a + b)³ = a³ + 3a²b + 3ab² + b³; the numbers come from multiplying (a + b) three times.

For a difference, alternate the signs. (a − b)³ = a³ − 3a²b + 3ab² − b³.

Factorise a sum of cubes with the short form. x³ + y³ = (x + y)(x² − xy + y²); the middle sign is the opposite.

Test with a = 2 and b = 1. Both sides must give the same number.

Your turn

1. Find 103³ with (a + b)³.Tap to reveal

The plan: 103 = 100 + 3.

  1. a³ = 100³ = 10,00,000.
  2. 3a²b = 3 × 10,000 × 3 = 90,000.
  3. 3ab² = 3 × 100 × 9 = 2700.
  4. b³ = 27.
  5. Add: 10,00,000 + 90,000 + 2700 + 27 = 10,92,727.

103³ = 10,92,727.

Check: 103² = 10,609, and 10,609 × 103 = 10,60,900 + 31,827 = 10,92,727.

2. Factorise 8a³ + 27b³.Tap to reveal

The plan: It is a sum of two cubes: (2a)³ + (3b)³.

  1. x³ + y³ = (x + y)(x² − xy + y²) with x = 2a and y = 3b.
  2. x² = 4a², xy = 6ab, y² = 9b².

8a³ + 27b³ = (2a + 3b)(4a² − 6ab + 9b²).

Check: With a = b = 1: 8 + 27 = 35, and 5 × (4 − 6 + 9) = 5 × 7 = 35.

3. Find 7³ + (−3)³ + (−4)³ without cubing each number.Tap to reveal

The plan: 7 + (−3) + (−4) = 0, so the special case x³ + y³ + z³ = 3xyz applies.

  1. The three numbers add up to 0.
  2. So their cubes add up to 3 × 7 × (−3) × (−4).
  3. 3 × 7 = 21, and (−3) × (−4) = 12, so the answer is 21 × 12 = 252.

7³ + (−3)³ + (−4)³ = 252.

Check: 343 − 27 − 64 = 252.

In one line

(a ± b)³ = a³ ± 3a²b + 3ab² ± b³; x³ ∓ y³ = (x ∓ y)(x² ± xy + y²); and x³ + y³ + z³ − 3xyz = (x + y + z)(x² + y² + z² − xy − yz − zx).

4.8Simplifying rational expressions

In the earlier sections we learnt several ways to factorise. Now we use them to simplify fractions made of algebraic expressions.

Rational expression

A rational expression is a fraction whose top and bottom are polynomials, such as (x² − 7x + 12)/(5x² + 5x − 100). It is to polynomials what a rational number p/q is to integers.

As with numbers, its bottom must not be 0. So each rational expression comes with a condition, such as "assuming 5x² + 5x − 100 ≠ 0".

To simplify a fraction of numbers, we cancel common factors: 12/18 = (6 × 2)/(6 × 3) = 2/3. We do exactly the same with expressions: factorise the top and the bottom completely, then cancel any factor they share. Cancelling is allowed because a factor divided by itself is 1, as long as that factor is not 0.

Example 16 (from the book)

Simplify (x² − 7x + 12)/(5x² + 5x − 100), assuming that 5x² + 5x − 100 ≠ 0.

The plan: Factorise the numerator and the denominator, then cancel any common factor.

  1. Numerator: x² − 7x + 12. We need a and b with a + b = −7 and ab = 12. They are −3 and −4. So x² − 7x + 12 = (x − 3)(x − 4).
  2. Denominator: all three terms are multiples of 5, so 5x² + 5x − 100 = 5(x² + x − 20). Now a + b = 1 and ab = −20: 5 and −4. So 5x² + 5x − 100 = 5(x − 4)(x + 5).
  3. The fraction is (x − 4)(x − 3) / [5(x − 4)(x + 5)].
  4. The common factor x − 4 is not 0, because the whole denominator is not 0 (we were told so). So it can be cancelled.

(x² − 7x + 12)/(5x² + 5x − 100) = (x − 3)/(5(x + 5)).

Check: With x = 1: the original is (1 − 7 + 12)/(5 + 5 − 100) = 6/(−90) = −1/15, and the simplified one is (1 − 3)/(5 × 6) = −2/30 = −1/15.

Common mistake: cancelling terms instead of factors

Only factors (things multiplied) can be cancelled, never terms (things added). (x + 3)/(x + 5) is not 3/5: with x = 1 it is 4/6 = 2/3.

Likewise (x² + 3)/x is not x + 3. Factorise first; cancel only a whole bracket that multiplies the entire top and the entire bottom.

Think and Reflect. Try to simplify the rational expression (36s² − 12st + t²)/(t² + 2ts − 48s²) = (6s − t)²/[(___ + ___)(___ + ___)]. (Hint: factor t² + 2ts − 48s² and simplify, assuming that t² + 2ts − 48s² ≠ 0.)Tap to reveal

The plan: The top is a perfect square; factorise the bottom by sum and product; then cancel the shared bracket.

  1. Top: 36s² − 12st + t² = (6s)² − 2(6s)(t) + t² = (6s − t)².
  2. Bottom: t² + 2ts − 48s². We need two terms with sum 2s and product −48s²: 8s and −6s. So t² + 2ts − 48s² = (t + 8s)(t + (−6s)) = (t + 8s)(t − 6s).
  3. Note that (6s − t)² = (t − 6s)², because a number and its negative have the same square.
  4. So the fraction is (t − 6s)²/[(t + 8s)(t − 6s)], and one (t − 6s) cancels.

(36s² − 12st + t²)/(t² + 2ts − 48s²) = (6s − t)²/[(t + 8s)(t − 6s)] = (t − 6s)/(t + 8s).

Check: With s = 1 and t = 2: the original is (36 − 24 + 4)/(4 + 4 − 48) = 16/(−40) = −2/5, and (2 − 6)/(2 + 8) = −4/10 = −2/5.

Worked example 9

Simplify (x² − 25)/(x² + 2x − 15), assuming the denominator is not 0.

The plan: Top: a difference of squares. Bottom: sum and product.

  1. x² − 25 = (x − 5)(x + 5).
  2. x² + 2x − 15: sum 2, product −15, so 5 and −3: (x + 5)(x − 3).
  3. Cancel the common factor (x + 5).

(x² − 25)/(x² + 2x − 15) = (x − 5)/(x − 3).

Check: With x = 2: (4 − 25)/(4 + 4 − 15) = −21/(−7) = 3, and (2 − 5)/(2 − 3) = −3/(−1) = 3.

When you are stuck: simplifying rational expressions

Factorise the top and the bottom completely. Only whole factors can cancel.

Never cancel terms. In (x + 2)/(x + 5), the x's are terms, not factors, so nothing cancels.

State the forbidden values. Any x that makes the bottom zero must be left out.

Check with a number. Put x = 1 into the original and the simplified form; they must agree.

Your turn

1. Simplify (x³ − 8)/(x² − 4), assuming the denominator is not 0.Tap to reveal

The plan: Top: a difference of cubes. Bottom: a difference of squares.

  1. x³ − 8 = x³ − 2³ = (x − 2)(x² + 2x + 4).
  2. x² − 4 = (x − 2)(x + 2).
  3. Cancel (x − 2).

(x³ − 8)/(x² − 4) = (x² + 2x + 4)/(x + 2).

Check: With x = 3: (27 − 8)/(9 − 4) = 19/5, and (9 + 6 + 4)/5 = 19/5.

2. Simplify (a² + 2ab + b²)/(a² − b²), assuming the denominator is not 0.Tap to reveal

The plan: Top: a perfect square. Bottom: a difference of squares.

  1. a² + 2ab + b² = (a + b)².
  2. a² − b² = (a + b)(a − b).
  3. Cancel one (a + b).

(a² + 2ab + b²)/(a² − b²) = (a + b)/(a − b).

Check: With a = 3 and b = 1: 16/8 = 2, and 4/2 = 2.

In one line

To simplify a rational expression, factorise the top and the bottom completely and cancel common factors, which are never 0 under the given condition.

Ex 4.5Exercise Set 4.5, solved

When you are stuck: Exercise Set 4.5

Factorise each part before doing anything else. Most questions become easy once every bracket is in factors.

Cancel one factor at a time. Strike out matching factors from the top and the bottom.

Keep the restrictions. Write which values of x are not allowed beside your answer.

1. Simplify the following rational expressions, assuming that the expressions in the denominators are not equal to zero: (i) (3p² − 3pq − 18q²)/(p² + 3pq − 10q²). (ii) (n³ − 3n²m + 3nm² − m³)/(5m² − 10mn + 5n²). (iii) (w³ − v³ + x³ + 3wvx)/(w² + v² + x² − 2wv − 2vx + 2wx). (iv) (4y² − 20yz + 25z²)/(25z² − 4y²). (v) [(x² + x − 6)(x² − 7x + 12)]/[(x² − 6x + 8)(x² − 9)]. (vi) (p⁴ − 16)/(p² − 4p + 4).Tap to reveal

The plan: Factorise every top and bottom completely with the identities of this chapter; then cancel only whole common factors.

  1. (i) Top: 3(p² − pq − 6q²); with sum −q and product −6q² we get −3q and 2q, so the top is 3(p − 3q)(p + 2q). Bottom: sum 3q and product −10q² give 5q and −2q, so (p + 5q)(p − 2q). No factor is shared, so nothing cancels: the simplest form is 3(p − 3q)(p + 2q)/[(p + 5q)(p − 2q)].
  2. (ii) Top: n³ − 3n²m + 3nm² − m³ = (n − m)³. Bottom: 5(m² − 2mn + n²) = 5(m − n)² = 5(n − m)². Cancel (n − m)²: the answer is (n − m)/5.
  3. (iii) Top: w³ + (−v)³ + x³ − 3(w)(−v)(x), the three-cubes identity with w, −v and x. So it equals (w − v + x)(w² + v² + x² + wv + vx − wx). Bottom: w² + (−v)² + x² + 2(w)(−v) + 2(−v)(x) + 2(x)(w) = (w − v + x)². Cancel one (w − v + x): the answer is (w² + v² + x² + wv + vx − wx)/(w − v + x).
  4. (iv) Top: (2y − 5z)², which is the same as (5z − 2y)². Bottom: (5z)² − (2y)² = (5z − 2y)(5z + 2y). Cancel (5z − 2y): the answer is (5z − 2y)/(5z + 2y).
  5. (v) Factorise all four: x² + x − 6 = (x + 3)(x − 2); x² − 7x + 12 = (x − 3)(x − 4); x² − 6x + 8 = (x − 2)(x − 4); x² − 9 = (x − 3)(x + 3). The top and the bottom contain exactly the same four factors, so everything cancels: the answer is 1.
  6. (vi) Top: p⁴ − 16 = (p² − 4)(p² + 4) = (p − 2)(p + 2)(p² + 4). Bottom: p² − 4p + 4 = (p − 2)². Cancel one (p − 2): the answer is (p + 2)(p² + 4)/(p − 2).

(i) 3(p − 3q)(p + 2q)/[(p + 5q)(p − 2q)] (no common factor) (ii) (n − m)/5 (iii) (w² + v² + x² + wv + vx − wx)/(w − v + x) (iv) (5z − 2y)/(5z + 2y) (v) 1 (vi) (p + 2)(p² + 4)/(p − 2).

Check: (ii) with n = 3, m = 1: the original is (27 − 27 + 9 − 1)/(5 − 30 + 45) = 8/20 = 2/5, and (3 − 1)/5 = 2/5. (vi) with p = 3: (81 − 16)/(9 − 12 + 4) = 65, and 5 × 13/1 = 65.

MoreTwo more examples: Saira's rectangle and a pool

The book ends the chapter's teaching with two problems where factorising answers a real question about lengths.

Example 17 (from the book)

Saira has arranged a square of side x units, 8 rectangular strips of sides x units and 1 unit, and 15 squares of side 1 unit to form a bigger rectangle. Find the length and breadth of the rectangle in terms of x.

What we know: One x by x square, eight x by 1 strips and fifteen 1 by 1 squares fit together into one rectangle.

What we need: The rectangle's length and breadth.

The plan: Add up the areas to get the rectangle's area as an expression, then factorise it: the factors are the sides.

  1. Area of the square: x² square units.
  2. Area of one strip: x × 1 = x, so 8 strips cover 8x square units.
  3. Area of one small square: 1, so 15 of them cover 15 square units.
  4. Total area: x² + 8x + 15 square units.
  5. Factorise: we need a + b = 8 and ab = 15. The pair 3 and 5 works. So x² + 8x + 15 = (x + 3)(x + 5).

The rectangle is x + 5 units long and x + 3 units broad.

Check: (x + 3)(x + 5) = x² + 5x + 3x + 15 = x² + 8x + 15.

The book asks you to draw Saira's rectangle using these pieces. Here it is: the 8 strips split as 5 and 3, and the 15 small squares fill a 3 by 5 corner.

x²x5x3x² + 8x + 15 = (x + 3)(x + 5)
Saira's rectangle. One x² square, 8 strips of x by 1 (split 5 and 3), and 15 unit squares in a 3 by 5 block make a rectangle of length x + 5 and breadth x + 3.

Example 18 (from the book)

A rectangular pool is such that its breadth is 4 metres less than its length, and its area is 96 square metres. Find the length and breadth of the pool.

What we know: Breadth = length − 4. Area = 96 m².

What we need: The length and breadth.

The plan: Let the length be x metres; write the area as an equation; factorise by splitting the middle term; keep only the answer that makes sense.

  1. Length = x m, breadth = (x − 4) m. Area: x(x − 4) = 96, so x² − 4x = 96, or x² − 4x − 96 = 0.
  2. We need two numbers with product −96 and sum −4: −12 and 8, since (−12) × 8 = −96 and (−12) + 8 = −4.
  3. Split: x² − 12x + 8x − 96 = x(x − 12) + 8(x − 12) = (x − 12)(x + 8). So (x − 12)(x + 8) = 0.
  4. A product is 0 only when one of its factors is 0. So x − 12 = 0 or x + 8 = 0, that is, x = 12 or x = −8.
  5. A length cannot be negative, so we ignore x = −8. The length is 12 m, and the breadth is 12 − 4 = 8 m.

The pool is 12 metres long and 8 metres broad.

Check: 12 × 8 = 96 m², and 8 is 4 less than 12.

When you are stuck: using factors in real problems

Write the area as a product. Factorising the area expression gives possible lengths and widths.

Use the zero product rule. If (x − 3)(x + 5) = 0, then x − 3 = 0 or x + 5 = 0.

Reject answers that make no sense. A length cannot be negative, so keep only the sensible value.

Your turn

1. A garden has area x² + 7x + 10 square metres, and one side is x + 2 metres. Find the other side.Tap to reveal

The plan: Factorise the area and remove the known side.

  1. Product 10 and sum 7: 2 and 5. So x² + 7x + 10 = (x + 2)(x + 5).
  2. Dividing by the side x + 2 leaves x + 5.

The other side is x + 5 metres.

Check: With x = 1: area 1 + 7 + 10 = 18, sides 3 and 6, and 3 × 6 = 18.

2. A rectangle is 3 cm longer than it is broad, and its area is 40 cm². Find its sides.Tap to reveal

The plan: Let the breadth be x cm; the length is x + 3; set up the area equation and factorise.

  1. x(x + 3) = 40, so x² + 3x − 40 = 0.
  2. Product −40 and sum 3: 8 and −5. So (x + 8)(x − 5) = 0.
  3. x = −8 or x = 5. A length cannot be negative, so x = 5.

The breadth is 5 cm and the length is 8 cm.

Check: 5 × 8 = 40, and 8 is 3 more than 5.

In one line

When an area is a quadratic expression, its factors give the possible sides; when an equation factorises to 0, one of the factors must be 0.

ExEnd-of-chapter exercises, solved

Try each question on paper first, then open it. Questions marked * are harder; they combine several identities.

1. Use suitable identities to find the following products: (i) (−3x + 4)² (ii) (2s + 7)(2s − 7) (iii) (p² + 1/2)(p² − 1/2) (iv) (2n + 7)(2n − 7) (v) (s − 2t)(s² + 2st + 4t²) (vi) (1/(2r) − 4r)² (vii) (−3m + 4k − l)² (viii) (x − y/3)³ (ix) ((7/2)k − (2/3)m)³Tap to reveal

The plan: Match each product with an identity: a square of a sum or difference, (a + b)(a − b), the difference of cubes, the square of three terms, or the cube of a difference.

  1. (i) (a + b)² with a = −3x, b = 4: 9x² + 2(−3x)(4) + 16 = 9x² − 24x + 16.
  2. (ii) (a + b)(a − b) = a² − b² with a = 2s, b = 7: 4s² − 49.
  3. (iii) a = p², b = 1/2: (p²)² − (1/2)² = p⁴ − 1/4.
  4. (iv) a = 2n, b = 7: 4n² − 49.
  5. (v) This is (a − b)(a² + ab + b²) with a = s, b = 2t, which equals a³ − b³: s³ − 8t³.
  6. (vi) (a − b)² with a = 1/(2r), b = 4r: 1/(4r²) − 2 × (1/(2r)) × 4r + 16r² = 1/(4r²) − 4 + 16r².
  7. (vii) Three terms, a = −3m, b = 4k, c = −l: 9m² + 16k² + l² + 2(−3m)(4k) + 2(4k)(−l) + 2(−l)(−3m) = 9m² + 16k² + l² − 24mk − 8kl + 6lm.
  8. (viii) (a − b)³ with a = x, b = y/3: x³ − 3x²(y/3) + 3x(y/3)² − (y/3)³ = x³ − x²y + xy²/3 − y³/27.
  9. (ix) a = (7/2)k, b = (2/3)m: a³ = (343/8)k³; 3a²b = 3 × (49/4)k² × (2/3)m = (49/2)k²m; 3ab² = 3 × (7/2)k × (4/9)m² = (14/3)km²; b³ = (8/27)m³. So (343/8)k³ − (49/2)k²m + (14/3)km² − (8/27)m³.

(i) 9x² − 24x + 16 (ii) 4s² − 49 (iii) p⁴ − 1/4 (iv) 4n² − 49 (v) s³ − 8t³ (vi) 1/(4r²) − 4 + 16r² (vii) 9m² + 16k² + l² − 24mk − 8kl + 6lm (viii) x³ − x²y + xy²/3 − y³/27 (ix) (343/8)k³ − (49/2)k²m + (14/3)km² − (8/27)m³.

Check: (i) with x = 1: (1)² = 1 and 9 − 24 + 16 = 1. (viii) with x = 3, y = 3: (3 − 1)³ = 8 and 27 − 27 + 9 − 1 = 8.

2. Find the values using suitable identities: (i) 17 × 21 (ii) 104 × 96 (iii) 24 × 16 (iv) 147³ (v) 199³ (vi) 127³ (vii) (−107)³ (viii) (−299)³Tap to reveal

The plan: Products of two numbers the same distance from a middle number: (a + b)(a − b) = a² − b². Cubes: (a ± b)³ with a round a.

  1. (i) 17 × 21 = (19 − 2)(19 + 2) = 19² − 2² = 361 − 4 = 357.
  2. (ii) 104 × 96 = (100 + 4)(100 − 4) = 10,000 − 16 = 9984.
  3. (iii) 24 × 16 = (20 + 4)(20 − 4) = 400 − 16 = 384.
  4. (iv) 147 = 150 − 3: 150³ − 3 × 150² × 3 + 3 × 150 × 9 − 27 = 33,75,000 − 2,02,500 + 4050 − 27 = 31,76,523.
  5. (v) 199 = 200 − 1: 80,00,000 − 3 × 40,000 × 1 + 3 × 200 × 1 − 1 = 80,00,000 − 1,20,000 + 600 − 1 = 78,80,599.
  6. (vi) 127 = 130 − 3: 21,97,000 − 3 × 16,900 × 3 + 3 × 130 × 9 − 27 = 21,97,000 − 1,52,100 + 3510 − 27 = 20,48,383.
  7. (vii) (−107)³ = −(107³), since an odd power keeps the minus sign. 107 = 100 + 7: 10,00,000 + 2,10,000 + 14,700 + 343 = 12,25,043. So (−107)³ = −12,25,043.
  8. (viii) (−299)³ = −(299³). 299 = 300 − 1: 2,70,00,000 − 2,70,000 + 900 − 1 = 2,67,30,899. So (−299)³ = −2,67,30,899.

(i) 357 (ii) 9984 (iii) 384 (iv) 31,76,523 (v) 78,80,599 (vi) 20,48,383 (vii) −12,25,043 (viii) −2,67,30,899.

Check: (i) 17 × 21 = 17 × 20 + 17 = 340 + 17 = 357.

3. Factor the following algebraic expressions: (i) 4y² + 1 + 1/(16y²). (ii) 9m² − 1/(25n²). (iii) 27b³ − 1/(64b³). (iv) x² + 5x/6 + 1/6. (v) 27u³ − 1/125 − 27u²/5 + 9u/25. (vi) 64y³ + z³/125. (vii) p³ + 27q³ + r³ − 9pqr. (viii) 9m² − 12m + 4. (ix) 9x³ − (8/3)y³ + z³/3 + 6xyz. (x) 4x² + 9y² + 36z² + 12xz + 36yz + 24xy. (xi) 27u³ − 1/216 − 9u²/2 + u/4.Tap to reveal

The plan: Identify the identity from the shape: three terms with two squares (a ± b)²; a difference of squares; sums or differences of cubes; four terms that are cubes and doubled products (a ± b)³; three cubes with a −3xyz-type term.

  1. (i) (2y)² + 2 × 2y × 1/(4y) + (1/(4y))², since 2 × 2y × 1/(4y) = 1. So (2y + 1/(4y))².
  2. (ii) (3m)² − (1/(5n))² = (3m − 1/(5n))(3m + 1/(5n)).
  3. (iii) (3b)³ − (1/(4b))³ = (3b − 1/(4b))(9b² + 3b × 1/(4b) + 1/(16b²)) = (3b − 1/(4b))(9b² + 3/4 + 1/(16b²)).
  4. (iv) Sum 5/6 and product 1/6: 1/2 and 1/3. So (x + 1/2)(x + 1/3).
  5. (v) Reorder: 27u³ − 27u²/5 + 9u/25 − 1/125. With a = 3u and b = 1/5: a³ = 27u³, 3a²b = 27u²/5, 3ab² = 9u/25, b³ = 1/125. So (3u − 1/5)³.
  6. (vi) (4y)³ + (z/5)³ = (4y + z/5)(16y² − 4yz/5 + z²/25).
  7. (vii) p³ + (3q)³ + r³ − 3 × p × 3q × r, the three-cubes identity. So (p + 3q + r)(p² + 9q² + r² − 3pq − 3qr − rp).
  8. (viii) (3m)² − 2 × 3m × 2 + 2² = (3m − 2)².
  9. (ix) Take out 1/3: (1/3)(27x³ − 8y³ + z³ + 18xyz) = (1/3)[(3x)³ + (−2y)³ + z³ − 3(3x)(−2y)(z)]. By the three-cubes identity this is (1/3)(3x − 2y + z)(9x² + 4y² + z² + 6xy + 2yz − 3zx).
  10. (x) As printed it is not a perfect square and has no simpler factors: if it were (2x + 3y + 6z)², the xy term would be 2 × 2x × 3y = 12xy and the xz term 2 × 2x × 6z = 24xz. The printed expression has these two numbers swapped (24xy and 12xz), most likely a misprint. The intended expression 4x² + 9y² + 36z² + 12xy + 36yz + 24xz = (2x + 3y + 6z)².
  11. (xi) Reorder: 27u³ − 9u²/2 + u/4 − 1/216. With a = 3u and b = 1/6: 3a²b = 3 × 9u² × 1/6 = 9u²/2, 3ab² = 3 × 3u × 1/36 = u/4, b³ = 1/216. So (3u − 1/6)³.

(i) (2y + 1/(4y))². (ii) (3m − 1/(5n))(3m + 1/(5n)). (iii) (3b − 1/(4b))(9b² + 3/4 + 1/(16b²)). (iv) (x + 1/2)(x + 1/3). (v) (3u − 1/5)³. (vi) (4y + z/5)(16y² − 4yz/5 + z²/25). (vii) (p + 3q + r)(p² + 9q² + r² − 3pq − 3qr − rp). (viii) (3m − 2)². (ix) (1/3)(3x − 2y + z)(9x² + 4y² + z² + 6xy + 2yz − 3zx). (x) as printed it does not factorise; with 12xy + 24xz it is (2x + 3y + 6z)². (xi) (3u − 1/6)³.

Check: (iv) with x = 1: 1 + 5/6 + 1/6 = 2, and (3/2)(4/3) = 2. (viii) with m = 1: 9 − 12 + 4 = 1 = (3 − 2)².

4. Simplify the following (assume that the denominators are not equal to 0): (i) (4x² + 4x + 1)/(4x² − 1) (ii) 9(3a³ − 24b³)/(9a² − 36b²) (iii) (s³ + 125t³)/(s² − 2st − 35t²)Tap to reveal

The plan: Factorise tops and bottoms with the identities, then cancel common factors.

  1. (i) Top: (2x + 1)². Bottom: (2x)² − 1² = (2x − 1)(2x + 1). Cancel (2x + 1): (2x + 1)/(2x − 1).
  2. (ii) Top: 9 × 3(a³ − 8b³) = 27(a − 2b)(a² + 2ab + 4b²). Bottom: 9(a² − 4b²) = 9(a − 2b)(a + 2b). Cancel 9 and (a − 2b): 3(a² + 2ab + 4b²)/(a + 2b).
  3. (iii) Top: s³ + (5t)³ = (s + 5t)(s² − 5st + 25t²). Bottom: sum −2t and product −35t² give −7t and 5t: (s − 7t)(s + 5t). Cancel (s + 5t): (s² − 5st + 25t²)/(s − 7t).

(i) (2x + 1)/(2x − 1) (ii) 3(a² + 2ab + 4b²)/(a + 2b) (iii) (s² − 5st + 25t²)/(s − 7t).

Check: (i) with x = 1: 9/3 = 3, and 3/1 = 3.

5. Find possible expressions for the length and breadth of each of the following rectangles, whose areas are given by the following expressions in square units: (i) 25a² − 30ab + 9b² (ii) 36s² − 49t²Tap to reveal

The plan: Area = length × breadth, so factorise the area into two factors.

  1. (i) 25a² − 30ab + 9b² = (5a)² − 2(5a)(3b) + (3b)² = (5a − 3b)². Both factors are 5a − 3b.
  2. (ii) 36s² − 49t² = (6s)² − (7t)² = (6s + 7t)(6s − 7t).

(i) length = breadth = 5a − 3b units (the rectangle is a square) (ii) length 6s + 7t units and breadth 6s − 7t units.

Check: (ii) with s = 2 and t = 1: 144 − 49 = 95, and 19 × 5 = 95.

6. Find possible expressions for the length, breadth and height of each of the following cuboids, whose volumes are given by the following expressions in cubic units: (i) 6a² − 24b² (ii) 3ps² − 15ps + 12pTap to reveal

The plan: Volume = length × breadth × height: factorise completely into three factors.

  1. (i) Take out 6: 6(a² − 4b²) = 6(a − 2b)(a + 2b).
  2. (ii) Take out 3p: 3p(s² − 5s + 4). Sum −5 and product 4: −1 and −4. So 3p(s − 1)(s − 4).

(i) for example 6, (a − 2b) and (a + 2b) units (ii) 3p, (s − 1) and (s − 4) units. (Other splits of the numbers are possible, such as 2, 3(a − 2b) and a + 2b.)

Check: (ii) with p = 1 and s = 5: 75 − 75 + 12 = 12, and 3 × 4 × 1 = 12.

7. The village playground is shaped as a square of side 40 metres. A path of width s metres is created around the playground for people to walk. Find an expression for the area of the path in terms of s.Tap to reveal
playground 40 m × 40 m40 + 2sss
End-of-chapter Q7. The path adds s metres on each side, so the outer square has side 40 + 2s. The path's area is the big square minus the playground: (40 + 2s)² − 40².

The plan: Path area = (area of the outer square) − (area of the playground). The path adds s metres on each of two opposite sides, so the outer side is 40 + 2s.

  1. Outer square: (40 + 2s)² = 1600 + 160s + 4s².
  2. Playground: 40² = 1600.
  3. Path: 1600 + 160s + 4s² − 1600 = 4s² + 160s = 4s(s + 40).

The area of the path is 4s² + 160s = 4s(s + 40) square metres.

Check: With s = 1: the outer square is 42² = 1764, and 1764 − 1600 = 164 = 4 × 41.

8. If a number plus its reciprocal equals 10/3, find the number.Tap to reveal

The plan: Call the number x (not 0). Write the equation, clear the fractions, and factorise.

  1. x + 1/x = 10/3.
  2. Multiply every term by 3x: 3x² + 3 = 10x, so 3x² − 10x + 3 = 0.
  3. Split the middle term: 3 × 3 = 9, and −9 and −1 multiply to 9 and add to −10. So 3x² − 9x − x + 3 = 3x(x − 3) − 1(x − 3) = (3x − 1)(x − 3) = 0.
  4. So 3x − 1 = 0 or x − 3 = 0: x = 1/3 or x = 3.

The number is 3 or 1/3.

Check: 3 + 1/3 = 10/3, and 1/3 + 3 = 10/3. Each answer is the other's reciprocal, as it must be.

9. A rectangular pool has area 2x² + 7x + 3 square hastas. If its width is 2x + 1 hastas, find its length. (Hasta was a unit used to measure length.)Tap to reveal

The plan: Length = area ÷ width: factorise the area and look for the factor 2x + 1.

  1. 2 × 3 = 6; two numbers with product 6 and sum 7: 1 and 6.
  2. Split: 2x² + x + 6x + 3 = x(2x + 1) + 3(2x + 1) = (2x + 1)(x + 3).
  3. Dividing by the width 2x + 1 leaves x + 3.

The length is x + 3 hastas.

Check: With x = 1: area 2 + 7 + 3 = 12, width 3, length 4, and 3 × 4 = 12.

*10. If both x − 2 and x − 1/2 are factors of px² + 5x + r, show that p = r.Tap to reveal

The plan: If x − 2 is a factor, the expression is 0 at x = 2; if x − 1/2 is a factor, it is 0 at x = 1/2. That gives two equations in p and r.

  1. At x = 2: p(4) + 5(2) + r = 0, so 4p + 10 + r = 0. … (1)
  2. At x = 1/2: p(1/4) + 5/2 + r = 0. Multiply by 4: p + 10 + 4r = 0. … (2)
  3. Subtract (2) from (1): (4p + 10 + r) − (p + 10 + 4r) = 0, so 3p − 3r = 0.
  4. So p = r.

p = r (in fact both equal −2).

Check: With p = r = −2: −2x² + 5x − 2 = −(2x² − 5x + 2) = −(2x − 1)(x − 2), which has the factors x − 2 and x − 1/2.

*11. If a + b + c = 5 and ab + bc + ca = 10, prove that a³ + b³ + c³ − 3abc = −25.Tap to reveal

The plan: Use the three-cubes identity; the missing a² + b² + c² comes from the square of a + b + c.

  1. a³ + b³ + c³ − 3abc = (a + b + c)(a² + b² + c² − ab − bc − ca).
  2. (a + b + c)² = a² + b² + c² + 2(ab + bc + ca), so 25 = a² + b² + c² + 20, and a² + b² + c² = 5.
  3. Then a² + b² + c² − (ab + bc + ca) = 5 − 10 = −5.
  4. So a³ + b³ + c³ − 3abc = 5 × (−5) = −25.

a³ + b³ + c³ − 3abc = −25, as required.

*12. By factoring the expression, check that n³ − n is always divisible by 6 for all natural numbers n. Give reasons.Tap to reveal

The plan: Factorise n³ − n; recognise three consecutive numbers.

  1. n³ − n = n(n² − 1) = n(n − 1)(n + 1) = (n − 1) × n × (n + 1).
  2. This is the product of three consecutive whole numbers.
  3. Among any two consecutive numbers, one is even, so the product is divisible by 2.
  4. Among any three consecutive numbers, one is a multiple of 3, so the product is divisible by 3.
  5. Divisible by 2 and by 3 means divisible by 6, because 2 and 3 have no common factor.

n³ − n = (n − 1)n(n + 1) is a product of three consecutive numbers, so it always contains a factor 2 and a factor 3, and is divisible by 6.

Check: n = 5: 125 − 5 = 120 = 6 × 20. n = 2: 8 − 2 = 6.

*13. Find the value of (i) x³ + y³ − 12xy + 64, when x + y = −4 (ii) x³ − 8y³ − 36xy − 216, when x = 2y + 6.Tap to reveal

The plan: Each expression is a three-cubes expression a³ + b³ + c³ − 3abc, and the given condition says a + b + c = 0. Then the whole expression is 0.

  1. (i) Write it as x³ + y³ + 4³ − 3 × x × y × 4 (since 3 × 4 = 12 and 4³ = 64). Here a = x, b = y, c = 4, and a + b + c = x + y + 4 = −4 + 4 = 0.
  2. So x³ + y³ + 64 − 12xy = (x + y + 4)(…) = 0 × (…) = 0.
  3. (ii) Write it as x³ + (−2y)³ + (−6)³ − 3 × x × (−2y) × (−6), since (−2y)³ = −8y³, (−6)³ = −216 and 3 × x × (−2y) × (−6) = 36xy.
  4. Here a + b + c = x − 2y − 6, and x = 2y + 6 makes this 0. So the expression is 0.

(i) 0 (ii) 0.

Check: (i) with x = −1, y = −3: −1 − 27 − 36 + 64 = 0. (ii) with y = 0, x = 6: 216 − 0 − 0 − 216 = 0.

RecapThe whole chapter on one screen

  • An identity is an equation that is true for all values of its variables; an ordinary equation is true only for some.
  • Identities can be seen as pictures: squares and rectangles for (a + b)², (a − b)² and (a + b + c)²; algebra tiles for (x + a)(x + b); a cube cut into two cubes and six cuboids for (a + b)³. The distributive property proves them for every number.
  • Read forwards, an identity expands a product; read backwards, it factorises an expression.
  • Identities make calculations quick: 43² = (40 + 3)², 29² = (30 − 1)², 23 × 17 = (20 + 3)(20 − 3), and Śrīdharācārya's 55² = 60 × 50 + 25.
  • To factorise x² + Bx + C, find two numbers that multiply to C and add to B; with A in front of x², they must multiply to A × C (splitting the middle term).
  • A rational expression is simplified by factorising its top and bottom and cancelling common factors, which are not 0 under the given condition.
  • The identities of this chapter:
    • (x + y)² = x² + 2xy + y² and (x − y)² = x² − 2xy + y²
    • (x + y + z)² = x² + y² + z² + 2xy + 2yz + 2zx
    • (x + y)(x − y) = x² − y²
    • (x + a)(x + b) = x² + (a + b)x + ab and (ax + b)(cx + d) = acx² + (ad + bc)x + bd
    • x³ − y³ = (x − y)(x² + xy + y²) and x³ + y³ = (x + y)(x² − xy + y²)
    • (x + y)³ = x³ + 3x²y + 3xy² + y³ and (x − y)³ = x³ − 3x²y + 3xy² − y³
    • x³ + y³ + z³ − 3xyz = (x + y + z)(x² + y² + z² − xy − xz − yz)

WordsWords to know

Identity
An equation that is true for every value of its variables.
Equation
A statement that two expressions are equal; usually true only for some values.
Expand
Multiply out brackets to write a product as a sum of terms.
Factorise
Write an expression as a product of simpler expressions, its factors.
Binomial
An expression with two terms, such as 5x + 2y.
Perfect square
An expression that equals the square of another, such as x² + 4x + 4 = (x + 2)².
Difference of two squares
An expression a² − b², which factorises as (a + b)(a − b).
Algebra tiles
Pieces whose areas stand for x², x and 1, used to picture products and factors.
Linear factor
A factor of degree 1, such as x + 3.
Splitting the middle term
Writing the x-term as two parts so that the expression can be grouped and factorised.
Cuboid
A box shape whose faces are rectangles; its volume is length × breadth × height.
Rational expression
A fraction whose top and bottom are polynomials.

CheckQuick self-check

Is x² − 4 = 0 an identity? Is (x − 2)(x + 2) = x² − 4?Answer

x² − 4 = 0 is not an identity: it is true only for x = 2 or x = −2. (x − 2)(x + 2) = x² − 4 is an identity.

Find 52² and 48² in your head.Answer

52² = (50 + 2)² = 2500 + 200 + 4 = 2704; 48² = (50 − 2)² = 2500 − 200 + 4 = 2304.

Expand (x − 4)².Answer

x² − 2 × x × 4 + 16 = x² − 8x + 16.

Find 103².Answer

(100 + 3)² = 10,000 + 600 + 9 = 10,609.

Factorise 9p² − 30p + 25.Answer

(3p)² − 2(3p)(5) + 5² = (3p − 5)².

Factorise x² − 3x − 28.Answer

Product −28 and sum −3: −7 and 4. So (x − 7)(x + 4).

Factorise 2x² + 7x + 6.Answer

2 × 6 = 12; 3 and 4 add to 7. 2x² + 3x + 4x + 6 = x(2x + 3) + 2(2x + 3) = (2x + 3)(x + 2).

Expand (a + 2)³.Answer

a³ + 3a²(2) + 3a(4) + 8 = a³ + 6a² + 12a + 8.

If a + b + c = 0, what is a³ + b³ + c³?Answer

3abc, because a³ + b³ + c³ − 3abc = (a + b + c)(…) = 0.

Simplify (x² − 9)/(x + 3), assuming x ≠ −3.Answer

(x − 3)(x + 3)/(x + 3) = x − 3.

PDF