Visual Tools
Calculators
Tables
Mathematical Keyboard
Converters
Other Tools


Square of a Trinomial (a+b+c)²

(a+b+c)²
Speed




Visualizing (a+b+c)² as a 3×3 Grid

This visualizer extends the square-of-a-sum dissection to three terms. A square of side a+b+ca+b+c is split into nine rectangles arranged as a 3×3 grid: three squared terms on the diagonal and six cross-product rectangles in three matched pairs. The full identity (a+b+c)2=a2+b2+c2+2ab+2ac+2bc(a+b+c)^2 = a^2 + b^2 + c^2 + 2ab + 2ac + 2bc falls out of summing the nine pieces — and the explosion view at the end separates them so each one can be seen on its own.



The (a+b+c)² Identity at a Glance

The square of a trinomial identity expands the square of a three-term sum:

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


Three squared terms cover the diagonal of the expansion. Three cross-product terms cover the off-diagonal pairs, each appearing with a coefficient of 22. Six terms total — fewer than the nine you might initially expect, because cross products like abab and baba are equal and combine.

This identity is the natural step beyond (a+b)2(a+b)^2. The same dissection logic that proves the binomial case extends with no modification: more terms, more pieces, same area-conservation argument.

Reading the Starting Square

Step 1 of the animation shows a square of side a+b+ca+b+c, with (a+b+c)2(a+b+c)^2 floating as a centred label and dimension marks "a+b+ca+b+c" along the top and left edges. The square's area is (a+b+c)×(a+b+c)=(a+b+c)2(a+b+c) \times (a+b+c) = (a+b+c)^2 — the quantity to be decomposed.

The starting frame is intentionally similar to the (a+b)2(a+b)^2 frame, just with one more term in the side length. The next steps will show that the structural argument is identical to the binomial case, only with a 3×3 grid replacing the 2×2 grid.
(a+b+c)²a+b+ca+b+c
Step 1: the (a+b+c) square, frozen

One more term in the side (a = 4, b = 2, c = 3), same opening move: a single area with a compound name.

The visualizer picks a=4a = 4, b=2b = 2, c=3c = 3 — three visibly different segment lengths, so the nine future cells will all have distinct, readable proportions. Deliberately unequal segments matter here more than in the binomial case: with nine cells coming, equal splits would make the grid look like a tic-tac-toe board and hide which cell is which product.

One extra term costs nothing structurally, and that is this frame's real message: the side is longer, the square is bigger, and the argument ahead — split, cut, add — is unchanged.

Splitting Each Side into Three Segments

Step 2 splits each side of the square into three labelled segments: aa, then bb, then cc. Both the top and left edges show this three-way split, and the dimension labels rearrange to display each segment separately while still showing the full "a+b+ca+b+c" total.

The labels on the top and left edges read aa, bb, cc in the same order. This consistent labelling is essential for the next step: when the grid lines are drawn, the cell at row ii, column jj will have dimensions equal to the iith segment by the jjth segment — and the labelling makes those dimensions immediately readable.

No area has been added or removed. The square is still the same square; only its boundary description has been refined.
aabbcca+b+ca+b+c
Step 2: the three-way split, frozen

Each edge divided a, b, c with the totals slid outward — the bookkeeping that will name all nine cells.

The frozen frame shows six small dimension labels — aa, bb, cc twice over — plus the two combined "a+b+ca+b+c" labels slid outward, all coexisting. That is the same double-bookkeeping the binomial proof used, scaled up: the outer labels hold the left-hand side of the identity, the inner ones are about to generate the right.

Row-and-column indexing starts paying off in the next frame: cell (i,j)(i, j) will have the iith segment for height and the jjth for width, no further thought required.

Building the 3×3 Grid

Step 3 fills in the dissection. Two vertical lines drop from the aa/bb and bb/cc tick marks on the top edge. Two horizontal lines extend from the aa/bb and bb/cc tick marks on the left edge. Together they partition the square into nine rectangles arranged as a 3×3 grid.

Each cell takes a colour and a label according to its dimensions:

Diagonal cells (top-left, centre, bottom-right) are squares with sides aa, bb, cc respectively. They are labelled a2a^2, b2b^2, c2c^2, each in a unique colour.

Off-diagonal cells are rectangles. The top-middle and middle-left both have dimensions aa and bb and are labelled abab. The top-right and bottom-left both have dimensions aa and cc and are labelled acac. The middle-right and bottom-middle both have dimensions bb and cc and are labelled bcbc. Each off-diagonal pair shares a colour to emphasise that the two cells in a pair are equal.
abacabbcacbcaabbcca+b+ca+b+c
Step 3: the 3×3 grid, frozen

Nine cells in six colours: three squares on the diagonal, three mirrored pairs off it. Commutativity as symmetry.

The frozen grid rewards a minute of deliberate reading: find the diagonal (a2a^2, b2b^2, c2c^2 in blue, pink, green), then verify each off-diagonal colour appears exactly twice, mirrored across the diagonal. That mirror symmetry is the commutativity of multiplication drawn as geometry — cell (i,j)(i,j) and cell (j,i)(j,i) are the same rectangle rotated.

The six colours for six distinct products also preview the answer's shape: six terms, three of them doubled. The explosion view pulls the nine pieces apart so the count can be made piece by piece.

The Explosion View

Step 4 visually separates the nine pieces with an oscillating explosion. Every cell drifts outward from the centre of the square, gaps opening between rows and columns, then drifts back together. The motion repeats so the layout can be read in either configuration.

Pulled apart, the nine cells become individually inspectable. The three diagonal squares stand out: a2a^2, b2b^2, c2c^2 in their distinct colours. The three off-diagonal pairs now read clearly as twin pieces: two abab rectangles, two acac rectangles, two bcbc rectangles, each pair sharing a colour. Adding all nine areas:

a2+b2+c2+ab+ab+ac+ac+bc+bca^2 + b^2 + c^2 + ab + ab + ac + ac + bc + bc


=a2+b2+c2+2ab+2ac+2bc= a^2 + b^2 + c^2 + 2ab + 2ac + 2bc


The total area equals (a+b+c)2(a+b+c)^2 from the original square, so:

(a+b+c)2=a2+b2+c2+2ab+2ac+2bc(a+b+c)^2 = a^2 + b^2 + c^2 + 2ab + 2ac + 2bc
abacabbcacbcaabbcc
Step 4: the explosion, frozen at full separation

The nine pieces pushed apart along their own rays — count them: a² + b² + c² and three doubled cross products.

The frozen frame holds the explosion at full separation — each cell pushed outward along its own line from the centre, gaps open, every label readable. This is the counting configuration: nine separate pieces, and the tally 3+3×23 + 3 \times 2 terms performable by pointing.

A generalization is visible from here at no extra cost: an nn-term sum squared would give an n×nn \times n grid — nn diagonal squares and (n2)\binom{n}{2} mirrored pairs. The trinomial is simply the first case where the grid is big enough to make that pattern unmistakable.

Why Each Cross Product is Doubled

The 3×3 grid has nine cells but produces only six distinct expression values. The reason is symmetry: the cell at row ii, column jj has dimensions equal to the iith and jjth segments, but the cell at row jj, column ii has the same dimensions in the opposite orientation. They are different geometric pieces in different positions, but they have the same area.

Specifically:

• Top-middle cell has dimensions a×ba \times b. Middle-left cell has dimensions b×ab \times a. Same area abab.

• Top-right has dimensions a×ca \times c. Bottom-left has dimensions c×ac \times a. Same area acac.

• Middle-right has dimensions b×cb \times c. Bottom-middle has dimensions c×bc \times b. Same area bcbc.

Three pairs of equal cells produce the three doubled cross products. The symmetry is purely geometric — it follows from the commutativity of multiplication, xy=yxxy = yx, manifested as area-preserving rotation of a rectangle.

Using the Controls

Five controls drive the animation:

Play runs the full proof. After step 3 fills the grid, step 4 starts the perpetual explode-and-reform oscillation that reveals the nine pieces individually.

Pause stops the current animation, including the stage-4 oscillation, in place.

Step Forward and Step Back move through the four steps. Forward from step 3 starts the oscillation; Back from step 3 returns to the unfilled grid.

Reset returns to step 1 and replays the intro fade-in.

Speed controls all transitions and the explosion oscillation, from 0.5× to 2×. The grid is more readable at slower speeds; the oscillation is more dramatic at faster speeds.

The right panel lists the four written steps with the current step highlighted.