All courses › Foundations of Mathematics › The square rules
The square rules
The square rules are shortcuts for expanding common parenthesised expressions, and are used in reverse when factoring. The colours show where each term comes from: the first term is blue, the second term is orange, and the middle term made from both together is magenta.
first square rule second square rule difference of squares (third square rule)
Symbols
| first term in the brackets (blue) | |
| second term in the brackets (orange) | |
| the middle term: times , twice (magenta) | |
Where the rule comes from
First square rule:
Squaring means multiplying by itself. Write the square as two identical brackets.
Multiply each term in the first bracket by each term in the second: by , by , by and by . That gives four terms.
and . The two middle terms are both , because .
Collect like terms: . So the middle term is one from each of the two 'crosses'.
This is the first square rule. If you write only , you have forgotten both crosses.
Second square rule:
Write the square as two identical brackets. This time the second term has a minus sign: it is .
Multiply each term by each term, keeping the signs. and are negative. is positive, because minus times minus is plus.
Now there are two like terms with minus: and .
Collect like terms: . The only difference from the first rule is the minus in front of . The term is still plus.
Difference of squares:
The brackets are almost the same: one has , the other . Multiply each term by each term.
The two middle terms are and : the same size, but with opposite signs.
They cancel each other out, because .
Only is left. That is why this rule has no middle term.
Example
With and :
, because the middle term is
In your head:
Difference of squares:
- the middle term
is often forgotten.
Practise algebra and equations for free →
← Scientific notation · Linear equation →
Part of Foundations of Mathematics: Algebra and equations.