Worked examples
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
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
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