• Practice
  • About 20 min
  • 5 practice questions

Algebraic identities for squares and cubes

Use the identities for (x + a)(x + b), (x + y + z)², (x ± y)³ and x³ + y³ + z³ − 3xyz to multiply, evaluate numbers quickly and factorise expressions.

If something looks wrong, please tell us.

By the end of this lesson you can

  • Use Identities I to IV to find products and evaluate products of numbers without long multiplication.
  • Expand (x + y + z)² and the cubes (x + y)³ and (x − y)³, and use them to factorise.
  • Use x³ + y³ + z³ − 3xyz = (x + y + z)(x² + y² + z² − xy − yz − zx), and the special case x + y + z = 0.

An algebraic identity is an equation that is true for all values of its variables. Identities save a great deal of multiplication, and when read from right to left they become factorisation tools.

The four identities you already know

Identities from earlier classes
IdentityStatement
I(x + y)² = x² + 2xy + y²
II(x − y)² = x² − 2xy + y²
IIIx² − y² = (x + y)(x − y)
IV(x + a)(x + b) = x² + (a + b)x + ab

Worked example 1: products and quick arithmetic

  • (y − 4)(y + 9): Identity IV with a = −4, b = 9 gives y² + 5y − 36.
  • 98 × 103 = (100 − 2)(100 + 3) = 100² + (−2 + 3)(100) + (−2)(3) = 10000 + 100 − 6 = 10094.
  • Factorise 16p² − 40pq + 25q²: it is (4p)² − 2(4p)(5q) + (5q)², so by Identity II it equals (4p − 5q)².
  • Factorise 9m² − 1/16: it is (3m)² − (1/4)², so by Identity III it equals (3m + 1/4)(3m − 1/4).

Square of a trinomial

Put x + y = t. Then (x + y + z)² = (t + z)² = t² + 2tz + z² = (x + y)² + 2(x + y)z + z². Expanding again and rearranging gives Identity V.

Identity V: (x + y + z)² = x² + y² + z² + 2xy + 2yz + 2zx

— Three squares and three double products

Worked example 2: with a minus sign

Expand (2a + 3b − c)². Take x = 2a, y = 3b and z = −c. Squares: 4a² + 9b² + c². Products: 2(2a)(3b) = 12ab, 2(3b)(−c) = −6bc and 2(−c)(2a) = −4ca. So (2a + 3b − c)² = 4a² + 9b² + c² + 12ab − 6bc − 4ca. The squares are always positive; only the products carry signs.

Cubes of a binomial

Multiplying (x + y)(x + y)² = (x + y)(x² + 2xy + y²) and collecting terms gives x³ + 3x²y + 3xy² + y³. Replacing y by −y gives the identity for (x − y)³.

Identity VI: (x + y)³ = x³ + y³ + 3xy(x + y). Identity VII: (x − y)³ = x³ − y³ − 3xy(x − y) = x³ − 3x²y + 3xy² − y³

— Cubes

Worked example 3: expanding and evaluating cubes

  • (2x + 5)³ = (2x)³ + 5³ + 3(2x)(5)(2x + 5) = 8x³ + 125 + 30x(2x + 5) = 8x³ + 60x² + 150x + 125.
  • 101³ = (100 + 1)³ = 1000000 + 1 + 3(100)(1)(101) = 1000000 + 1 + 30300 = 1030301.
  • 98³ = (100 − 2)³ = 1000000 − 8 − 3(100)(2)(98) = 1000000 − 8 − 58800 = 941192.
  • Factorise 64x³ − 48x² + 12x − 1: it is (4x)³ − 3(4x)²(1) + 3(4x)(1)² − 1³, so it equals (4x − 1)³.

The identity for x³ + y³ + z³ − 3xyz

Identity VIII: x³ + y³ + z³ − 3xyz = (x + y + z)(x² + y² + z² − xy − yz − zx)

— Sum of three cubes

You can check it by multiplying out the right-hand side: most of the eighteen products cancel in pairs, leaving x³ + y³ + z³ − 3xyz. A very useful special case follows: if x + y + z = 0, then x³ + y³ + z³ = 3xyz, because the right-hand side becomes 0.

Using the special case x + y + z = 0

  1. Check the sum 10 + (−4) + (−6) = 0
  2. Use x³ + y³ + z³ = 3xyz no cubing needed
  3. Multiply 3 × 10 × (−4) × (−6) = 720
Check: 1000 − 64 − 216 = 720.

Worked example 4: factorising with Identity VIII

Factorise 27a³ + 8b³ + c³ − 18abc. Write it as (3a)³ + (2b)³ + c³ − 3(3a)(2b)(c); the last term matches because 3 × 3 × 2 = 18. With x = 3a, y = 2b and z = c, Identity VIII gives (3a + 2b + c)(9a² + 4b² + c² − 6ab − 2bc − 3ca).

Key takeaways: learn Identities I to VIII in both directions: left to right to multiply or evaluate, right to left to factorise. In (x + y + z)² there are three squares and three double products. For cubes, (x ± y)³ = x³ ± y³ ± 3xy(x ± y). When x + y + z = 0, x³ + y³ + z³ = 3xyz.

Check your understanding

  1. 1. What is (x − 6)(x + 2)?

    1. x² + 4x − 12
    2. x² − 4x − 12
    3. x² − 8x − 12
    4. x² − 4x + 12
    Show answer

    Answer: B. Identity IV with a = −6 and b = 2: x² + (−6 + 2)x + (−6)(2) = x² − 4x − 12.

  2. 2. What is 997 × 1003?

    1. 999991
    2. 1000009
    3. 999999
    4. 990001
    Show answer

    Answer: A. 997 × 1003 = (1000 − 3)(1000 + 3) = 1000² − 3² = 1000000 − 9 = 999991, by Identity III.

  3. 3. In the expansion of (a − 2b + 3c)², what is the term in bc?

    1. 12bc
    2. −6bc
    3. −12bc
    4. 6bc
    Show answer

    Answer: C. With x = a, y = −2b and z = 3c, the product term is 2yz = 2(−2b)(3c) = −12bc. Forgetting the factor 2 gives −6bc.

  4. 4. What is 102³?

    1. 1006008
    2. 1061200
    3. 1040808
    4. 1061208
    Show answer

    Answer: D. (100 + 2)³ = 1000000 + 8 + 3(100)(2)(102) = 1000000 + 8 + 61200 = 1061208. Check: 102² = 10404 and 10404 × 102 = 1061208.

  5. 5. Without cubing, find (−9)³ + 4³ + 5³.

    1. 540
    2. −540
    3. 0
    4. −729
    Show answer

    Answer: B. −9 + 4 + 5 = 0, so the sum of cubes is 3 × (−9) × 4 × 5 = −540. Check: −729 + 64 + 125 = −540.

Sign in to keep track of the lessons you finish.

Next lesson → Final self-assessment: Polynomials

Privacy · Terms · Refunds · Delivery