Expand binomials / FOIL
The rule. To multiply two binomials you multiply every term in the first by every term in the second, then combine like terms. For (x + a)(x + b) the result is x2 + (a + b)x + ab: the middle coefficient is the SUM a + b and the constant is the PRODUCT ab. Two patterns are worth memorizing: a square (x + a)2 = x2 + 2ax + a2, where the middle term is doubled, and a difference of squares (x + a)(x - a) = x2 - a2, where the middle terms cancel.
How to approach it
Start here. Spot the two binomials and note the sign in front of each term.
Plan
- Multiply the two first terms.
- Multiply the two outer terms, then the two inner terms.
- Multiply the two last terms.
- Add the outer and inner results to form the middle term, then write the three terms.
Work it
- Carry each sign through the multiplication.
- Combine the like middle terms.
Check yourself. A general product has three terms, unless the middle cancels in a difference of squares. Check that the middle term is the sum and the constant is the product, and that a square doubled its middle term.
Worked examples
Worked example 1
Expand (x - 4)(x + 3).
We multiply two binomials, x - 4 and x + 3. Every term in the first must multiply every term in the second.
Plan
- Multiply the first terms, x and x.
- Multiply the outer terms, x and 3, and the inner terms, -4 and x.
- Multiply the last terms, -4 and 3.
- Add the outer and inner terms to form the middle term.
| (x - 4)(x + 3) = x2 + 3x - 4x - 12 | multiply each term by each term |
| = x2 - x - 12 | combine 3x and -4x |
Check. There are three terms; the middle -x is the sum 3 + (-4) and the constant -12 is the product (-4)(3), matching the pattern.
Answer: (x - 4)(x + 3) = x2 - x - 12
Worked example 2
Expand (2x - 3)(x + 5).
We multiply two binomials, 2x - 3 and x + 5. Every term in the first must multiply every term in the second, and the -3 carries its sign.
Plan
- Multiply the first terms, 2x and x.
- Multiply the outer terms, 2x and 5, and the inner terms, -3 and x.
- Multiply the last terms, -3 and 5.
- Add the outer and inner terms to form the middle term.
| (2x - 3)(x + 5) = 2x2 + 10x - 3x - 15 | multiply each term by each term |
| = 2x2 + 7x - 15 | combine 10x and -3x |
Check. There are three terms; the middle 7x is the sum 10x + (-3x) and the constant -15 is the product (-3)(5).
Answer: (2x - 3)(x + 5) = 2x2 + 7x - 15
Common mistakes
Forgetting the middle term
Multiplies only the first terms and the last terms, writing (x + a)(x + b) as x2 + ab or (x + a)2 as x2 + a2. This skips the outer and inner products, which together make the middle term.
Sign slip in a product
Gets a term's sign wrong, usually when a binomial has a minus sign. Each product carries the signs of both factors: in (x - 4)(x + 2) the outer term is +2x and the inner is -4x, giving a middle term of -2x.
Not doubling the middle of a square
Expands (x + a)2 as x2 + ax + a2, using a single ax. A square is (x + a)(x + a), so the outer and inner terms are both ax and add to 2ax — the middle term is doubled.
Swapping the sum and the product
Uses the product where the sum belongs, or the sum where the product belongs, so the middle coefficient and the constant get switched. For (x + a)(x + b) the middle is a + b and the constant is ab.
Related lessons
- Before this: Solve linear equations in one variable
- After this: Factor quadratics
Practice this until it sticks
The adaptive tutor has 5 practice questions on this skill, names the exact mistake when you miss one, and gives you a fresh problem to confirm the fix. It is part of the Digital SAT program: $59 once, 12 months of access, no renewal.
See the Digital SAT programEnroll