Write a Polynomial Function from its Zeros

Write a Polynomial Function from Its Zeros

In this lesson, you will learn

  • how to turn each zero into a linear factor
  • how to multiply the factors to get the polynomial in standard form
  • what to do with a repeated zero or a zero of 0
  • how to check your answer by plugging in the zeros

Learn to write a polynomial function from its zeros with a couple of good examples.

From Zeros to Linear Factors

The goal is to write a linear factor for each zero and then multiply the linear factors. Suppose the zeros of a function are x1, x2, and x3.

Then, the polynomial function can be found using

f(x) = (x − x1)(x − x2)(x − x3)
Rule

A zero at x = c gives the linear factor (x − c). If c is negative, the two minus signs make a plus: a zero at −3 gives x − (−3) = x + 3.

Common mistake

Copying the sign of the zero into the factor. A zero at 4 gives (x − 4), not (x + 4). Check it: (x − 4) equals 0 when x = 4.

Remember

A zero that is listed twice gives the same factor twice. A zero at 0 gives the factor x.

Multiplying the whole function by any non-zero number does not change its zeros, so f(x) = a(x − x1)(x − x2)(x − x3) works too. The examples below use a = 1.

What linear factor comes from a zero at −5?

Show answer

(x + 5). x − (−5) = x + 5, and x + 5 equals 0 when x = −5.

Example #1: Zeros at −3, 4, and 4

Write a polynomial function in standard form with zeros at −3, 4, and 4.

f(x) = (x + 3)(x − 4)(x − 4)

Multiply (x − 4) and (x − 4)

f(x) = (x + 3)(x2 − 4x − 4x + 16)

Simplify

f(x) = (x + 3)(x2 − 8x + 16)

Use the distributive property

f(x) = x(x2 − 8x + 16) + 3(x2 − 8x + 16)

Use the distributive property

f(x) = x3 − 8x2 + 16x + 3x2 − 24x + 48

Combine like terms

f(x) = x3 − 8x2 + 3x2 + 16x − 24x + 48

Simplify

f(x) = x3 − 5x2 − 8x + 48

The function f(x) = x3 − 5x2 − 8x + 48 has zeros at −3, 4, and 4.

Check the answer: what is f(−3) for f(x) = x3 − 5x2 − 8x + 48?

Show answer

0. −27 − 45 + 24 + 48 = 0, so −3 really is a zero.

Example #2: Zeros at 2, −3, and −1

Write a polynomial function in standard form with zeros at 2, −3, and −1.

f(x) = (x − 2)(x + 3)(x + 1)

Multiply (x + 3) and (x + 1)

f(x) = (x − 2)(x2 + x + 3x + 3)

Simplify

f(x) = (x − 2)(x2 + 4x + 3)

Use the distributive property

f(x) = x(x2 + 4x + 3) − 2(x2 + 4x + 3)

Use the distributive property

f(x) = x3 + 4x2 + 3x − 2x2 − 8x − 6

Combine like terms

f(x) = x3 + 4x2 − 2x2 + 3x − 8x − 6

Simplify

f(x) = x3 + 2x2 − 5x − 6

The function f(x) = x3 + 2x2 − 5x − 6 has zeros at 2, −3, and −1.

Without multiplying everything out, what is the constant term of (x − 2)(x + 3)(x + 1)?

Show answer

−6. The constant term is the product of the constant parts: (−2)(3)(1) = −6. That matches the −6 in the answer above.

Worked Example: Zeros at 1, −2, and 5

Worked example: Write a polynomial function in standard form with zeros at 1, −2, and 5.
  1. Write a linear factor for each zero: f(x) = (x − 1)(x + 2)(x − 5).
  2. Multiply the first two factors: (x − 1)(x + 2) = x2 + 2x − x − 2 = x2 + x − 2.
  3. Multiply by the last factor: (x2 + x − 2)(x − 5) = x3 − 5x2 + x2 − 5x − 2x + 10.
  4. Combine like terms: x3 − 4x2 − 7x + 10.
  5. Check one zero: f(1) = 1 − 4 − 7 + 10 = 0.

f(x) = x3 − 4x2 − 7x + 10

Write a polynomial function in standard form with zeros at 0, 3, and −3.

Show answer

f(x) = x3 − 9x. The factors are x, (x − 3) and (x + 3). (x − 3)(x + 3) = x2 − 9, and x(x2 − 9) = x3 − 9x.

Summary

  • Each zero c gives a linear factor (x − c). A negative zero gives a plus sign: −3 gives (x + 3).
  • Multiply the linear factors, two at a time, to get the polynomial.
  • Combine like terms and write the answer in standard form, highest power first.
  • A repeated zero gives a repeated factor, and a zero of 0 gives the factor x.
  • Check your answer: each zero should make f(x) equal 0.

Test Yourself: 10-Question Quiz

Now check what you learned. Every answer is explained, and each time you play you get new questions.

Question 1 of 10Score: 0