What Is the (a + b)² Formula?
The a plus b whole square formula expands the square of a binomial into a trinomial. For any real (or even complex) numbers and :
Each term has a name worth knowing:
— the first square term, the square of the first quantity.
— the middle term (or cross term), twice the product of the two quantities.
— the second square term, the square of the second quantity.
The companion identity is — same shape, with the middle term flipped to minus. The two are mirror images, and confusing them is a common slip.
How Is the (a + b)² Formula Derived?
Two proofs are worth seeing — one algebraic, one geometric. They explain the same fact from different directions, and together they make the impossible to forget.
Algebraic proof — just multiply it out. A square means "times itself," so . Expand using the distributive property (the same move as FOIL):
Since , the two middle terms combine:
The is not an extra rule — it is the two cross-products and that the distribution always produces.
Geometric proof — the area of a square. Draw a square whose side is . Its total area is . Now cut it with one horizontal and one vertical line at the point that splits each side into a length and a length . The square falls into four pieces:
one square, area ,
one square, area ,
two rectangles, area each, totaling .
The pieces must add up to the whole:
The two rectangles are the middle term. Once a student has seen the square cut into four pieces, the dropped- mistake tends to disappear — the term has a shape, not just a position in a formula.
How Is (a + b)² Different from a² + b²?
This is the distinction the whole topic turns on. They are not equal:
means "add first, then square." means "square each, then add." The gap between them is exactly . A quick numeric check settles it: with , , but — a difference of . The relationship is itself a useful tool — see our a² + b² formula page for how it solves problems where only the sum and product are known.
Examples of the (a + b)² Formula
Example 1
Expand .
Apply the formula with , :
Final answer: .
Example 2
Expand .
A tempting shortcut is to square each term and add — to write .
Wrong path. Writing . Check it at : the real value is , but . The shortcut is off by — and , the exact middle term that was dropped. Squaring a sum is not the same as summing the squares.
The break. The error treats squaring as if it distributed over addition: . The distribution produces two cross-terms, and they don't vanish.
The rescue. Use the full formula with , :
Final answer: . (Check at : . ✓)
Example 3
Use the formula to compute mentally.
Write and apply the identity with , :
Final answer: — no long multiplication needed.
Example 4
Expand .
With , :
Final answer: .
Example 5
Given and , find .
Rearrange the identity to isolate the sum of squares:
Final answer: — found without ever solving for or individually.
Example 6
Factor back into a whole square.
Recognise the pattern . Here so ; so ; and the middle term should be — which matches. So it is a perfect square:
Final answer: . (The middle-term check is what confirms the factoring; without it, might be mistaken for a non-square trinomial.)
Where the (a + b)² Formula Shows Up
This identity is one of the first algebraic tools that keeps paying off long after Class 8.
Completing the square. Solving any quadratic by completing the square rebuilds a perfect-square trinomial — running Example 6 in reverse. The quadratic formula itself is derived this way.
Mental arithmetic. Squaring numbers near a round figure (, ) is instant with the identity, a trick rooted in Vedic mathematics and still taught for fast computation.
Statistics — variance. The shortcut formula for variance, , is a direct cousin of the rearrangement; the cross-term is what separates "mean of the squares" from "square of the mean."
Geometry and physics. Any area, energy, or distance expression involving a squared sum — kinetic-energy terms, the expansion of — carries the cross term, which in vectors becomes the dot-product interaction term.
For Class 8 to Class 10 students, the immediate use is expansion and factoring — but completing the square and the variance shortcut mean this one identity reappears in algebra, calculus prep, and statistics.
Tripping Points to Avoid
Mistake 1: Dropping the middle term
Where it slips in: Writing , treating squaring as if it distributed over addition.
Don't do this: Square each term separately and stop. The two cross-products are part of the expansion, not optional.
The correct way: Always write all three terms, . In the McKinney TX Grade 8 cohort, this is the single most-repeated error on the first identities worksheet — it appears in close to half of first attempts, and it is the rusher archetype's signature: straight to "square both," no middle step.
Mistake 2: Confusing (a + b)² with (a − b)²
Where it slips in: Putting a minus on the middle term of a sum, or a plus on the middle term of a difference.
Don't do this: Assume the middle sign is always positive (or always negative). It tracks the sign inside the bracket.
The correct way: (plus middle); (minus middle). The first and last terms are positive either way — only the middle term carries the sign.
Mistake 3: Misreading the cross term when terms have coefficients
Where it slips in: Expanding and writing the middle term as instead of — forgetting the variable.
Don't do this: Take from the bare coefficients and lose the variable that belongs in .
The correct way: Treat the whole term as . For , , so . The second-guesser archetype gets the structure right, then "simplifies away" the variable because the all-numbers version felt cleaner.
Conclusion
The a plus b whole square formula is — two squares plus twice the product.
The middle term comes from the two cross-products of the distribution, shown geometrically as two equal rectangles in a square of side .
is not ; they differ by exactly .
The most common errors are dropping the middle term, confusing it with , and losing the variable in the cross term.
The identity powers completing the square, fast mental arithmetic, the variance shortcut, and vector dot-product expansions.
Practice These Before Moving On
Expand .
Compute using the formula.
Given and , find .
If Problem 1 gave you , return to Mistake 1 — the middle term is missing. For the related cube identities, see a³ + b³ formula.
Want a live Bhanzu trainer to walk your child through algebraic identities and the Class 8 polynomials chapter? Book a free demo class — online globally.
Was this article helpful?
Your feedback helps us write better content
