Sub topic 10
Multiplying Two Binomials with FOIL
Prerequisites and the FOIL pattern
Assume you can use the distributive property, multiply integers, and combine like terms. A binomial is a polynomial with two terms, such as \(2x-3\) or \(x+5\). To multiply two binomials, distribute each term in the first binomial across both terms in the second.
FOIL is a memory aid for the four products:
- First: multiply the first terms.
- Outer: multiply the outside terms.
- Inner: multiply the inside terms.
- Last: multiply the last terms.
For the product \((a+b)(c+d)\), FOIL gives:
\[ ac+ad+bc+bd \]
FOIL does not replace the distributive property. It names the four distributive multiplications.
A worked example
Expand \((2x-3)(x+5)\).
- First: \(2x\cdot x=2x^2\)
- Outer: \(2x\cdot 5=10x\)
- Inner: \((-3)\cdot x=-3x\)
- Last: \((-3)\cdot 5=-15\)
Write all four products, then combine the like terms \(10x\) and \(-3x\):
\[ \begin{aligned} (2x-3)(x+5) &=2x^2+10x-3x-15\\ &=2x^2+7x-15 \end{aligned} \]
The signs belong to the terms. In particular, the inner product is negative because \((-3)x=-3x\).
Checking signs and combining terms
A useful layout is:
\[ (ax+b)(cx+d)=acx^2+adx+bcx+bd \]
Then combine the two terms containing \(x\). Do not combine terms with different powers. For example, \(2x^2\) and \(7x\) are not like terms.
Common errors include:
- Multiplying only the first and last terms and omitting the middle products.
- Forgetting that a negative sign is part of a term.
- Adding exponents when adding terms. Exponents are added when multiplying powers, such as \(x\cdot x=x^2\), not when combining \(10x-3x\).
- Stopping before combining like terms.
Degree and a quick check
Each binomial here has degree 1, so the product can have degree at most \(1+1=2\). The \(2x^2\) term confirms that result. Sometimes the leading terms cancel, so the final degree can be lower.
You can also check an expansion by substituting a value. For \(x=2\):
\[ (2x-3)(x+5)=(4-3)(7)=7 \]
The expanded form gives:
\[ 2(2^2)+7(2)-15=8+14-15=7 \]
Matching values provide evidence that the expansion is correct.
def expand_binomials(a, b, c, d):
# Represents (a*x + b)(c*x + d).
x_squared = a * c
x = a * d + b * c
constant = b * d
return x_squared, x, constant
result = expand_binomials(2, -3, 1, 5)
print(result) # (2, 7, -15), representing 2x^2 + 7x - 15Exercise
Expand and simplify (3x + 4)(2x - 5).
Show answer
First: 6x^2, outer: -15x, inner: 8x, last: -20. Combining like terms gives 6x^2 - 7x - 20.