Steply

Writing polynomials from zeros

Algebra 2 ยท 20 problems, easy to harder

โ–ถ Watch the first one solved

How we do it

  1. Each zero gives a bracket
  2. Write f(x)
  3. Find a
  4. Multiply out
  5. Check

The steps for Quadratic with zeros 3 and -1 through (1, -8). Every solution names its steps, so you always know what comes next.

Worked examples

Quadratic with zeros -2 and 5 Easy

The question

Question: write a quadratic with zeros โˆ’2 and 5.

zeros : โˆ’2, 5

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 โˆ’2 gives x โˆ’ (โˆ’2).

Minus a minus is plus: x + 2.

x = โˆ’2 โ†’ x โˆ’ (โˆ’2) = x + 2

Next, 5 gives x โˆ’ 5.

x = 5 โ†’ x โˆ’ 5

Careful!

The sign flips.

The zero โˆ’2 gives x + 2, because that is 0 when x is โˆ’2.

Careful: not zero โˆ’2 โ†’ (x โˆ’ 2) โœ—

2 Write f(x)

So f(x) = (x + 2)(x โˆ’ 5).

f(x) = (x + 2)(x โˆ’ 5)

3 Multiply out

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

each part ร— each part

(x + 2) times (x โˆ’ 5).

Each part times each part.

= x2 โˆ’ 5x + 2x โˆ’ 10

Like terms together: xยฒ โˆ’ 3x โˆ’ 10.

= x2 โˆ’ 3x โˆ’ 10

So f(x) = xยฒ โˆ’ 3x โˆ’ 10.

f(x) = x2 โˆ’ 3x โˆ’ 10

4 Check

Let's check: put each zero in.

First x = โˆ’2.

We get 0.

f(โˆ’2) = (โˆ’2)2 โˆ’ 3(โˆ’2) โˆ’ 10 = 4 + 6 โˆ’ 10 = 0

And x = 5.

We get 0.

f(5) = 52 โˆ’ 3(5) โˆ’ 10 = 25 โˆ’ 15 โˆ’ 10 = 0

Let's look back.

First: each zero gives a bracket.

Then: write f(x).

Then: multiply out.

Last: check.

Answer
f(x) = x2 โˆ’ 3x โˆ’ 10

โ–ถ Watch it solved

Quadratic with zeros 3 and -1 through (1, -8) Medium

The question

Question: write a quadratic with zeros 3 and โˆ’1 through (1, โˆ’8).

zeros : 3, โˆ’1
through : (1, โˆ’8)

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 3 gives x โˆ’ 3.

x = 3 โ†’ x โˆ’ 3

Next, โˆ’1 gives x โˆ’ (โˆ’1).

Minus a minus is plus: x + 1.

x = โˆ’1 โ†’ x โˆ’ (โˆ’1) = x + 1

Careful!

The sign flips.

The zero 3 gives x โˆ’ 3, because that is 0 when x is 3.

Careful: not zero 3 โ†’ (x + 3) โœ—

2 Write f(x)

The zeros fix the brackets, but f can be stretched: a times the brackets.

The point tells us a.

f(x) = a(x โˆ’ 3)(x + 1)

3 Find a

Put x = 1 and f(x) = โˆ’8 in.

โˆ’8 = a(1 โˆ’ 3)(1 + 1)

Work out each bracket: โˆ’2 and 2.

โˆ’8 = a(โˆ’2)(2)

โˆ’2 times 2 is โˆ’4.

So โˆ’8 = โˆ’4a.

โˆ’8 = โˆ’4a

To remove times โˆ’4, we divide both sides by โˆ’4.

โˆ’8โˆ’4 = โˆ’4aโˆ’4

โˆ’4 divided by โˆ’4 is 1.

So just a is left.

So a = 2.

a = 2

We put a in front of the brackets.

f(x) = 2(x โˆ’ 3)(x + 1)

4 Multiply out

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

each part ร— each part

(x โˆ’ 3) times (x + 1).

Each part times each part.

= 2[x2 + x โˆ’ 3x โˆ’ 3]

Like terms together: xยฒ โˆ’ 2x โˆ’ 3.

= 2(x2 โˆ’ 2x โˆ’ 3)

2 times each part.

= 2x2 โˆ’ 4x โˆ’ 6

So f(x) = 2xยฒ โˆ’ 4x โˆ’ 6.

f(x) = 2x2 โˆ’ 4x โˆ’ 6

5 Check

Let's check: put each zero in.

First x = 3.

We get 0.

f(3) = 2(3)2 โˆ’ 4(3) โˆ’ 6 = 18 โˆ’ 12 โˆ’ 6 = 0

And x = โˆ’1.

We get 0.

f(โˆ’1) = 2(โˆ’1)2 โˆ’ 4(โˆ’1) โˆ’ 6 = 2 + 4 โˆ’ 6 = 0

And the point: put x = 1 in.

We get โˆ’8, as it should be.

f(1) = 2(1)2 โˆ’ 4(1) โˆ’ 6 = 2 โˆ’ 4 โˆ’ 6 = โˆ’8

Let's look back.

First: each zero gives a bracket.

Then: write f(x).

Then: find a.

Then: multiply out.

Last: check.

Answer
f(x) = 2x2 โˆ’ 4x โˆ’ 6

โ–ถ Watch it solved

Polynomial with zeros 3 and 1 + i Harder

The question

Question: write a polynomial with zeros 3 and 1 + i.

zeros : 3, 1 + i

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 3 gives x โˆ’ 3.

x = 3 โ†’ x โˆ’ 3

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

So 1 โˆ’ i is a zero too.

1 + i โ†’ its partner 1 โˆ’ i

Careful!

Don't forget the partner 1 โˆ’ i.

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

Careful: complex zeros come in pairs

The pair 1 + i and 1 โˆ’ i gives two brackets.

x = 1 + i, 1 โˆ’ i โ†’ (x โˆ’ (1 + i))(x โˆ’ (1 โˆ’ i))

Group x โˆ’ 1 together in each bracket.

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

= [(x โˆ’ 1) โˆ’ i][(x โˆ’ 1) + i]

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 i squared.

= (x โˆ’ 1)2 โˆ’ i2

i squared is โˆ’1.

= x2 โˆ’ 2x + 1 โˆ’ (โˆ’1)

Minus a minus is plus: xยฒ โˆ’ 2x + 2.

No i is left!

= x2 โˆ’ 2x + 2

2 Write f(x)

So f(x) = (x โˆ’ 3)(xยฒ โˆ’ 2x + 2).

f(x) = (x โˆ’ 3)(x2 โˆ’ 2x + 2)

3 Multiply out

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

each part ร— each part

(x โˆ’ 3) times (xยฒ โˆ’ 2x + 2).

Each part times each part.

= x3 โˆ’ 2x2 + 2x โˆ’ 3x2 + 6x โˆ’ 6

Like terms together: xยณ โˆ’ 5xยฒ + 8x โˆ’ 6.

= x3 โˆ’ 5x2 + 8x โˆ’ 6

So f(x) = xยณ โˆ’ 5xยฒ + 8x โˆ’ 6.

f(x) = x3 โˆ’ 5x2 + 8x โˆ’ 6

4 Check

Let's check: put each zero in.

First x = 3.

We get 0.

f(3) = 33 โˆ’ 5(3)2 + 8(3) โˆ’ 6
= 27 โˆ’ 45 + 24 โˆ’ 6 = 0

The pair: put x = 1 + i into xยฒ โˆ’ 2x + 2.

Remember iยฒ = โˆ’1.

x = 1 + i: (1 + i)ยฒ โˆ’ 2(1 + i) + 2

The i parts cancel, and the numbers make 0.

It works!

= 1 + 2i โˆ’ 1 โˆ’ 2 โˆ’ 2i + 2 = 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 + 8x โˆ’ 6

โ–ถ Watch it solved

Practice

Try each one, then open the answer. Stuck? Open the problem to watch every step.

Easy

  1. quadratic with zeros -2 and 5
    Answer
    f(x) = x2 โˆ’ 3x โˆ’ 10
  2. quadratic with zeros 3 and 4
    Answer
    f(x) = x2 โˆ’ 7x + 12
  3. quadratic with zeros -1 and -6
    Answer
    f(x) = x2 + 7x + 6
  4. quadratic with zeros 0 and 7
    Answer
    f(x) = x2 โˆ’ 7x
  5. quadratic with zeros 2 and -2
    Answer
    f(x) = x2 โˆ’ 4
  6. quadratic with zeros -3 and 1
    Answer
    f(x) = x2 + 2x โˆ’ 3
  7. polynomial with zeros 1, 2 and -3
    Answer
    f(x) = x3 โˆ’ 7x + 6
  8. polynomial with zeros -1, 2 and 4
    Answer
    f(x) = x3 โˆ’ 5x2 + 2x + 8

Medium

  1. quadratic with zeros 3 and -1 through (1, -8)
    Answer
    f(x) = 2x2 โˆ’ 4x โˆ’ 6
  2. quadratic with zeros 2 and 5 through (0, 20)
    Answer
    f(x) = 2x2 โˆ’ 14x + 20
  3. quadratic with zeros -4 and 1 through (2, -12)
    Answer
    f(x) = โˆ’2x2 โˆ’ 6x + 8
  4. polynomial with zeros 0, 3 and -2
    Answer
    f(x) = x3 โˆ’ x2 โˆ’ 6x
  5. polynomial with zeros 1, 2i and -2i
    Answer
    f(x) = x3 โˆ’ x2 + 4x โˆ’ 4
  6. polynomial with zeros -2 and 3i
    Answer
    f(x) = x3 + 2x2 + 9x + 18
  7. polynomial with zeros 2, i and -i
    Answer
    f(x) = x3 โˆ’ 2x2 + x โˆ’ 2

Harder

  1. polynomial with zeros 3 and 1 + i
    Answer
    f(x) = x3 โˆ’ 5x2 + 8x โˆ’ 6
  2. polynomial with zeros -1 and 2 - i
    Answer
    f(x) = x3 โˆ’ 3x2 + x + 5
  3. polynomial with zeros 4 and 1 + 2i
    Answer
    f(x) = x3 โˆ’ 6x2 + 13x โˆ’ 20
  4. quadratic with zeros 1 + i and 1 - i
    Answer
    f(x) = x2 โˆ’ 2x + 2
  5. polynomial with zeros 0 and -1 + i
    Answer
    f(x) = x3 + 2x2 + 2x