• Foundation
  • About 16 min
  • 5 practice questions

Difference of squares and products of binomials

Use a² − b² = (a + b)(a − b) to multiply and factorise, use Śrīdharāchārya's form a² = (a + b)(a − b) + b² to square numbers, and multiply binomials with (x + a)(x + b) and (px + a)(qx + b), including with algebra tiles.

If something looks wrong, please tell us.

By the end of this lesson you can

  • Factorise a difference of two squares and use it to multiply numbers such as 47 × 53.
  • Square numbers quickly with a² = (a + b)(a − b) + b², choosing b to make one factor a round number.
  • Multiply (x + a)(x + b) and (px + a)(qx + b), and picture the product with algebra tiles.

Products of two binomials appear everywhere: in areas of rectangles, in quick mental multiplication and in factorising. This lesson collects the identities for them and shows a neat picture, algebra tiles, that makes the middle term easy to see.

Difference of two squares

Multiply out (a + b)(a − b) = a² − ab + ba − b² = a² − b². The middle terms cancel. So a² − b² = (a + b)(a − b). It is very useful for products of two numbers that are equally far from a round number: 47 × 53 = (50 − 3)(50 + 3) = 2500 − 9 = 2491.

a² − b² = (a + b)(a − b), and rearranged, a² = (a + b)(a − b) + b².

Śrīdharāchārya's way to square a number

The Indian mathematician Śrīdharāchārya described the rearranged form a² = (a + b)(a − b) + b² as a quick way to square numbers. Choose b so that a + b or a − b is a round number. For numbers ending in 5, take b = 5: 45² = (45 + 5)(45 − 5) + 5² = 50 × 40 + 25 = 2000 + 25 = 2025, and 95² = 100 × 90 + 25 = 9025. It works for other numbers too: 38² = (38 + 2)(38 − 2) + 2² = 40 × 36 + 4 = 1440 + 4 = 1444.

Worked example 1: factorising differences of squares

(a) 25x² − 16y² = (5x)² − (4y)² = (5x + 4y)(5x − 4y). (b) 3a² − 75: take out 3 first, 3(a² − 25) = 3(a + 5)(a − 5). (c) x⁴ − 81 = (x²)² − 9² = (x² + 9)(x² − 9) = (x² + 9)(x + 3)(x − 3), since x² − 9 is again a difference of squares.

Products (x + a)(x + b)

By the distributive law, (x + a)(x + b) = x² + bx + ax + ab = x² + (a + b)x + ab. The middle coefficient is the sum of a and b and the constant is their product.

Algebra tiles show this as an area. Use a big square tile for x², a long strip for x (x by 1) and a small square for 1. A rectangle with sides x + 2 and x + 5 is filled by one x² tile, 2 strips along one side, 5 strips along the other, and a 2 by 5 block of 10 unit tiles.

Algebra tiles for (x + 2)(x + 5)

  • One x² tile
    • The x by x corner
  • Seven x-strips
    • 2 strips along one side
    • 5 strips along the other
    • Together 2x + 5x = 7x
  • Ten unit tiles
    • A 2 by 5 block
    • 2 × 5 = 10
So (x + 2)(x + 5) = x² + 7x + 10.

Worked example 2: products of binomials

(a) (x − 4)(x + 6): a + b = −4 + 6 = 2 and ab = −4 × 6 = −24, so the product is x² + 2x − 24. (b) 102 × 97 = (100 + 2)(100 − 3) with x = 100, a = 2 and b = −3: 10000 + (2 − 3) × 100 + (2)(−3) = 10000 − 100 − 6 = 9894.

Products (px + a)(qx + b)

When the x-terms have coefficients, the distributive law gives (px + a)(qx + b) = pqx² + pbx + aqx + ab = pqx² + (pb + aq)x + ab. For example, (2x + 3)(4x − 1) = 8x² − 2x + 12x − 3 = 8x² + 10x − 3. With tiles, the rectangle has 2 x-strips plus 3 units along one side and 4 x-strips minus 1 unit along the other.

Products of two binomials
ProductRuleExample
(a + b)(a − b)a² − b²(3y + 7)(3y − 7) = 9y² − 49
(x + a)(x + b)x² + (a + b)x + ab(x + 3)(x − 8) = x² − 5x − 24
(px + a)(qx + b)pqx² + (pb + aq)x + ab(3x + 1)(2x + 5) = 6x² + 17x + 5

Key takeaways: a² − b² = (a + b)(a − b) turns differences of squares into products and speeds up products like 47 × 53. The form a² = (a + b)(a − b) + b² squares numbers by making one factor round. (x + a)(x + b) = x² + (a + b)x + ab, and (px + a)(qx + b) = pqx² + (pb + aq)x + ab; algebra tiles show the middle term as the strips along both sides.

Check your understanding

  1. 1. Using a² − b², what is 96 × 104?

    1. 10016
    2. 9984
    3. 9996
    4. 9916
    Show answer

    Answer: B. 96 × 104 = (100 − 4)(100 + 4) = 100² − 4² = 10000 − 16 = 9984.

  2. 2. What is the factorised form of 49p² − 36q²?

    1. (7p − 6q)²
    2. (49p + 36q)(p − q)
    3. (7p + 6q)²
    4. (7p + 6q)(7p − 6q)
    Show answer

    Answer: D. 49p² = (7p)² and 36q² = (6q)², so 49p² − 36q² = (7p + 6q)(7p − 6q). Check: multiplying gives 49p² − 42pq + 42pq − 36q² = 49p² − 36q².

  3. 3. Using a² = (a + b)(a − b) + b², what is 75²?

    1. 4925
    2. 5600
    3. 5625
    4. 5725
    Show answer

    Answer: C. Take b = 5: 75² = (75 + 5)(75 − 5) + 5² = 80 × 70 + 25 = 5600 + 25 = 5625.

  4. 4. What is (x + 7)(x − 3)?

    1. x² + 4x − 21
    2. x² − 4x − 21
    3. x² + 10x − 21
    4. x² + 4x + 21
    Show answer

    Answer: A. Use (x + a)(x + b) = x² + (a + b)x + ab with a = 7 and b = −3: a + b = 4 and ab = −21, so the product is x² + 4x − 21.

  5. 5. What is (3x − 2)(2x + 5)?

    1. 6x² − 11x − 10
    2. 6x² + 19x − 10
    3. 5x² + 11x − 10
    4. 6x² + 11x − 10
    Show answer

    Answer: D. Multiply out: 3x × 2x = 6x², 3x × 5 = 15x, −2 × 2x = −4x and −2 × 5 = −10. So the product is 6x² + 15x − 4x − 10 = 6x² + 11x − 10.

Privacy · Terms · Refunds · Delivery