Skip to content
All apps

Binomial identities through geometry

About this app

Split and rearrange squares and rectangles to explore the three binomial identities and make the often-missed middle term visible.

With explain mode: an AI tutor walks you through the app, points out what matters in the scene and answers your questions.

The three identities

The binomial identities are (a + b)² = a² + 2ab + b², (a − b)² = a² − 2ab + b² and (a + b)(a − b) = a² − b². They follow from expanding the brackets, but they can also be read as an area balance. A square with side a + b consists of a square a², a square b² and two equal rectangles with area a·b.

What the app shows

For each identity the app builds the matching figure. The pieces share their colours with the terms in the formula line. “Pull apart” splits the large square into its four pieces. “Rearrange” and “Animate” show how strips are cut off for (a − b)² and how one strip is moved for (a + b)(a − b), leaving a² with the corner b² missing.

Common mistake

The classic error is (a + b)² = a² + b². In the picture, that would mean the two coloured a·b rectangles vanish. With a = 3 and b = 2, (a + b)² is 25, while a² + b² is only 13; the missing 12 is exactly 2ab. For (a − b)², the corner b² is removed twice and therefore added back once.

Frequently asked questions

Why is (a+b)² not equal to a² + b²?
Expanding (a + b)(a + b) gives four products: a², ab, ba and b². The two mixed products add up to 2ab. Geometrically they are the two rectangles inside the square of side a + b.
How can you show (a−b)² geometrically?
Start with a square of side a and cut away two strips of area a·b. The shared corner b² gets removed twice, so it has to be added back once. That leaves (a − b)² = a² − 2ab + b².
What is the difference of squares formula used for?
The identity (a + b)(a − b) = a² − b² factors differences of squares and makes some mental arithmetic easy, such as 21 · 19 = 20² − 1² = 399. It is also used to simplify fractions and expressions with square roots.
What can I change in the app?
You pick one of the three identities and set the sides a and b with sliders. Explode, rearrange and an animation show how the pieces match the formula.

Subject: School mathematics (Gymnasium)

More from School mathematics (Gymnasium)

A VisuApp by heyprof: interactive, free in your browser, no sign-up. What is a VisuApp? · All apps