Description: Example of find a root of a cubic polynomial the old-fashioned way.
Solving a Cubic - by hand
Solving a cubic polynomial equation can be done by hand. But the computations are a bit tedious. The process is long enough that it is common to have an error of simple arithmetic pop up. Since a computer is good at avoiding those, let's use this worksheet to make the process cleaner.
We wish to find the roots of the cubic polynomial
that is, we want to find the solutions of the equation
x^3 + 5*x^2 - 14*x + 26
Step One: get into the reduced form x3+px+q=0
Our polynomial is already has a leading coefficient of 1, so we are left to find a substitution that removes the quadratic term. This should work:
1/27*(3*z - 5)^3 + 5/9*(3*z - 5)^2 - 14*z + 148/3
z^3 - 67/3*z + 1582/27
We see that p=−67/3 and q=1582/27
Step Two: Compare with the "ideal form"
If we were lucky, we could compare our polynomial with the cube-of-a-sum polynomial and see the answer magically. Let's get our comparison object down, at least. Of course, it requires the insight to use this clever rearrangment:
If we move stuff around, we want to compare
Let's guess that z=u+v, and so, by pattern matching, we want
So we deduce that u and v should satisfy these equations:
Step Three: Solve for u3 and v3
It is a challenge to solve for u and v directly. Instead, let us try to solve for s=u3 and t=v3. Note that we know
s+t and s⋅t. This means we can rely on our knowlege of quadratic equations! As a refresher:
s*t - s*x - t*x + x^2
so we can recover s and t from their sum and product by using the quadratic formula. That is niiiiiiiice.
I'm gonna use a little wizardry to get things arranged but keep from retyping numbers. We want to find the roots of