Polynomials: division and the remainder theorem

Degree and coefficients, the value P(a), the sum of coefficients, equal polynomials, long division and Horner’s scheme, the remainder theorem and finding a parameter from a remainder.

  • Intermediate
  • 24 min
  • 15 questions
  • Lesson 38 of 53

In this lesson you will learn

  • Find the degree, the leading coefficient, the constant term and the sum of coefficients of a polynomial
  • Divide one polynomial by another with long division and with Horner’s scheme
  • Use the remainder theorem to find a remainder without dividing and to find a parameter from a remainder

The remainder theorem is one of the shortest paths in TR-YÖS. «What is the remainder when P(x) = x³ − 4x² + 2x + 7 is divided by x − 3?» No division needed: P(3) = 27 − 36 + 6 + 7 = 4. This lesson shows why this works and goes through the typical remainder questions.

ÖSYM’s sample items include finding the remainder of a polynomial division. The Mathematics course has no separate lesson on division, so this lesson builds everything from the start. Basic terms: Mathematics → Algebraic expressions, monomials and polynomials.

A polynomial: degree, coefficients, P(a)

In P(x) = 2x³ − x² + 4x − 5 the highest power of x is 3: that is the degree. Its coefficient (2) is the leading coefficient, and the term without x (−5) is the constant term. P(a) is the number you get when you write a in place of x.

P(x) = aₙxⁿ + … + a₁x + a₀P(1) = aₙ + … + a₁ + a₀P(0) = a₀

Where

n
the degree
aₙ
the leading coefficient, aₙ ≠ 0
P(1)
the sum of the coefficients
P(0) = a₀
the constant term

The sum of coefficients and the constant term come without expanding: put x = 1 and x = 0.

If two polynomials are equal, the coefficients of equal powers are equal. This is called comparing coefficients.

Degree, coefficients, values

Problem

1) P(x) = 2x³ − x² + 4x − 5: degree, leading coefficient, P(0), P(1), P(2)?
2) P(x) = (x² − 3x + 1)⁵: degree and sum of coefficients?
3) P(x + 1) = x² + 3x + 4 ⇒ P(2) = ? Sum of the coefficients of P(x) = ?
4) (a − 2)x² + (b + 1)x + 3 = 5x + c ⇒ a, b, c = ?

Show solutionHide solution

Solution

1) Degree 3, leading coefficient 2, P(0) = −5, P(1) = 2 − 1 + 4 − 5 = 0, P(2) = 16 − 4 + 8 − 5 = 15.
2) The highest power is (x²)⁵ = x¹⁰: degree 10. Sum of coefficients P(1) = (1 − 3 + 1)⁵ = (−1)⁵ = −1.
3) x + 1 = 2 ⇒ x = 1: P(2) = 1 + 3 + 4 = 8. The sum of coefficients is P(1): x + 1 = 1 ⇒ x = 0: P(1) = 4.
4) x²: a − 2 = 0 ⇒ a = 2; x: b + 1 = 5 ⇒ b = 4; constant: c = 3.

Sign up free to keep reading

The rest of the lesson, the quiz and your notes open with an Educora account. Signing up takes a minute, and your progress is saved on all your devices.

Dividing a polynomial by a polynomial

With numbers, 17 = 5 · 3 + 2: dividend = divisor · quotient + remainder, and the remainder is smaller than the divisor. Polynomials work the same way. Only «smaller» means of lower degree: when you divide by x − a, the remainder is just a number.

P(x) = D(x) · Q(x) + R(x)

Where

P(x)
the dividend
D(x)
the divisor
Q(x)
the quotient
R(x)
the remainder: its degree is less than the degree of D(x)

Turkish textbooks write the same equation with other letters: the quotient B(x) (bölüm), the remainder K(x) (kalan).

Division goes step by step: 1) divide the leading term of the dividend by the leading term of the divisor — that is a term of the quotient; 2) multiply the divisor by it and subtract; 3) repeat with what is left until its degree is less than the degree of the divisor. Look at the picture.

2x³+ 3x²− 5x+ 6−2x³+ 4x²− x²− 5x−− x²− 2x− 3x+ 6−− 3x− 612x + 22x² − x − 3divisor↑ quotient← remainder
The orange «−» marks a subtraction; the grey rows are the divisor times a term of the quotient. Check: P(−2) = −16 + 12 + 10 + 6 = 12 ✓.

Two more divisions

Problem

1) (x⁴ + 3x² − x + 2) ÷ (x² + 1)
2) (x³ − 1) ÷ (x − 1)

Show solutionHide solution

Solution

1) x⁴ ÷ x² = x²; x²(x² + 1) = x⁴ + x²; subtracting leaves 2x² − x + 2. 2x² ÷ x² = 2; 2(x² + 1) = 2x² + 2; subtracting leaves −x. Quotient x² + 2, remainder −x (degree 1 < 2, so we stop).
2) Fill the missing powers with 0: x³ + 0x² + 0x − 1. The division gives the quotient x² + x + 1 and the remainder 0 — the difference of cubes.

A short form of dividing by x − a is Horner’s scheme: only the coefficients are written. Bring the first coefficient down. Then at every step multiply the last number by a and add it to the next coefficient. The last number is the remainder; the others are the coefficients of the quotient.

a = −2x³x²x1
23−56
−426
2−1−312
(2x³ + 3x² − 5x + 6) ÷ (x + 2): x + 2 = x − (−2), so a = −2. Bottom row: quotient 2x² − x − 3, remainder 12.

The remainder theorem

Put x = a into P(x) = (x − a) · Q(x) + R. Then (a − a) · Q(a) = 0 and P(a) = R is left. So the remainder on division by x − a is P(a): no division needed. If the divisor is ax + b, put in its root x = −b/a.

P(x) = (x − a) · Q(x) + P(a)R = P(−b/a)P(x) = (x − a) · Q(x) + P(a)R = P(−b/a)

Where

a
the root of the divisor x − a
−b/a−b/a
the root of the divisor ax + b (second line)

Find the root of the divisor and put it into P. P(a) = 0 ⇔ x − a is a factor of the polynomial.

Remainders without dividing

Problem

Find the remainder or the parameter:
1) (8x³ − 4x² + 3) ÷ (2x − 1)
2) P(x) = x³ + mx² − 5x + 2 leaves remainder 4 on division by x − 2 ⇒ m = ?
3) x³ + kx − 6 is divisible by x − 1 ⇒ k = ?
4) P(x + 1) = x² + 2x + 3 ⇒ remainder of P(x) on division by x − 4 = ?

Show solutionHide solution

Solution

1) 2x − 1 = 0 ⇒ x = 1/2: 8 · 1/8 − 4 · 1/4 + 3 = 1 − 1 + 3 = 3.
2) P(2) = 8 + 4m − 10 + 2 = 4m = 4 ⇒ m = 1.
3) P(1) = 1 + k − 6 = 0 ⇒ k = 5.
4) We need P(4): x + 1 = 4 ⇒ x = 3. P(4) = 9 + 6 + 3 = 18.

If the divisor has degree 2, the remainder has degree at most 1: R(x) = mx + n. Two unknowns need two conditions — they come from the two roots of the divisor.

A divisor of degree 2

Problem

P(1) = 3 and P(2) = 5. What is the remainder when P(x) is divided by (x − 1)(x − 2)?

Show solutionHide solution

Solution

1) P(x) = (x − 1)(x − 2) · Q(x) + mx + n.
2) x = 1: m + n = 3; x = 2: 2m + n = 5.
3) Subtract: m = 2, so n = 1. The remainder is 2x + 1.
  1. Find the root of the divisor

    x − 3 ⇒ 3; x + 2 ⇒ −2; 2x − 1 ⇒ 1/2.

  2. Put the root into P

    The number you get is the remainder. «Divisible» means the remainder is 0.

  3. If there is a parameter, write an equation

    Solve P(a) = the given remainder for the parameter, then compute the new value the item asks for.

  4. If P(x + k) is given, choose x

    If you need P(4), put in the x with x + k = 4 — not x = 4.

How TR-YÖS asks about it

Turkish terms: polinom (polynomial), bölüm (quotient), kalan (remainder), derece (degree). When the stem has words, the usual Turkish wording (as in Turkish textbooks) is «P(x) polinomunun x − 2 ile bölümünden kalan kaçtır?» — «What is the remainder when P(x) is divided by x − 2?». Often one remainder gives a parameter and then another remainder is asked.

Practice (ÖSYM style)

Problem

P(x) = x³ − 2x² + ax + 4 leaves remainder 6 when divided by x + 1. What is the remainder when P(x) is divided by x − 2?
A) −8 B) −6 C) −4 D) 4 E) 6

Show solutionHide solution

Solution

1) x + 1 = 0 ⇒ x = −1: P(−1) = −1 − 2 − a + 4 = 1 − a = 6 ⇒ a = −5.
2) x − 2 = 0 ⇒ x = 2: P(2) = 8 − 8 − 10 + 4 = −6.
Answer B. Putting x = 1 (wrong sign) gives a = 3 and P(2) = 10 — not among the options, but a real trap.

Remember

  • Degree — the highest power; P(1) — the sum of coefficients; P(0) — the constant term.
  • P(x) = D(x) · Q(x) + R(x), and the degree of the remainder is less than that of the divisor.
  • Dividing by x − a leaves P(a); dividing by ax + b leaves P(−b/a).
  • P(a) = 0 ⇔ x − a is a factor of the polynomial.
  • With a divisor of degree 2 the remainder is mx + n: the two roots of the divisor give two equations.
Spotted a mistake or something inaccurate in this lesson?

Check yourself

15 questions. Every correct answer earns XP.

Question 1 / 15

Question 1 / 15. What is the remainder when P(x) = x³ − 3x² + 5x − 1 is divided by x − 2?