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).
(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:
- 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.
- 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.
- 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.
- 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.
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.
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:
- 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.
- 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.
- 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).
- 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².
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.
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
(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.
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
(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.
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.