Quartic equation should not be confused with Quadratic equation.
In mathematics, a quartic equation is one which can be expressed as a quartic function equaling zero. The general form of a quartic equation is
ax4+bx3+cx2+dx+e=0
The quartic is the highest order polynomial equation that can be solved by radicals in the general case (i.e., one in which the coefficients can take any value).
Lodovico Ferrari is attributed 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.[1] The solution of the quartic was published together with that of the cubic by Ferrari's mentor Gerolamo Cardano in the book Ars Magna (1545).
The proof that this was the highest order general polynomial for which such solutions could 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 before his death 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]
Consider a quartic equation expressed in the form
2+a | |
a | |
3x+a |
4=0
There exists a general formula for finding the roots to quartic equations, provided the coefficient of the leading term is non-zero. However, since the general method is quite complex and susceptible to errors in execution, it is better to apply one of the special cases listed below if possible.
If the constant term a4 = 0, then one of the roots is x = 0, and the other roots can be found by dividing by x, and solving the resulting cubic equation,
2+a | |
a | |
2x+a |
3=0.
Call our quartic polynomial . Since 1 raised to any power is 1,
Q(1)=a0+a1+a2+a3+a4 .
a0+a1+a2+a3+a4=0 ,
a0+a2+a4=a1+a3 ,
In either case the full quartic can then be divided by the factor or respectively yielding a new cubic polynomial, which can be solved to find the quartic's other roots.
If
a1=a0k ,
a2=0
a4=a3k ,
x=-k
a0x4+a0kx3+a3x+a3k=a0x3(x+k)+a3(x+k)=(a0x3+a3)(x+k) .
Alternatively, if
a1=a0k ,
a3=a2k ,
a4=0 ,
A quartic equation where a3 and a1 are equal to 0 takes the form
2+a | |
a | |
4=0 |
and thus is a biquadratic equation, which is easy to solve: let
z=x2
2+a | |
a | |
2z+a |
4=0
which is a simple quadratic equation, whose solutions are easily found using the quadratic formula:
z= |
| ||||||||||||
When we've solved it (i.e. found these two z values), we can extract x from them
x1=+\sqrt{z+}
x2=-\sqrt{z+}
x3=+\sqrt{z-}
x4=-\sqrt{z-}
If either of the z solutions were negative or complex numbers, then some of the x solutions are complex numbers.
2+a | |
a | |
1 |
mx+a0m2=0
Steps:
This leads to:
2+m | |
a | |
0(x |
2/x2)+a1(x+m/x)+a2=0
2-2m) | |
a | |
0(z |
+a1(z)+a2=0
z2+(a1/a0)z+(a2/a0-2m)=0
If the quartic has a double root, it can be found by taking the polynomial greatest common divisor with its derivative. Then they can be divided out and the resulting quadratic equation solved.
In general, there exist only four possible cases of quartic equations with multiple roots, which are listed below:[3]
a(x-l)4=0
l
a(x-l)3(x-m)=0
l
m
a(x-l)2(x-m)2=0
l
m
a(x-l)2(x-m)(x-n)=0
l
m
n
l
m
n
So, if the three non-monic coefficients of the depressed quartic equation,
x4+px2+qx+r=0
p= | 8ac-3b2 |
8a2 |
q= | b3-4abc+8a2d |
8a3 |
r= | 16ab2c-64a2bd-3b4+256a3e |
256a4 |
p=q=r=0
x1=x2=x3=x
|
p2=-12r>0
27q2=-8p3>0
x1=x2=x
|
x | ||||
|
q>0
x1=x2=x
|
x | ||||
|
p2=4r>0=q
x1=x
|
x2=x
|
p ≠ q=r=0
x1=x
|
x | ||||
|
x | ||||
|
(p2+12r)3=[p(p
| ||||
q2]2>0 ≠ {q}
x= | 1 |
2 |
\left[\xi\sqrt{s1}\pm\sqrt{2l(s
|
s | ||||
|
>0
s | ||||
|
≠ 0
\xi=\pm1
To begin, the quartic must first be converted to a depressed quartic.
Letbe the general quartic equation which it is desired to solve. Divide both sides by,
x4+{B\overA}x3+{C\overA}x2+{D\overA}x+{E\overA}=0 .
The first step, if is not already zero, should be to eliminate the 3 term. To do this, change variables from to, such that
x=u-{B\over4A} .
\left(u-{B\over4A}\right)4+{B\overA}\left(u-{B\over4A}\right)3+{C\overA}\left(u-{B\over4A}\right)2+{D\overA}\left(u-{B\over4A}\right)+{E\overA}=0 .
\left(u4-{B\overA}u3+{6u2B2\over16A2}-{4uB3\over64A3}+{B4\over256A4}\right)+{B\overA}\left(u3-{3u2B\over4A}+{3uB2\over16A2}-{B3\over64A3}\right)+{C\overA}\left(u2-{uB\over2A}+{B2\over16A2}\right)+{D\overA}\left(u-{B\over4A}\right)+{E\overA}=0 .
u4+\left({-3B2\over8A2}+{C\overA}\right)u2+\left({B3\over8A3}-{BC\over2A2}+{D\overA}\right)u+\left({-3B4\over256A4}+{CB2\over16A3}-{BD\over4A2}+{E\overA}\right)=0 .
Now rename the coefficients of . Let
\begin{align} a&={-3B2\over8A2}+{C\overA} ,\\ b&={B3\over8A3}-{BC\over2A2}+{D\overA} ,\\ c&={-3B4\over256A4}+{CB2\over16A3}-{BD\over4A2}+{E\overA} . \end{align}
If
b=0
b=0 .
In either case, once the depressed quartic is solved for, substituting those values into
x=u-{B\over4A}
After converting to a depressed quartic equation
u4+au2+bu+c=0
We will separate the terms left and right as
u4=-au2-bu-c
Let be any solution of this cubic equation:
2y3-ay2-2cy+(ac-\tfrac14b2)=(2y-a)(y2-c)-\tfrac14b2=0 .
2y-a ≠ 0
y2-c=
b2 | |
4(2y-a) |
.
Then
(u2+y)2=u4+2yu2+y2=(2y-a)u2-bu+(y2-c)=(2y-a)u2-bu+
b2 | |
4(2y-a) |
=\left(\sqrt{2y-a }u-
b | |
2\sqrt{2y-a |
}\right)2 .
Subtracting, we get the difference of two squares which is the product of the sum and difference of their roots
(u2+y)2-\left(\sqrt{2y-a }u-
b | |
2\sqrt{2y-a |
}\right)2=\left(u2+y+\sqrt{2y-a }u-
b | |
2\sqrt{2y-a |
}\right)\left(u2+y-\sqrt{2y-a }u+
b | |
2\sqrt{2y-a |
}\right)=0
u=\tfrac12\left(-\sqrt{2y-a }+\sqrt{-2y-a+
2b | |
\sqrt{2y-a |
} }\right) ,
u=\tfrac12\left(-\sqrt{2y-a }-\sqrt{-2y-a+
2b | |
\sqrt{2y-a |
} }\right) ,
u=\tfrac12\left(\sqrt{2y-a }+\sqrt{-2y-a-
2b | |
\sqrt{2y-a |
} }\right) ,
u=\tfrac12\left(\sqrt{2y-a }-\sqrt{-2y-a-
2b | |
\sqrt{2y-a |
} }\right) .
Using another from among the three roots of the cubic simply causes these same four values of to appear in a different order. The solutions of the cubic are:
y=
a | |
6 |
+w-
p | |
3w |
w=\sqrt[3]{-
q | |
2 |
+\sqrt{
q2 | |
4 |
+
p3 | |
27 |
} }
p=-
a2 | |
12 |
-c ,
q=-
a3 | |
108 |
+
ac | |
3 |
-
b2 | |
8 |
.
Otherwise, the depressed quartic can be solved by means of a method discovered by Lodovico Ferrari. Once the depressed quartic has been obtained, the next step is to add the valid identity
\left(u2+a\right)2-u4-2au2=a2
The next step is to insert a variable y into the perfect square on the left side of equation, and a corresponding 2y into the coefficient of u2 in the right side. To accomplish these insertions, the following valid formulas will be added to equation,
\begin{align} (u2+a+y)2-(u2+a)2&=2y(u2+a)+y2 \\ &=2yu2+2ya+y2, \end{align}
0=(a+2y)u2-2yu2-au2
\left(u2+a+y\right)2-\left(u2+a\right)2=\left(a+2y\right)u2-au2+2ya+y2 (y\hbox{-insertion})
\left(u2+a+y\right)2+bu+c=\left(a+2y\right)u2+\left(2ya+y2+a2\right).
The objective now is to choose a value for y such that the right side of equation becomes a perfect square. This can be done by letting the discriminant of the quadratic function become zero. To explain this, first expand a perfect square so that it equals a quadratic function:
\left(su+t\right)2=\left(s2\right)u2+\left(2st\right)u+\left(t2\right).
\left(2st\right)2-4\left(s2\right)\left(t2\right)=0.
Therefore to make the right side of equation into a perfect square, the following equation must be solved:
(-b)2-4\left(2y+a\right)\left(y2+2ya+a2-c\right)=0.
b2-4\left(2y3+5ay2+\left(4a2-2c\right)y+\left(a3-ac\right)\right)=0
2y3+5ay2+\left(4a2-2c\right)y+\left(a3-ac-
b2 | |
4 |
\right)=0
This is a cubic equation in y. Solve for y using any method for solving such equations (e.g. conversion to a reduced cubic and application of Cardano's formula). Any of the three possible roots will do.
With the value for y so selected, it is now known that the right side of equation is a perfect square of the form
\left(s2\right)u2+(2st)u+\left(t2\right)=\left(\left(\sqrt{s2}\right)u+{(2st)\over2\sqrt{s2}}\right)2
(This is correct for both signs of square root, as long as the same sign is taken for both square roots. A ± is redundant, as it would be absorbed by another ± a few equations further down this page.)so that it can be folded:
(a+2y)u2+(-b)u+\left(y2+2ya+a2-c\right)=\left(\left(\sqrt{a+2y}\right)u+{(-b)\over2\sqrt{a+2y}}\right)2.
Note: If b ≠ 0 then a + 2y ≠ 0. If b = 0 then this would be a biquadratic equation, which we solved earlier.Therefore equation becomesEquation has a pair of folded perfect squares, one on each side of the equation. The two perfect squares balance each other.
If two squares are equal, then the sides of the two squares are also equal, as shown by:Collecting like powers of u produces
Note: The subscript s of
\pms
\mps
u= | \pms\sqrt{a+2y |
\pm |
t\sqrt{(a+2y)-4\left(a+y\pms{b\over2\sqrt{a+2y}}\right)}}{2}.
u={\pms\sqrt{a+2y}\pmt\sqrt{-\left(3a+2y\pms{2b\over\sqrt{a+2y}}\right)}\over2}.
Remember: The two
\pms
\pmt
Given the quartic equation
Ax4+Bx3+Cx2+Dx+E=0,
its solution can be found by means of the following calculations:
a=-{3B2\over8A2}+{C\overA},
b={B3\over8A3}-{BC\over2A2}+{D\overA},
c=-{3B4\over256A4}+{CB2\over16A3}-{BD\over4A2}+{E\overA}.
If
b=0,
x=-{B\over4A}\pms\sqrt{-a\pm
2-4c}\over | |
t\sqrt{a |
2} (forb=0only).
Otherwise, continue with
P=-{a2\over12}-c,
Q=-{a3\over108}+{ac\over3}-{b2\over8},
R=-{Q\over2}\pm\sqrt{{Q2\over4}+{P3\over27}},
(either sign of the square root will do)
U=\sqrt[3]{R},
(there are 3 complex roots, any one of them will do)
y=-{5\over6}a+\begin{cases}U=0&\to-\sqrt[3]{Q}\\U\ne0,&\toU-{P\over3U},\end{cases}
W=\sqrt{a+2y}
x=-{B\over4A}+{\pmsW\pmt\sqrt{-\left(3a+2y\pms{2b\overW}\right)}\over2}.
The two ±s must have the same sign, the ±t is independent. To get all roots, compute x for ±s,±t = +,+ and for +,−; and for −,+ and for −,−. This formula handles repeated roots without problem.
Ferrari was the first to discover one of these labyrinthine solutions. The equation which he solved was
x4+6x2-60x+36=0
which was already in depressed form. It has a pair of solutions which can be found with the set of formulas shown above.
If the coefficients of the quartic equation are real then the nested depressed cubic equation also has real coefficients, thus it has at least one real root.
Furthermore the cubic function
C(v)=v3+Pv+Q,
C\left({a\over3}\right)={-b2\over8}<0
\limv\toC(v)=infty,
This means that has a real root greater than
a\over3
-a\over2
Using this root the term
\sqrt{a+2y}
It could happen that one only obtained one solution through the formulae above, because not all four sign patterns are tried for four solutions, and the solution obtained is complex. It may also be the case that one is only looking for a real solution. Let x1 denote the complex solution. If all the original coefficients A, B, C, D and E are real—which should be the case when one desires only real solutions – then there is another complex solution x2 which is the complex conjugate of x1. If the other two roots are denoted as x3 and x4 then the quartic equation can be expressed as
(x-x1)(x-x2)(x-x3)(x-x4)=0,
x2=
\star | |
x | |
1 |
\begin{align} (x-x1)(x-x
2-(x | |
1+x |
\star)x+x | |
1x |
\star | |
1 |
\\
2-2\operatorname{Re}(x | |
&=x | |
1)x+[\operatorname{Re}(x |
2. | |
1)] |
\end{align}
Let
a=-2\operatorname{Re}(x1),
b=\left[\operatorname{Re}(x1)\right]2+\left[\operatorname{Im}(x1)\right]2
a+w={B\overA},
b+wa+v={C\overA},
wb+va={D\overA},
vb={E\overA}.
w={B\overA}-a={B\overA}+2\operatorname{Re}(x1),
v={E\overAb}=
E | |
A\left(\left[\operatorname{Re |
(x1)\right]2+\left[\operatorname{Im}(x1)\right]2\right)}.
x3={-w+\sqrt{w2-4v}\over2},
x4={-w-\sqrt{w2-4v}\over2}.
Most textbook solutions of the quartic equation require a substitution that is hard to memorize. Here is an approach that makes it easy to understand. The job is done if we can factor the quartic equation into a product of two quadratics. Let
\begin{align} 0&=x4+bx3+cx2+dx+e\\ &=\left(x2+px+q\right)\left(x2+rx+s\right)\\ &=x4+(p+r)x3+(q+s+pr)x2+(ps+qr)x+qs \end{align}
By equating coefficients, this results in the following set of simultaneous equations:
\begin{align} b&=p+r\\ c&=q+s+pr\\ d&=ps+qr\\ e&=qs \end{align}
This is harder to solve than it looks, but if we start again with a depressed quartic where
b=0
(x-b/4)
x
r=-p
\begin{align} c+p2&=s+q\\ d/p&=s-q\\ e&=sq \end{align}
It's now easy to eliminate both
s
q
\begin{align} \left(c+p2\right)2-(d/p)2&=(s+q)2-(s-q)2\\ &=4sq\\ &=4e \end{align}
If we set
P=p2
P3+2cP2+\left(c2-4e\right)P-d2=0
p
\begin{align} r&=-p\\ 2s&=c+p2+d/p\\ 2q&=c+p2-d/p \end{align}
The symmetries in this solution are easy to see. 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
p
P
The symmetric group S4 on four elements has the Klein four-group as a normal subgroup. This suggests using a resolvent whose roots may be variously described as a discrete Fourier transform or a Hadamard matrix transform of the roots.Suppose ri for i from 0 to 3 are roots of
x4+bx3+cx2+dx+e=0 (1)
\begin{align}s0&=\tfrac12(r0+r1+r2+r3),\\ s1&=\tfrac12(r0-r1+r2-r3),\\ s2&=\tfrac12(r0+r1-r2-r3),\\ s3&=\tfrac12(r0-r1-r2+r3), \end{align}
\left(z2-
2\right)\left(z | |
s | |
1 |
2\right)\left(z | |
2 |
2\right) | |
3 |
(2)
z6+2cz4+\left(c2-4e\right)z2-d2 (3)
We can remove any requirement for trial by using a root of the same resolvent polynomial for factoring; if w is any root of (3), and if
F1=
| ||||
x |
| ||||
w |
c-
1 | |
2 ⋅ |
c2w | - | |
d |
1 | ⋅ | |
2 |
w5 | |
d |
-
cw3 | |
d |
+2
ew | |
d |
F2=x2-wx+
1 | |
2 |
w2+
1 | |
2 |
c+
1 | |
2 ⋅ |
w5 | |
d |
+
cw3 | |
d |
-2
ew | |
d |
+
1 | |
2 ⋅ |
c2w | |
d |
then
F1F2=x4+cx2+dx+e (4)
We therefore can solve the quartic by solving for w and then solving for the roots of the two factors using the quadratic formula.
The methods described above are, in principle, exact root-finding methods. It is also possible to use successive approximation methods which iteratively converge towards the roots, such as the Durand–Kerner method. Iterative methods are the only ones available for quintic and higher-order equations, beyond trivial or special cases.