Chalk−1

Math · College algebra · Worked example

Write a polynomial from its zeros

Find the cubic polynomial with a zero at −1, a zero of multiplicity 2 at 2, and y-intercept −8.

Try one — Chalk checks each line

Build the factors

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.

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

Simplify

(0+1)⁢(0−2)2 =1×4 =4.

4⁢a=−8

Solve for a

Divide both sides by 4. The negative a will make the right end fall.

a=−2

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

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, 3 and −3 and leading coefficient 2.

Show the answer and explanation

f⁡(x) =2⁢x⁢(x−3)⁢(x+3) =2x3−18⁢x.

The zeros give the factors x, x−3 and x+3. Multiplying by the leading coefficient 2 and expanding gives 2⁢x⁢(x2−9)=2x3−18⁢x.

2⁢x⁢(x−3)⁢(x+3)2x3−18⁢x

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, 2 and −3, so f⁡(0)=−6⁢a. Setting −6⁢a=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−6⁢a=12a=−2

3. Somewhere new

Write a cubic with integer coefficients whose zeros are 2⁢/3 and −1, with −1 a double zero.

Show the answer and explanation

(3⁢x−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, 3⁢x−2, has the same zero and integer coefficients. The double zero gives (x+1)2. Expanding, (3⁢x−2)⁢(x2+2⁢x+1) =3x3+6x2+3⁢x−2x2−4⁢x −2 =3x3+4x2−x−2.

(3⁢x−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.

Return to the concept →
Sources and scope

Authored study material. Tool results depend on the stated inputs and model assumptions.

After reading

Try it, then study it

Open the example in its tool to check steps or change values, then review the key terms as flashcards.

Graph the polynomial Check the steps in Math Check the expansion in Math Study the 8 key terms Open worked example on a board Degree and leading term in Math Reference

Your existing work stays on this device. Examples open as editable copies.