Three brackets, multiplied out
For a quadratic, the two roots add to and multiply to . A cubic has three roots, and the same idea gives three relationships.
If the cubic cx + d = 0 has roots , and , it factors as . Multiply out two brackets first: .
Now multiply by . Times x gives . Times gives . Collect the like terms: . Finally multiply through by a.
So cx .
Match the coefficients
Two polynomials that are equal for every x have the same coefficients. Match them one power at a time.
The terms: , so . The x terms: , so . The constants: , so .
The signs alternate: minus, plus, minus. The sum adds the products of the roots two at a time, and it is often written , just as is written .
Check on , whose roots are 1, 2 and 3. Here a = 1, b = −6, c = 11 and d = −6. The sum is . The pairs give . The product is .
The gold curve is , and the plain curve is twice it, . Both cross the x-axis at x = 1, 2 and 3. Doubling every coefficient leaves the roots where they are, and stays : that is why each sum is divided by a.
Read off without solving
For , a = 2, b = −6, c = 4 and d = −10. So , , and .
None of the roots has been found, and none needs to be. These three values hold whether the roots are real or not; this cubic has only one real root, close to 2.904, and the other two are complex, yet the three sums are still 3, 2 and 5.
Other symmetric expressions follow from the three. The sum of the reciprocals is , over a common denominator. For this cubic that is .
A quartic, one row longer
A quartic cx² + dx + e = 0 has four roots , , and , and four sums. The roots one at a time: . Two at a time: . Three at a time: . All four multiplied: . The signs still alternate, starting with minus.
Check on . The roots add to 1 + 2 + 3 + 4 = 10. The six pairs give 2 + 3 + 4 + 6 + 8 + 12 = 35. The four triples give 6 + 8 + 12 + 24 = 50. The product is 24. With a = 1, those are −b, c, −d and e, as the pattern says.
The sum of the squares
Square the sum of the roots: . Each product of two different roots appears twice. So , and rearranging, .
If and , then . For the roots 1, 2 and 3: , and directly 1 + 4 + 9 = 14.
For , , again without finding a root.
Building a cubic from its sums
The relationships work backwards too. With a = 1, a cubic whose roots have sum S, pair sum P and product Q is Sx² + Px − Q = 0. Roots with S = 12, P = 47 and Q = 60 give .
The roots of that cubic are 3, 4 and 5: 3 + 4 + 5 = 12, 12 + 20 + 15 = 47, and 3 × 4 × 5 = 60.
The usual mistakes
Dropping the minus sign. For , , not −6.
Dropping the minus from the product. For , , not 4.
Mixing up the coefficients. c gives the pair sum, not the sum of the roots, so 11 is for , and is not the product for .
Giving the pair sum a minus sign. : the signs alternate starting with minus on b, so the c term arrives positive.
Taking as the sum of the squares. It still holds : with and , the sum of the squares is 25 − 12 = 13, not 25, and taking off one instead of two gives 19.
A gift box
In the application below, the edges, the card and the volume of a box give the sum, the pair sum and the product of its three dimensions. Those are the three sums of a cubic, and the longest rod in the box comes from the sum of the squares before the cubic is solved.
Worked example: A Gift Box Known Only by Its Edges, Its Card and Its Volume: The Diagonal Before the Dimensions
Question The twelve edges of a gift box add up to 48 cm, the card that covers its six faces has an area of 94 cm2, and the box holds 60 cm3. (a) Show that the length, width and height of the box are the three roots of x3 − 12x2 + 47x − 60 = 0. Without solving the cubic, find the length of the longest straight rod that fits inside the box, from one corner to the opposite corner. (b) Solve the cubic to find the dimensions of the box.
1.Call the dimensions a, b and c cm. The box has 4 edges of each length, so 4(a + b + c) = 48 and a + b + c = 12. It has two faces of each size, so 2(ab + bc + ca) = 94 and ab + bc + ca = 47. The volume gives abc = 60.
The box has 4 edges and 2 faces of each kind, so a + b + c = 12, ab + bc + ca = 47 and abc = 60. 2.A cubic with roots a, b and c is x3 − (a + b + c)x2 + (ab + bc + ca)x − abc = 0, which is x3 − 12x2 + 47x − 60 = 0.
A cubic with roots a, b and c is x3 − (a + b + c)x2 + (ab + bc + ca)x − abc = 0, which is x3 − 12x2 + 47x − 60 = 0. 3.The rod from corner to opposite corner has length √a2 + b2 + c2, and a2 + b2 + c2 = (a + b + c)2 − 2(ab + bc + ca) = 144 − 94 = 50. (a) The longest rod is √50 = 5√2 ≈ 7.07 cm.
(a) The diagonal from corner to opposite corner is √a2 + b2 + c2, and a2 + b2 + c2 = 144 − 94 = 50, so it is √50 ≈ 7.07 cm. 4.Try the factors of 60: at x = 3 the cubic is 27 − 108 + 141 − 60 = 0, so (x − 3) is a factor. Dividing, x3 − 12x2 + 47x − 60 = (x − 3)(x2 − 9x + 20) = (x − 3)(x − 4)(x − 5).
At x = 3 the cubic is 0, so (x − 3) is a factor, and dividing gives (x − 3)(x − 4)(x − 5). The curve crosses the axis at 3, 4 and 5. 5.(b) The box is 3 cm by 4 cm by 5 cm. Check: 3 + 4 + 5 = 12, 12 + 20 + 15 = 47, 3 × 4 × 5 = 60, and √9 + 16 + 25 = √50.
(b) The box is 3 cm by 4 cm by 5 cm, drawn to scale. The three roots add up to 12 and multiply to 60.
Answer: (a) the longest rod is √50 = 5√2 ≈ 7.07 cm; (b) 3 cm by 4 cm by 5 cm
Common mistakes
- Using 94 for ab + bc + ca. The card covers two faces of each size, so 94 is 2(ab + bc + ca), and the sum of products in pairs is 47.
- Writing the cubic as x3 + 12x2 + 47x + 60 = 0. The signs alternate: the coefficient of x2 is minus the sum of the roots, and the constant is minus their product.
More polynomials and the binomial theorem problems, worked step by step →