Once you can factor a polynomial, you can solve equations like x3−4x2−9x+36=0. The roots you find are exactly where the graph of the polynomial crosses or touches the x-axis. This page shows how to solve polynomial equations of degree up to 4, what it means when some roots aren’t real, and how to use these equations in real problems.
The roots of the equation P(x)=0 are the values of x that make it true. They are the same numbers as the zeros of the function f(x)=P(x), and the real roots are the x-intercepts of the graph of y=P(x).
For example, the equation x4−13x2+36=0 has roots −3, −2, 2 and 3, and the graph of y=x4−13x2+36 crosses the x-axis at exactly those four points (left graph below).
This is why graphing technology such as Desmos is a good way to check your roots: graph y=P(x) and look at the x-intercepts.
A polynomial equation of degree n has at most n real roots. A cubic has at most 3 and a quartic at most 4. It can have fewer, for two reasons:
Repeated roots. In (x−2)2(x+1)=0, the root 2 comes from two factors. The graph touches the x-axis at x=2 instead of crossing it.
Non-real roots. A quadratic factor with a negative discriminant gives no real roots. (Its roots are non-real numbers, which you’ll meet in later courses. You don’t need to calculate them here.) These roots don’t appear as x-intercepts.
For example, x3+x2+2x−4=(x−1)(x2+2x+4). The discriminant of x2+2x+4 is 22−4(1)(4)=−12<0, so the only real root is x=1. The graph (right below) crosses the x-axis just once.
Left: four real roots, four x-intercepts. Right: one real root and two non-real roots, so only one x-intercept.
In a word problem, the equation often has more roots than make sense. Always check each root against the situation: lengths must be positive, a cut can’t be bigger than the sheet, and so on. Then answer in context with units.
A box with no lid is made from a 30 cm by 20 cm sheet of cardboard by cutting a square of side x cm from each corner and folding up the sides. For what values of x is the volume 1000 cm³?
Solution. After cutting, the base is (30−2x) by (20−2x) and the height is x:
V(x)=x(30−2x)(20−2x)
The cut must be positive and less than half of 20 cm, so 0<x<10.
Set V(x)=1000 and expand:
x(30−2x)(20−2x)4x3−100x2+600xx3−25x2+150x−250=1000=1000=0divide by 4
Test factors of 250. Try x=5: 125−625+750−250=0. ✓ Divide by x−5:
511−255−20150−10050−2502500
Now solve x2−20x+50=0:
x=220±400−200=220±200=10±52
So the roots are 5, 10+52≈17.07 and 10−52≈2.93. The root 17.07 is outside 0<x<10 (you can’t cut 17 cm squares from a 20 cm side), so reject it.
The volume is 1000 cm³ when the squares have side 5 cm or about 2.93 cm.
Check x=5: the box is 20 cm by 10 cm by 5 cm, and 20×10×5=1000. ✓
Dividing both sides by x. In 3x3=12x, dividing by x gives x2=4 and loses the root x=0. Instead, move everything to one side and factor: 3x(x−2)(x+2)=0.
Not setting the equation equal to zero first. The zero product property only works for a product equal to 0. (x−1)(x+2)=4 does not mean x−1=4 or x+2=4.
Missing negative roots.x2−9=0 gives x=3andx=−3. Factoring as (x−3)(x+3) makes both roots visible.
Expecting every root to be an x-intercept.x4−5x2−36=0 has four roots: two real ones (±3) and two non-real ones from x2+4=0. Only the two real roots show up as x-intercepts. When a quadratic factor has a negative discriminant, say it has “no real roots”, not “no roots”.
Keeping roots that don’t fit the context. In Example 4, x≈17.07 solves the equation but not the problem. Always check each root against the restrictions.
4. (Core) Solve x4−5x2−36=0. How many x-intercepts does the graph of y=x4−5x2−36 have?
Solution(x2−9)(x2+4)=0⇒(x−3)(x+3)(x2+4)=0
x2+4=0 has no real roots (since x2≥0, x2+4≥4). So the real roots are x=3 and x=−3, and the other two roots are non-real.
The graph has two x-intercepts, at (3,0) and (−3,0).
5. (Core) Solve 2x3+x2−13x+6=0.
Solution
Try x=2: 16+4−26+6=0, so x−2 is a factor.
222145−1310−36−60
2x2+5x−3=(2x−1)(x+3), so (x−2)(2x−1)(x+3)=0.
x=2, x=21 or x=−3.
6. (Core) Solve x3−6x2+12x−8=0. What does the graph of y=x3−6x2+12x−8 look like at its x-intercept?
Solution
Try x=2: 8−24+24−8=0. Dividing by x−2 gives x2−4x+4=(x−2)2, so
(x−2)3=0
The only root is x=2 (a triple root). The graph has just one x-intercept, (2,0), where it flattens out as it passes through the axis.
7. (Core) A storage crate has a volume of 30 m³. Its length is 2 m more than its width, and its height is 1 m less than its width. Find its dimensions.
Solution
Let the width be w metres. Then
w(w+2)(w−1)w3+w2−2w−30=30=0
Try w=3: 27+9−6−30=0. ✓ Dividing by w−3 gives w2+4w+10, whose discriminant is 16−40=−24<0. So w=3 is the only real root.
The crate is 5 m long, 3 m wide and 2 m high. Check: 5×3×2=30. ✓
8. (Challenge) Find where the graphs of y=x3 and y=7x+6 intersect.
Solution
Set the expressions equal: x3=7x+6, so x3−7x−6=0.
Try x=−1: −1+7−6=0. Dividing by x+1 gives x2−x−6=(x−3)(x+2), so
(x+1)(x−3)(x+2)=0
x=−1, 3 or −2. Using y=x3, the points are (−1,−1), (3,27) and (−2,−8).
Check with the line: 7(3)+6=27 ✓, 7(−2)+6=−8 ✓, 7(−1)+6=−1 ✓.
9. (Challenge) One root of x3+kx2+x+6=0 is x=2. Find k and the other roots.
Solution
Substitute x=2:
8+4k+2+6=0⇒4k=−16⇒k=−4
The equation is x3−4x2+x+6=0. Divide by x−2:
211−42−21−4−36−60
x2−2x−3=(x−3)(x+1), so the other roots are x=3 and x=−1.