Steply

Polynomial with zeros 4 and 1 + 2i

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 4 and 1 + 2i.

zeros : 4, 1 + 2i

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 4 gives x − 4.

x = 4 → x − 4

A complex zero always comes with its partner: the same number with the sign of the i part turned.

So 1 − 2i is a zero too.

1 + 2i → its partner 1 − 2i

Careful!

Don't forget the partner 1 − 2i.

Without it, the numbers in f(x) would not be real.

Careful: complex zeros come in pairs

The pair 1 + 2i and 1 − 2i gives two brackets.

x = 1 + 2i, 1 − 2i → (x − (1 + 2i))(x − (1 − 2i))

Group x − 1 together in each bracket.

Then they look like A minus B, times A plus B.

= [(x − 1) − 2i][(x − 1) + 2i]

A minus B, times A plus B, is A squared minus B squared.

And i squared is −1.

(A − B)(A + B) = A² − B²
i² = −1

So we get (x − 1) squared, minus 2i squared.

= (x − 1)2 − (2i)2

(2i) squared is 4 times i squared: 4 times −1.

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

Minus a minus is plus: x² − 2x + 5.

No i is left!

= x2 − 2x + 5

2 Write f(x)

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

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

3 Multiply out

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

each part × each part

(x − 4) times (x² − 2x + 5).

Each part times each part.

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

Like terms together: x³ − 6x² + 13x − 20.

= x3 − 6x2 + 13x − 20

So f(x) = x³ − 6x² + 13x − 20.

f(x) = x3 − 6x2 + 13x − 20

4 Check

Let's check: put each zero in.

First x = 4.

We get 0.

f(4) = 43 − 6(4)2 + 13(4) − 20
= 64 − 96 + 52 − 20 = 0

The pair: put x = 1 + 2i into x² − 2x + 5.

Remember i² = −1.

x = 1 + 2i: (1 + 2i)² − 2(1 + 2i) + 5

The i parts cancel, and the numbers make 0.

It works!

= 1 + 4i − 4 − 2 − 4i + 5 = 0

Let's look back.

First: each zero gives a bracket.

Then: write f(x).

Then: multiply out.

Last: check.

Answer
f(x) = x3 − 6x2 + 13x − 20

Your turn

Try this one yourself, then check:

polynomial with zeros 2, 2 + 3i
Show the answer
f(x) = x3 − 6x2 + 21x − 26

More from Writing polynomials from zeros

The whole lesson: Writing polynomials from zeros →