Algebra

Special Products of Binomials

Last updated: March 2026 · Intermediate
Before you start

You should be comfortable with:

Real-world applications
Electrical

Voltage drop, wire sizing, load balancing

When multiplying binomials, certain pairs produce results with a recognizable pattern every single time. These special products are worth memorizing because they appear constantly in algebra — from simplifying expressions to factoring polynomials to solving equations. Recognizing them saves time and reduces errors compared to multiplying out every term with FOIL.

There are three special product patterns: the difference of squares, the square of a sum, and the square of a difference. The last two produce what are called perfect square trinomials.

Pattern 1: Difference of Squares

When you multiply the sum and difference of the same two terms, the middle terms cancel and you get a difference of squares:

(a+b)(ab)=a2b2(a + b)(a - b) = a^2 - b^2

Why It Works

Apply FOIL to (a+b)(ab)(a + b)(a - b):

  • F: aa=a2a \cdot a = a^2
  • O: a(b)=aba \cdot (-b) = -ab
  • I: ba=abb \cdot a = ab
  • L: b(b)=b2b \cdot (-b) = -b^2

Combine: a2ab+abb2=a2b2a^2 - ab + ab - b^2 = a^2 - b^2

The ab-ab and +ab+ab always cancel. This is not a coincidence — it happens every time you multiply conjugates (two binomials that are identical except one has a plus and the other has a minus).

Example 1: (x+5)(x5)(x + 5)(x - 5)

Using the pattern with a=xa = x and b=5b = 5:

(x+5)(x5)=x252=x225(x + 5)(x - 5) = x^2 - 5^2 = x^2 - 25

Answer: x225x^2 - 25

Verify with FOIL: x25x+5x25=x225x^2 - 5x + 5x - 25 = x^2 - 25. Correct.

Example 2: (3x+7)(3x7)(3x + 7)(3x - 7)

Here a=3xa = 3x and b=7b = 7:

(3x+7)(3x7)=(3x)272=9x249(3x + 7)(3x - 7) = (3x)^2 - 7^2 = 9x^2 - 49

Answer: 9x2499x^2 - 49

Example 3: (2x+3y)(2x3y)(2x + 3y)(2x - 3y)

Here a=2xa = 2x and b=3yb = 3y:

(2x+3y)(2x3y)=(2x)2(3y)2=4x29y2(2x + 3y)(2x - 3y) = (2x)^2 - (3y)^2 = 4x^2 - 9y^2

Answer: 4x29y24x^2 - 9y^2

Example 4: (x2+4)(x24)(x^2 + 4)(x^2 - 4)

The pattern works with any expression in place of aa and bb. Here a=x2a = x^2 and b=4b = 4:

(x2+4)(x24)=(x2)242=x416(x^2 + 4)(x^2 - 4) = (x^2)^2 - 4^2 = x^4 - 16

Answer: x416x^4 - 16

Pattern 2: Square of a Sum (Perfect Square Trinomial)

When you square a binomial sum, the result is a perfect square trinomial:

(a+b)2=a2+2ab+b2(a + b)^2 = a^2 + 2ab + b^2

The key feature is the middle term 2ab2ab — it is always twice the product of the two terms.

Why It Works

(a+b)2(a + b)^2 means (a+b)(a+b)(a + b)(a + b). Apply FOIL:

  • F: a2a^2
  • O: abab
  • I: abab
  • L: b2b^2

Combine: a2+ab+ab+b2=a2+2ab+b2a^2 + ab + ab + b^2 = a^2 + 2ab + b^2

The two middle terms are identical, so they combine into 2ab2ab.

Example 5: (x+4)2(x + 4)^2

Using the pattern with a=xa = x and b=4b = 4:

(x+4)2=x2+2(x)(4)+42=x2+8x+16(x + 4)^2 = x^2 + 2(x)(4) + 4^2 = x^2 + 8x + 16

Answer: x2+8x+16x^2 + 8x + 16

Example 6: (3x+2)2(3x + 2)^2

With a=3xa = 3x and b=2b = 2:

(3x+2)2=(3x)2+2(3x)(2)+22=9x2+12x+4(3x + 2)^2 = (3x)^2 + 2(3x)(2) + 2^2 = 9x^2 + 12x + 4

Answer: 9x2+12x+49x^2 + 12x + 4

Example 7: (5x+1)2(5x + 1)^2

With a=5xa = 5x and b=1b = 1:

(5x+1)2=25x2+2(5x)(1)+1=25x2+10x+1(5x + 1)^2 = 25x^2 + 2(5x)(1) + 1 = 25x^2 + 10x + 1

Answer: 25x2+10x+125x^2 + 10x + 1

Pattern 3: Square of a Difference (Perfect Square Trinomial)

Squaring a binomial difference produces a similar pattern, but the middle term is negative:

(ab)2=a22ab+b2(a - b)^2 = a^2 - 2ab + b^2

Notice that the last term b2b^2 is still positive — squaring always produces a positive result.

Why It Works

(ab)2=(ab)(ab)(a - b)^2 = (a - b)(a - b). Apply FOIL:

  • F: a2a^2
  • O: ab-ab
  • I: ab-ab
  • L: b2b^2

Combine: a2abab+b2=a22ab+b2a^2 - ab - ab + b^2 = a^2 - 2ab + b^2

Example 8: (x6)2(x - 6)^2

With a=xa = x and b=6b = 6:

(x6)2=x22(x)(6)+62=x212x+36(x - 6)^2 = x^2 - 2(x)(6) + 6^2 = x^2 - 12x + 36

Answer: x212x+36x^2 - 12x + 36

Example 9: (4x3)2(4x - 3)^2

With a=4xa = 4x and b=3b = 3:

(4x3)2=(4x)22(4x)(3)+32=16x224x+9(4x - 3)^2 = (4x)^2 - 2(4x)(3) + 3^2 = 16x^2 - 24x + 9

Answer: 16x224x+916x^2 - 24x + 9

Example 10: (2x5y)2(2x - 5y)^2

With a=2xa = 2x and b=5yb = 5y:

(2x5y)2=(2x)22(2x)(5y)+(5y)2=4x220xy+25y2(2x - 5y)^2 = (2x)^2 - 2(2x)(5y) + (5y)^2 = 4x^2 - 20xy + 25y^2

Answer: 4x220xy+25y24x^2 - 20xy + 25y^2

Summary of All Three Patterns

PatternFormulaExample
Difference of Squares(a+b)(ab)=a2b2(a+b)(a-b) = a^2 - b^2(x+3)(x3)=x29(x+3)(x-3) = x^2 - 9
Square of a Sum(a+b)2=a2+2ab+b2(a+b)^2 = a^2 + 2ab + b^2(x+3)2=x2+6x+9(x+3)^2 = x^2 + 6x + 9
Square of a Difference(ab)2=a22ab+b2(a-b)^2 = a^2 - 2ab + b^2(x3)2=x26x+9(x-3)^2 = x^2 - 6x + 9

When to Use Each Pattern

Before multiplying two binomials, ask yourself:

  1. Are they conjugates? (same terms, opposite signs like (a+b)(ab)(a+b)(a-b)) — Use difference of squares.
  2. Is it a binomial squared? (like (a+b)2(a+b)^2 or (ab)2(a-b)^2) — Use perfect square trinomial.
  3. Neither? — Use FOIL or the distributive property as usual.

Recognizing Special Products in Reverse

These patterns are just as important in reverse — recognizing that x249x^2 - 49 is a difference of squares, or that x2+10x+25x^2 + 10x + 25 is a perfect square trinomial. This reverse recognition is the foundation of factoring, which you will study later.

Quick tests:

  • Difference of squares: Two terms, both perfect squares, subtracted. Example: 25x216=(5x)24225x^2 - 16 = (5x)^2 - 4^2.
  • Perfect square trinomial: Three terms where the first and last are perfect squares and the middle term is twice the product of their square roots. Example: x2+14x+49x^2 + 14x + 49 checks out because x2=x\sqrt{x^2} = x, 49=7\sqrt{49} = 7, and 2x7=14x2 \cdot x \cdot 7 = 14x.

Real-World Application: Electrician — Power Calculations

An electrician uses the power formula P=I2RP = I^2 R, where PP is power (watts), II is current (amps), and RR is resistance (ohms). When the current is expressed as a binomial — for instance, the current in a circuit is (I0+ΔI)(I_0 + \Delta I) where I0I_0 is the baseline current and ΔI\Delta I is a small fluctuation — the power becomes:

P=(I0+ΔI)2RP = (I_0 + \Delta I)^2 \cdot R

Expanding using the square of a sum:

P=(I02+2I0ΔI+(ΔI)2)RP = (I_0^2 + 2 I_0 \Delta I + (\Delta I)^2) \cdot R

P=I02R+2I0RΔI+R(ΔI)2P = I_0^2 R + 2 I_0 R \Delta I + R (\Delta I)^2

For a circuit with I0=10I_0 = 10 amps, ΔI=0.5\Delta I = 0.5 amps, and R=4R = 4 ohms:

P=(10)2(4)+2(10)(4)(0.5)+4(0.5)2P = (10)^2(4) + 2(10)(4)(0.5) + 4(0.5)^2

P=400+40+1=441 wattsP = 400 + 40 + 1 = 441 \text{ watts}

The electrician can also verify: (10.5)2×4=110.25×4=441(10.5)^2 \times 4 = 110.25 \times 4 = 441 watts. The expanded form reveals that the 40-watt increase comes from the linear 2I0RΔI2I_0 R\Delta I term, and the tiny 1-watt increase from the squared fluctuation term R(ΔI)2R(\Delta I)^2.

Answer: The power is 441 watts. The special product expansion helps electricians understand how small changes in current affect power consumption, which is critical for circuit design and breaker sizing.

Another Application: Mental Math with Difference of Squares

The difference of squares pattern can speed up mental arithmetic. To compute 47×5347 \times 53:

47×53=(503)(50+3)=50232=25009=249147 \times 53 = (50 - 3)(50 + 3) = 50^2 - 3^2 = 2500 - 9 = 2491

Similarly, 98×10298 \times 102:

98×102=(1002)(100+2)=100004=999698 \times 102 = (100 - 2)(100 + 2) = 10000 - 4 = 9996

This trick works whenever two numbers are equidistant from a round number.

Common Mistakes to Avoid

  1. Writing (a+b)2=a2+b2(a + b)^2 = a^2 + b^2. This is the single most common algebra mistake. The correct expansion is a2+2ab+b2a^2 + 2ab + b^2. You are missing the middle term. Always remember: squaring a binomial produces three terms, not two.

  2. Forgetting that b2b^2 is always positive in (ab)2(a - b)^2. (x6)2=x212x+36(x - 6)^2 = x^2 - 12x + 36, not x212x36x^2 - 12x - 36. A squared quantity is always nonnegative.

  3. Confusing the patterns. (a+b)(ab)(a+b)(a-b) gives two terms (a2b2a^2 - b^2). (a+b)2(a+b)^2 gives three terms (a2+2ab+b2a^2 + 2ab + b^2). Make sure you know which pattern applies.

  4. Not squaring the entire term. (3x)2=9x2(3x)^2 = 9x^2, not 3x23x^2. When the first or second term has a coefficient, you must square the coefficient too.

  5. Misidentifying conjugates. (x+5)(x3)(x + 5)(x - 3) is not a difference of squares because the second terms (5 and 3) are different. The pattern requires both terms to be identical except for the sign.

Practice Problems

Test your understanding with these problems. Click to reveal each answer.

Problem 1: Expand (x+9)(x9)(x + 9)(x - 9)

Difference of squares with a=xa = x, b=9b = 9:

(x+9)(x9)=x281(x + 9)(x - 9) = x^2 - 81

Answer: x281x^2 - 81

Problem 2: Expand (x+5)2(x + 5)^2

Square of a sum with a=xa = x, b=5b = 5:

(x+5)2=x2+2(x)(5)+25=x2+10x+25(x + 5)^2 = x^2 + 2(x)(5) + 25 = x^2 + 10x + 25

Answer: x2+10x+25x^2 + 10x + 25

Problem 3: Expand (x8)2(x - 8)^2

Square of a difference with a=xa = x, b=8b = 8:

(x8)2=x22(x)(8)+64=x216x+64(x - 8)^2 = x^2 - 2(x)(8) + 64 = x^2 - 16x + 64

Answer: x216x+64x^2 - 16x + 64

Problem 4: Expand (6x+1)(6x1)(6x + 1)(6x - 1)

Difference of squares with a=6xa = 6x, b=1b = 1:

(6x+1)(6x1)=36x21(6x + 1)(6x - 1) = 36x^2 - 1

Answer: 36x2136x^2 - 1

Problem 5: Expand (2x7)2(2x - 7)^2

Square of a difference with a=2xa = 2x, b=7b = 7:

(2x7)2=4x22(2x)(7)+49=4x228x+49(2x - 7)^2 = 4x^2 - 2(2x)(7) + 49 = 4x^2 - 28x + 49

Answer: 4x228x+494x^2 - 28x + 49

Problem 6: Use the difference of squares to compute 39×4139 \times 41 mentally.

39×41=(401)(40+1)=40212=16001=159939 \times 41 = (40 - 1)(40 + 1) = 40^2 - 1^2 = 1600 - 1 = 1599

Answer: 15991599

Problem 7: Is x2+12x+36x^2 + 12x + 36 a perfect square trinomial? If so, write it as a squared binomial.

Check: x2=x\sqrt{x^2} = x and 36=6\sqrt{36} = 6. The middle term should be 2(x)(6)=12x2(x)(6) = 12x. It matches.

x2+12x+36=(x+6)2x^2 + 12x + 36 = (x + 6)^2

Answer: Yes, (x+6)2(x + 6)^2

Key Takeaways

  • Difference of squares: (a+b)(ab)=a2b2(a + b)(a - b) = a^2 - b^2 — conjugate binomials always produce a two-term result with no middle term
  • Square of a sum: (a+b)2=a2+2ab+b2(a + b)^2 = a^2 + 2ab + b^2 — always produces a trinomial with a positive middle term
  • Square of a difference: (ab)2=a22ab+b2(a - b)^2 = a^2 - 2ab + b^2 — always produces a trinomial with a negative middle term but a positive last term
  • The number-one mistake is writing (a+b)2=a2+b2(a + b)^2 = a^2 + b^2 — never forget the 2ab2ab middle term
  • Recognizing these patterns in reverse is the key to factoring polynomials
  • These patterns apply in electrical engineering, physics, mental math, and anywhere polynomial expressions arise

Return to Algebra for more topics in this section.

Last updated: March 29, 2026