Ⅱ Expressions & Equations · Stage 7 — Algebraic Expressions & Polynomials · 7.6 Multiplication FormulasAll lessons →
Stage 7 · Algebraic Expressions & Polynomials

7.6  Multiplication Formulas: Shortcuts for Faster Work

Two pattern formulas distilled from polynomial multiplication — and how to wield them fast, forwards.

For ages 11–14 · Intuition before notation
ab ab a b a b side = a + b DIFFERENCE OF SQUARES (a+b)(ab) = PERFECT SQUARE (a+b)² = + 2ab +
Two patterns worth memorizing. The square on the left is the perfect-square formula: an corner, a corner, and two ab strips that add to 2ab.

In Lesson 7.5 you learned the all-purpose rule for multiplying expressions: every term in the first set of parentheses meets every term in the second. That rule never fails — but it does take work. This lesson is about two products that come up so often, and behave so neatly, that mathematicians long ago packaged them into formulas. Learn the pattern once, and you can skip straight to the answer.

By the end you will be able to do four things: expand (a+b)(ab) in one step as a difference of squares; square a sum or difference with the perfect-square formula without ever dropping the middle term; see both formulas as pictures made of areas; and use them as a mental-math trick to compute things like 102×98 in your head. One steady color habit runs through the lesson: the first piece, our a, is blue; the second piece, our b, is amber; and the cross term 2ab is green.

7.6.1 The difference of squares

Start with a product that looks almost like a trap: the two factors are identical except for a single sign. One is a sum, the other is the matching difference:

(a + b)(ab)

There is nothing new to learn to expand it — just use the rule from 7.5, where every term meets every term. Each of the two terms in the first bracket multiplies each of the two terms in the second, giving four products:

(a+b)(ab) = a·a  −  a·b  +  b·a  −  b·b

Now watch the middle. The first product is ; the last is ; and the two in the middle are −ab and +ab. Those two are the same size with opposite signs, so they cancel each other out completely — they add to zero and vanish:

− ab + ab  = 

(a+b)(ab) − ab + ab − b² these two cancel =
The two outside products survive; the two inside products are equal and opposite, so they erase each other. What is left is a difference of two squares.
Difference of squares

(a + b)(ab) =

A sum times its matching difference equals the square of the first piece minus the square of the second. There is no middle term — it cancelled. (And the order does not matter: (ab)(a+b) gives the very same .)

Worked example — spot the pattern

Expand (2x + 3)(2x − 3).

  1. It is a sum times the matching difference, so it fits the formula. same two terms, opposite signs
  2. Here a = 2x and b = 3. name the two pieces
  3. Square the first: = (2x)² = 4x2. square the coefficient and the variable
  4. Square the second: = 3² = 9.
  5. Subtract: 4x2 − 9. no middle term

Check at x = 5: the factors are 13 and 7, and 13·7 = 91; the formula gives 4·25 − 9 = 100 − 9 = 91. ✓

Watch out — it must be the SAME two pieces

The formula only applies when the two brackets share the same a and the same b, differing only by the sign in the middle. (x+3)(x−5) is not a difference of squares — the second pieces (3 and 5) don't match, so the middle terms won't cancel. Use the full method from 7.5 there.

🎮 Try itWatch the middle terms cancel

Set a and b. See all four products appear, watch the −ab and +ab strike through and cancel, and confirm the numbers match exactly.

a 7
b 3

7.6.2 The perfect square formula

The second pattern is squaring a two-term expression — multiplying a binomial by itself. Take a sum and square it:

(a + b)²  =  (a + b)(a + b)

Expand it the same careful way — every term meets every term — and this time nothing cancels. The four products are a·a, a·b, b·a, and b·b:

=  +  ab  +  ab  +   =  + 2ab +

This time the two middle products have the same sign, so instead of cancelling they combine into 2ab — twice the product of the two pieces. That middle term is the whole story of this formula, and the most common mistake in all of algebra is to forget it.

Perfect square formulas

(a + b)² = + 2ab +

(ab)² = 2ab +

Square the first piece, square the second piece, and glue them together with twice their product in the middle. For a difference, the only thing that flips is the sign of that middle term — the last term, , stays positive because a negative squared is positive.

Watch out — the classic error

(a + b is NOT + . Squaring does not pass through a sum. You must add the middle term 2ab. Quick proof with numbers: (3 + 4)² = 7² = 49, but 3² + 4² = 9 + 16 = 25. The missing piece is exactly 2·3·4 = 24, and 25 + 24 = 49. ✓

Worked example — squaring a difference

Expand (3a − 4)².

  1. This is a difference squared, so use 2ab + with a = 3a, b = 4. name the pieces
  2. First piece squared: (3a)² = 9a2.
  3. Middle term: 2·(3a)·(4) = 24a, and it is subtracted. twice the product
  4. Last piece squared: 4² = 16 (positive).
  5. Put it together: 9a2 − 24a + 16.

Check at a = 2: the inside is 3·2 − 4 = 2, and 2² = 4; the formula gives 9·4 − 24·2 + 16 = 36 − 48 + 16 = 4. ✓

🎮 Try itSquare it — and never lose the middle term

Choose a sum or a difference, set a and b, and watch the three-term answer build. The numeric check compares the formula against squaring the value directly.

Form
a 5
b 3

7.6.3 Seeing the formulas geometrically

Both formulas are really statements about area, and a picture makes them impossible to forget. The key idea, which goes all the way back to expanding products in 7.5, is that the area of a rectangle is length times width — so a product of two binomials is the area of a rectangle whose sides are those binomials.

The perfect square as a tiled square

Draw a square whose side is a + b. Its total area is (a+b by definition. Now cut both sides at the point where the a part ends and the b part begins. The square splits into four tiles: a big a×a square, a small b×b square in the opposite corner, and two identical a×b strips. Their areas are , , and two copies of ab — and two copies of ab is 2ab. The total has to equal the whole square, which is exactly the formula.

ab ab a b a b (a+b)² = a² + 2ab + b²
The whole square is (a+b. Its four tiles are , , and two ab strips — and that is where the 2ab comes from. If the middle term were missing, those two green strips would be missing too.

The difference of squares as a cut-and-rearrange

For the difference of squares, start with a square of side a and area , then cut a small b×b square out of one corner. What remains is an L-shaped piece with area . Slice that L into two rectangles and slide one beside the other, and the two pieces fit together perfectly into a single rectangle. Its height is ab and its width is a + b — so the same area is also (a+b)(ab). Two names for one area is exactly the formula.

a² − b² a a cut & slide (a+b)(a−b) a + b a − b
Cut a b×b square out of an a×a square, then rearrange the leftover L into a rectangle. The area never changed, so = (a+b)(ab).
🎮 Try itBuild the square out of its four tiles

Drag the sliders for a and b. The square of side a+b re-tiles itself; the two green strips are highlighted as 2ab, and the four areas add up — both as numbers and as symbols.

a 5
b 3
🎮 Try itCut and rearrange: a² − b²

Step through removing the b×b corner and folding the leftover L into an (a+b)-by-(ab) rectangle. The area is the same at every step.

a 6
b 2
Step

7.6.4 Using the formulas flexibly

The real power of these formulas is that a and b can be anything — a variable, a number, or a whole expression. The skill is learning to spot which part is the a and which is the b, and then the formula does the rest. This even works on plain arithmetic, turning ugly multiplications into easy ones you can do in your head.

The trick for mental math is to write each number as a round number plus or minus a little, usually anchored on a nearby multiple of ten or a hundred. Then the formula collapses the work to a couple of squares and a subtraction.

Worked example — a product that is secretly a difference of squares

Compute 102 × 98 in your head.

  1. Notice both numbers sit the same distance from 100: one is 100 + 2, the other 100 − 2. a sum and its matching difference
  2. So this is (100 + 2)(100 − 2) with a = 100, b = 2. difference of squares
  3. Apply = 100² − 2² = 10000 − 4.
  4. Answer: 9996. done in one line
Worked example — a square by the perfect-square formula

Compute 103² in your head.

  1. Write 103 as 100 + 3, so a = 100 and b = 3. round number plus a little
  2. Use + 2ab + = 100² + 2·100·3 + 3².
  3. That is 10000 + 600 + 9. a square, a double product, a square
  4. Answer: 10609.

For a number just under a round one, use the difference form: 99² = (100 − 1)² = 10000 − 200 + 1 = 9801.

The flexible habit

Before reaching for the long method, ask two quick questions. (1) Are these the same two pieces with opposite signs? → difference of squares, answer . (2) Am I squaring a two-piece expression? → perfect square, answer ± 2ab + . If neither fits, fall back on the full term-by-term rule from 7.5.

🎮 Try itThe mental-math cracker

A product or a square appears. Pick which formula fits and name the round number, then reveal the slick one-line computation and check the exact answer.

Problem
Which formula?

The big ideas, in one breath

Two products are worth knowing by heart. A sum times its matching difference is a difference of squares, (a+b)(ab) = , because the two middle terms cancel. Squaring a two-term expression gives a perfect square, (a±b)² = ± 2ab + — never forget the middle term 2ab, which is twice the product. Both formulas are pictures: a square cut into four tiles, or an L cut and rearranged into a rectangle. And both turn into mental-math shortcuts once you write a number as a round number plus or minus a little.

Coming up next — 7.7

You have spent two lessons multiplying expressions. Next, in Lesson 7.7, you will run the operation backwards and learn to divide expressions — and the difference of squares will reappear as one of the cleanest ways to split a polynomial back into factors.

Practice 7.6

Work each one out first, then open the answer to check your thinking.

  1. Expand (x + 6)(x − 6).
    Show answer
    x2 − 36. It is a difference of squares with a = x, b = 6: x² − 6².
  2. Expand (7 + y)(7 − y).
    Show answer
    49 − y2. Here a = 7 and b = y, so the answer is 7² − y² = 49 − y². (Check at y = 2: 9·5 = 45 and 49 − 4 = 45. ✓)
  3. Expand (x + 5)².
    Show answer
    x2 + 10x + 25. Perfect square: x² + 2·x·5 + 5². The middle term is 10x — don't drop it!
  4. Expand (x − 8)².
    Show answer
    x2 − 16x + 64. Difference squared: x² − 2·x·8 + 8². The last term 64 stays positive.
  5. Expand (2m + 5n.
    Show answer
    4m2 + 20mn + 25n2. Square each piece: (2m)² = 4m², (5n)² = 25n²; the middle is 2·(2m)·(5n) = 20mn. (Check at m=n=1: 7² = 49 and 4+20+25 = 49. ✓)
  6. Expand (3x − 2)(3x + 2).
    Show answer
    9x2 − 4. Same two pieces, opposite signs, so (3x)² − 2² = 9x² − 4. Order of the brackets doesn't matter.
  7. Spot the trap. Is (x + 3)(x − 5) a difference of squares? Expand it correctly.
    Show answer
    No. The second pieces (3 and 5) are different, so the middle terms do not cancel. Using the full method: x2 − 5x + 3x − 15 = x2 − 2x − 15.
  8. Use a formula to compute 97 × 103 in one line.
    Show answer
    (100 − 3)(100 + 3) = 100² − 3² = 10000 − 9 = 9991. Difference of squares with a = 100, b = 3.
  9. Use a formula to compute 98² in your head.
    Show answer
    (100 − 2)² = 100² − 2·100·2 + 2² = 10000 − 400 + 4 = 9604.
  10. A student writes (a + b)² = a2 + b2. Explain the mistake and fix it, using a = 5, b = 2 as evidence.
    Show answer
    The middle term 2ab is missing. Correct: (a+b)² = a2 + 2ab + b2. Evidence: (5+2)² = 49, but 5² + 2² = 29; the gap is exactly 2·5·2 = 20, and 29 + 20 = 49. ✓
  11. Compute 21 × 19 with a formula, then explain why the trick worked.
    Show answer
    (20 + 1)(20 − 1) = 20² − 1² = 400 − 1 = 399. It worked because the two numbers are the same distance (1) on either side of 20 — a sum and its matching difference, which is always a difference of squares.

🎯 Check yourself

Six questions to lock it in, aimed straight at the common slips. Tap the answer you think is right.

🎮 Quiz Six quick questions

§ Where to go next

This lesson sits in the middle of the multiplying strand. If you want to revisit the all-purpose term-by-term rule that these formulas are built on, go back to Lesson 7.5 · Multiplying Expressions. When you are ready to run the operation in reverse, continue to Lesson 7.7 · Dividing Expressions, where the difference of squares returns as a factoring tool.

eastmath.com · Stage 7 · 7.6 Multiplication Formulas · Intuition before notation