Microsoft Store
 

Cubic equation


 

In mathematics, a cubic equation is a polynomial equation in which the highest occurring power of the unknown is the third power. An example is the equation

Cardano's method

The solutions can be found with the following method due to Scipione dal Ferro and Tartaglia, published by Gerolamo Cardano in 1545.

Related Topics:
Scipione dal Ferro - Tartaglia - Gerolamo Cardano - 1545

~ ~ ~ ~ ~ ~ ~ ~ ~ ~

We first divide the given equation by α3 to arrive at an equation of the form

~ ~ ~ ~ ~ ~ ~ ~ ~ ~

:x^3 + ax^2 + bx +c = 0. qquad (1)

~ ~ ~ ~ ~ ~ ~ ~ ~ ~

The substitution x = t - a/3 eliminates the quadratic term; in fact, we get the equation

~ ~ ~ ~ ~ ~ ~ ~ ~ ~

: t^3 + pt + q = 0, quadmbox{where } p = b - rac{a^2}3 quadmbox{and}quad q = c + rac{2a^3-9ab}{27}. qquad (2)

~ ~ ~ ~ ~ ~ ~ ~ ~ ~

This is called the depressed cubic.

~ ~ ~ ~ ~ ~ ~ ~ ~ ~

Suppose that we can find numbers u and v such that

~ ~ ~ ~ ~ ~ ~ ~ ~ ~

: u^3-v^3 = q quadmbox{and}quad uv = rac{p}{3}. qquad (3)

~ ~ ~ ~ ~ ~ ~ ~ ~ ~

A solution to our equation is then given by

~ ~ ~ ~ ~ ~ ~ ~ ~ ~

:t = v - u,

~ ~ ~ ~ ~ ~ ~ ~ ~ ~

as can be checked by directly substituting this value for t in (2), as a consequence of the third order binomial identity

~ ~ ~ ~ ~ ~ ~ ~ ~ ~

: (v-u)^3+3uv(v-u)+(u^3-v^3)=0 .

~ ~ ~ ~ ~ ~ ~ ~ ~ ~

The system (3) can be solved by solving the second equation for v, which gives

~ ~ ~ ~ ~ ~ ~ ~ ~ ~

: v = rac{p}{3u}.

~ ~ ~ ~ ~ ~ ~ ~ ~ ~

Substituting this in the first equation in (3) yields

~ ~ ~ ~ ~ ~ ~ ~ ~ ~

: u^3 - rac{p^3}{27u^3} = q.

~ ~ ~ ~ ~ ~ ~ ~ ~ ~

This can be seen as a quadratic equation for u3. If we solve this equation, we find that

~ ~ ~ ~ ~ ~ ~ ~ ~ ~

: u=sqrt{{qover 2}pm sqrt{{q^{2}over 4}+{p^{3}over 27}}}. qquad (4)

~ ~ ~ ~ ~ ~ ~ ~ ~ ~

Since t = v − u and t = x + a/3, we find

~ ~ ~ ~ ~ ~ ~ ~ ~ ~

:x= rac{p}{3u}-u-{aover 3}.

~ ~ ~ ~ ~ ~ ~ ~ ~ ~

Note that there are six possibilities in computing u with (4), since there are two solutions to the square root (pm), and three complex solutions to the cubic root (the principal root and the principal root multiplied by -1/2 pm isqrt{3}/2). However, which sign of the square root is chosen 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 sign of the square root that gives a nonzero value for u, i.e. u = sqrt{q}. Second, if p = q = 0, then we have the triple real root x = −a/3.

~ ~ ~ ~ ~ ~ ~ ~ ~ ~