Algebraic Identities — List, Proofs, and Examples

#Algebra
TL;DR
Algebraic identities are equations that stay true for every value of their variables — for example (a+b)2=a2+2ab+b2(a+b)^2 = a^2 + 2ab + b^2 and a2−b2=(a+b)(a−b)a^2 - b^2 = (a+b)(a-b). This article gives you the full standard list (square, cube, and three-variable identities), a geometric and an algebraic proof, six worked examples, and the slips that cost the most marks.
BT
Bhanzu TeamLast updated on September 1, 20268 min read

What is an Algebraic Identity?

An algebraic identity is an equation in which the left-hand side equals the right-hand side for all values of the variables involved. Substitute anything, and equality holds.

Contrast that with an ordinary equation, which is only true for particular values. x+2=5x + 2 = 5 is true at x=3x = 3 and false everywhere else. (a+b)2=a2+2ab+b2(a+b)^2 = a^2 + 2ab + b^2 is true everywhere. That "everywhere" is the defining feature.

A quick term, since the rest of the article uses it: a binomial is a two-term expression like a+ba + b or x−7x - 7. Most of the core identities are about what happens when you square, cube, or multiply binomials.

This is the narrower, all-values cousin of the general toolkit in our algebraic formula article — every identity is a formula, but a solving formula like the quadratic formula is not an identity, because it only applies to one shape of equation.

The standard algebraic identities list

Here is the working set, grouped by degree. These are the ones worth knowing cold.

Two-variable square identities

Identity

Use

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

Expand a squared sum

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

Expand a squared difference

a2−b2=(a+b)(a−b)a^2 - b^2 = (a+b)(a-b)

Factor a difference of squares

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

Expand a product of two linear binomials

Cube identities

Identity

Use

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

Expand a cubed sum

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

Expand a cubed difference

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

Factor a sum of cubes

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

Factor a difference of cubes

Three-variable identity

Identity

Use

(a+b+c)2=a2+b2+c2+2ab+2bc+2ca(a+b+c)^2 = a^2 + b^2 + c^2 + 2ab + 2bc + 2ca

Expand a squared trinomial

a3+b3+c3−3abc=(a+b+c)(a2+b2+c2−ab−bc−ca)a^3 + b^3 + c^3 - 3abc = (a+b+c)(a^2 + b^2 + c^2 - ab - bc - ca)

A useful factoring identity

The cube expansions are explored further in cube of a binomial, and the general pattern behind all of these — the coefficients 1,2,11, 2, 1 and 1,3,3,11, 3, 3, 1 — comes from the binomial theorem and Pascal's triangle.

How do you prove an Algebraic Identity?

Two routes prove an identity: a geometric proof (areas or volumes) and an algebraic proof (expanding and collecting terms). Both confirm the two sides are genuinely the same expression.

Geometric proof of (a+b)2=a2+2ab+b2(a+b)^2 = a^2 + 2ab + b^2. Draw a square with side a+ba + b. Its total area is (a+b)2(a+b)^2. Now split it (see the figure above) into four pieces: a square of area a2a^2, a square of area b2b^2, and two rectangles each of area abab. The pieces must sum to the whole:

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

Algebraic proof of a2−b2=(a+b)(a−b)a^2 - b^2 = (a+b)(a-b). Expand the right side:

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

The −ab-ab and +ab+ab cancel:

=a2−b2= a^2 - b^2

Right side equals left side, so the identity holds.

Examples of Algebraic Identities

Six problems, easier to harder, each one matching the expression to the right identity before substituting.

Example 1

Expand (x+7)2(x + 7)^2.

Use (a+b)2=a2+2ab+b2(a+b)^2 = a^2 + 2ab + b^2 with a=xa = x, b=7b = 7.

(x+7)2=x2+2(x)(7)+72(x+7)^2 = x^2 + 2(x)(7) + 7^2

=x2+14x+49= x^2 + 14x + 49

Final answer: x2+14x+49x^2 + 14x + 49.

Example 2

Expand (3y−5)2(3y - 5)^2.

A frequent first move is to write (3y−5)2=9y2−25(3y - 5)^2 = 9y^2 - 25, squaring each term and subtracting.

Why that is wrong. That skips the middle term entirely and treats the expression like a difference of squares, which it is not. (3y−5)2(3y-5)^2 is a square of a difference, so the −2ab-2ab term must appear.

The correct method. Use (a−b)2=a2−2ab+b2(a-b)^2 = a^2 - 2ab + b^2 with a=3ya = 3y, b=5b = 5:

(3y−5)2=(3y)2−2(3y)(5)+52(3y-5)^2 = (3y)^2 - 2(3y)(5) + 5^2

=9y2−30y+25= 9y^2 - 30y + 25

Final answer: 9y2−30y+259y^2 - 30y + 25. The −30y-30y is exactly the term the wrong path drops.

Example 3

Factor x2−81x^2 - 81.

Recognise a difference of squares: 81=9281 = 9^2.

x2−81=x2−92=(x+9)(x−9)x^2 - 81 = x^2 - 9^2 = (x+9)(x-9)

Final answer: (x+9)(x−9)(x+9)(x-9).

Example 4

Use (x+a)(x+b)=x2+(a+b)x+ab(x+a)(x+b) = x^2 + (a+b)x + ab to expand (x+4)(x+6)(x+4)(x+6).

Here a=4a = 4, b=6b = 6.

(x+4)(x+6)=x2+(4+6)x+(4)(6)(x+4)(x+6) = x^2 + (4+6)x + (4)(6)

=x2+10x+24= x^2 + 10x + 24

Final answer: x2+10x+24x^2 + 10x + 24.

Example 5

Evaluate 1032103^2 using an identity (no long multiplication).

Write 103=100+3103 = 100 + 3 and use (a+b)2=a2+2ab+b2(a+b)^2 = a^2 + 2ab + b^2:

1032=1002+2(100)(3)+32103^2 = 100^2 + 2(100)(3) + 3^2

=10000+600+9=10609= 10000 + 600 + 9 = 10609

Final answer: 1060910609. This is the kind of mental-arithmetic shortcut identities were built for.

Example 6

Factor 27x3+827x^3 + 8 using the sum-of-cubes identity.

Rewrite as cubes: 27x3=(3x)327x^3 = (3x)^3, 8=238 = 2^3. So a=3xa = 3x, b=2b = 2.

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

27x3+8=(3x+2)((3x)2−(3x)(2)+22)27x^3 + 8 = (3x + 2)\big((3x)^2 - (3x)(2) + 2^2\big)

=(3x+2)(9x2−6x+4)= (3x + 2)(9x^2 - 6x + 4)

Final answer: (3x+2)(9x2−6x+4)(3x+2)(9x^2 - 6x + 4).

Where Algebraic Identities Matter

Identities are not exam decoration — they are the engine of fast, reliable manipulation. The reason a student learns them once and reuses them forever is that they convert a hard operation (multiplying out, factoring) into pattern recognition.

  • Mental arithmetic: 1032103^2, 98×10298 \times 102, and similar become one-line computations once you see the identity hiding inside.

  • Factoring and simplifying: Nearly every factoring technique in later algebra — and every cancellation in a rational expression — starts by spotting a difference of squares or a perfect-square trinomial.

  • Calculus and beyond: Differences of cubes and squares appear constantly when simplifying limits and derivatives; the identity is what makes the cancellation legal.

The systematic treatment of expressions as objects you could manipulate by rule traces back to the Persian scholar al-Khwarizmi in the 9th century, whose name gave us algebra; see MacTutor for the history. An identity is that idea distilled: a manipulation guaranteed to be valid every single time.

Common Mistakes With Algebraic Identities

Mistake 1: Forgetting the middle term

Where it slips in: Any time a binomial is squared.

Don't do this: (a+b)2=a2+b2(a+b)^2 = a^2 + b^2.

The correct way: (a+b)2=a2+2ab+b2(a+b)^2 = a^2 + 2ab + b^2. The first instinct on a squared binomial is to square each term and stop — the cross term 2ab2ab is the one that gets dropped, more reliably than any other error in algebra. If you remember the four-tile square picture, the two abab rectangles will keep reminding you.

Mistake 2: Confusing (a−b)2(a-b)^2 with a2−b2a^2 - b^2

Where it slips in: A squared difference and a difference of squares look similar and get swapped. The memorizer who learned the names without the structure is most at risk.

Don't do this: Treat (x−3)2(x-3)^2 as x2−9x^2 - 9.

The correct way: (x−3)2=x2−6x+9(x-3)^2 = x^2 - 6x + 9 (a squared difference, three terms). x2−9=(x+3)(x−3)x^2 - 9 = (x+3)(x-3) (a difference of squares, factored). They are different identities entirely — one expands, one factors. Read the expression's shape before reaching for a name.

Mistake 3: Sign errors in the cube formulas

Where it slips in: a3−b3a^3 - b^3 versus a3+b3a^3 + b^3. The signs inside the quadratic factor catch people out.

Don't do this: Write a3−b3=(a−b)(a2−ab+b2)a^3 - b^3 = (a-b)(a^2 - ab + b^2).

The correct way: a3−b3=(a−b)(a2+ab+b2)a^3 - b^3 = (a-b)(a^2 + ab + b^2) — the middle sign in the trinomial is plus. A memory anchor that fixes this: the trinomial's middle term sign is the opposite of the binomial's sign. .

Conclusion

  • Algebraic identities are equations true for every value of their variables — that unconditional truth is what separates them from ordinary equations.

  • The core list is small: three square identities, four cube identities, and a couple of three-variable ones.

  • Every identity can be proved geometrically (areas) or algebraically (expand and collect).

  • The most expensive mistakes are dropping the 2ab2ab middle term and confusing a squared difference (a−b)2(a-b)^2 with a difference of squares a2−b2a^2 - b^2.

  • Master these once and they pay off across factoring, mental arithmetic, and calculus for years.

Practice These to Solidify Your Understanding

Work through each, then check the linked sections if you stall.

  1. Expand (2m+5)2(2m + 5)^2. (Revisit Example 1 and Mistake 1.)

  2. Factor 49x2−1649x^2 - 16. (Revisit Example 3.)

  3. Factor x3−125x^3 - 125 using the difference-of-cubes identity. (Revisit Example 6 and Mistake 3.)

To go deeper with a teacher, explore Bhanzu's algebra tutor or browse the algebra classes that drill this pattern-matching until it is automatic. Want a live Bhanzu trainer to walk through more identity problems? Book a free demo class.

Read More

Was this article helpful?

Your feedback helps us write better content

Frequently Asked Questions

What is the difference between an algebraic identity and an algebraic expression?
An expression like a2+2ab+b2a^2 + 2ab + b^2 is just a quantity with no equals sign. An identity is a statement that two expressions are equal for all values, like (a+b)2=a2+2ab+b2(a+b)^2 = a^2 + 2ab + b^2
How many algebraic identities should I memorise?
The three square identities and the four cube identities cover almost everything you will meet through Grade 10. The three-variable identities are worth recognising but rarely need to be recalled cold
Are algebraic identities the same as algebraic formulas?
Not quite. An identity is a formula that holds for all values. A solving formula, like the quadratic formula, is also a formula but is not an identity — it applies only to a specific equation type. The algebraic-formula article covers the full distinction.
Can I prove an identity just by testing a few numbers?
No. Testing numbers can disprove an identity (one failure is enough), but it cannot prove one — there are infinitely many values to check. Use the algebraic or geometric proof instead
✍️ Written By
BT
Bhanzu Team
Content Creator and Editor
Bhanzu’s editorial team, known as Team Bhanzu, is made up of experienced educators, curriculum experts, content strategists, and fact-checkers dedicated to making math simple and engaging for learners worldwide. Every article and resource is carefully researched, thoughtfully structured, and rigorously reviewed to ensure accuracy, clarity, and real-world relevance. We understand that building strong math foundations can raise questions for students and parents alike. That’s why Team Bhanzu focuses on delivering practical insights, concept-driven explanations, and trustworthy guidance-empowering learners to develop confidence, speed, and a lifelong love for mathematics.
Related Articles
Book a FREE Demo ClassBook Now →