Expresswala Academy Mathematics Tuition

Exploring Algebraic Identities (Class 9)

Cube Identities and Rational Expressions, Class 9

Discover the identities for the cube of a sum and difference, the sum and difference of two cubes and x cubed plus y cubed plus z cubed minus 3xyz, then use factorisation to simplify algebraic fractions.

By 10 min read

So far our iden­ti­ties have been about squares, which we pic­tured as areas. What hap­pens with cubes? In this les­son we mul­ti­ply known iden­ti­ties together to dis­cover new ones: the cube of a sum, the cube of a dif­fer­ence, the sum and dif­fer­ence of two cubes, and an iden­tity for x3+y3+z3−3xyzx^3 + y^3 + z^3 - 3xyz. Then we use fac­tori­sa­tion to sim­plify alge­braic frac­tions and to solve a few real prob­lems.

Find­ing new iden­ti­ties

The cube of a sum

Since (a+b)3=(a+b)(a+b)2(a + b)^3 = (a + b)(a + b)^2, we can use the square we already know and then the dis­trib­u­tive prop­erty:

(a+b)3=(a+b)(a2+2ab+b2)=a3+2a2b+ab2+a2b+2ab2+b3=a3+3a2b+3ab2+b3.\begin{aligned} (a + b)^3 &= (a + b)(a^2 + 2ab + b^2) \\ &= a^3 + 2a^2b + ab^2 + a^2b + 2ab^2 + b^3 \\ &= a^3 + 3a^2b + 3ab^2 + b^3. \end{aligned}

See­ing it as a cube

A square of side a+ba + b splits into two squares and two rec­tan­gles. In the same way, a cube of edge a+ba + b can be sliced by three cuts, one in each direc­tion, at the point where aa meets bb. The slices pro­duce eight solid pieces:

  • one cube of edge aa, vol­ume a3a^3;
  • one cube of edge bb, vol­ume b3b^3;
  • three cuboids mea­sur­ing a×a×ba \times a \times b, vol­ume a2ba^2b each;
  • three cuboids mea­sur­ing a×b×ba \times b \times b, vol­ume ab2ab^2 each.

Adding the vol­umes gives a3+3a2b+3ab2+b3a^3 + 3a^2b + 3ab^2 + b^3, which must equal the vol­ume of the whole cube, (a+b)3(a + b)^3.

A cube of edge a plus b pulled apart into eight pieces: one cube a cubed, three cuboids a squared b, three cuboids a b squared and one small cube b cubed
The eight pieces of a cube of edge a+ba + b, pulled apart so that each can be seen.

The cube of a dif­fer­ence

Replace bb by −b-b. Because (−b)2=b2(-b)^2 = b^2 and (−b)3=−b3(-b)^3 = -b^3, the terms with an odd power of bb change sign:

(a−b)3=a3−3a2b+3ab2−b3.(a - b)^3 = a^3 - 3a^2b + 3ab^2 - b^3.

The four terms alter­nate in sign: plus, minus, plus, minus.

Worked exam­ple 1. Expand (2x+3y)3(2x + 3y)^3 and find 1023102^3.

With a=2xa = 2x and b=3yb = 3y:

(2x+3y)3=(2x)3+3(2x)2(3y)+3(2x)(3y)2+(3y)3=8x3+36x2y+54xy2+27y3.\begin{aligned} (2x + 3y)^3 &= (2x)^3 + 3(2x)^2(3y) + 3(2x)(3y)^2 + (3y)^3 \\ &= 8x^3 + 36x^2y + 54xy^2 + 27y^3. \end{aligned}

1023=(100+2)3=1000000+3(10000)(2)+3(100)(4)+8=1061208.102^3 = (100 + 2)^3 = 1000000 + 3(10000)(2) + 3(100)(4) + 8 = 1061208.

Read­ing the cube iden­ti­ties back­wards

If a vol­ume is writ­ten as four terms, we can some­times spot a per­fect cube. Look for a cube at each end, then check the two mid­dle terms.

Worked exam­ple 2. A cube has vol­ume 27m3−54m2n+36mn2−8n327m^3 - 54m^2n + 36mn^2 - 8n^3 cubic units. Find its edge.

The end terms are (3m)3(3m)^3 and (2n)3(2n)^3, and the signs alter­nate, so try a=3ma = 3m, b=2nb = 2n in (a−b)3(a - b)^3. The mid­dle terms should be 3(3m)2(2n)=54m2n3(3m)^2(2n) = 54m^2n and 3(3m)(2n)2=36mn23(3m)(2n)^2 = 36mn^2. They match, so the vol­ume is (3m−2n)3(3m - 2n)^3 and the edge is 3m−2n3m - 2n units.

Sum and dif­fer­ence of two cubes

Mul­ti­ply out (x−y)(x2+xy+y2)(x - y)(x^2 + xy + y^2):

(x−y)(x2+xy+y2)=x3+x2y+xy2−x2y−xy2−y3=x3−y3.\begin{aligned} (x - y)(x^2 + xy + y^2) &= x^3 + x^2y + xy^2 - x^2y - xy^2 - y^3 \\ &= x^3 - y^3. \end{aligned}

Every mid­dle term can­cels with a part­ner. In the same way (this is the book's "pre­dict" ques­tion), (x+y)(x2−xy+y2)=x3−x2y+xy2+x2y−xy2+y3=x3+y3(x + y)(x^2 - xy + y^2) = x^3 - x^2y + xy^2 + x^2y - xy^2 + y^3 = x^3 + y^3. So

x3−y3=(x−y)(x2+xy+y2),x3+y3=(x+y)(x2−xy+y2).x^3 - y^3 = (x - y)(x^2 + xy + y^2), \qquad x^3 + y^3 = (x + y)(x^2 - xy + y^2).

A quick check with x=5x = 5, y=2y = 2: 125−8=117125 - 8 = 117 and 3×(25+10+4)=3×39=1173 \times (25 + 10 + 4) = 3 \times 39 = 117.

The dif­fer­ence of cubes also has a pic­ture. Remove a small cube of edge yy from the cor­ner of a cube of edge xx. What is left can be cut into three blocks, each of thick­ness x−yx - y: one x×xx \times x, one x×yx \times y and one y×yy \times y. Their vol­umes add to (x−y)(x2+xy+y2)(x - y)(x^2 + xy + y^2).

A cube of edge x with a corner cube of edge y removed, shown as three blocks of thickness x minus y with volumes x squared (x minus y), xy (x minus y) and y squared (x minus y)
Three blocks of thick­ness x−yx - y make up what remains when a cube of edge yy is taken from a cube of edge xx.

Worked exam­ple 3. Fac­torise 8a3+27b38a^3 + 27b^3 and 64p3−164p^3 - 1.

8a3+27b3=(2a)3+(3b)3=(2a+3b)(4a2−6ab+9b2).8a^3 + 27b^3 = (2a)^3 + (3b)^3 = (2a + 3b)(4a^2 - 6ab + 9b^2).

64p3−1=(4p)3−13=(4p−1)(16p2+4p+1).64p^3 - 1 = (4p)^3 - 1^3 = (4p - 1)(16p^2 + 4p + 1).

Think and Reflect: is x−yx - y always a fac­tor?

We have x2−y2=(x−y)(x+y)x^2 - y^2 = (x - y)(x + y) and x3−y3=(x−y)(x2+xy+y2)x^3 - y^3 = (x - y)(x^2 + xy + y^2). For the fourth power,

x4−y4=(x2−y2)(x2+y2)=(x−y)(x+y)(x2+y2),x^4 - y^4 = (x^2 - y^2)(x^2 + y^2) = (x - y)(x + y)(x^2 + y^2),

so yes, x−yx - y is a fac­tor. For the fifth power, mul­ti­ply­ing out shows

(x−y)(x4+x3y+x2y2+xy3+y4)=x5−y5,(x - y)(x^4 + x^3y + x^2y^2 + xy^3 + y^4) = x^5 - y^5,

because each mid­dle term appears once with a plus sign and once with a minus sign. So x−yx - y is a fac­tor of x5−y5x^5 - y^5 too. The same pat­tern works for every power.

An iden­tity with three cubes

Mul­ti­ply­ing (x+y+z)(x + y + z) by (x2+y2+z2−xy−yz−zx)(x^2 + y^2 + z^2 - xy - yz - zx) gives 18 terms. Most can­cel in pairs, and three copies of −xyz-xyz remain:

x3+y3+z3−3xyz=(x+y+z)(x2+y2+z2−xy−yz−zx).x^3 + y^3 + z^3 - 3xyz = (x + y + z)(x^2 + y^2 + z^2 - xy - yz - zx).

A use­ful con­se­quence: if x+y+z=0x + y + z = 0, the right-hand side is 0, so x3+y3+z3=3xyzx^3 + y^3 + z^3 = 3xyz. For instance, with x=1x = 1, y=2y = 2, z=−3z = -3: 1+8−27=−181 + 8 - 27 = -18 and 3×1×2×(−3)=−183 \times 1 \times 2 \times (-3) = -18.

Worked exam­ple 4. Three num­bers have sum 9 and prod­uct 15, and the sum of their pair­wise prod­ucts is 23. Find the sum of their cubes.

First find the sum of squares from the three-term square iden­tity: 92=(x2+y2+z2)+2(23)9^2 = (x^2 + y^2 + z^2) + 2(23), so x2+y2+z2=81−46=35x^2 + y^2 + z^2 = 81 - 46 = 35. Now use the three-cubes iden­tity:

x3+y3+z3−3(15)=9(35−23)=108,x3+y3+z3=108+45=153.\begin{aligned} x^3 + y^3 + z^3 - 3(15) &= 9(35 - 23) = 108, \\ x^3 + y^3 + z^3 &= 108 + 45 = 153. \end{aligned}

(The num­bers 1, 3 and 5 fit the descrip­tion, and indeed 1+27+125=1531 + 27 + 125 = 153.)

Sim­pli­fy­ing ratio­nal expres­sions

Can­celling com­mon fac­tors

A ratio­nal expres­sion is a frac­tion whose top and bot­tom are poly­no­mi­als, such as x2−9x2+x−6\displaystyle \dfrac{x^2 - 9}{x^2 + x - 6}. Just as 2135=3×75×7=35\displaystyle \frac{21}{35} = \frac{3 \times 7}{5 \times 7} = \frac{3}{5}, we sim­plify by fac­toris­ing both parts and can­celling a com­mon fac­tor. Can­celling is divid­ing, so it is allowed only when that fac­tor is not zero. That is why we always assume the denom­i­na­tor is not zero.

Worked exam­ple 5. Sim­plify x2−9x2+x−6\displaystyle \dfrac{x^2 - 9}{x^2 + x - 6}, assum­ing the denom­i­na­tor is not zero.

The top is a dif­fer­ence of squares, (x−3)(x+3)(x - 3)(x + 3). For the bot­tom we need num­bers with sum 1 and prod­uct −6-6: 33 and −2-2. So

x2−9x2+x−6=(x−3)(x+3)(x+3)(x−2)=x−3x−2.\displaystyle \frac{x^2 - 9}{x^2 + x - 6} = \frac{(x - 3)(x + 3)}{(x + 3)(x - 2)} = \frac{x - 3}{x - 2}.

The fac­tor x+3x + 3 is not zero, because it is a fac­tor of the non-zero denom­i­na­tor.

Worked exam­ple 6. Sim­plify 2x2+5x−34x2−1\displaystyle \dfrac{2x^2 + 5x - 3}{4x^2 - 1}.

For the top we need a sum of 5 and a prod­uct of 2×(−3)=−62 \times (-3) = -6: 66 and −1-1. So 2x2+6x−x−3=2x(x+3)−(x+3)=(2x−1)(x+3)2x^2 + 6x - x - 3 = 2x(x + 3) - (x + 3) = (2x - 1)(x + 3). The bot­tom is (2x−1)(2x+1)(2x - 1)(2x + 1). Can­celling 2x−12x - 1:

2x2+5x−34x2−1=x+32x+1.\displaystyle \frac{2x^2 + 5x - 3}{4x^2 - 1} = \frac{x + 3}{2x + 1}.

Think and Reflect: a frac­tion with a square on top

The book asks us to sim­plify 36s2−12st+t2t2+2ts−48s2\displaystyle \dfrac{36s^2 - 12st + t^2}{t^2 + 2ts - 48s^2}. The top is (6s−t)2(6s - t)^2. For the bot­tom, think of it as t2+2s⋅t−48s2t^2 + 2s \cdot t - 48s^2 and find two terms with sum 2s2s and prod­uct −48s2-48s^2: 8s8s and −6s-6s. So the bot­tom is (t+8s)(t−6s)(t + 8s)(t - 6s), which fills the blanks:

36s2−12st+t2t2+2ts−48s2=(6s−t)2(t+8s)(t−6s).\displaystyle \frac{36s^2 - 12st + t^2}{t^2 + 2ts - 48s^2} = \frac{(6s - t)^2}{(t + 8s)(t - 6s)}.

Since (6s−t)2=(t−6s)2(6s - t)^2 = (t - 6s)^2, one fac­tor t−6st - 6s can­cels, leav­ing t−6st+8s\displaystyle \dfrac{t - 6s}{t + 8s}.

Fac­toris­ing in real prob­lems

Area prob­lems often lead to a qua­dratic expres­sion or equa­tion. Fac­toris­ing gives the sides.

Worked exam­ple 7. Meena arranges one xx by xx square, nine xx by 1 strips and twenty 1 by 1 squares into a sin­gle rec­tan­gle. Find its sides.

The total area is x2+9x+20x^2 + 9x + 20. We need num­bers with sum 9 and prod­uct 20: 4 and 5. So the rec­tan­gle mea­sures (x+4)(x + 4) units by (x+5)(x + 5) units.

Worked exam­ple 8. A rec­tan­gu­lar veg­etable plot is 5 metres longer than it is wide, and its area is 84 square metres. Find its length and width.

Let the width be xx metres. Then x(x+5)=84x(x + 5) = 84, so x2+5x−84=0x^2 + 5x - 84 = 0. We need num­bers with sum 5 and prod­uct −84-84: 1212 and −7-7. So

x2+12x−7x−84=x(x+12)−7(x+12)=(x−7)(x+12)=0.x^2 + 12x - 7x - 84 = x(x + 12) - 7(x + 12) = (x - 7)(x + 12) = 0.

A prod­uct is zero only if one fac­tor is zero, so x=7x = 7 or x=−12x = -12. A width can­not be neg­a­tive, so x=7x = 7. The plot is 7 metres wide and 12 metres long. Check: 7×12=847 \times 12 = 84.

Com­mon mis­takes

  • Writ­ing (a+b)3=a3+b3(a + b)^3 = a^3 + b^3. The mid­dle terms 3a2b+3ab23a^2b + 3ab^2 are miss­ing.
  • Mix­ing up the signs in the cube fac­tors: in x3+y3=(x+y)(x2−xy+y2)x^3 + y^3 = (x + y)(x^2 - xy + y^2) the mid­dle sign in the sec­ond bracket is minus, not plus.
  • Can­celling terms instead of fac­tors, such as cross­ing out x2x^2 in x2−9x2+x−6\displaystyle \dfrac{x^2 - 9}{x^2 + x - 6}. Only whole fac­tors can be can­celled.
  • For­get­ting that (6s−t)(6s - t) and (t−6s)(t - 6s) dif­fer by a sign, although their squares are equal.
  • Keep­ing a neg­a­tive answer for a length after solv­ing the equa­tion.

Try these

  1. Expand (x−2y)3(x - 2y)^3. Answer: x3−6x2y+12xy2−8y3x^3 - 6x^2y + 12xy^2 - 8y^3.
  2. Find 99399^3. Answer: 970299.
  3. Fac­torise 125m3+8125m^3 + 8. Answer: (5m+2)(25m2−10m+4)(5m + 2)(25m^2 - 10m + 4).
  4. If x+y+z=0x + y + z = 0 and xyz=4xyz = 4, find x3+y3+z3x^3 + y^3 + z^3. Answer: 12.
  5. Sim­plify x2−5x+6x2−4\displaystyle \dfrac{x^2 - 5x + 6}{x^2 - 4}, assum­ing the denom­i­na­tor is not zero. Answer: x−3x+2\displaystyle \dfrac{x - 3}{x + 2}.
  6. A rec­tan­gle has area 60 square metres and its length is 7 metres more than its width. Find its sides. Answer: 5 metres by 12 metres.

Key terms

Cube of a bino­mial
An expres­sion such as (a+b)3(a + b)^3 or (a−b)3(a - b)^3, expanded into four terms.
Sum of cubes
The iden­tity x3+y3=(x+y)(x2−xy+y2)x^3 + y^3 = (x + y)(x^2 - xy + y^2).
Dif­fer­ence of cubes
The iden­tity x3−y3=(x−y)(x2+xy+y2)x^3 - y^3 = (x - y)(x^2 + xy + y^2).
Cuboid
A box-shaped solid with rec­tan­gu­lar faces; its vol­ume is length times breadth times height.
Ratio­nal expres­sion
A frac­tion whose numer­a­tor and denom­i­na­tor are poly­no­mi­als, with a non-zero denom­i­na­tor.
Com­mon fac­tor
An expres­sion that divides both the numer­a­tor and the denom­i­na­tor.
Sim­plest form
A ratio­nal expres­sion whose numer­a­tor and denom­i­na­tor have no com­mon fac­tor left.

Com­mon ques­tions

How can I remem­ber the coef­fi­cients 1, 3, 3, 1?

Think of the cube pic­ture: one big cube, three cuboids of one kind, three of the other and one small cube. Each piece type matches one term.

Why must the denom­i­na­tor be non-zero before can­celling?

Can­celling a fac­tor means divid­ing by it, and divi­sion by zero has no mean­ing. If the whole denom­i­na­tor is non-zero, each of its fac­tors is non-zero too.

Is x+yx + y a fac­tor of x3+y3x^3 + y^3 but not of x3−y3x^3 - y^3?

Yes, in gen­eral. Put y=−xy = -x: x3+y3x^3 + y^3 becomes 0, but x3−y3x^3 - y^3 becomes 2x32x^3, which is not zero for x≠0x \ne 0. So x+yx + y divides the sum but not the dif­fer­ence.

When is x3+y3+z3x^3 + y^3 + z^3 equal to 3xyz3xyz?

When­ever x+y+z=0x + y + z = 0, because the iden­tity then makes x3+y3+z3−3xyzx^3 + y^3 + z^3 - 3xyz equal to zero.

Can a ratio­nal expres­sion have no com­mon fac­tor to can­cel?

Yes. Then it is already in sim­plest form, such as x+1x+2\displaystyle \dfrac{x + 1}{x + 2}.

Ref­er­ences

  1. National Coun­cil of Edu­ca­tional Research and Train­ing. Ganita Man­jari: Text­book of Math­e­mat­ics, Grade 9 (Part I). NCERT, New Delhi.
  2. Hall, H. S. and Knight, S. R. Higher Alge­bra. Macmil­lan.
  3. Gelfand, I. M. and Shen, A. Alge­bra. Birkhäuser.