In algebra, a quartic function is a function of the form
f(x)=ax4+bx3+cx2+dx+e,
A quartic equation, or equation of the fourth degree, is an equation that equates a quartic polynomial to zero, of the form
ax4+bx3+cx2+dx+e=0,
Sometimes the term biquadratic is used instead of quartic, but, usually, biquadratic function refers to a quadratic function of a square (or, equivalently, to the function defined by a quartic polynomial without terms of odd degree), having the form
f(x)=ax4+cx2+e.
Since a quartic function is defined by a polynomial of even degree, it has the same infinite limit when the argument goes to positive or negative infinity. If a is positive, then the function increases to positive infinity at both ends; and thus the function has a global minimum. Likewise, if a is negative, it decreases to negative infinity and has a global maximum. In both cases it may or may not have another local maximum and another local minimum.
The degree four (quartic case) is the highest degree such that every polynomial equation can be solved by radicals, according to the Abel–Ruffini theorem.
Lodovico Ferrari is credited with the discovery of the solution to the quartic in 1540, but since this solution, like all algebraic solutions of the quartic, requires the solution of a cubic to be found, it could not be published immediately. The solution of the quartic was published together with that of the cubic by Ferrari's mentor Gerolamo Cardano in the book Ars Magna.
The proof that four is the highest degree of a general polynomial for which such solutions can be found was first given in the Abel–Ruffini theorem in 1824, proving that all attempts at solving the higher order polynomials would be futile. The notes left by Évariste Galois prior to dying in a duel in 1832 later led to an elegant complete theory of the roots of polynomials, of which this theorem was one result.[2]
Each coordinate of the intersection points of two conic sections is a solution of a quartic equation. The same is true for the intersection of a line and a torus. It follows that quartic equations often arise in computational geometry and all related fields such as computer graphics, computer-aided design, computer-aided manufacturing and optics. Here are examples of other geometric problems whose solution involves solving a quartic equation.
In computer-aided manufacturing, the torus is a shape that is commonly associated with the endmill cutter. To calculate its location relative to a triangulated surface, the position of a horizontal torus on the -axis must be found where it is tangent to a fixed line, and this requires the solution of a general quartic equation to be calculated.[3]
A quartic equation arises also in the process of solving the crossed ladders problem, in which the lengths of two crossed ladders, each based against one wall and leaning against another, are given along with the height at which they cross, and the distance between the walls is to be found.[4]
In optics, Alhazen's problem is "Given a light source and a spherical mirror, find the point on the mirror where the light will be reflected to the eye of an observer." This leads to a quartic equation.
Finding the distance of closest approach of two ellipses involves solving a quartic equation.
The eigenvalues of a 4×4 matrix are the roots of a quartic polynomial which is the characteristic polynomial of the matrix.
The characteristic equation of a fourth-order linear difference equation or differential equation is a quartic equation. An example arises in the Timoshenko-Rayleigh theory of beam bending.[5]
Intersections between spheres, cylinders, or other quadrics can be found using quartic equations.
Letting and be the distinct inflection points of the graph of a quartic function, and letting be the intersection of the inflection secant line and the quartic, nearer to than to, then divides into the golden section:
FG | = | |
GH |
1+\sqrt{5 | |
Moreover, the area of the region between the secant line and the quartic below the secant line equals the area of the region between the secant line and the quartic above the secant line. One of those regions is disjointed into sub-regions of equal area.
Given the general quartic equation
\begin{align}\Delta={}&256a3e3-192a2bde2-128a2c2e2+144a2cd2e-27a2d4\ &+144ab2ce2-6ab2d2e-80abc2de+18abcd3+16ac4e\\ &-4ac3d2-27b4e2+18b3cde-4b3d3-4b2c3e+b2c2d2 \end{align}
P=8ac-3b2
R=b3+8da2-4abc,
\Delta0=c2-3bd+12ae,
D=64a3e-16a2c2+16ab2c-16a2bd-3b4
The possible cases for the nature of the roots are as follows:[6]
There are some cases that do not seem to be covered, but in fact they cannot occur. For example,, = 0 and ≤ 0 is not one of the cases. In fact, if and = 0 then > 0, since
16
2\Delta | |
a | |
0 |
=3D+P2;
The four roots,,, and for the general quartic equation
ax4+bx3+cx2+dx+e=0
\begin{align} x1,2 &=-
b | |
4a |
-S\pm
12\sqrt{-4S | |
2 |
-2p+
q | |
S |
where and are the coefficients of the second and of the first degree respectively in the associated depressed quartic
\begin{align} p&=
8ac-3b2 | |
8a2 |
\\ q&=
b3-4abc+8a2d | |
8a3 |
\end{align}
and where
\begin{align} S&=
1 | \sqrt{- | |
2 |
| ||||
\left(Q |
+
\Delta0 | |
Q |
\right)}\\ Q&=\sqrt[3]{
| |||||||||||||||||||
with
\begin{align} \Delta0&=c2-3bd+12ae\\ \Delta1&=2c3-9bcd+27b2e+27ad2-72ace \end{align}
3 | |
\Delta | |
0 |
=-27\Delta ,
\Delta
\Delta>0,
Q
S
Q;
S=
1 | \sqrt{- | |
2 |
| ||||
\sqrt{\Delta |
|
where
\varphi=\arccos\left(
\Delta1 | ||||||
|
\Delta ≠ 0
\Delta0=0,
2 | |
\sqrt{\Delta | |
1 |
-4
2} | |
\Delta | |
1 |
Q ≠ 0,
2} | |
\sqrt{\Delta | |
1 |
\Delta1,
\Delta1.
S=0,
Q
S ≠ 0.
\left(x+\tfrac{b}{4a}\right)4.
q
\Delta=0
\Delta0=0,
\Delta1=0,
x0
2(6ax2+3bx+c);
x1
x1+3x0=-b/a.
\Delta=0
\Delta0 ≠ 0,
Consider the general quartic
Q(x)=
2+a | |
a | |
1x+a |
0.
Q(x)=(x-x1)(b
2+b | |
1x+b |
0)
Q(x)=
2+c | |
(c | |
1x+c |
0)(d
2+d | |
1x+d |
0).
Detecting the existence of such factorizations can be done using the resolvent cubic of . It turns out that:
In fact, several methods of solving quartic equations (Ferrari's method, Descartes' method, and, to a lesser extent, Euler's method) are based upon finding such factorizations.
If then the function
Q(x)=
2+a | |
a | |
0 |
Let the auxiliary variable .Then becomes a quadratic in : . Let and be the roots of . Then the roots of the quartic are
\begin{align} x1&=+\sqrt{z+}, \\ x2&=-\sqrt{z+}, \\ x3&=+\sqrt{z-}, \\ x4&=-\sqrt{z-}. \end{align}
The polynomial
2+a | |
P(x)=a | |
1 |
mx+a0m2
For solving purposes, it is generally better to convert the quartic into a depressed quartic by the following simple change of variable. All formulas are simpler and some methods work only in this case. The roots of the original quartic are easily recovered from that of the depressed quartic by the reverse change of variable.
Let
a4x4+a3x3+a2x2+a1x+a0=0
Dividing by, provides the equivalent equation, with,,, and .Substituting for gives, after regrouping the terms, the equation,where
\begin{align} p&= | 8c-3b2 | = |
8 |
8a2a4-3{a3 | |
2}{8{a |
| |||||
= | |||||
4} |
{a3 | |
3-4a |
2a3a4+8a1{a
| |||||
= | |||||
4} |
-3{a3 | |
4+256a |
0{a
3-64a | |
1a |
3{a
2+16a | |
2{a |
2a | |
4}{256{a |
4}. \end{align} | |
4} |
If is a root of this depressed quartic, then (that is is a root of the original quartic and every root of the original quartic can be obtained by this process.
As explained in the preceding section, we may start with the depressed quartic equation
y4+py2+qy+r=0.
\left(y2+
p2\right) | |
2 |
=-qy-r+
p2 | |
4. |
As the value of may be arbitrarily chosen, we will choose it in order to complete the square on the right-hand side. This implies that the discriminant in of this quadratic equation is zero, that is is a root of the equation
(-q)2-4(2m)\left(m2+pm+
p2 | |
4 |
-r\right)=0,
This is the resolvent cubic of the quartic equation. The value of may thus be obtained from Cardano's formula. When is a root of this equation, the right-hand side of equation () is the square
\left(\sqrt{2m}y- | q{2\sqrt{2m}}\right) |
2. |
Now, if is a root of the cubic equation such that, equation () becomes
\left(y2+
p2 | |
+ |
m\right)2=\left(y\sqrt{2m}-
q | |
2\sqrt{2m |
This equation is of the form, which can be rearranged as or . Therefore, equation () may be rewritten as
\left(y2+
p2 | |
+ |
m+\sqrt{2m}y-
q{2\sqrt{2 | |
m}}\right) |
\left(y2+
p2 | |
+ |
m-\sqrt{2m}y+
q{2\sqrt{2 | |
m}}\right)=0. |
This equation is easily solved by applying to each factor the quadratic formula. Solving them we may write the four roots as
y={\pm1\sqrt{2m}\pm2\sqrt{-\left(2p+2m\pm1{\sqrt2q\over\sqrt{m}}\right)}\over2},
Therefore, the solutions of the original quartic equation are
x=-{a3\over4a4}+{\pm1\sqrt{2m}\pm2\sqrt{-\left(2p+2m\pm1{\sqrt2q\over\sqrt{m}}\right)}\over2}.
Descartes introduced in 1637 the method of finding the roots of a quartic polynomial by factoring it into two quadratic ones. Let
\begin{align} x4+bx3+cx2+dx+e&=(x2+sx+t)(x2+ux+v)\\ &=x4+(s+u)x3+(t+v+su)x2+(sv+tu)x+tv \end{align}
By equating coefficients, this results in the following system of equations:
\left\{\begin{array}{l} b=s+u\\ c=t+v+su\\ d=sv+tu\\ e=tv \end{array}\right.
This can be simplified by starting again with the depressed quartic, which can be obtained by substituting for . Since the coefficient of is , we get, and:
\left\{\begin{array}{l} p+u2=t+v\\ q=u(t-v)\\ r=tv \end{array}\right.
One can now eliminate both and by doing the following:
\begin{align} u2(p+u2)2-q2&=u2(t+v)2-u2(t-v)2\\ &=u2[(t+v+(t-v))(t+v-(t-v))]\\ &=u2(2t)(2v)\\ &=4u2tv\\ &=4u2r \end{align}
If we set, then solving this equation becomes finding the roots of the resolvent cubic
which is done elsewhere. This resolvent cubic is equivalent to the resolvent cubic given above (equation (1a)), as can be seen by substituting U = 2m.
If is a square root of a non-zero root of this resolvent (such a non-zero root exists except for the quartic, which is trivially factored),
\left\{\begin{array}{l} s=-u\\ 2t=p+u2+q/u\\ 2v=p+u2-q/u \end{array}\right.
The symmetries in this solution are as follows. There are three roots of the cubic, corresponding to the three ways that a quartic can be factored into two quadratics, and choosing positive or negative values of for the square root of merely exchanges the two quadratics with one another.
The above solution shows that a quartic polynomial with rational coefficients and a zero coefficient on the cubic term is factorable into quadratics with rational coefficients if and only if either the resolvent cubic () has a non-zero root which is the square of a rational, or is the square of rational and ; this can readily be checked using the rational root test.[8]
A variant of the previous method is due to Euler. Unlike the previous methods, both of which use some root of the resolvent cubic, Euler's method uses all of them. Consider a depressed quartic . Observe that, if
then
Therefore, . In other words, is one of the roots of the resolvent cubic () and this suggests that the roots of that cubic are equal to,, and . This is indeed true and it follows from Vieta's formulas. It also follows from Vieta's formulas, together with the fact that we are working with a depressed quartic, that . (Of course, this also follows from the fact that .) Therefore, if,, and are the roots of the resolvent cubic, then the numbers,,, and are such that
\left\{\begin{array}{l}r1+r2+r3+r4=0\\(r1+r2)(r3+r4)=-\alpha\\(r1+r3)(r2+r4)=-\beta\\(r1+r4)(r2+r3)=-\gamma.\end{array}\right.
Therefore, the numbers,,, and are such that
\left\{\begin{array}{l}r1+r2+r3+r4=0\\r1+r2=\sqrt{\alpha}\\r1+r3=\sqrt{\beta}\\r1+r4=\sqrt{\gamma};\end{array}\right.
\left\{\begin{array}{l}r | ||||
|
|
|
|
In order to determine the right sign of the square roots, one simply chooses some square root for each of the numbers,, and and uses them to compute the numbers,,, and from the previous equalities. Then, one computes the number . Since,, and are the roots of (), it is a consequence of Vieta's formulas that their product is equal to and therefore that . But a straightforward computation shows that
If this number is, then the choice of the square roots was a good one (again, by Vieta's formulas); otherwise, the roots of the polynomial will be,,, and, which are the numbers obtained if one of the square roots is replaced by the symmetric one (or, what amounts to the same thing, if each of the three square roots is replaced by the symmetric one).
This argument suggests another way of choosing the square roots:
- | q{\sqrt{\alpha}\sqrt{\beta}} |
The symmetric group on four elements has the Klein four-group as a normal subgroup. This suggests using a whose roots may be variously described as a discrete Fourier transform or a Hadamard matrix transform of the roots; see Lagrange resolvents for the general method. Denote by, for from to , the four roots of . If we set
\begin{align} s0&=\tfrac12(x0+x1+x2+x3),\\[4pt] s1&=\tfrac12(x0-x1+x2-x3),\\[4pt] s2&=\tfrac12(x0+x1-x2-x3),\\[4pt] s3&=\tfrac12(x0-x1-x2+x3), \end{align}
then since the transformation is an involution we may express the roots in terms of the four in exactly the same way. Since we know the value, we only need the values for, and . These are the roots of the polynomial
(s2-
2)(s | |
{s | |
1} |
2)(s | |
2} |
2). | |
3} |
Substituting the by their values in term of the, this polynomial may be expanded in a polynomial in whose coefficients are symmetric polynomials in the . By the fundamental theorem of symmetric polynomials, these coefficients may be expressed as polynomials in the coefficients of the monic quartic. If, for simplification, we suppose that the quartic is depressed, that is, this results in the polynomialThis polynomial is of degree six, but only of degree three in, and so the corresponding equation is solvable by the method described in the article about cubic function. By substituting the roots in the expression of the in terms of the, we obtain expression for the roots. In fact we obtain, apparently, several expressions, depending on the numbering of the roots of the cubic polynomial and of the signs given to their square roots. All these different expressions may be deduced from one of them by simply changing the numbering of the .
These expressions are unnecessarily complicated, involving the cubic roots of unity, which can be avoided as follows. If is any non-zero root of (), and if we set
\begin{align} F1(x)&=x2+sx+
c | |
2 |
+
s2 | |
2 |
-
d | |
2s |
\\ F2(x)&=x2-sx+
c | |
2 |
+
s2 | |
2 |
+
d | |
2s |
\end{align}
then
F1(x) x F2(x)=x4+cx2+dx+e.
We therefore can solve the quartic by solving for and then solving for the roots of the two factors using the quadratic formula.
This gives exactly the same formula for the roots as the one provided by Descartes' method.
There is an alternative solution using algebraic geometry In brief, one interprets the roots as the intersection of two quadratic curves, then finds the three reducible quadratic curves (pairs of lines) that pass through these points (this corresponds to the resolvent cubic, the pairs of lines being the Lagrange resolvents), and then use these linear equations to solve the quadratic.
The four roots of the depressed quartic may also be expressed as the coordinates of the intersections of the two quadratic equations and i.e., using the substitution that two quadratics intersect in four points is an instance of Bézout's theorem. Explicitly, the four points are for the four roots of the quartic.
These four points are not collinear because they lie on the irreducible quadratic and thus there is a 1-parameter family of quadratics (a pencil of curves) passing through these points. Writing the projectivization of the two quadratics as quadratic forms in three variables:
\begin{align} F1(X,Y,Z)&:=Y2+pYZ+qXZ+
2,\\ F | |
rZ | |
2(X,Y,Z) |
&:=YZ-X2 \end{align}
This pencil contains three reducible quadratics, each corresponding to a pair of lines, each passing through two of the four points, which can be done
style{\binom{4}{2}}
The reducible quadratics, in turn, may be determined by expressing the quadratic form as a matrix: reducible quadratics correspond to this matrix being singular, which is equivalent to its determinant being zero, and the determinant is a homogeneous degree three polynomial in and and corresponds to the resolvent cubic.
For the purposes of this article, e is used as a variable as opposed to its conventional use as Euler's number(except when otherwise specified).