(a ± b)³ from a cut cube, sum and difference of cubes, the identity for x³ + y³ + z³ − 3xyz and its use when x + y + z = 0, and simplifying algebraic fractions by factorising and cancelling nonzero common factors.
Lesson 3 of 4
6 min read
8 practice questions
New identities from old
Once you know a few identities, you can multiply them together to get new ones. That is the whole spirit of this lesson. We build (a+b)3 from (a+b)2 and picture it as a cube cut into blocks. Then we find the sum and difference of cubes, meet the three-variable identity for x3+y3+z3−3xyz, and finally use factorisation to cancel common factors in algebraic fractions.
You can see this in a picture. A cube of edge a+b splits into a cube of edge a, a cube of edge b, three slabs a×a×b and three slabs a×b×b. Add up their volumes and you get a3+b3+3a2b+3ab2.
The cube on a + b splits into a cubed, 3a squared b, 3ab squared and b cubed.
As before, replacing b by −b gives the minus version for free.
(a−b)3=a3−3a2b+3ab2−b3
Notice how the signs alternate: plus, minus, plus, minus.
Example 5. A cube has volume 27p3+54p2q+36pq2+8q3. What is its edge?
The end terms suggest matching it to a3+3a2b+3ab2+b3 with a=3p, b=2q. Now check the middle terms: 3a2b=3(9p2)(2q)=54p2q ✓, 3ab2=3(3p)(4q2)=36pq2 ✓. So the edge is 3p+2q.
Sum and difference of cubes
Try multiplying out (x−y)(x2+xy+y2) and watch what happens.
x3+x2y+xy2−x2y−xy2−y3=x3−y3
Everything in the middle cancels, which is rather satisfying. The same thing happens with the signs swapped.
x3−y3=(x−y)(x2+xy+y2),x3+y3=(x+y)(x2−xy+y2)
Here is how to remember the signs. The three-term factor has the opposite sign in the middle from the two-term factor. And do not try to factor it further, because it is never a perfect square.
Example 6.8a3−125=(2a)3−53=(2a−5)(4a2+10a+25).
Example 7.x3+64y3=(x+4y)(x2−4xy+16y2).
Example 8.x4−y4=(x2−y2)(x2+y2)=(x−y)(x+y)(x2+y2). Do you see a pattern? x−y divides x2−y2, x3−y3 and x4−y4. In fact it divides xn−yn for every n.
Rewriting cubes. From (a+b)3=a3+b3+3ab(a+b) we get a3+b3=(a+b)3−3ab(a+b). This is handy when you know a+b and ab but not the two numbers themselves.
Example 9. Suppose a+b=5 and ab=6. Then a3+b3=125−90=35. (As a check, a,b are 2,3, and 8+27=35 ✓.)
Three variables
(x+y+z)(x2+y2+z2−xy−yz−zx)=x3+y3+z3−3xyz
If you multiply this out you get 27 terms, and all but four of them cancel in pairs. It is worth doing once, slowly. A very useful result follows: if x+y+z=0, then x3+y3+z3=3xyz.
Example 10. Three numbers add to 8, their squares add to 30, and their product is 10. Find the sum of their cubes.
We first need the sum of the pairwise products. From (x+y+z)2=x2+y2+z2+2(xy+yz+zx) we get 64=30+2(xy+yz+zx), so xy+yz+zx=17. Then
x3+y3+z3−3xyz=8(30−17)=104,x3+y3+z3=104+30=134
Example 11. Factor a3+8b3+27c3−18abc. The trick is to see it as a3+(2b)3+(3c)3−3(a)(2b)(3c)=(a+2b+3c)(a2+4b2+9c2−2ab−6bc−3ca).
Example 12. Evaluate x3+y3+27−9xy when x+y=−3. Write it as x3+y3+33−3(x)(y)(3). Since x+y+3=0, the value is 0, with no calculation at all.
Simplifying algebraic fractions
The method is just what you did with number fractions. Factor the top and the bottom, and cancel any common factor. We are allowed to cancel only because the denominator is assumed nonzero, which means the factor we cancel is nonzero too.
Example 13. Take 4x2−24xx2−9x+18. The top is (x−3)(x−6) and the bottom is 4x(x−6), so the result is 4xx−3.
Example 14. Take t2−3st−10s225s2−10st+t2. The top is (5s−t)2 and the bottom is (t−5s)(t+2s). Watch the sign here: since t−5s=−(5s−t), we get −(5s−t)(t+2s)(5s−t)2=−t+2s5s−t=t+2st−5s.