Skip to content

Alerts Center

New quiz added: Multiplication Tables — try it now

Fractions lesson updated with new practice worksheets

This month's resource pack is now live

View All Alerts

Messages

Tip: Create a free account to save your quiz progress

New here? Check out our Getting Started guide

New Sudoku puzzles added this week

View All Messages

Algebra

Algebraic Identities – A Reference for Common Patterns

An algebraic identity is an equation that's true for every value of its variables, not just some – unlike a normal equation, which is only true for specific solutions. The three identities you've been building toward across the last few pages are worth collecting together as a single reference: (a + b)² = a² + 2ab + b², (a − b)² = a² − 2ab + b², and a² − b² = (a + b)(a − b).

These three patterns show up constantly throughout algebra, and recognising them on sight – rather than re-deriving them every time – is what separates confident algebra from slow, mechanical algebra. From here on, you can treat these as tools to reach for immediately whenever an expression matches their shape.

The Three Standard Identities

Perfect square sum: (a+b)² = a²+2ab+b². Perfect square difference: (a−b)² = a²−2ab+b². Difference of squares: a²−b² = (a+b)(a−b).

Use an identity to find 52² without a calculator (write 52 as 50 + 2).

(50 + 2)² = 50² + 2(50)(2) + 2² = 2500 + 200 + 4 = 2704.

Seeing the Identities Geometrically

Each identity above has a matching picture. Seeing them as areas of squares and rectangles explains why they're true, not just that they're true.

(a + b)² = a² + 2ab + b²

Let's build a picture of (a + b)² so you can literally see why the formula is true. Draw one big square and make every side exactly (a + b) long.

Steps:

  1. Split each side into two parts. On the top side, mark off a length a, then a length b right after it — the curly bracket over the top confirms the two parts together make (a + b). Do exactly the same down the left side.
  2. Draw lines across from the split points. One line straight down from the a/b split on top, and one line straight across from the a/b split on the left. This carves the big square into four smaller pieces.
  3. Work out each piece's area. The top-left piece is a × a — a square with area a². The bottom-right piece is b × b — a square with area b². The top-right and bottom-left pieces are both a × b — two matching rectangles, each with area ab.
  4. Add up all four pieces. a² + ab + ab + b² = a² + 2ab + b², since the two ab rectangles combine to give 2ab.

Press each step below to build the square up piece by piece, watching the formula grow to match.

a²
ab
b²
a b a b a² ab ab b² a + b a + b
(nothing yet)
Click Step 1 or Auto Play to begin!
(a + b)² = a² + 2ab + b²
One a², one b², and two matching ab rectangles — that's where the 2ab comes from.

(a − b)² = a² − 2ab + b²

This time, start with a big square of side a — the curly brackets confirm the whole top and the whole left side are each a. Split the top and left edges into an (a − b) part and a b part, dividing the square into four regions: the (a − b)² piece we actually want, two b-wide/tall rectangles, and a b×b corner. Press each step below in order (or use Auto Play) to watch a² turn into a² − 2ab + b² piece by piece.

Kept piece
ab rectangle
b² corner
b² b² (a−b)² b² a−b b a−b b a a
a²
Click Step 1 or Auto Play to begin!
(a − b)² = a² − 2ab + b²
Two ab rectangles came out (−2ab), and the b² corner — subtracted twice — got added back once.

a² − b² = (a + b)(a − b)

Start with a square of side a, split into a left column (width a − b, full height a), a strip sitting above the bottom-right corner (width b, height a − b), and the corner itself, a b×b square. Press each step below to see it turn into a rectangle.

Steps:

  1. Set up the pieces. The square splits into three parts: the tall left column (a − b wide, a tall), the strip above the corner (b wide, a − b tall), and the b² corner.
  2. Slide the strip down. The strip turns a quarter turn and slides down until it sits directly under the left column. After turning, its width is exactly (a − b) — the same as the column — so the two fit together perfectly with no gaps.
  3. See the new rectangle. The column and the turned strip now form one plain rectangle: width (a − b), height a + b (the column's a plus the strip's b).
  4. Compare the areas. Nothing was added or taken away except the excluded b² corner, so the rectangle's area, (a + b)(a − b), is exactly a² − b².
Left column
Sliding strip
b² corner
b² b a−b b a a + b
a²
Click Step 1 or Auto Play to begin!
a² − b² = (a + b)(a − b)
The same two kept pieces, just rearranged — so both shapes must have the same area.

Going Further: (a + b + c)²

The same idea extends to three terms. A square with side (a + b + c) splits into a 3-by-3 grid of nine regions instead of four.

a b c a b c a² ab ac ab b² bc ac bc c²

Adding up all nine regions: the three "diagonal" squares a², b² and c² each appear once, while ab, ac and bc each appear twice (once above and once below the diagonal). That gives:

(a + b + c)² = a² + b² + c² + 2ab + 2ac + 2bc

Check with numbers: a = 2, b = 3, c = 5.

(2+3+5)² = 10² = 100. And 2²+3²+5²+2(2)(3)+2(2)(5)+2(3)(5) = 4+9+25+12+20+30 = 100. ✓

Going Further Still: (a + b + c + d)²

The same idea keeps extending. A square with side (a + b + c + d) splits into a 4-by-4 grid of sixteen regions instead of nine.

a² ab ac ad ab b² bc bd ac bc c² cd ad bd cd d² a b c d a b c d

Adding up all sixteen regions: the four "diagonal" squares a², b², c² and d² each appear once, while every pair — ab, ac, ad, bc, bd and cd — appears twice (once above and once below the diagonal). That gives:

(a + b + c + d)² = a² + b² + c² + d² + 2ab + 2ac + 2ad + 2bc + 2bd + 2cd

Check with numbers: a = 1, b = 2, c = 3, d = 4.

(1+2+3+4)² = 10² = 100. And 1²+2²+3²+4²+2(1)(2)+2(1)(3)+2(1)(4)+2(2)(3)+2(2)(4)+2(3)(4) = 1+4+9+16+4+6+8+12+16+24 = 100. ✓

Your Turn: Can You Do (a + b + c + d + e)² Yourself?

You've now seen the pattern grow from four regions, to nine, to sixteen. Can you predict what happens with five terms? A square of side (a + b + c + d + e) would split into a 5-by-5 grid of 25 regions. See if you can work out: how many diagonal squares will there be? How many different cross-term pairs, and how many times does each one appear? And putting it all together — what does the full expansion of (a + b + c + d + e)² look like?

Going Further: (a + b)³

The same idea works in 3D. A cube of side (a + b) splits into eight smaller boxes instead of four flat pieces — giving (a + b)³ = a³ + 3a²b + 3ab² + b³. This one is much easier to see as an actual rotating 3D model than as a flat picture.

Explore the Cube of a Binomial →

Real-Life Application

  • Mental arithmetic tricks: squaring numbers near a round number quickly, using the identities.
  • Engineering formulas: many formulas are pre-simplified using these identities.
  • Computer science: identities help simplify expressions before writing efficient code.

Key Takeaways

  • An algebraic identity is true for every value of its variables.
  • The three standard identities are the perfect square sum, perfect square difference, and difference of squares.
  • Recognising these patterns on sight speeds up algebra significantly.

Practice: Algebraic Identities

Algebraic Identities