By the factor theorem, each zero r brings a factor x−r, raised to its multiplicity. That gives f(x)=a(x+1)(x−2)2, a cubic for any nonzero a. The constant a is still unknown.
2
Use the y-intercept
The graph passes through (0,−8), so the output at x=0 must be −8. Substituting 0 for x gives one equation in a.
a(0+1)(0−2)2=−8
3
Simplify
(0+1)(0−2)2=1×4=4.
4a=−8
4
Solve for a
Divide both sides by 4. The negative a will make the right end fall.
a=−2
5
Expand
The standard form shows degree 3 and leading coefficient −2, and its constant term is the y-intercept, −8.
−2(x+1)(x−2)2−2x3+6x2−8
6
Check the shape
With odd degree and a negative leading coefficient, the graph rises on the left and falls on the right. It crosses the axis at −1 and touches it at 2.
Result
f(x)=−2(x+1)(x−2)2,or −2x3+6x2−8 in standard form.
Your turn
1. One like the example
Write the cubic with zeros 0,3and −3 and leading coefficient 2.
Show the answer and explanation
f(x)=2x(x−3)(x+3)=2x3−18x.
The zeros give the factors x,x−3 and x+3. Multiplying by the leading coefficient 2 and expanding gives 2x(x2−9)=2x3−18x.
2x(x−3)(x+3)2x3−18x
2. A variation
Find the quartic with a zero of multiplicity 2 at 1, zeros at −2 and 3, and y-intercept 12.
Show the answer and explanation
f(x)=−2(x−1)2(x+2)(x−3).
The zeros give f(x)=a(x−1)2(x+2)(x−3). At x=0 the factors are 1,2and −3, so f(0)=−6a.Setting −6a=12 gives a=−2. The degree is even and the leading coefficient negative, so both ends fall.
a(0−1)2(0+2)(0−3)=12−6a=12a=−2
3. Somewhere new
Write a cubic with integer coefficients whose zeros are 2/3and −1,with −1 a double zero.
Show the answer and explanation
(3x−2)(x+1)2=3x3+4x2−x−2, or any nonzero integer multiple of it.
The zero 2/3 gives the factor x−2/3, and 3 times it, 3x−2, has the same zero and integer coefficients. The double zero gives (x+1)2. Expanding, (3x−2)(x2+2x+1)=3x3+6x2+3x−2x2−4x−2=3x3+4x2−x−2.
(3x−2)(x+1)23x3+4x2−x−2
Keep exploring
Graph plots f with the zeros and the y-intercept marked. Change −2 to 1 and the y-intercept becomes 4.