Skip to content
Tutorials Center
My learning

Topics

Lesson 12 of 38 · Polynomial Functions

Polynomial Operations and Long Division

Add, subtract and multiply polynomials, learn the vocabulary of degree and coefficients, and divide polynomials with long division and synthetic division.

A polynomial is a sum of terms, each a number times a non-negative whole-number power of x. For example 4x³ - 2x² + 7x - 5 is a polynomial. x^(-1) and √x are not allowed as terms.

This lesson builds your fluency with the operations. These skills are the machinery behind factoring and finding zeros.

Vocabulary

For p(x) = 4x³ - 2x² + 7x - 5:

  • The terms are 4x³, -2x², 7x and -5.
  • The coefficients are 4, -2, 7 and -5. The leading coefficient is 4 (the one on the highest power).
  • The degree is 3, the highest exponent. The constant term is -5.
  • Standard form lists terms from the highest power to the lowest.

Degree names: 0 constant, 1 linear, 2 quadratic, 3 cubic, 4 quartic, 5 quintic.

Adding and subtracting

Combine like terms, terms with the same power of x. For subtraction, distribute the minus sign to every term of the second polynomial.

Example 1. (3x² + 5x - 2) - (x² - 4x + 6) = 3x² + 5x - 2 - x² + 4x - 6 = 2x² + 9x - 8.

Multiplying

Multiply every term of one polynomial by every term of the other, then combine like terms. The degree of a product is the sum of the degrees.

Example 2. (x + 3)(2x² - x + 4). Distribute x: 2x³ - x² + 4x. Distribute 3: 6x² - 3x + 12. Add: 2x³ + 5x² + x + 12. Degree 1 + 2 = 3.

Special products worth memorizing:

Text
(a + b)² = a² + 2ab + b²
(a - b)² = a² - 2ab + b²
(a + b)(a - b) = a² - b²
(a + b)³ = a³ + 3a²b + 3ab² + b³

A common error is (a + b)² = a² + b². Test it with a = b = 1: the left side is 4, the right is 2.

Python A polynomial arithmetic tool

Press Run (or Ctrl + Enter) to see the result here.

Program input · what you'd type while the program runs

Type the answers before you press Run, one per line. Each time the program reads a line (with input()), it gets the next line from this box.

Polynomial long division

Dividing polynomials works like long division of numbers. The goal is to write

Text
dividend = divisor × quotient + remainder

where the remainder has a smaller degree than the divisor.

Example 3. Divide x³ + 2x² - 5x + 1 by x - 2.

  1. Divide the leading terms: x³ / x = x². Write x² in the quotient. Multiply back: x²(x - 2) = x³ - 2x². Subtract: (x³ + 2x²) - (x³ - 2x²) = 4x². Bring down -5x: 4x² - 5x.
  2. 4x² / x = 4x. Multiply: 4x(x - 2) = 4x² - 8x. Subtract: 3x. Bring down +1: 3x + 1.
  3. 3x / x = 3. Multiply: 3(x - 2) = 3x - 6. Subtract: 7.

The quotient is x² + 4x + 3 and the remainder is 7. So x³ + 2x² - 5x + 1 = (x - 2)(x² + 4x + 3) + 7.

Always write missing powers with a zero coefficient (x³ + 1 becomes x³ + 0x² + 0x + 1) so the columns line up.

Synthetic division

When the divisor has the form x - r, there is a shortcut that uses only the coefficients. Take Example 3 with r = 2 and coefficients 1, 2, -5, 1.

Text
r = 2 |  1    2   -5    1
      |       2    8    6
      ---------------------
         1    4    3    7

Bring down the first coefficient (1). Multiply by r and write under the next coefficient (2 × 1 = 2), add (2 + 2 = 4). Repeat: 2 × 4 = 8, -5 + 8 = 3; 2 × 3 = 6, 1 + 6 = 7. The bottom row gives the quotient x² + 4x + 3 and remainder 7. It matches.

Python Synthetic division

Press Run (or Ctrl + Enter) to see the result here.

Program input · what you'd type while the program runs

Type the answers before you press Run, one per line. Each time the program reads a line (with input()), it gets the next line from this box.

Synthetic division only works for divisors x - r. For a divisor like 2x + 1, use long division, or rewrite as 2(x + 1/2) and divide the quotient by 2 afterward.

Check your understanding

Quick check · 4 questions

of 4 answered You scored / 4 · perfect!

  1. 1. What is the degree of (x² + 1)(x³ - 4)?

    Degrees add when you multiply: 2 + 3 = 5.
  2. 2. Expand (x - 4)².

    (a - b)² = a² - 2ab + b² gives x² - 8x + 16.
  3. 3. Use synthetic division to divide x² + 5x + 6 by x + 2. The quotient is

    Here r = -2. Coefficients 1, 5, 6 give 1, 3, remainder 0, so the quotient is x + 3.
  4. 4. In long division, why write x³ + 1 as x³ + 0x² + 0x + 1?

    Placeholders with zero coefficients keep each power in its own column.

Summary

  • Add and subtract by combining like terms; distribute the minus sign.
  • Multiply every term by every term; degrees add.
  • (a + b)² ≠ a² + b²; use the special product formulas.
  • Long division gives dividend = divisor × quotient + remainder.
  • Synthetic division is a shortcut for dividing by x - r.

Next: The Remainder and Factor Theorems