Hi guyz
Found dis ol.
interesting!!
- This article discusses cubic equations in one variable. For a discussion of cubic equations in two variables, see elliptic curve.
Graph of a cubic function; the roots are where the curve crosses the x-axis (y = 0). It has 2 critical points.
If you set f(x) = 0, you get a cubic equation of the form:
where
Usually, the coefficients a, b, c, d are real numbers. However, most of the theory is also valid if they belong to a field of characteristic other than two or three. Solving a cubic equation amounts to finding the roots of a cubic function
Roots of a cubic function
The nature of the roots
Every cubic equation with real coefficients has at least one solution x among the real numbers; this is a consequence of the intermediate value theorem. We can distinguish several possible cases using the discriminant, -
The following cases need to be considered.
- If ? < 0, then the equation has three distinct real roots.
- If ? > 0, then the equation has one real root and a pair of complex conjugate roots.
- If ? = 0, then (at least) two roots coincide. It may be that the equation has a double real root and another distinct single real root; alternatively, all three roots coincide yielding a triple real root. A possible way to decide between these subcases is to compute the resultant of the cubic and its second derivative: a triple root exists if and only if this resultant vanishes.
Cardano's method
We first divide the standard equation by the leading coefficient to arrive at an equation of the form
The substitution x = t ? a / 3 eliminates the quadratic term; in fact, we get the equation
This is called the depressed cubic. A simple and elegant way of solving the depressed cubic is due to Thomas Harriot (1560 ? 1621): substituting
into it and multiplying both sides by y3 yields, after much cancellation,
. Described below is the original, somewhat long-winded method of Cardano and Tartaglia, which still dominates the textbooks today. Suppose that we can find 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), as a consequence of the third order binomial identity
The system (3) can be solved by solving the second equation for v, which gives
Substituting this into the first equation in (3) yields
Moving the q to the other side and multiplying by 27u3 yields
Since t = v ? u, t = x + a/3, and v = p/3u, we find
Note that there are six possibilities in computing u with (4), since there are two solutions to the square root (
), and three complex solutions to the cubic root ? the principal root and the principal root multiplied by
. However, the sign of the square root (plus or minus) does not affect the final resulting x, although care must be taken in two special cases to avoid divisions by zero. First, if p = 0, then one should choose the positive square root so that u does not equal zero, i.e.,
. Second, if p = q = 0, then we have the triple real root x = ?a/3. In summary, for the cubic equation
the solutions for x are given by
where
Although this method is simple and elegant, it fails for the case of three real roots, e.g. when:
For this case a different method (e.g. goniometrical) has to be used.
Lagrange resolvents
The roots may then be recovered from the three si by inverting the above linear transformation, giving
We already know the value s0 = ?a, so we only need to seek values for the other two. However, if we take the cubes, a cyclic permutation leaves the cubes invariant, and a transposition of two roots exchanges s13 and s23, hence the polynomial
is invariant under permutations of the roots, and so has coefficients expressible in terms of (1). Using calculations involving symmetric functions or alternatively field extensions, we can calculate (5) to be
The roots of this quadratic equation are
where D is the discriminant. Taking cube roots give us s1 and s2, from which we can recover the roots ri of (1).
Factorization
If r is any root of (1), then we may factor using r to obtain
Hence if we know one root we can find the other two by solving a quadratic equation, giving
for the other two roots.
Root-finding formula
If we have
let
and
Now, let
and
The solutions are
q3 + r2 is the discriminant, if it is less than 0 then all three solutions are real and unequal and the roots can then be expressed by trigonometric functions (trigonometric cosine). Solution in terms of Chebyshev radicals
If we have a cubic equation which is already in depressed form, we may write it as
. Substituting
we obtain
or equivalently
If now we start from a general equation
and reduce it to the depressed form under the substitution x = t ? a/3, we have
and
, leading to
This gives us the solutions to (1) as
The case of a cubic equation with real coefficients
Suppose the coefficients of (1) are real. If s is the quantity q/r from the section on real roots, then s = t2; hence 0 < s < 4 is equivalent to ?2 < t < 2, and in this case we have a polynomial with three distinct real roots, expressed in terms of a real function of a real variable, quite unlike the situation when using cube roots. If s > 4 then either t > 2 and
is the sole real root, or t < ?2 and
is the sole real root. If s < 0 then the reduction to Chebyshev polynomial form has given a t which is a pure imaginary number; in this case
is the sole real root. We are now evaluating a real root by means of a function of a purely imaginary argument; however we can avoid this by using the function
which is a real function of a real variable with no singularities along the real axis. If a polynomial can be reduced to the form x3 + 3x ? t with real t, this is a convenient way to solve for its roots.
Derivative
Bipartite cubics
The graph of
where 0 < a < b is called a bipartite cubic. This is from the theory of elliptic curves. You can graph a bipartite cubic on a graphing device by graphing the function
corresponding to the upper half of the bipartite cubic. It is defined on