Math Core

Lesson 8.1 · Polynomials and Factoring

Adding and subtracting polynomials

You've been combining like terms since the first unit. A polynomial is simply an expression built from those kinds of terms, and adding or subtracting polynomials is combining like terms on a larger scale. The vocabulary in this lesson (degree, standard form, leading coefficient) will follow you through the rest of the course.

Monomials and polynomials

Definition

Monomial

A monomial is a number, a variable, or a product of a number and variables with whole-number exponents. Examples: 77, xx, −4x3-4x^3, 12ab2\tfrac{1}{2}ab^2.

A polynomial is a monomial or a sum of monomials. Each monomial is a term of the polynomial.

Some expressions look close but are not polynomials:

expressionpolynomial?reason
3x2−5x+13x^2 - 5x + 1yesevery exponent is a whole number
2x+4\dfrac{2}{x} + 4no2x=2x−1\dfrac{2}{x} = 2x^{-1}, a negative exponent
x+1\sqrt{x} + 1nox=x1/2\sqrt{x} = x^{1/2}, a fractional exponent
x5−8\dfrac{x}{5} - 8yesdividing by a number is fine: 15x−8\dfrac{1}{5}x - 8

The rule is about the variable's exponents. A variable in a denominator or under a root is not allowed; fractions and roots of ordinary numbers, like 15\tfrac{1}{5} or 2\sqrt{2}, are fine as coefficients.

Degree, standard form and names

The degree of a term is the sum of the exponents on its variables. The degree of −4x3-4x^3 is 33; the degree of 5x2y5x^2y is 2+1=32 + 1 = 3; a nonzero constant like 99 has degree 00.

Describing a polynomial

  • The degree of a polynomial is the greatest degree of any of its terms.
  • A polynomial is in standard form when its terms are written from highest degree to lowest.
  • In standard form, the first term is the leading term and its coefficient is the leading coefficient.

Take 6x−2x4+9+x26x - 2x^4 + 9 + x^2. Rearranged into standard form it becomes

−2x4+x2+6x+9.-2x^4 + x^2 + 6x + 9.

Its degree is 44 and its leading coefficient is −2-2. Notice that the leading coefficient is not the first number you see in the original; you have to find the highest-degree term first.

Polynomials are also named by how many terms they have and by their degree:

number of termsnamedegreename
1monomial0constant
2binomial1linear
3trinomial2quadratic
4 or morepolynomial3cubic

So x2−9x^2 - 9 is a quadratic binomial, and 4x3+x−74x^3 + x - 7 is a cubic trinomial.

Worked example: Naming a polynomial

Write 5+3x2−x35 + 3x^2 - x^3 in standard form, then give its degree, leading coefficient and name.

Order the terms by degree, highest first: −x3+3x2+5-x^3 + 3x^2 + 5.

  • Degree: 33 (from −x3-x^3).
  • Leading coefficient: −1-1, since −x3-x^3 means −1⋅x3-1 \cdot x^3.
  • It has three terms and degree 33, so it is a cubic trinomial.

Adding polynomials

To add polynomials, remove the parentheses and combine like terms. Parentheses preceded by a plus sign can simply be dropped, because adding a group is the same as adding each of its terms.

Worked example: Adding two polynomials

Find (4x2−3x+8)+(x2+7x−10)(4x^2 - 3x + 8) + (x^2 + 7x - 10).

=4x2−3x+8+x2+7x−10=(4x2+x2)+(−3x+7x)+(8−10)group like terms=5x2+4x−2\begin{aligned} &= 4x^2 - 3x + 8 + x^2 + 7x - 10 \\ &= (4x^2 + x^2) + (-3x + 7x) + (8 - 10) && \text{group like terms} \\ &= 5x^2 + 4x - 2 \end{aligned}

You can also line the polynomials up vertically, like adding multi-digit numbers. Put like terms in the same column, and leave a gap (or write a 00 term) when a power is missing:

2x3+0x2−5x+1+    x3+6x2+2x−43x3+6x2−3x−3\begin{array}{r} 2x^3 + 0x^2 - 5x + 1 \\ +\;\; x^3 + 6x^2 + 2x - 4 \\ \hline 3x^3 + 6x^2 - 3x - 3 \end{array}

Subtracting polynomials

Subtracting a polynomial means subtracting every term in it. The minus sign in front of the parentheses acts like multiplying by −1-1, so it flips the sign of each term inside. After that, it's an addition problem.

Worked example: Subtracting two polynomials

Find (7y2+2y−5)−(3y2−4y+6)(7y^2 + 2y - 5) - (3y^2 - 4y + 6).

Distribute the −1-1 to the second polynomial, then combine:

=7y2+2y−5−3y2+4y−6every sign in the second group flips=(7y2−3y2)+(2y+4y)+(−5−6)=4y2+6y−11\begin{aligned} &= 7y^2 + 2y - 5 - 3y^2 + 4y - 6 && \text{every sign in the second group flips} \\ &= (7y^2 - 3y^2) + (2y + 4y) + (-5 - 6) \\ &= 4y^2 + 6y - 11 \end{aligned}

Common mistake

The most common mistake is flipping only the first sign of the subtracted polynomial:

(7y2+2y−5)−(3y2−4y+6)≠7y2+2y−5−3y2−4y+6.(7y^2 + 2y - 5) - (3y^2 - 4y + 6) \ne 7y^2 + 2y - 5 - 3y^2 - 4y + 6.

The subtraction applies to the whole group. Rewrite −(3y2−4y+6)-(3y^2 - 4y + 6) as −3y2+4y−6-3y^2 + 4y - 6 before you combine anything.

Worked example: A missing polynomial

What polynomial must be added to 2x2−x+32x^2 - x + 3 to get 5x2+4x−15x^2 + 4x - 1?

If P+(2x2−x+3)=5x2+4x−1P + (2x^2 - x + 3) = 5x^2 + 4x - 1, then PP is the difference:

P=(5x2+4x−1)−(2x2−x+3)=5x2+4x−1−2x2+x−3=3x2+5x−4\begin{aligned} P &= (5x^2 + 4x - 1) - (2x^2 - x + 3) \\ &= 5x^2 + 4x - 1 - 2x^2 + x - 3 \\ &= 3x^2 + 5x - 4 \end{aligned}

Check: (3x2+5x−4)+(2x2−x+3)=5x2+4x−1(3x^2 + 5x - 4) + (2x^2 - x + 3) = 5x^2 + 4x - 1. ✓

Tip

Check a sum or difference by substituting a simple value such as x=1x = 1. In the last example, the original expressions give (5+4−1)−(2−1+3)=8−4=4(5 + 4 - 1) - (2 - 1 + 3) = 8 - 4 = 4, and the answer gives 3+5−4=43 + 5 - 4 = 4. Matching values don't prove the answer is right, but a mismatch always means there's an error.

Practice

Practice 1

What is the degree of 4x3−7x5+2x−94x^3 - 7x^5 + 2x - 9?

Enter a number. Fractions like 3/4 and sqrt(2) are OK.

Practice 2

What is the leading coefficient of 3x−8x4+x2+63x - 8x^4 + x^2 + 6?

Enter a number. Fractions like 3/4 and sqrt(2) are OK.

Practice 3

Which name describes 5x3−2x5x^3 - 2x?

Practice 4

Find (5x2+3x−4)+(2x2−7x+9)(5x^2 + 3x - 4) + (2x^2 - 7x + 9).

Practice 5

Find (6y2−2y+1)−(4y2+5y−3)(6y^2 - 2y + 1) - (4y^2 + 5y - 3).

Practice 6

Simplify (3a3−a+8)−(a3−4a2−6a+10)(3a^3 - a + 8) - (a^3 - 4a^2 - 6a + 10). What is the coefficient of aa in the result?

Enter a number. Fractions like 3/4 and sqrt(2) are OK.

Practice 7

A triangle has sides of length 2x2+x2x^2 + x, x2−3x+4x^2 - 3x + 4 and 3x+53x + 5. Which expression gives its perimeter?

Practice 8

What polynomial must be added to x2−4x+7x^2 - 4x + 7 to get 3x2+x−23x^2 + x - 2?