You will square a bracket like without losing a term, and multiply out in one line.
Core idea
Squaring a bracket
Take . It means the bracket times itself, and multiplying out gives four products.
The four products always land on the same pattern, so you can write it down at once.
and .
The middle term is twice the product of and . Its sign is the sign inside the bracket. The last term is always plus, because a minus times a minus is a plus.
A sum times a difference
Now multiply a sum by a difference, . The two middle products are minus and plus the same amount, so they cancel.
.
This is called the difference of two squares. It is a square minus a square, and it is the only shape where the middle disappears.
A number in front of x
Put a number in front of , as in . Each bracket now starts with two times , and that whole first term gets squared. Two squared is four, so the product is .
A square works the same way. In the first term squared is four times . The middle term is twice the product of two and three.
Most people write . That drops the middle term, which is why it is wrong.
Worked example
Expand .
Write the square as a product of two brackets. Then take the four products.
Check: both sides are the same for every value of , so the expansion is exact.
Problems
Expand .
Hint
The middle pair is negative, so their sum is negative too.
Expand .
Hint
The first term of the bracket is , so square all of it.