| • Science | • People | • Locations | • Timeline |
| Contents | ||
and the general form may be written as
where we will assume that the coefficients a0,...,a3 belong to a field of characteristic other than two or three, with a0 being non-zero.
Solving a cubic equation amounts to finding the roots of a cubic function. Every cubic equation with real coefficients has at least one solution x among the real numbers. We can evaluate the different possible cases in terms of the quantities
and
along with s = q/r. We have
or
The solutions can be found with the following method due to Scipione dal Ferro and Tartaglia, published by Gerolamo Cardano in 1545.
We first divide the given equation by a0 to arrive at an equation of the form
The substitution x = t - a/3 eliminates the quadratic term and we get at a cubic equation of the form
To solve this equation, find two numbers u and v such that
A solution to our equation is then given by
as can be checked by directly substituting this value for t in (2).
The above system for u and v can always be solved: solve the second equation for v, substitute into the first equation, solve the resulting quadratic equation for u3, then take the cube root to find u. When the cubic equation has three real roots, the quadratic equation will give complex solutions, and so finding the real roots of a polynomial with real coefficients by means of extracting cube roots sometimes requires the use of complex numbers. This was already noticed by Cardano and is a strong argument for the usefulness (if not the existence) of complex numbers; historically the acceptance of complex numbers as having at least an imaginary sort of of existence on account of their usefulness stemmed from this fact.
Once the values for t are known, the substitution x = t - a/3 can be undone to find the values of x solving the original equation.
If we have an equation
we may set
and have
So that u3 - v3 = q, and uv = p/3, we find
and since x + a/3 = v - u then
In order to consistently define cube roots, we take the principal branch of the cube root function; so that if we express a number in polar coordinates with the polar angle θ in the range , to define the complex cube root we take the cube root of the radius and divide the polar angle by three. This means that the cube root of a negative real number will be a complex number.
Note that in finding u, there were six possibilities, since there are two solutions to the square root, and three complex solutions to the cubic root. However, which solution to the square root is chosen does not affect the final resulting x.