- Partial fractions
- What is a complex number · coming soon
A formula that hides the number 4
A quadratic equation has a formula. You put in , and , and the roots come out. Cubic equations have a formula too. It was published in Italy in 1545, and it is much longer. Here is what it does to one small equation.
The cubic formula gives this answer:
Look at the . No number on the number line has a square of . So the formula seems to say that there is no answer at all.
Now try . The left side is . The right side is . So is a root, and a very ordinary one. The formula is not wrong. It reaches 4 by a road that passes through numbers you have not met yet.
This lecture takes a shorter road. Find one root by a careful search. Use the factor theorem to take that root out. What is left is a quadratic, and you already know everything about quadratics.
The method: hunt, factor, finish
The last two lectures built every tool this method needs. Here they are, put together.
Hunt. Find one value with , using the rational root rule to make a short list of candidates.
Factor. By the factor theorem, , where is a quadratic. Find by comparing coefficients or by division.
Finish. Solve . Its discriminant tells you whether it adds two roots, one repeated root, or no real roots.
Why does the factor step work? The factor theorem says that exactly when divides . The degrees must add up, so a cubic divided by a linear factor leaves a quadratic. That is the whole reason a cubic can be solved one root at a time. Each root you find lowers the degree by one.
Why the hunt is not guessing
The factor theorem lecture proved the rational root rule. Suppose all the coefficients are whole numbers. Then any rational root , written in lowest terms, has dividing the constant and dividing the leading coefficient . This gives a finite list. You are not searching the whole number line. You are checking a few cards.
The list can still be long. Two quick tests make it shorter.
- is the sum of the coefficients. is the same sum with the signs of the odd powers changed. Both take a few seconds.
- If is negative at one value and positive at another, the graph must cross the axis between them. So a root lies in that interval. Test the candidates there first.
The second test needs a fact about the graph of a polynomial. It is one unbroken curve, with no jumps. To go from below the axis to above it, the curve must meet the axis somewhere.
Back to the formula's cubic
Write the hook's equation as . The leading coefficient is 1, so the candidates are the divisors of 4: . Then , , , , and . So is a factor.
Compare coefficients in . The constant terms give , so . The terms give , so . The terms are the check: . ✓
Now finish with the quadratic formula on :
So the three roots are , and . The hunt could never have found the last two, because they are irrational. It did not need to. One root was enough to bring the problem down to a quadratic.
The signs agree with this. and differ in sign, and lies between and . and differ in sign, and lies between them.
Why a cubic always has a real root
A quadratic can miss the axis completely. A cubic cannot. Here is the reason.
Take out the leading term as a common factor:
When is very large, positive or negative, the last three terms in the bracket are tiny. So the bracket is close to , and it has the same sign as . This means that, far from the origin, has the same sign as .
Suppose . Then is positive for large positive and negative for large negative . So the graph starts low and ends high. If , it starts high and ends low. Either way, the unbroken curve goes from one side of the axis to the other. It must meet the axis at least once.
A quadratic does not have this property. Its leading term has the same sign at both ends. Both ends go up, or both go down, so nothing forces the curve to meet the axis.
Can a cubic equation have exactly two different real roots?
Show the answer
Yes, but only when one of them is repeated. Suppose and are two different real roots. Then divides , and the quotient has degree 1, so it is for some real number . That is a third real root. Two different roots alone are not possible, so must equal or .
So a cubic has three different real roots, or one repeated root and one other, or one real root and a quadratic factor with no real roots. (It can also be , with a single root used three times.)
Repeated roots come in two ways
A repeated root means that a factor appears twice. The graph does something special there. It touches the axis instead of crossing it, because never changes sign.
The first way is easy to see. The quadratic left after the factor step is a perfect square. For , the coefficients add to 0, so is a root. The quotient is . Its discriminant is , and it equals . So , and is a repeated root.
The second way is easy to miss. Try the prediction below before you read on.
For f(x) = x³ − 3x + 2, the coefficients add to 0, so x = 1 is a root. Comparing coefficients gives f(x) = (x − 1)(x² + x − 2). The quotient's discriminant is 1 + 8 = 9, which is positive. How many different real roots does the cubic have?
The graph of y = x³ − 3x + 2. It crosses the axis at x = −2 and touches it from above at x = 1, so x = 1 is a repeated root.
The discriminant of the quotient counts the roots of the quotient. It does not know which root you found first. If the quotient has the same root again, the cubic has a repeated root, even though the discriminant is positive. So always write the roots of the quotient next to the root you started with, and compare them.
Now watch both ways happen on one family of curves. The cubic has the same shape for every . Changing only lifts it or lowers it.
Move k, or use − and +. The curve y = x³ − 3x + k moves up or down. Count where it meets the x-axis. Find the two values of k where a crossing turns into a touch.
The graph of y = x³ − 3x + k for three values of k. The same curve is lifted up or down, and the number of real roots changes.
| k | Real roots of x³ − 3x + k = 0 | Number of different roots |
|---|---|---|
| 0 | −√3 ≈ −1.73, 0, √3 ≈ 1.73 | 3 |
| −1 | ≈ −1.53, −0.35, 1.88 | 3 |
| 2 | −2, and 1 repeated | 2 |
| −2 | −1 repeated, and 2 | 2 |
| 4 | ≈ −2.20 | 1 |
For between and 2, the curve crosses three times. At , the dip of the curve sits exactly on the axis at . Two crossings have joined into one touch, and that is the repeated root. Lift the curve further and the dip leaves the axis. Only one crossing is left, far to the left. It never disappears, which is the "at least one real root" fact in motion.
So a repeated root is the boundary case between three crossings and one. That is why it is rare, and why it needs care when it does appear.
Two checks for any answer
Expand and compare it with . The terms give . The constant terms give . So:
This gives a fast check on three roots, with any repeated root counted twice. For , the roots add to 5, which is . ✓ Their product is 4, which is . ✓ If you had forgotten the repeat, the sum would be 3, and the check would warn you.
The second check is the one from the earlier lectures. Put into the original cubic and into your factors. The two numbers must be equal.
Worked examples
Solve .
The list. divides 6 and divides 2. So the candidates are .
Shorten it. . . The signs differ, so a root lies between and 1. The only candidates there are .
. ✓ So is a factor.
Factor. Write . Constants: , so . The terms: , so . Check the terms: . ✓
Finish. . So , and the roots are , and .
Check. Sum: , and . ✓ Product: , and . ✓ At : , and . ✓
Solve .
Hunt. The coefficients add to 0, so is a root.
Factor. Here there is a faster way. Group the terms in pairs: .
Finish. The quadratic has discriminant , which is negative. Also, is at least 1 for every real . So it is never zero.
The only real root is . The graph crosses the axis once and never comes back. This is a complete answer, not a failure of the method. The other two roots exist only among the complex numbers, which come later in the course.
Check. At : , and . ✓
Solve , and describe the graph at each root.
Hunt. The candidates are . . . ✓
Factor. . Constants: , so . The terms: , so . Check: . ✓
Finish. has discriminant . It is the perfect square . So .
The roots are and , repeated. The leading coefficient is positive, so the graph starts low and ends high. It rises to touch the axis from below at , falls again (), and crosses the axis at 2.
Check. Sum with the repeat: . ✓ At : , and . ✓
Three traps
When the leading coefficient is not 1, a rational root can be a fraction. In Worked Example 1, no whole number between and 1 works, but does. Build the full list of before you start, and use sign changes to choose where to look.
If , the factor is , not . The factor is " minus the root", so a negative root gives a plus sign. Check it by putting the root into the factor: . ✓
The quotient gives at most two roots. The root you found first is a third, and it must appear in the answer. The quotient may also contain that root again. For , the quotient is , so the roots are 1, and repeated. Always list all three, with repeats, and run the sum check.
Work each one on paper first. Open a hint only when you are stuck.
-
Solve .
Hint 1
The candidates are the divisors of 6. Try and first.
Hint 2
. So is a factor. Write .
Full answer
, so is a factor. In , the terms give , so . Check the terms: . ✓
Then . So , and the roots are , and .
Check: the sum is . ✓ At : , and . ✓
-
Solve .
Hint 1
Add the coefficients.
Hint 2
is a root. Write and find .
Full answer
, so is a root. In , the terms give , so . Check the terms: . ✓
Then . The roots are , and .
Check: the sum is . ✓ At : , and . ✓
-
Show that has a repeated root. Sketch the graph, saying at each root whether it crosses or touches.
Hint 1
The candidates are . Try .
Hint 2
. The quotient is . What is its discriminant?
Full answer
. In , the terms give , so . Check the terms: . ✓
The quotient has discriminant 0 and equals . So , and is a repeated root.
The graph starts low and crosses the axis at . It rises to , comes down to touch the axis from above at 2, and ends high.
Check: . ✓
-
An open box is made from a square card 12 cm wide. A square of side cm is cut from each corner, and the sides are folded up. Show that the volume is . Find every value of that gives a volume of 128 cm³. What does the repeated root tell you about this volume?
Hint 1
The base is a square of side and the height is . Set , expand, and divide by 4.
Hint 2
You should get . Try . Then remember that a real box needs .
Full answer
Cutting from both ends of each side leaves a base of side . The height is , so .
Setting and expanding gives . Divide by 4: .
. In , the terms give , so . Check: . ✓ Then . So .
The value is not possible, because the base side would be negative. So the only box is : a base 8 cm square and 2 cm high, with . ✓
The root is repeated, so touches zero at without crossing. For , the factor is negative and is never negative. So there. No box has a volume above 128 cm³. The repeated root has found the largest box. Calculus finds the same answer in a later topic.
The cubic formula was found in Italy in the early 1500s. Scipione del Ferro found it first, and Niccolò Tartaglia found it again. Gerolamo Cardano published it in his book Ars Magna in 1545. The hook's equation was studied by Rafael Bombelli in his Algebra of 1572. He decided to treat as a number and calculate with it. He found that . So the first cube root in the formula is , the second is , and their sum is 4.
So complex numbers did not begin with quadratics that have no roots. They began with cubics that have three real roots, where the formula could not reach them any other way. A later topic in this course builds those numbers properly.
Degree 4 also has a formula. Degree 5 does not. Paolo Ruffini gave an incomplete proof in 1799, and Niels Henrik Abel gave a complete one in 1824: no formula using only arithmetic and roots solves every equation of degree 5. That is why the method of this lecture matters. Find a root, lower the degree, and repeat. The next lecture uses these factors in a new way, to split one fraction into simpler ones.
- A cubic is solved by finding one root , writing , and solving the quadratic .
- The rational root rule gives a finite list of candidates, and sign changes of show where to look first.
- Every cubic has at least one real root, because far from the origin it has the sign of , which is opposite at the two ends.
- A repeated root makes the graph touch the axis, and it can come from a perfect-square quotient or from a quotient that contains the first root again.
- The roots satisfy and , counting repeats, which gives a quick check alongside .