Steply

Polynomial with zeros -1, 2 and 4

Step by step, with the reason for every step · Writing polynomials from zeros · Algebra 2

Step by step

The question

Question: write a polynomial with zeros −1, 2 and 4.

zeros : −1, 2, 4

A zero of f is an x that makes f(x) equal 0.

zero: an x where f(x) = 0

1 Each zero gives a bracket

If c is a zero, then x minus c is a factor.

Put c in, and that bracket is 0, so all of f(x) is 0.

zero c → bracket (x − c)

The zero −1 gives x − (−1).

Minus a minus is plus: x + 1.

x = −1 → x − (−1) = x + 1

Next, 2 gives x − 2.

x = 2 → x − 2

Next, 4 gives x − 4.

x = 4 → x − 4

Careful!

The sign flips.

The zero −1 gives x + 1, because that is 0 when x is −1.

Careful: not zero −1 → (x − 1) ✗

2 Write f(x)

So f(x) = (x + 1)(x − 2)(x − 4).

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

3 Multiply out

Each part of the first bracket times each part of the second.

each part × each part

(x + 1) times (x − 2).

Each part times each part.

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

Like terms together: x² − x − 2.

= (x2 − x − 2)(x − 4)

Now that bracket times the next one.

Each part times each part.

= x3 − 4x2 − x2 + 4x − 2x + 8

Like terms together: x³ − 5x² + 2x + 8.

= x3 − 5x2 + 2x + 8

So f(x) = x³ − 5x² + 2x + 8.

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

4 Check

Let's check: put each zero in.

First x = −1.

We get 0.

f(−1) = (−1)3 − 5(−1)2 + 2(−1) + 8
= −1 − 5 − 2 + 8 = 0

And x = 2.

We get 0.

f(2) = 23 − 5(2)2 + 2(2) + 8
= 8 − 20 + 4 + 8 = 0

Let's look back.

First: each zero gives a bracket.

Then: write f(x).

Then: multiply out.

Last: check.

Answer
f(x) = x3 − 5x2 + 2x + 8

Your turn

Try this one yourself, then check:

polynomial with zeros −1, 1, 2
Show the answer
f(x) = x3 − 2x2 − x + 2

More from Writing polynomials from zeros

The whole lesson: Writing polynomials from zeros →