|
All cubic equations have a real root. Why? Because when x is very big and positive, x³ "takes over" and makes the polynomial's value big enough to stay on one side of the x-axis. When x is very big and negative, x³ "takes over" again, and makes the polynomial's value big enough to stay on the other side of the x-axis. Somewhere in between, the polynomial's value must cross the x-axis, and at this point it is zero. This is true because polynomial functions are continuous. So the trick is to find one real root, r, then divide the cubic equation by (x-r) to reduce the equation to a quadratic, and then it is easy to find the other two roots. A warning: If there are three different real roots, this formula won't work. (That is, it won't work without using complex numbers.) But there is a very interesting fact about the tangent lines of the cubic function. Now, let's get started: Let the cubic equation be
Now we eliminate the second-order term by letting x=y-b/(3a). That changes the equation to this:
Now let
and let
This is a "depressed cubic" of the form y³+Ay+B=0. Now if you let A=3st and B=t³-s³ then y=s-t will be a solution of the depressed cubic. To see that's true, just substitute 3st in place of A, and substitute s-t in place of y, and simplify the equation:
Now you just need to find two numbers such that three times their product is equal to A and the difference of their cubes is B.
Solve this for s by substituting
into the second equation:
Multiply through by 27s³ and move all the terms to the left side of the equation to get
Here we can use the quadratic formula to solve for s³
Now t³=s³+B, so
Remember y=s-t, so
You should notice these two values of y are actually the same, because cuberoot(-x)=-cuberoot(x), and x-y=(-y)-(-x). So
Remember x=y-b/(3a)
Now, let me summarize:
Now let r be this root. The other roots can be found by dividing ax³+bx²+cx+d by (x-r), and solving the resulting quadratic using the quadratic formula. Now, as I indicated, cubic equations that have three different real roots can't be solved by this method. When you try, you'll see the quadratic equation you solve to get s³ and t³ has no real roots. Example:Here's some more bad news, or perhaps it's just a bit odd. I'll illustrate this odd thing with an example:
It looks as if this is as far as this expression can be simplified, but looks can be deceiving. If you use a calculator to figure this out, you'll see it's exactly 7, to whatever precision you calculate it! This is the odd thing that can make this procedure difficult to use. Here is some examples of similar relations:
In general, for any value of x, if you let A=(x³+3x²)/2, and B=A²+x³, then
Related pages in this websiteClick here for more information about this curious phenomenon. |
|
The webmaster and author of the Math
Help site is Graeme McRae. |