$(a+b)^{2} = a^{2} + 2ab + b^{2}$, $(a-b)^{2} = a^{2} - 2ab + b^{2}$ — the middle term is twice the product of the two ends
$(a+b)^{2}$ is the area of a square with side $(a+b)$. Splitting this square into $a^{2}$ (big square), $ab$, $ab$ (two rectangles), $b^{2}$ (small square) — total area $= a^{2} + 2ab + b^{2}$. The "middle 2ab" comes from the two rectangles.
$(a-b)^{2}$ is similar, and only the sign of the middle term follows the sign inside the parentheses: $(a-b)^{2} = a^{2} - 2ab + b^{2}$ ($b^{2}$ is always positive). 90% of sign errors come from this $b^{2}$ sign and dropping $2ab$.
Let's build the result step by step, instead of memorizing.
$(a+b)^{2} = (a+b)(a+b) = a \cdot a + a \cdot b + b \cdot a + b \cdot b = a^{2} + ab + ba + b^{2} = a^{2} + 2ab + b^{2}$.
$(a-b)^{2} = (a-b)(a-b) = a^{2} - ab - ba + b^{2} = a^{2} - 2ab + b^{2}$ — $(-b)(-b) = +b^{2}$ (product of two negatives = positive).
$(10+2)^{2} = 10^{2} + 2 \times 10 \times 2 + 2^{2} = 100 + 40 + 4 = 144 = 12^{2}$ ✓. Twice the product of the two ends (10, 2) (40) is the middle — the formula's structure is confirmed numerically.
Each step also shows the "why".
The classic ways to lose points on a test.
Three questions to check the core idea. Click an option to see the explanation.
The formula is hiding in familiar scenes. Read it as a story and it sticks.
$(101)^{2} = (100 + 1)^{2} = 10000 + 200 + 1 = 10201$ — mental math with the perfect square formula. $(99)^{2} = (100 - 1)^{2} = 10000 - 200 + 1 = 9801$. Fast squares of two-digit numbers as "100±1" perfect squares — the 2ab term (200) is the key.
When counting the tiles of a square with side $(a+b)$: $a^{2}$ + $2ab$ + $b^{2}$ — the "middle 2ab" is two rectangles (width $a$ height $b$, width $b$ height $a$), so doubled. It comes out directly in tile arrangements and garden design — the area of a "square with one side split into two segments."