No history yet

Algebraic Derivation and FOIL

Expanding Binomials

When you see an expression like (a+b)2(a+b)², it's tempting to just square each term inside, getting a2+b2a² + b². But that's a common mistake. The exponent applies to the entire binomial, meaning we're multiplying (a+b)(a+b) by itself.

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

To multiply two binomials, we can use a handy mnemonic called the FOIL method—it ensures we multiply every term in the first binomial by every term in the second. FOIL stands for First, Outer, Inner, Last.

Applying this to (a+b)(a+b)(a+b)(a+b) gives us four terms:

  • First: aa=a2a \cdot a = a²
  • Outer: ab=aba \cdot b = ab
  • Inner: ba=bab \cdot a = ba
  • Last: bb=b2b \cdot b = b²

Putting them all together, we get a2+ab+ba+b2a² + ab + ba + b².

Notice the two middle terms: abab and baba. Because of the commutative property of multiplication, the order doesn't matter, so abab is the same as baba. This means we can combine these like terms.

ab+ba=ab+ab=2abab + ba = ab + ab = 2ab

By simplifying, we arrive at a general formula. This is the binomial square identity, a reliable shortcut that saves you from having to FOIL every time.

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

What About Subtraction

The same logic applies to squaring a binomial with subtraction, like (ab)2(a-b)². We can think of this as (a+(b))2(a + (-b))² or just apply FOIL directly to (ab)(ab)(a-b)(a-b).

  • First: aa=a2a \cdot a = a²
  • Outer: a(b)=aba \cdot (-b) = -ab
  • Inner: (b)a=ba(-b) \cdot a = -ba
  • Last: (b)(b)=b2(-b) \cdot (-b) = b²

Combining these gives us a2abba+b2a² - ab - ba + b². Again, we combine the two like middle terms.

abba=abab=2ab-ab - ba = -ab - ab = -2ab

This leads to the second key binomial square identity.

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

Memorizing these two identities will significantly speed up your work in algebra. Let's test your understanding.

Quiz Questions 1/5

What does the 'O' in the FOIL mnemonic stand for when multiplying two binomials?

Quiz Questions 2/5

A common mistake is to simplify an expression like (a+b)2(a+b)² to which of the following incorrect answers?

Mastering these patterns is a foundational step for factoring, solving quadratic equations, and understanding more complex polynomials.