Cubic equation

from Wikipedia, the free encyclopedia
Graph of a 3rd degree function; the zeros ( y = 0) are where the graph intersects the x -axis . This graph has three real zeros.

Cubic equations are third degree polynomial equations , that is, algebraic equations of form

.

According to the fundamental theorem of algebra, a cubic equation always has three complex solutions , which can also coincide. With their help, the equation can be represented in factorized form :

In the case of real coefficients, the left side of the cubic equation geometrically describes a cubic parabola in the - plane, i.e. the graph of a cubic function . Its zeros , i.e. its points of intersection with the -axis, are the real solutions of the cubic equation. According to the intermediate value theorem, the function graph always has at least one real zero, but at most three.

Possible solutions

Guessing a solution

Procedure

A solution is known exactly, it can be the cubic polynomial using the polynomial or the Horner scheme by dividing and thus obtains a quadratic equation . This can be solved with the help of a solution formula and thus the remaining solutions of the cubic equation are obtained. However, this procedure is only practicable for a rational solution . Even with the irreducible equation , the method with the still relatively simple solution is no longer practicable, since the coefficients of the remaining quadratic equation become very complicated. In these cases, the solutions are easier to determine using the Cardan formula below .

If all the coefficients of the cubic equation are integers , one can try to guess a rational solution, that is, to find it by trial and error. If the leading coefficient is equal to 1, you can try the whole number divisors of the last coefficient (also negative values!). If it differs from one, then all fractions whose numerator is a divisor of and whose denominator is a divisor of must be tried out. The theorem about rational zeros guarantees that with this finite effort one can find a rational zero, if one exists. If the coefficients are rational, then integral coefficients can be obtained by multiplying the equation by the main denominator of all the coefficients.

example

As rational solutions to the cubic equation

only the integer divisors of the last coefficient as well as are possible . Indeed, a solution is what one becomes convinced of through engagement. Polynomial division returns

and with the quadratic formula there are further solutions .

Algebraic determination

Reduction of the equation to a normal form

There are a number of equivalent transformations of the cubic equation by linear transformation of the argument, which make it possible to simplify this for the subsequent solution procedure ( Tschirnhaus transformation ). The polynomial can first be normalized by dividing by .

Linear transformation of the argument with the help of substitution results in the following term:

By choosing , the square term can be eliminated and the reduced form of the cubic equation is obtained:

The reduced form with can now be solved with the help of Cardan's formulas and the solutions of the original equation can be determined by subsequent substitution. This makes the totality of real and complex solutions accessible.

Analytical determination of the real solutions of the real equation

In the event that the original polynomial only has real coefficients, the discriminant can be used to check whether only real solutions exist:

Is , then all solutions are real. Otherwise there is exactly one real solution, the other two are complex non-real and conjugate to each other.

The case p = 0

Case 1:  

Here you choose and receive . A single real solution results after back substitution .

Sub-case 1a:   and

The only real solution and has the multiplicity of 3.
The cases with p ≠ 0

A solution strategy for the remaining solutions, which manages without the use of complex numbers, is the following:
The reduced form is transformed by substitution with the help of a suitable trigonometric or hyperbolic function in such a way that it can be reduced to known addition theorems .

Suitable functions are:

function Range of values Addition theorem cubic equation case
2
3
3
arbitrarily real 4th

The listed addition theorems are parameterized in such a way that they can be converted into the same cubic equation that can be obtained with the reduced form of the given equation

can be brought to cover. With the help of the settlement one gets immediately by comparing coefficients

    and     .

Thus, the original coefficients and express:

,

where is set and denotes an associated arc or area function . The final solution of the cubic equation can then be determined by back substitution. Off , and thus one obtains

.

First of all, the sign of determines the choice of the substitution function , secondly , which must be in the real value range of .

Case 2:     (from which     and     follows):

Substitution with , corresponds to
There are three possible solutions
with and

Sub-case 2a:     (from which     follows):

There are only two solutions. The reduced form is simplified to . The two solutions and can now be read directly from the linear factors . Leads to the same result , i.e. or . Corresponding is and . The latter solution has the multiplicity of 2.

Case 3:     and     (from which     and     follows):

Substitution with , corresponds to , so
First, you have two solutions , which are thrown into one again because of . So: with .

Borderline case 3a:     and     (from which it     follows):

, so and . Note: The other two (purely imaginary) solutions of are represented by the use of discarded Real: . The result is as in sub-case 2a: and .

Case 4:     and   :

Substitution with , corresponds to
The result is:
With
The result is a real solution.

Fast numerical calculation

The method of Deiters and Macías-Salinas first puts the cubic function into the form and then uses the Laguerre-Nair-Samuelson inequality to find bounds for the solutions,

.

Where , and is the abscissa value of the inflection point. Then the following cases have to be distinguished:

  1. : Then the turning point is the first solution .
  2. : Then there is a solution.
  3. Otherwise an approximate solution is determined iteratively . This is done based on the start value
with the Halley method :
.

Then the quadratic function (with a small one , the amount of which depends on the achieved accuracy) is formed by polynomial division , the zeros of which (in the case ) can be calculated directly:

with and .

If implemented carefully (see the revised additional information on the original publication), this method is 1.2 to 10 times faster on modern processors (2014, architecture x86-64) than the Cardanic formulas evaluated for comparable accuracy .

See also

Web links

Commons : Cubic functions  - collection of images, videos and audio files

Sources and literature

Individual evidence

  1. UK Deiters, R. Macías-Salinas: Calculation of densities from cubic equations of state: revisited . In: Ind. Eng. Chem. Res. Volume 53 , 2014, p. 2529-2536 , doi : 10.1021 / ie4038664 .
  2. ^ Paul Samuelson: How Deviant Can You Be? . In: Journal of the American Statistical Association . 63, No. 324, 1968, pp. 1522-1525. doi : 10.2307 / 2285901 .
    S. a. Samuelson's inequality on Wikipedia, accessed 2016-06-10
  3. Cubic rootfinder using Halley's method: C / C ++ program code (PDF) University of Cologne. Retrieved July 5, 2019.