Find one root by trial
Solve . Write . There is no formula to reach for, so the first job is to find one root by trial.
The factor theorem narrows the search. If the roots are whole numbers p, q and s, then f(x) = (x − p)(x − q)(x − s), whose constant term is −pqs. So pqs = −6, and each whole-number root divides 6. The candidates are , , and .
Try them in turn. f(1) = 1 − 2 − 5 + 6 = 0, so x = 1 is a root and x − 1 is a factor. Had the first try failed, the search would carry on: f(2) = 8 − 8 − 10 + 6 = −4 and f(−1) = −1 − 2 + 5 + 6 = 8, so neither 2 nor −1 is a root.
Divide by the factor
Dividing the cubic by x − 1 leaves a quadratic. By long division: , and ; subtracting from leaves , and bringing down −5x gives . Then , and ; subtracting leaves −6x, and bringing down 6 gives −6x + 6. Then , and −6(x − 1) = −6x + 6, which leaves 0.
So . The remainder is 0, as the factor theorem said it would be.
Or match the coefficients
The same quadratic comes from matching coefficients. Write and multiply out the right side: .
The terms give b − 1 = −2, so b = −1. The constants give −c = 6, so c = −6. The x terms are then a check: c − b = −6 + 1 = −5, which matches. The quadratic is .
Finish on the quadratic
Factor the quadratic: , because −3 × 2 = −6 and −3 + 2 = −1. So .
The cubic is 0 when any bracket is 0, so the roots are x = 1, x = 3 and x = −2. Check the two new roots by substitution: f(3) = 27 − 18 − 15 + 6 = 0 and f(−2) = −8 − 8 + 10 + 6 = 0. All three divide 6, as the search predicted.
The curve crosses the x-axis three times, at the dots: x = −2, x = 1 and x = 3. Those are the three roots, one found by trial and two from the quadratic.
The same method on two more cubics
Solve . The candidates divide 6. f(1) = 1 + 2 − 5 − 6 = −8, not 0. f(2) = 8 + 8 − 10 − 6 = 0, so x − 2 is a factor. Dividing leaves , so the roots are 2, −1 and −3.
Solve . The candidates divide 8. f(1) = 1 − 3 − 6 + 8 = 0, so x − 1 is a factor. Dividing leaves , so the roots are 1, 4 and −2. Check: f(4) = 64 − 48 − 24 + 8 = 0.
When the quadratic does not factor
Solve . The candidates are . f(1) = 1 − 3 − 3 + 1 = −4, but f(−1) = −1 − 3 + 3 + 1 = 0, so x + 1 is a factor. Dividing leaves , which has no whole-number factors.
Use the quadratic formula: / / , because . So the roots are −1, and . Only one root was found by trial; the other two are irrational, and the quadratic formula finds them.
Check in the quadratic: .
The curve . It crosses the x-axis at x = −1, the root found by trial, and between the gridlines at the two roots from the quadratic formula: , about 0.268, and , about 3.732.
When there is only one real root
Solve . f(1) = 0, so x − 1 is a factor, and dividing leaves . Its discriminant is , which is negative, so the quadratic has no real roots. The cubic has one real root, x = 1.
A cubic always has at least one real root, because its graph runs from far below the x-axis to far above it. It has three when the quadratic left over has two.
The usual mistakes
Calling a candidate a root without testing it. For , 2 divides 6, but f(2) = −4, so x − 2 is not a factor.
Getting the sign of the factor wrong. The root x = 1 gives the factor x − 1, not x + 1; f(−1) = 8, so x + 1 is not a factor.
Changing the signs of the roots from the quadratic. has roots 3 and −2, not −3 and 2.
Stopping at two roots, or giving the root already found as one of the other two. The quadratic holds the other two roots, so the cubic has three: 1, 3 and −2.
A frame from 28 m of rod
In the application below, the cubic is . Its leading coefficient is 2, so the candidates include halves as well as whole numbers. The first root found is x = −1, which cannot be a length, and the two lengths come from the quadratic left after dividing it out.
Worked example: A Box-Shaped Frame Welded from 28 m of Steel Rod: Every Frame That Encloses 9 Cubic Meters
Question A welder has 28 m of steel rod to make the twelve edges of a box-shaped frame with a square base. The frame must enclose 9 m3. (a) Taking the side of the base as x m, show that 2x3 − 7x2 + 9 = 0, and use the factor theorem to find one root. (b) Solve the equation completely, and give the dimensions of every frame the welder can make.
1.The base and the top are squares with 4 edges of x m each, and the four upright edges are h m each, so 8x + 4h = 28 and h = 7 − 2x. The height must be more than 0, so 0 < x < 3.5.
The rod gives 8x + 4h = 28, so h = 7 − 2x, and the height must be more than 0: the shaded band is 0 < x < 3.5. 2.The volume is x2(7 − 2x) = 9, so 7x2 − 2x3 = 9, which rearranges to 2x3 − 7x2 + 9 = 0.
The volume is x2(7 − 2x) = 9, which rearranges to 2x3 − 7x2 + 9 = 0. Its graph is drawn to scale. 3.(a) Try the factors of 9 over the factors of 2. At x = 1 the cubic is 2 − 7 + 9 = 4, not 0. At x = −1 it is −2 − 7 + 9 = 0, so by the factor theorem (x + 1) is a factor and x = −1 is a root.
(a) At x = 1 the cubic is 4, but at x = −1 it is 0, so (x + 1) is a factor and the curve crosses the axis at x = −1. 4.Divide by (x + 1): 2x3 − 7x2 + 9 = (x + 1)(2x2 − 9x + 9), and the quadratic factorizes as (2x − 3)(x − 3). The roots are x = −1, x = 1.5 and x = 3.
Divide by (x + 1) and factorize the quadratic: (x + 1)(2x − 3)(x − 3). The curve crosses the axis at 1.5 and 3 as well. 5.(b) Reject x = −1, because a length cannot be negative. x = 3 gives h = 7 − 6 = 1, a frame 3 m by 3 m by 1 m, and x = 1.5 gives h = 7 − 3 = 4, a frame 1.5 m by 1.5 m by 4 m. Check: 32 × 1 = 9 and 1.52 × 4 = 9.
(b) Two roots lie in the band: frames 3 m by 3 m by 1 m and 1.5 m by 1.5 m by 4 m. The root −1 is rejected.
Answer: (a) x = −1 is a root, so (x + 1) is a factor; (b) x = −1, 1.5 or 3; rejecting −1, the frames are 3 m by 3 m by 1 m and 1.5 m by 1.5 m by 4 m
Common mistakes
- Stopping at x = −1, the first root the factor theorem finds, and deciding that there is no frame. A negative root is not a length, but dividing it out leaves the quadratic whose two roots are.
- Writing the rod as 4x + 4h = 28, which counts the edges of the base but not of the top. The frame has two squares of four edges each, so the rod gives 8x + 4h = 28.
More polynomials and the binomial theorem problems, worked step by step →