A quartic equation is a fourth-order polynomial equation of the form
|
(1)
|
While some authors (Beyer 1987b, p. 34) use the term "biquadratic equation" as a synonym for quartic equation, others (Hazewinkel 1988, Gellert
et al. 1989) reserve the term for a quartic equation having no cubic or linear
term, i.e., a quadratic equation in .
Cardano (1545, Ch. 39, fol. 72v) published an algebraic method for solving quartic equations and explicitly credited Ferrari. The Wolfram Language can solve quartic equations exactly using the built-in command Solve[a4 x^4 + a3 x^3 + a2 x^2 + a1 x + a0 == 0, x]. The solution can also be expressed in terms of Wolfram Language algebraic root objects by first issuing SetOptions[Roots, Quartics -> False].
The roots of this equation satisfy Vieta's formulas:
|
(2)
| |
|
(3)
| |
|
(4)
| |
|
(5)
|
The substitution
gives the depressed form, which has no cubic term,
|
(6)
|
whose roots are denoted by , ...,
. The properties of the symmetric
polynomials appearing in Vieta's formulas
then give
|
(7)
| |||
|
(8)
| |||
|
(9)
| |||
|
(10)
|
The depressed roots also satisfy the pairwise relations
|
(11)
|
|
(12)
|
|
(13)
|
as well as their cyclic permutations.
A worked example in Cardano (1545, Ch. 39, fol. 73v), also explicitly credited to Ferrari, is
|
(14)
|
(Smith 1994, p. 207).
The
term can be eliminated from the general quartic (1) by making
a substitution of the form
|
(15)
|
so
|
(16)
|
Letting
so
|
(17)
|
then gives the standard form
|
(18)
|
where
|
(19)
| |||
|
(20)
| |||
|
(21)
|
The quartic can be solved by writing it in a general form that would allow it to be algebraically factorable and then finding the condition to put it in this form. The equation that must be solved to make it factorable is called the resolvent cubic. To do this, note that the quartic will be factorable if it can be written as a difference of squares,
|
(22)
|
It turns out that a polynomial factorization of this form can be obtained by adding and subtracting (where
is for now an arbitrary quantity, but which will be specified
shortly) to equation (6) to obtain
|
(23)
|
This equation can be rewritten
|
(24)
|
(Birkhoff and Mac Lane 1966). Note that the first term is immediately a perfect square
with
|
(25)
|
For ,
the second term will be a perfect square
if
is chosen so that the square can be completed in
|
(26)
|
This means we want
|
(27)
|
which requires that
|
(28)
|
or
|
(29)
|
This is the resolvent cubic. If , it forces
, and the depressed quartic is a biquadratic
equation.
For a solution
of equation (29), substituting the resolvent condition into
equation (26) gives
|
(30)
|
with
|
(31)
|
therefore is linear in
and
is quadratic in
, so each term
and
is quadratic and can be solved using the quadratic
formula. These give the four roots of the depressed
quartic. The roots of the original quartic follow from
.
Explicitly, plugging ,
, and
back into (29) gives
|
(32)
|
This can be simplified by making the substitution
|
(33)
|
which gives the resolvent cubic
|
(34)
|
Let
be a root of (34). With
defined below, the four roots of
the original quartic are obtained by solving the two quadratic
equations
|
(35)
|
with the signs correlated within each row. For , substituting
,
, and
into
and
gives the first row. The resolvent
cubic implies
,
so replacing
by an independently chosen square root can give the
wrong sign. If
,
the same identity forces
and gives the second row by a difference
of squares. Applying the quadratic formula
to these factors gives
|
(36)
| |||
|
(37)
| |||
|
(38)
| |||
|
(39)
|
where
|
(40)
| |||
|
(41)
| |||
|
(42)
|
(Abramowitz and Stegun 1972, p. 17; Beyer 1987a, p. 12). This result is sometimes known as the quartic formula.
Another approach uses the roots , ...,
of the depressed quartic (6) to define
|
(43)
| |||
|
(44)
| |||
|
(45)
|
where the second forms follow from
|
(46)
|
and defining
|
(47)
| |||
|
(48)
|
This equation can be written in terms of the coefficients ,
, and
of the depressed quartic as
|
(49)
|
The roots of this cubic equation then give ,
,
and
,
and the equations (43) to (45) can be solved
for the four roots
of the depressed quartic (Faucette 1996). For an explicit
reconstruction, choose square roots
,
, and
with
. The roots are then
|
(50)
| |||
|
(51)
| |||
|
(52)
| |||
|
(53)
|
For ,
either sign may be chosen for each of
and
, after which set
. The identity
ensures that this choice satisfies
. For
, at least one of the square roots
is zero, so their product is already zero and no division is needed. Finally, the
roots of the original quartic are
(NIST DLMF, §1.11(iii)).