Template:Short description Template:Distinguish 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

File:Polynomialdeg4.png
Graph of a polynomial function of degree 4, with its 4 roots and 3 critical points.
<math>ax^4+bx^3+cx^2+dx+e=0 \,</math>

where a ≠ 0.

The quartic is the highest order polynomial equation that can be solved by radicals in the general case.

HistoryEdit

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.<ref>{{#invoke:citation/CS1|citation |CitationClass=web }}</ref> 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.<ref>Stewart, Ian, Galois Theory, Third Edition (Chapman & Hall/CRC Mathematics, 2004)</ref>

Special case solutionsEdit

Consider a quartic equation expressed in the form <math>a_0x^4+a_1x^3+a_2x^2+a_3x+a_4=0 </math>:

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.

Degenerate caseEdit

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,

<math>a_0x^3+a_1x^2+a_2x+a_3=0. \,</math>

Evident roots: 1 and −1 and −Template:MvarEdit

Call our quartic polynomial Template:Math. Since 1 raised to any power is 1,

<math> Q(1) = a_0 + a_1 + a_2 + a_3 + a_4 \ .</math>

Thus if <math>\ a_0 + a_1 + a_2 + a_3 + a_4 = 0\ ,</math> Template:Nobr and so Template:Mvar = 1 is a root of Template:Math. It can similarly be shown that if <math>\ a_0 + a_2 + a_4 = a_1 + a_3 \ ,</math> Template:Mvar = −1 is a root.

In either case the full quartic can then be divided by the factor Template:Nobr or Template:Nobr respectively yielding a new cubic polynomial, which can be solved to find the quartic's other roots.

If <math>\ a_1 = a_0 k\ ,</math> <math>\ a_2 = 0\ </math> and <math>\ a_4= a_3 k\ ,</math> then <math>\ x = -k\ </math> is a root of the equation. The full quartic can then be factorized this way:

<math>\ a_0 x^4 + a_0 k x^3 + a_3 x + a_3 k = a_0 x^3 (x + k) + a_3 (x + k) = (a_0 x^3 + a_3) (x + k) \ .</math>

Alternatively, if <math>\ a_1 = a_0 k\ ,</math> <math>\ a_3 = a_2 k\ ,</math> and <math>\ a_4 = 0\ ,</math> then Template:Math and Template:Math become two known roots. Template:Math divided by Template:Nobr is a quadratic polynomial.

Biquadratic equationsEdit

A quartic equation where a3 and a1 are equal to 0 takes the form

<math>a_0x^4+a_2x^2+a_4=0\,\!</math>

and thus is a biquadratic equation, which is easy to solve: let <math>z=x^2</math>, so our equation becomes

<math>a_0z^2+a_2z+a_4=0\,\!</math>

which is a simple quadratic equation, whose solutions are easily found using the quadratic formula:

<math>z=\frac{-a_2\pm\sqrt{a_2^2-4a_0a_4}}{2a_0} \,\!</math>

When we've solved it (i.e. found these two z values), we can extract x from them

<math>x_1=+\sqrt{z_+}\,\!</math>
<math>x_2=-\sqrt{z_+}\,\!</math>
<math>x_3=+\sqrt{z_-}\,\!</math>
<math>x_4=-\sqrt{z_-}\,\!</math>

If either of the z solutions were negative or complex numbers, then some of the x solutions are complex numbers.

Quasi-symmetric equationsEdit

<math>a_0x^4+a_1x^3+a_2x^2+a_1 m x+a_0 m^2=0 \,</math>

Steps:

  1. Divide by x 2.
  2. Use variable change z = x + m/x.
  3. So, z 2 = x 2 + (m/x) 2 + 2m.

This leads to:

<math>a_0(x^2+m^2/x^2) + a_1(x+m/x) + a_2=0</math>,
<math>a_0(z^2-2m) + a_1(z) + a_2=0</math>,
<math>z^2 + (a_1/a_0)z + (a_2/a_0-2m)=0</math> (a quadratic in z = x + m/x)

Multiple rootsEdit

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:<ref>Template:Cite journal</ref>

  1. Multiplicity-4 (M4): when the general quartic equation can be expressed as <math>a(x-l)^4=0</math>, for some real number <math>l</math>. This case can always be reduced to a biquadratic equation.
  2. Multiplicity-3 (M3): when the general quartic equation can be expressed as <math>a(x-l)^3 (x-m)=0</math>, where <math>l</math> and <math>m</math> are two different real numbers. This is the only case that can never be reduced to a biquadratic equation.
  3. Double Multiplicity-2 (DM2): when the general quartic equation can be expressed as <math>a(x-l)^2 (x-m)^2=0</math>, where <math>l</math> and <math>m</math> are two different real numbers or a pair of non-real complex conjugate numbers. This case can also always be reduced to a biquadratic equation.
  4. Single Multiplicity-2 (SM2): when the general quartic equation can be expressed as <math>a(x-l)^2 (x-m)(x-n)=0</math>, where <math>l</math>, <math>m</math>, and <math>n</math> are three different real numbers or <math>l</math> is a real number and <math>m</math> and <math>n</math> are a pair of non-real complex conjugate numbers. This case is divided into two subcases, those that can be reduced to a biquadratic equation and those that can't.

Consider the case in which the three non-monic coefficients of the depressed quartic equation, <math>x^4 + p x^2 + q x + r = 0</math>, can be expressed in terms of the five coefficients of the general quartic equation as follows:

<math>p=\frac{8ac-3b^2}{8a^2}</math>
<math>q=\frac{b^3-4abc+8a^2 d}{8a^3}</math>
<math>r=\frac{16ab^2 c-64a^2 bd-3b^4+256a^3 e}{256a^4}</math>,

Then, the criteria to identify a priori each case of quartic equations with multiple roots and their respective solutions are shown below.

  • M4. The general quartic equation corresponds to this case whenever <math>p=q=r=0</math>, so the four roots of this equation are given as follows:
<math>x_1=x_2=x_3=x_4=-\frac{b}{4a}</math>.
  • M3. The general quartic equation corresponds to this case whenever <math>p^2=-12r>0</math> and <math>27q^2=-8p^3>0</math>, so the four roots of this equation are given as follows if <math>q>0</math>:
<math>x_1=x_2=x_3=\sqrt{-\frac{p}{6}}-\frac{b}{4a}</math>
<math>x_4=-\sqrt{-\frac{3p}{2}}-\frac{b}{4a}</math>
Otherwise, if <math>q\le0</math>:
<math>x_1=x_2=x_3=-\sqrt{-\frac{p}{6}}-\frac{b}{4a}</math>
<math>x_4=\sqrt{-\frac{3p}{2}}-\frac{b}{4a}</math>.
  • DM2. The general quartic equation corresponds to this case whenever <math>p^2=4r>0=q</math>, so the four roots of this equation are given as follows:
<math>x_1=x_3=\sqrt{-\frac{p}{2}}-\frac{b}{4a}</math> 
<math>x_2=x_4=-\sqrt{-\frac{p}{2}}-\frac{b}{4a}</math>.
  • Biquadratic SM2. The general quartic equation corresponds to this subcase of the SM2 equations whenever <math>p\neq q=r=0</math>, so the four roots of this equation are given as follows:
<math>x_1=x_2=-\frac{b}{4a}</math>
<math>x_3=\sqrt{-p}-\frac{b}{4a}</math> 
<math>x_4=-\sqrt{-p}-\frac{b}{4a}</math>.
  • Non-Biquadratic SM2. The general quartic equation corresponds to this subcase of the SM2 equations whenever <math>(p^2+12r)^3=[p(p^2-36r)+\frac{27}{2} q^2 ]^2>0\neq {q}</math>, so the four roots of this equation are given by the following formula:<ref>Template:Cite journal</ref>
<math>x=\frac{1}{2} \left [ \xi\sqrt{s_1}\pm\sqrt{2\biggl(s_2-\frac{\xi q}{\sqrt{s_1}}\biggr)} \right ]-\frac{b}{4a}</math>,
where:
<math>s_1=\frac{9q^2-32pr}{p^2+12r}>0</math>
<math>s_2=-\frac{2p(p^2-4r)+9q^2}{2(p^2+12r)}\neq 0</math>
<math>\xi = \pm 1</math>.

The general caseEdit

File:Quartic Formula.svg
The quartic formula.

To begin, the quartic must first be converted to a depressed quartic.

Converting to a depressed quarticEdit

Let Template:NumBlk be the general quartic equation which it is desired to solve. Divide both sides by Template:Mvar,

<math>\ x^4 + {B \over A} x^3 + {C \over A} x^2 + {D \over A} x + {E \over A} = 0 \ . </math>

The first step, if Template:Mvar is not already zero, should be to eliminate the Template:Mvar3 term. To do this, change variables from Template:Mvar to Template:Mvar, such that

<math>\ x = u - {B \over 4 A} \ .</math>

Then

<math>\ \left( u - {B \over 4 A} \right)^4 + {B \over A} \left( u - {B \over 4 A} \right)^3 + {C \over A} \left( u - {B \over 4 A} \right)^2 + {D \over A} \left( u - {B \over 4 A} \right) + {E \over A} = 0 \ .</math>

Expanding the powers of the binomials produces

<math>\ \left( u^4 - {B \over A} u^3 + {6 u^2 B^2 \over 16 A^2} - {4 u B^3 \over 64 A^3} + {B^4 \over 256 A^4} \right)

+ {B \over A} \left( u^3 - {3 u^2 B \over 4 A} + {3 u B^2 \over 16 A^2} - {B^3 \over 64 A^3} \right) + {C \over A} \left( u^2 - {u B \over 2 A} + {B^2 \over 16 A^2} \right) + {D \over A} \left( u - {B \over 4 A} \right) + {E \over A} = 0 \ .</math> Collecting the same powers of u yields

<math>\ u^4 + \left( {-3 B^2 \over 8 A^2} + {C \over A} \right) u^2 + \left( {B^3 \over 8 A^3} - {B C \over 2 A^2} + {D \over A} \right) u + \left( {-3 B^4 \over 256 A^4} + {C B^2 \over 16 A^3} - {B D \over 4 A^2} + {E \over A} \right) = 0 \ .</math>

Now rename the coefficients of Template:Mvar. Let

<math>

\begin{align} a & = {-3 B^2 \over 8 A^2} + {C \over A}\ ,\\ b & = {B^3 \over 8 A^3} - {B C \over 2 A^2} + {D \over A}\ ,\\ c & = {-3 B^4 \over 256 A^4} + {C B^2 \over 16 A^3} - {B D \over 4 A^2} + {E \over A}\ . \end{align} </math> The resulting equation is Template:NumBlk which is a depressed quartic equation.

If <math>\ b = 0 \ </math> then we have the special case of a biquadratic equation, which is easily solved, as explained above. Note that the general solution, given below, will not work for the special case <math>\ b = 0 \ .</math> The equation must be solved as a biquadratic.

In either case, once the depressed quartic is solved for Template:Mvar, substituting those values into

<math>\ x = u - {B \over 4 A} \ </math>

produces the values for Template:Mvar that solve the original quartic.

Solving a depressed quartic when Template:Mvar ≠ 0Edit

After converting to a depressed quartic equation

<math> u^4 + a u^2 + b u + c = 0 </math>

and excluding the special case Template:Mvar = 0, which is solved as a biquadratic, we assume from here on that Template:Nobr

We will separate the terms left and right as

<math> u^4 = - a u^2 - b u - c </math>

and add in terms to both sides which make them both into perfect squares.

Let Template:Mvar be any solution of this cubic equation:

<math> 2 y^3 - a y^2 - 2 c y + ( a c - \tfrac14 b^2 ) = ( 2 y - a ) ( y^2 - c ) - \tfrac14 b^2 = 0 \ .</math>

Then (since Template:Mvar ≠ 0)

<math> 2 y - a \neq 0 </math>

so we may divide by it, giving

<math> y^2 - c = \frac{ b^2 }{ 4 ( 2 y - a ) } \ .</math>

Then

<math> ( u^2 + y )^2 = u^4 + 2 y u^2 + y^2 = ( 2 y - a ) u^2 - b u + ( y^2 - c ) = ( 2 y - a ) u^2 - b u + \frac{ b^2 }{\ 4 ( 2 y - a )\ } = \left( \sqrt{ 2 y - a\ } \, u - \frac{ b }{ 2 \sqrt{ 2 y - a\ } } \right)^2 \ .</math>

Subtracting, we get the difference of two squares which is the product of the sum and difference of their roots

<math> ( u^2 + y )^2 - \left( \sqrt{ 2 y - a\ } \, u - \frac{ b }{ 2 \sqrt{ 2 y - a\ } } \right)^2 = \left( u^2 + y + \sqrt{ 2 y - a\ } \, u - \frac{ b }{ 2 \sqrt{ 2 y - a\ } } \right) \left( u^2 + y - \sqrt{ 2 y - a\ } \, u + \frac{ b }{ 2 \sqrt{ 2 y - a\ } } \right) = 0 </math>

which can be solved by applying the quadratic formula to each of the two factors. So the possible values of Template:Mvar are:

<math> u = \tfrac12 \left( - \sqrt{ 2 y - a\ } + \sqrt{ -2 y - a + \frac{ 2 b }{ \sqrt{ 2 y - a\ } }\ } \right) \ ,</math>
<math> u = \tfrac12 \left( - \sqrt{ 2 y - a\ } - \sqrt{ -2 y - a + \frac{ 2 b }{ \sqrt{ 2 y - a\ } }\ } \right) \ ,</math>
<math> u = \tfrac12 \left( \sqrt{ 2 y - a\ } + \sqrt{ -2 y - a - \frac{ 2 b }{ \sqrt{ 2 y - a\ } }\ } \right) \ ,</math> or
<math> u = \tfrac12 \left( \sqrt{ 2 y - a\ } - \sqrt{ -2 y - a - \frac{ 2 b }{ \sqrt{ 2 y - a\ } }\ } \right) \ .</math>

Using another Template:Mvar from among the three roots of the cubic simply causes these same four values of Template:Mvar to appear in a different order. The solutions of the cubic are:

<math>\ y = \frac{a}{6} + w - \frac{p}{3 w}\ </math>
<math>\ w = \sqrt[3]{- \frac{q}{2} + \sqrt{ \frac{q^2}{4} + \frac{p^3}{27}\ }\ } </math>

using any one of the three possible cube roots. A wise strategy is to choose the sign of the square-root that makes the absolute value of Template:Mvar as large as possible.

<math>\ p = - \frac{a^2}{12} - c \ ,</math>
<math>\ q = - \frac{a^3}{108} + \frac{a c}{3} - \frac{b^2}{8} \ .</math>

Ferrari's solutionEdit

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

<math> \left(u^2 + a\right)^2 - u^4 - 2 a u^2 = a^2</math>

to equation (Template:EquationNote), yielding Template:NumBlk The effect has been to fold up the u4 term into a perfect square: (u2 + a)2. The second term, au2 did not disappear, but its sign has changed and it has been moved to the right side.

The next step is to insert a variable y into the perfect square on the left side of equation (Template:EquationNote), 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 (Template:EquationNote),

<math>
 \begin{align}
  (u^2+a+y)^2-(u^2+a)^2 & = 2y(u^2+a)+ y^2\ \ 
 \\
  & = 2yu^2+2ya+y^2,
 \end{align}
</math>

and

<math> 0 = (a + 2 y) u^2 - 2 y u^2 - a u^2\,</math>

These two formulas, added together, produce

<math> \left(u^2 + a + y\right)^2 - \left(u^2 + a\right)^2 = \left(a + 2 y\right) u^2 - a u^2 + 2 y a + y^2 \qquad \qquad (y\hbox{-insertion})\,</math>

which added to equation (Template:EquationNote) produces

<math> \left(u^2 + a + y\right)^2 + b u + c = \left(a + 2 y\right) u^2 + \left(2 y a + y^2 + a^2\right).\,</math>

This is equivalent to Template:NumBlk

The objective now is to choose a value for y such that the right side of equation (Template:EquationNote) 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:

<math> \left(s u + t\right)^2 = \left(s^2\right) u^2 + \left(2 s t\right) u + \left(t^2\right).\,</math>

The quadratic function on the right side has three coefficients. It can be verified that squaring the second coefficient and then subtracting four times the product of the first and third coefficients yields zero:

<math> \left(2 s t\right)^2 - 4 \left(s^2\right) \left(t^2\right) = 0.\,</math>

Therefore to make the right side of equation (Template:EquationNote) into a perfect square, the following equation must be solved:

<math> (-b)^2 - 4 \left(2 y + a\right) \left(y^2 + 2 y a + a^2 - c\right) = 0.\,</math>

Multiply the binomial with the polynomial,

<math> b^2 - 4 \left(2 y^3 + 5 a y^2 + \left(4 a^2 - 2 c\right) y + \left(a^3 - a c\right)\right) = 0\,</math>

Divide both sides by −4, and move the −b2/4 to the right,

<math> 2 y^3 + 5 a y^2

+ \left( 4 a^2 - 2 c \right) y + \left( a^3 - a c - \frac{b^2}{4} \right) = 0 </math> Divide both sides by 2, Template:NumBlk

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.

Folding the second perfect squareEdit

With the value for y so selected, it is now known that the right side of equation (Template:EquationNote) is a perfect square of the form

<math>\left(s^2\right)u^2 + (2st)u + \left(t^2\right) = \left(\left(\sqrt{s^2}\right)u + {(2st) \over 2\sqrt{s^2}}\right)^2</math>
(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:

<math> (a + 2 y) u^2 + (- b) u + \left(y^2 + 2 y a + a^2 - c \right) = \left( \left(\sqrt{a + 2y}\right)u + {(-b) \over 2\sqrt{a + 2 y}} \right)^2.</math>
Note: If b ≠ 0 then a + 2y ≠ 0. If b = 0 then this would be a biquadratic equation, which we solved earlier.

Therefore equation (Template:EquationNote) becomes Template:NumBlk \right)^2. </math>|Template:EquationRef}} Equation (Template:EquationNote) 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: Template:NumBlk \right). </math>|Template:EquationRef}} Collecting like powers of u produces Template:NumBlk \right) = 0. </math>|Template:EquationRef}}

Note: The subscript s of <math>\pm_s</math> and <math>\mp_s</math> is to note that they are dependent.

Equation (Template:EquationNote) is a quadratic equation for u. Its solution is

<math>u=\frac{\pm_s\sqrt{a + 2 y} \pm_t \sqrt{(a + 2y) - 4\left(a + y \pm_s {b \over 2\sqrt{a + 2 y}}\right)}}{2}.</math>

Simplifying, one gets

<math>u={\pm_s\sqrt{a + 2 y} \pm_t \sqrt{-\left(3a + 2y \pm_s {2b \over \sqrt{a + 2 y}} \right)} \over 2}.</math>

This is the solution of the depressed quartic, therefore the solutions of the original quartic equation are {{NumBlk|:|<math>x=-{B \over 4A} + {\pm_s\sqrt{a + 2 y} \pm_t \sqrt{-\left(3a + 2y \pm_s {2b \over \sqrt{a + 2 y}} \right)} \over 2}. </math>|Template:EquationRef}}

Remember: The two <math>\pm_s</math> come from the same place in equation (Template:EquationNote), and should both have the same sign, while the sign of <math>\pm_t</math> is independent.

Summary of Ferrari's methodEdit

Given the quartic equation

<math> A x^4 + B x^3 + C x^2 + D x + E = 0, \,</math>

its solution can be found by means of the following calculations:

<math> a = - {3 B^2 \over 8 A^2} + {C \over A}, </math>
<math> b = {B^3 \over 8 A^3} - {B C \over 2 A^2} + {D \over A}, </math>
<math> c = - {3 B^4 \over 256 A^4} + {C B^2 \over 16 A^3} - {B D \over 4 A^2} + {E \over A}. </math>

If <math>\,b=0,</math> then

<math>x=-{B\over 4A}\pm_s\sqrt{-a\pm_t\sqrt{a^2-4c}\over 2}\qquad \mbox{(for } b=0 \mbox{ only)}.</math>

Otherwise, continue with

<math> P = - {a^2 \over 12} - c, </math>
<math> Q = - {a^3 \over 108} + {a c \over 3} - {b^2 \over 8}, </math>
<math> R = -{Q\over 2} \pm \sqrt{{Q^{2}\over 4}+{P^{3}\over 27}},</math>

(either sign of the square root will do)

<math> U = \sqrt[3]{R},</math>

(there are 3 complex roots, any one of them will do)

<math> y = - {5 \over 6} a + \begin{cases}U=0 &\to -\sqrt[3]{Q}\\U\ne 0, &\to U - {P\over 3U} ,\end{cases} \quad\quad\quad </math>
<math>W=\sqrt{ a + 2 y}</math>
<math> x = - {B \over 4 A} + { \pm_s W \pm_t \sqrt{-\left(3a + 2 y \pm_s {2b\over W} \right) }\over 2 }.</math>
The two ±s must have the same sign, the ±t is independent. To get all roots, compute x for (±st) = (+,+); (+,−); (−,+); (−,−). This formula handles repeated roots without problem.

Ferrari was the first to discover one of these labyrinthine solutionsTemplate:Citation needed. The equation which he solved was

<math> x^4 + 6 x^2 - 60 x + 36 = 0 </math>

which was already in depressed form. It has a pair of solutions which can be found with the set of formulas shown above.

Ferrari's solution in the special case of real coefficientsEdit

If the coefficients of the quartic equation are real then the nested depressed cubic equation (Template:EquationNote) also has real coefficients, thus it has at least one real root.

Furthermore the cubic function

<math> C(v) = v^3 + P v + Q,</math>

where P and Q are given by (Template:EquationNote) has the properties that

<math> C\left({a \over 3}\right) = {-b^2 \over 8} < 0 </math> and

<math>\lim_{v\to \infty} C(v) = \infty,</math> where a and b are given by (Template:EquationNote).

This means that (Template:EquationNote) has a real root greater than <math>a \over 3</math>, and therefore that (Template:EquationNote) has a real root greater than <math>-a \over 2</math>.

Using this root the term <math>\sqrt{a + 2 y}</math> in (Template:EquationNote) is always real, which ensures that the two quadratic equations (Template:EquationNote) have real coefficients.<ref>Carstensen, Jens, Komplekse tal, First Edition, (Systime 1981), Template:ISBN. Template:In lang</ref>

Obtaining alternative solutions the hard wayEdit

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

<math> (x - x_1) (x - x_2) (x - x_3) (x - x_4) = 0, \,</math>

but this quartic equation is equivalent to the product of two quadratic equations: Template:NumBlk and Template:NumBlk Since

<math> x_2 = x_1^\star </math>

then

<math>
 \begin{align}
  (x-x_1)(x-x_2)&=x^2-(x_1+x_1^\star)x+x_1x_1^\star \\
  &=x^2-2\operatorname{Re}(x_1)x+[\operatorname{Re}(x_1)]^2+[\operatorname{Im}(x_1)]^2.
 \end{align}
</math>

Let

<math> a = - 2\operatorname{Re}(x_1), </math>
<math> b = \left[ \operatorname{Re}( x_1) \right]^{2} + \left[ \operatorname{Im}(x_1) \right]^{2} </math>

so that equation (Template:EquationNote) becomes Template:NumBlk Also let there be (unknown) variables w and v such that equation (Template:EquationNote) becomes Template:NumBlk Multiplying equations (Template:EquationNote) and (Template:EquationNote) produces Template:NumBlk Comparing equation (Template:EquationNote) to the original quartic equation, it can be seen that

<math> a + w = {B \over A}, </math>
<math> b + w a + v = {C \over A}, </math>
<math> w b + v a = {D \over A}, </math>

and

<math> v b = {E \over A}. </math>

Therefore

<math> w = {B \over A} - a = {B \over A} + 2 \operatorname{Re}(x_1), </math>
<math> v = {E \over A b} = \frac{E}{A \left( \left[ \operatorname{Re}(x_1) \right]^2 + \left[ \operatorname{Im}(x_1) \right]^2 \right) }. </math>

Equation (Template:EquationNote) can be solved for x yielding

<math> x_3 = {-w + \sqrt{w^2 - 4 v} \over 2}, </math>
<math> x_4 = {-w - \sqrt{w^2 - 4 v} \over 2}. </math>

One of these two solutions should be the desired real solution.

Alternative methodsEdit

Quick and memorable solution from first principlesEdit

Template:Unsourced section

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

<math>

\begin{align}

0 &= x^4 + bx^3 + cx^2 + dx + e \\
&= \left(x^2 + px + q\right)\left(x^2 + rx + s\right) \\
&= x^4 + (p + r)x^3 + (q + s + pr)x^2 + (ps + qr)x + qs

\end{align} </math>

By equating coefficients, this results in the following set of simultaneous equations:

<math>
 \begin{align}
  b & = p + r \\
  c & = q + s + pr \\
  d & = ps + qr \\
  e & = qs
 \end{align}
</math>

This is harder to solve than it looks, but if we start again with a depressed quartic where <math>b = 0</math>, which can be obtained by substituting <math>(x - b/4)</math> for <math>x</math>, then <math>r = -p</math>, and:

<math>
 \begin{align}
  c + p^2 & = s + q \\
  d/p & = s - q \\
  e & = sq
 \end{align}
</math>

It's now easy to eliminate both <math>s</math> and <math>q</math> by doing the following:

<math>

\begin{align}

\left(c + p^2\right)^2 - (d/p)^2 & = (s + q)^2 - (s - q)^2 \\
& = 4sq \\
& = 4e

\end{align} </math>

If we set <math>P = p^2</math>, then this equation turns into the cubic equation:

<math>P^3 + 2cP^2 + \left(c^2 - 4e\right)P - d^2 = 0</math>

which is solved elsewhere. Once you have <math>p</math>, then:

<math>
 \begin{align}
 r & = -p \\
2s & = c + p^2 + d/p \\
2q & = c + p^2 - d/p
 \end{align}
</math>

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 <math>p</math> for the square root of <math>P</math> merely exchanges the two quadratics with one another.

Möbius transformation methodEdit

A suitably chosen Möbius transformation can transform a quartic equation into a quadratic equation in the new variable squared. This is a known method.<ref>{{#invoke:citation/CS1|citation |CitationClass=web }}</ref>

Finding such a Möbius transformation involves solving a cubic equation and so simplifies the problem. For example, start with the depressed quartic equation with unity leading coefficient and with neither <math>a_1</math> nor <math>a_0</math> equal to zero:

<math display="block">x^4+a_2x^2+a_1x+a_0=0</math>

and do the Möbius transformation:

<math display="block">x=\frac{A+By}{1+y}</math>

Set the first and third order coefficients of the resulting quartic equation in <math>y</math> to zero. After some algebra, one finds <math>A+B</math> is to be obtained from the cubic equation

<math display="block">a_1(A+B)^3+(4a_0-2a_1a_2-{a_2}^2)(A+B)^2-2a_1a_2(A+B)-{a_1}^2=0</math>

and, regarding <math>A+B</math> as known, <math>A</math> is to be obtained from the quadratic equation

<math display="block">2(A+B)A^2-2(A+B)^2A-a_2(A+B)-a_1=0</math> Solving the resulting quadratic equation for <math>y^2</math> gives two values for <math>y^2</math> and each square root of <math>y^2</math> has two values, giving a total of four solutions, as expected.

The cubic equation in <math>\textbf A + \textbf B</math> given earlier is the same as <math>P^2-Q(A+B)^2=0</math>, where <math display="block">P \equiv \frac{b_1-b_3}{2(A-B)}=2\,A\,B\,(A+B)+a_2(A+B)+a_1</math> <math display="block">Q \equiv \frac{B\,b_1-A\,b_3}{A-B}=4A^2B^2-a_1(A+B)-4a_0=0</math> Here bi are the coefficients of the quartic polynomial in y. This shows how this equation was obtained.

Galois theory and factorizationEdit

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

<math>x^4 + bx^3 + cx^2 + dx + e = 0\qquad (1)</math>

If we now set

<math> \begin{align}

s_0 &= \tfrac12(r_0 + r_1 + r_2 + r_3), \\ s_1 &= \tfrac12(r_0 - r_1 + r_2 - r_3), \\ s_2 &= \tfrac12(r_0 + r_1 - r_2 - r_3), \\ s_3 &= \tfrac12(r_0 - r_1 - r_2 + r_3), \end{align}</math> then since the transformation is an involution, we may express the roots in terms of the four si in exactly the same way. Since we know the value s0 = −b/2, we really only need the values for s1, s2 and s3. These we may find by expanding the polynomial

<math>\left(z^2 - s_1^2\right)\left(z^2-s_2^2\right)\left(z^2-s_3^2\right)\qquad (2)</math>

which if we make the simplifying assumption that b = 0, is equal to

<math>z^6 + 2cz^4 + \left(c^2-4e\right) z^2 - d^2 \qquad(3)</math>

This polynomial is of degree six, but only of degree three in z2, and so the corresponding equation is solvable. By trial we can determine which three roots are the correct ones, and hence find the solutions of the quartic.

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

<math>F_1 = x^2+wx+\frac 1 2 w^2+\frac 1 2 c - \frac 1 2\cdot \frac {c^2 w}{d}-\frac 1 2 \cdot\frac {w^5}{d} - \frac{cw^3}{d} + 2\frac {ew}{d}</math>
<math>F_2 = x^2-wx + \frac 1 2 w^2 + \frac 1 2 c + \frac 1 2\cdot \frac{w^5}{d} + \frac {cw^3}{d} - 2\frac {ew}{d} + \frac 1 2\cdot \frac {c^2 w}{d}</math>

then

<math>F_1 F_2 = x^4 + cx^2 + dx + e\qquad\qquad (4)</math>

We therefore can solve the quartic by solving for w and then solving for the roots of the two factors using the quadratic formula.

Approximate methodsEdit

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.

See alsoEdit

ReferencesEdit

NotesEdit

<references/>

External linksEdit

Template:Polynomials