In earlier chapters, you learnt about linear polynomials and how they can be used to represent and solve real-life problems. You also studied linear equations and discovered how they describe relationships between quantities. In this chapter, we will take the next step by exploring algebraic identities — special mathematical rules that not only make it easier to simplify complicated calculations but also help us work efficiently with algebraic expressions. Let us begin by exploring a few simple patterns, such as the surprising result that adding the smallest and largest of any three consecutive square numbers and subtracting twice the middle square always gives 2.
Consider any three consecutive square numbers. For example, 1, 4, and 9. Add the smallest and the largest squares: 1 + 9 = 10. Then subtract twice the middle square from this sum: 10 – (2 × 4) = 10 – 8 = 2. Now try the same process with another set of three consecutive square numbers, say 9, 16, 25. Applying the same rule we get (9 + 25) – (2 × 16) = 34 – 32 = 2. For the consecutive squares 25, 36, 49, we get (25 + 49) – (2 × 36) = 74 – 72 = 2. The result always seems to be 2!
Key Points:
Consider two line segments of lengths a and b units, respectively, and make a longer line segment of length (a + b) units. We can now construct a square of side (a + b) units and partition it into smaller squares and rectangles.
Observe that the area of the outer square is (a + b)². The area of the larger square inside the outer square is a² while the area of the smaller square is b². The areas of the two rectangles are ab each. Together they make the bigger square; hence we can conclude that (a + b)² = a² + 2ab + b².
From the figure it is clear that (a + b)² = a² + 2ab + b² for all a and b when a and b are lengths of line segments. Think of numbers a and b where a and b do not represent lengths of line segments. What if a and b are negative numbers? Let us check for some negative numbers and see if this equation still works.
Example 2: Let a = –2 and b = –3. Then (a + b) = –5 and (a + b)² = 25. Also a² = 4, b² = 9 and 2ab = 12. Thus a² + 2ab + b² = 4 + 12 + 9 = 25. Hence, a² + 2ab + b² = (a + b)² again!
Now suppose a and b are rational numbers, say a = 2/3 and b = 3/4. Then (a + b) = 2/3 + 3/4 = 17/12. (a + b)² = 289/144. a² + 2ab + b² = 4/9 + 1 + 9/16 = 289/144. So, a² + 2ab + b² = (a + b)² seems to be true for rational numbers too.
To verify if it is true for all numbers, let us investigate further using the distributive property of numbers: (a + b)² = (a + b)(a + b) = a(a + b) + b(a + b) = a² + ab + ba + b² = a² + 2ab + b².
Definition: An algebraic identity is an equation that is true for all values of the variables occurring in it, while an equation need not be true for all values.
For example, x² – 1 = 24 is true for only x = 5 or –5. Hence, it is an equation. But (x + y)² = x² + 2xy + y² is true for all values of x and y. Therefore, this equation is also an identity.
By now you must have observed that (a + b)² ≠ a² + b². But can you find out which one of them will be greater? For example, if a = 10 and b = 2, (a + b)² = (10 + 2)² = 12² = 144 and a² + b² = 10² + 2² = 104. So in this case, (a + b)² > a² + b². But is it true for all numbers a and b?
Think and Reflect:
Did you observe that (a + b)² and a² + b² are both positive? What term will decide which is larger? Use the expansion of (a + b)² to decide.
We can use the identity (a + b)² = a² + 2ab + b² to find the square of general binomial expressions.
Example 3: Let us try to expand (5x + 2y)². Here a = 5x and b = 2y. Then (5x + 2y)² = (5x)² + 2(5x)(2y) + (2y)² = 25x² + 20xy + 4y².
We can also use the identity to help us with numerical calculations.
Example 4: To calculate 43², we can write it as (40 + 3)² = 40² + 2 × 40 × 3 + 3² = 1600 + 240 + 9 = 1849.
Exercise Set 4.1
The identity (a + b)² = a² + 2ab + b² can also be used to find factors of some algebraic expressions.
Example 5: Consider the algebraic expression x² + 4x + 4. We observe that x² = (x)², 4 = 2² and 4x = 2(2)(x). Hence, x² + 4x + 4 = x² + 2(x)(2) + 2² can be compared with a² + 2(a)(b) + b², where a = x and b = 2. We conclude that x² + 4x + 4 = (x + 2)². Therefore, we can say that (x + 2) is a factor of x² + 4x + 4.
Example 6: Let us try to find factors of another algebraic expression: 36x² + 12x + 1. Writing this in the form a² + 2ab + b² we get 36x² + 12x + 1 = (6x)² + 2(6x)(1) + 1², where a = 6x and b = 1. Therefore, 36x² + 12x + 1 = (6x + 1)². Thus (6x + 1) is a factor of 36x² + 12x + 1.
Example 7: Let us try to factor 50p² + 60pq + 18q². We observe that 2 is a common factor of the terms 50p², 60pq, 18q². Thus 50p² + 60pq + 18q² = 2(25p² + 30pq + 9q²). Now let us focus on the expression 25p² + 30pq + 9q². Think of a term whose square is 25p². What about 9q²? 50p² + 60pq + 18q² = 2[(5p)² + 2(5p)(3q) + (3q)²] = 2(5p + 3q)². Here we have used the identity (a + b)² = a² + 2ab + b² to factor the expression 25p² + 30pq + 9q², after taking 2 as a common factor.
What if we replace b by –b in (a + b)² = a² + 2ab + b²? We get (a – b)² = a² – 2ab + b², which is also an identity and can be used in ways similar to (a + b)² = a² + 2ab + b².
Let us revisit the pattern we observed in Example 1. Any three consecutive numbers can be taken as (n – 1), n and (n + 1). Their respective squares are of the form (n – 1)², n² and (n +1)². The sum of the smallest and largest squares is (n – 1)² + (n + 1)² = n² – 2n + 1 + n² + 2n + 1 = 2n² + 2. Subtracting 2n² from this leads to 2. Hence you always get 2! This is in fact a proof of the fact that if we add the smallest and largest of any three consecutive square numbers and subtract two times the middle square number, we will always arrive at 2.
Just as the identity (a + b)² = a² + 2ab + b² can be used to find the squares of numbers, we can also use (a – b)² = a² – 2ab + b² in a similar manner.
Example 8: Suppose we have to calculate 29². We can express this as (30 – 1)² = 30² – 2 × 30 × 1 + 1² = 900 – 60 + 1 = 841.
To visualise the identity (a – b)² = a² – 2ab + b², let us draw a square of side a units and split a in two parts, one of length (a – b) units and another of length b units.
The area of the big square is a² square units. The small square has an area of (a – b)² square units. The larger rectangle has area ab square units while the smaller rectangle has area b(a – b) square units. Thus, to obtain (a – b)² we can subtract the areas of the rectangles from the big square. We obtain (a – b)² = a² – ab – b(a – b) = a² – ab – ba + b² = a² – 2ab + b².
Exercise Set 4.2
What will happen if we want to find the square of the sum of three numbers a, b and c, that is, (a + b + c)²? Let us replace b + c by d. We already know, (a + d)² = a² + 2ad + d². Thus, replacing d by (b + c), we get a² + 2ad + d² = a² + 2a(b + c) + (b + c)². So, (a + b + c)² = a² + 2ab + 2ac + b² + 2bc + c². It may be more convenient to remember this as (a + b + c)² = a² + b² + c² + 2ab + 2bc + 2ca.
Let us interpret this geometrically by drawing a square of side a + b + c.
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.
Example 9: Let us use this identity to find the square of a number, say 119: 119² = (100 + 10 + 9)² = 100² + 10² + 9² + 2(100)(10) + 2(100)(9) + 2(10)(9) = 10000 + 100 + 81 + 2000 + 1800 + 180 = 14161.
So far we have verified the following three identities and used them for performing calculations and manipulating algebraic expressions:
Exercise Set 4.3
In Grade 8, you were introduced to yet another identity, a² – b² = (a + b)(a – b). This can be quite useful if it is rewritten as a² = (a + b)(a – b) + b².
In 750 CE, this identity was proposed by Śrīdharāchārya as a method to quickly compute the squares of numbers. For example, 55² = (55 + 5)(55 – 5) + 5² = 60 × 50 + 25 = 3000 + 25 = 3025.
Think and Reflect:
Consider a rectangle with sides x + 3 and x + 4 units. We know that the area of such a rectangle is (x + 3)(x + 4) sq. units. Using distributivity, we get (x + 3)(x + 4) = x² + 3x + 4x + 12 = x² + 7x + 12.
Fig. 4.7 helps to visualise the product of x + 3 and x + 4 using algebra tiles. The expression x + 3 is represented using an x-tile and three unit tiles. Similarly x + 4 is represented using an x-tile and four unit tiles. The product of these two linear factors is shown in the inner rectangle comprising the x²-tile, the 7 x-tiles, and 12 unit tiles. Note that the 7x in x² + 7x + 12 has been split as 3x + 4x. This is represented by the fact that three x-tiles are placed on the right side of the x²-tile and four x-tiles are arranged below it. Also, the 12 unit tiles are arranged in a 3 by 4 array. Once the rectangular arrangement is formed, we observe that the dimensions of the rectangle are x + 3 and x + 4 units respectively.
Think and Reflect: Suppose 7x is split as 2x + 5x; can a similar rectangular arrangement be formed? Consider other possibilities and check.
Fig. 4.7 helps us to visualise two algebraic identities: (i) The linear expressions x + 3 and x + 4 can be multiplied to obtain the identity (x + 3)(x + 4) = x² + 7x + 12. (ii) Also the expression x² + 7x + 12 can be factored into the linear factors (x + 3) and (x + 4), giving the same identity x² + 7x + 12 = (x + 3)(x + 4).
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) = x² + (a + b)x + ab.
Now consider the case where we have a rectangle of sidelengths 2x + 3 and 3x + 1.
Fill in the blanks with the appropriate expressions to make the equation true: (px + a)(qx + b) = (pq)x² + (pb + qa)x + ab. Also, verify your answer using the distributive property.
Consider the algebraic expression x² + 7x + 12 which was obtained by multiplying the linear terms x + 3 and x + 4. We also saw in Fig. 4.7 that 7x was split as 3x + 4x so that a rectangle could be formed using the algebra tiles. But how do we achieve this 'splitting of the x term' without using tiles?
Example 10: Let us begin with x² + 7x + 12 = x² + (a + b)x + ab. Comparing the coefficients of the x-term and the constant terms on both sides of the equation, we get a + b = 7 and ab = 12. Note that this is only possible when a = 3 and b = 4, or a = 4 and b = 3. Thus, we choose one of these two possibilities and write the factors as (x + a)(x + b), that is, (x + 3)(x + 4).
Example 11: Let us try to factor x² + 11x + 30 in a similar manner. x² + 11x + 30 = x² + (a + b)x + ab. This leads to a + b = 11 and ab = 30. We need to choose values of a and b appropriately, so that a + b = 11 and ab = 30 are both satisfied. What if we choose a = 2 and b = 15? Or a = 3 and b = 10? Clearly these will not work as a + b is not equal to 11 even though ab = 30. So, we look at the factors of 30 and arrive at a = 5 and b = 6 or vice-versa. This way the x-term, 11x, can be split as 5x + 6x. Thus, x² + 11x + 30 = x² + 5x + 6x + 30 = x(x + 5) + 6(x + 5) = (x + 5)(x + 6).
Example 12: In order to factor x² – 5x + 6, we first note that the coefficient of x is negative. Once again comparing x² – 5x + 6 with x² + (a + b)x + ab, we get a + b = –5 and ab = 6. Note that these two equations can be satisfied together only when a = –2 and b = –3 or vice-versa. Thus, x² – 5x + 6 = (x – 2)(x – 3).
Exercise Set 4.4
Think and Reflect: James and Reshma were talking about algebraic identities they learnt in school. James: (a – b)²(a + b) = (a² – 2ab + b²)(a + b). Reshma: I have a different idea. (a – b)²(a + b) = (a – b)[(a – b)(a + b)] = (a – b)(a² – b²). I will find this product to get the answer. According to you, who is correct and why? Try to combine more such identities and find new results.
What do you think (a + b)³ will look like? Let us find out the answer using the distributive property: (a + b)³ = (a + b)(a² + 2ab + b²) = a³ + 3a²b + 3ab² + b³. Here we have found a new identity, namely, (a + b)³ = a³ + 3a²b + 3ab² + b³.
Let us try to visualise this identity. We saw that a square of side a + b can be divided into squares and rectangles. This led us to the identity, (a + b)² = a² + 2ab + b². What if we have a cube of edge a + b? Can we divide a cube of edge (a + b) into smaller cubes and cuboids and represent this new identity?
We know that the volume of this cube is (a + b)³. Notice that the larger cube can be split into two cubes and six cuboids. The cubes have volumes, a³ and b³ cubic units, respectively. Amongst the other six cuboids, three have dimensions a units × a units × b units and other three have dimensions a units × b units × b units, and so their volumes are a²b and ab² cubic units, respectively. Hence the total volume of the six cuboids is 3a²b + 3ab². This gives us, (a + b)³ = (a + b)(a² + 2ab + b²) = a³ + 3a²b + 3ab² + b³.
What happens when we replace b with –b in this new identity? [a + (–b)]³ = a³ + 3a²(–b) + 3a(–b)² + (–b)³. This leads to the identity (a – b)³ = a³ – 3a²b + 3ab² – b³. Note that out of the four terms, two are positive and two are negative. They appear alternately in the expression.
Example 13: What is the side of the cube whose volume is p³