A polynomial is a sum of terms like 3x2−5x+2. To add or subtract polynomials, combine like terms, which have the same variable and the same exponent. When subtracting, change the sign of every term in the second polynomial first. To multiply, multiply every term in the first polynomial by every term in the second, then combine like terms. FOIL is that rule for two binomials.
Updated
On this page
The key idea
Words you will see
Word
Meaning
In 3x2−5x+2
term
one piece between plus and minus signs
3x2, −5x, 2
coefficient
the number in front of a variable
3 and −5
like terms
same variable with the same exponent
3x2 and 7x2 are like; 3x2 and 3x are not
degree
the highest exponent
2
standard form
terms written from highest exponent to lowest
already in standard form
Multiplying uses the distributive property over and over. For two binomials, there are four products:
(a+b)(c+d)=ac+ad+bc+bd
Three products come up so often that they are worth memorizing:
(a+b)2=a2+2ab+b2(a−b)2=a2−2ab+b2(a+b)(a−b)=a2−b2
Worked examples
Example 1: subtracting polynomials
Problem Simplify (4x2−3x+7)−(x2+5x−2).
The minus sign in front of the second group changes the sign of every term inside it.
FOIL only covers two binomials. Here, multiply each of the 2 terms by each of the 3 terms, so expect 6 products. First the x, then the −2.
(x−2)(x2+3x−1)=x3+3x2−x−2x2−6x+2
Combine like terms and write in standard form.
x3+3x2−x−2x2−6x+2=x3+x2−7x+2
Answerx3+x2−7x+2
Example 4 (test-hard): special products together
Problem Simplify (3x−5)2−(3x+5)(3x−5).
Square of a difference: a=3x and b=5, so a2−2ab+b2.
(3x−5)2=9x2−30x+25
Sum times difference: a2−b2.
(3x+5)(3x−5)=9x2−25
Subtract the second result, keeping it in parentheses so both of its signs change.
9x2−30x+25−(9x2−25)=−30x+50
Answer−30x+50
Common mistakes
Squaring a binomial without the middle term.(x+5)2 is x2+10x+25, not x2+25. Fix: write it as (x+5)(x+5) and FOIL.
Changing only the first sign when subtracting.−(x2+5x−2) is −x2−5x+2. All three signs change.
Combining unlike terms.3x2+2x stays as it is. It is not 5x3 or 5x2.
Multiplying exponents when you multiply terms.x2⋅x3=x5. Exponents add when you multiply.
Missing a product. A 2-term times a 3-term polynomial has 2×3=6 products before combining. Count them.
Quick methods
Practice
5 practice questions
Simplify (5x2+2x−1)+(3x2−6x+4).
8x2−4x+3
8x4−4x2+3
8x2+8x+3
2x2−4x+3
Show answer
Answer: 8x2−4x+3
Add like terms: 5x2+3x2=8x2, 2x−6x=−4x, −1+4=3. Adding never changes exponents, so 8x4 is wrong.
Simplify (3x2−x+2)−(x2−4x+7).
2x2+3x−5
2x2−5x−5
2x2−5x+9
4x2−5x+9
Show answer
Answer: 2x2+3x−5
Change every sign in the second group: 3x2−x+2−x2+4x−7. Combine: 2x2+3x−5. The choices with −5x did not flip the sign of −4x, and +9 did not flip the sign of 7.
Multiply (x+6)(x−2).
x2−12
x2+4x−12
x2−4x−12
x2+8x−12
Show answer
Answer: x2+4x−12
FOIL: x2−2x+6x−12=x2+4x−12. The choice x2−12 multiplies only first and last terms and skips the middle.
Expand (2x+7)2.
4x2+49
2x2+28x+49
4x2+14x+49
4x2+28x+49
Show answer
Answer: 4x2+28x+49
Use a2+2ab+b2 with a=2x and b=7: 4x2+2(2x)(7)+49=4x2+28x+49. The choice with 14x forgot the 2 in 2ab, and 4x2+49 has no middle term at all.
Multiply (4x−3)(4x+3).
16x2−9
16x2+9
16x2−24x−9
8x2−9
Show answer
Answer: 16x2−9
This is (a−b)(a+b)=a2−b2. The middle terms 12x and −12x cancel, leaving 16x2−9. The choice 8x2 doubles 4x instead of squaring it.
Frequently asked questions
What does FOIL mean?
FOIL stands for First, Outer, Inner, Last: the four products you get when multiplying two binomials like (2x+3)(x−4). It is just the distributive property in a fixed order. For anything bigger than two binomials, use distribution or the box method instead.
What are like terms?
Like terms have exactly the same variables raised to exactly the same powers. 4x2 and −x2 are like terms, so they combine to 3x2. 4x2 and 4x are not, so they stay separate. Only the coefficients change when you combine.
What is the degree of a polynomial?
It is the highest exponent on the variable after you simplify. x3+x2−7x+2 has degree 3. The degree tells you the general shape of the graph and, later, the most solutions an equation can have.
How do I multiply polynomials with more than two terms?
Multiply every term in the first polynomial by every term in the second. A 2-term times a 3-term polynomial gives 6 products, and a 3-term times a 3-term gives 9. Then combine like terms. A box grid keeps track so you do not miss one.