← Back to all lessons
Class 9Algebra5:02Published 27 Jun 2024

Algebraic Identities: Squares and Cubes

A quick reference run-through of the standard algebraic identities, covering the squares and cubes of binomials and the related factorisation formulae.

This lesson lists the fundamental algebraic identities you need across school maths. It starts with the square identities for the sum and difference of two terms, products of binomials, and the square of a three-term sum, then moves on to the cube identities and the sum and difference of cubes, finishing with the symmetric identity for three cubes.

What you'll learn

  • The square of a sum and the square of a difference of two terms
  • The product of two binomials and the square of a three-term sum
  • The cube of a sum and the cube of a difference, with their factorised forms
  • Factorising the sum and difference of two cubes and the identity for three cubes

Lesson chapters

0:03Identities with squares
0:54Products and the square of three terms
1:42Identities with cubes
2:59Sum and difference of cubes
4:14Identity for three cubes

Lesson notes

Fundamental Algebraic Identities

This lesson collects the standard algebraic identities used throughout school maths, first the ones involving squares and then the ones involving cubes.

Identities with squares

The square of a sum and the square of a difference of two terms:

(a+b)2=a2+2ab+b2(a+b)^2 = a^2 + 2ab + b^2

(ab)2=a22ab+b2(a-b)^2 = a^2 - 2ab + b^2

The product of a sum and a difference gives a difference of squares:

(a+b)(ab)=a2b2(a+b)(a-b) = a^2 - b^2

Products of binomials

Multiplying two binomials that share a common term:

(x+a)(x+b)=x2+(a+b)x+ab(x+a)(x+b) = x^2 + (a+b)\,x + ab

And the general product of two binomials:

(a+b)(c+d)=ac+ad+bc+bd(a+b)(c+d) = ac + ad + bc + bd

Square of a three-term sum

For three terms, every pairwise product appears twice:

(x+y+z)2=x2+y2+z2+2xy+2yz+2zx(x+y+z)^2 = x^2 + y^2 + z^2 + 2xy + 2yz + 2zx

Identities with cubes

The cube of a sum and the cube of a difference:

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

(ab)3=a33a2b+3ab2b3(a-b)^3 = a^3 - 3a^2 b + 3ab^2 - b^3

These can be rewritten in a compact form that is often handier:

(a+b)3=a3+b3+3ab(a+b)(a+b)^3 = a^3 + b^3 + 3ab(a+b)

(ab)3=a3b33ab(ab)(a-b)^3 = a^3 - b^3 - 3ab(a-b)

Sum and difference of cubes

Factorising the sum of two cubes:

a3+b3=(a+b)(a2ab+b2)a^3 + b^3 = (a+b)(a^2 - ab + b^2)

which rearranges to

a3+b3=(a+b)33ab(a+b)a^3 + b^3 = (a+b)^3 - 3ab(a+b)

Likewise the difference of two cubes:

a3b3=(ab)(a2+ab+b2)a^3 - b^3 = (a-b)(a^2 + ab + b^2)

which rearranges to

a3b3=(ab)3+3ab(ab)a^3 - b^3 = (a-b)^3 + 3ab(a-b)

Identity for three cubes

The symmetric identity for three terms:

a3+b3+c33abc=(a+b+c)(a2+b2+c2abbcca)a^3 + b^3 + c^3 - 3abc = (a+b+c)(a^2 + b^2 + c^2 - ab - bc - ca)

A useful special case follows when the three terms sum to zero:

if a+b+c=0, then a3+b3+c3=3abc\text{if } a+b+c = 0 \text{, then } a^3 + b^3 + c^3 = 3abc

Key takeaways

  • The square identities give the sum, difference, and product forms, including the three-term square where each cross product is doubled.
  • The cube of a binomial has both an expanded form and a compact form using 3ab(a±b)3ab(a\pm b).
  • A sum or difference of cubes always factors out (a+b)(a+b) or (ab)(a-b), and when a+b+c=0a+b+c=0 the three cubes collapse to 3abc3abc.