Quartic equation: Difference between revisions
Mamartinezc (talk | contribs) |
Reverting edit(s) by 43.224.245.246 (talk) to rev. 1259269362 by Shashvat Verma: Non-constructive edit (UV 0.1.6) |
||
(27 intermediate revisions by 21 users not shown) | |||
Line 1: | Line 1: | ||
{{short description|Polynomial equation}} |
{{short description|Polynomial equation of degree 4}} |
||
{{distinguish|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 |
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 |
||
Line 7: | Line 8: | ||
where ''a'' ≠ 0. |
where ''a'' ≠ 0. |
||
The '''quartic''' is the highest order polynomial equation that can be solved by [[Nth root|radicals]] in the general case (i.e., one in which the coefficients can take any value). |
The '''quartic''' is the highest order [[polynomial equation]] that can be solved by [[Nth root|radicals]] in the general case (i.e., one in which the coefficients can take any value). |
||
==History== |
==History== |
||
[[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 equation|cubic]] to be found, it |
[[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 equation|cubic]] to be found, it could not be published immediately.<ref>{{cite web|title=Lodovico Ferrari|url=https://mathshistory.st-andrews.ac.uk/Biographies/Ferrari/}}</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 (Gerolamo Cardano)|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 [[Galois theory|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> |
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 [[Galois theory|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> |
||
Line 78: | Line 79: | ||
=== Multiple roots === |
=== Multiple roots === |
||
If the quartic has a [[multiple root|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>{{Cite journal | |
||
⚫ | In general, there exist only four possible cases of quartic equations with multiple roots, which are listed below:<ref>{{Cite journal |last1=Chávez-Pichardo |first1=Mauricio |last2=Martínez-Cruz |first2=Miguel A. |last3=Trejo-Martínez |first3=Alfredo |last4=Martínez-Carbajal |first4=Daniel |last5=Arenas-Resendiz |first5=Tanya |date=July 2022 |title=A Complete Review of the General Quartic Equation with Real Coefficients and Multiple Roots |journal=Mathematics |language=en |volume=10 |issue=14 |pages=2377 |doi=10.3390/math10142377 |issn=2227-7390 |doi-access=free }}</ref> |
||
⚫ | |||
⚫ | |||
# 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 a couple of two different real numbers. This is the only case that can never be reduced to a biquadratic equation. |
# 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 a couple of two different real numbers. This is the only case that can never be reduced to a biquadratic equation. |
||
# 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 a couple of two different real numbers or a couple of non-real complex conjugate numbers. This case can also always be reduced to a biquadratic equation. |
# 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 a couple of two different real numbers or a couple of non-real complex conjugate numbers. This case can also always be reduced to a biquadratic equation. |
||
# 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 couple of non-real complex conjugate numbers. This case is divided into two subcases, those that can be reduced to a biquadratic equation and those in which this is impossible. |
# 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 couple of non-real complex conjugate numbers. This case is divided into two subcases, those that can be reduced to a biquadratic equation and those in which this is impossible. |
||
So, if the three non-monic coefficients of the depressed quartic equation in terms of the five coefficients of the general quartic equation are given as follows: <math>p=\frac{8ac-3b^2}{8a^2}</math>, <math>q=\frac{b^3-4abc+8a^2 d}{8a^3}</math> and <math>r=\frac{16ab^2 c-64a^2 bd-3b^4+256a^3 e}{256a^4}</math> |
So, if the three non-monic coefficients of the depressed quartic equation, <math>x^4 + p x^2 + q x + r = 0</math>, in terms of the five coefficients of the general quartic equation are given as follows: <math>p=\frac{8ac-3b^2}{8a^2}</math>, <math>q=\frac{b^3-4abc+8a^2 d}{8a^3}</math> and <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 exposed 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>. |
* 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>. |
||
Line 91: | Line 94: | ||
* 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> and <math>x_2=x_4=-\sqrt{-\frac{p}{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> and <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> and <math>x_4=-\sqrt{-p}-\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> and <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>{{Cite journal | |
* 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>{{Cite journal |last1=Chávez-Pichardo |first1=Mauricio |last2=Martínez-Cruz |first2=Miguel A. |last3=Trejo-Martínez |first3=Alfredo |last4=Vega-Cruz |first4=Ana Beatriz |last5=Arenas-Resendiz |first5=Tanya |date=March 2023 |title=On the Practicality of the Analytical Solutions for all Third- and Fourth-Degree Algebraic Equations with Real Coefficients |journal=Mathematics |language=en |volume=11 |issue=6 |pages=1447 |doi=10.3390/math11061447 |issn=2227-7390 |doi-access=free }}</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> and <math>\xi = \pm 1</math>. |
||
== The general case == |
== The general case == |
||
Line 172: | Line 175: | ||
=== Ferrari's solution === |
=== Ferrari's solution === |
||
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 |
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 + |
:<math> \left(u^2 + a\right)^2 - u^4 - 2 a u^2 = a^2</math> |
||
to equation ({{EquationNote|1}}), yielding |
to equation ({{EquationNote|1}}), yielding |
||
{{NumBlk|:|<math> \left(u^2 + |
{{NumBlk|:|<math> \left(u^2 + a\right)^2 + b u + c = a u^2 + a^2. </math>|{{EquationRef|2}}}} |
||
The effect has been to fold up the ''u''<sup>4</sup> term into a [[square number|perfect square]]: (''u''<sup>2</sup> + |
The effect has been to fold up the ''u''<sup>4</sup> term into a [[square number|perfect square]]: (''u''<sup>2</sup> + a)<sup>2</sup>. The second term, ''au''<sup>2</sup> 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 ({{EquationNote|2}}), and a corresponding 2''y'' into the coefficient of ''u''<sup>2</sup> in the right side. To accomplish these insertions, the following valid formulas will be added to equation ({{EquationNote|2}}), |
The next step is to insert a variable ''y'' into the perfect square on the left side of equation ({{EquationNote|2}}), and a corresponding 2''y'' into the coefficient of ''u''<sup>2</sup> in the right side. To accomplish these insertions, the following valid formulas will be added to equation ({{EquationNote|2}}), |
||
:<math> |
:<math> |
||
\begin{align} |
\begin{align} |
||
(u^2+ |
(u^2+a+y)^2-(u^2+a)^2 & = 2y(u^2+a)+ y^2\ \ |
||
\\ |
\\ |
||
& = 2yu^2+ |
& = 2yu^2+2ya+y^2, |
||
\end{align} |
\end{align} |
||
</math> |
</math> |
||
and |
and |
||
:<math> 0 = ( |
:<math> 0 = (a + 2 y) u^2 - 2 y u^2 - a u^2\,</math> |
||
These two formulas, added together, produce |
These two formulas, added together, produce |
||
:<math> \left(u^2 + |
:<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 ({{EquationNote|2}}) produces |
which added to equation ({{EquationNote|2}}) produces |
||
:<math> \left(u^2 + |
:<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 |
This is equivalent to |
||
{{NumBlk|:|<math> (u^2 + |
{{NumBlk|:|<math> (u^2 + a + y)^2 = (a + 2 y) u^2 - b u + (y^2 + 2 y a + a^2 - c). </math>|{{EquationRef|3}}}} |
||
The objective now is to choose a value for ''y'' such that the right side of equation ({{EquationNote|3}}) 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: |
The objective now is to choose a value for ''y'' such that the right side of equation ({{EquationNote|3}}) 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: |
||
Line 200: | Line 203: | ||
Therefore to make the right side of equation ({{EquationNote|3}}) into a perfect square, the following equation must be solved: |
Therefore to make the right side of equation ({{EquationNote|3}}) into a perfect square, the following equation must be solved: |
||
:<math> (- |
:<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, |
Multiply the binomial with the polynomial, |
||
:<math> |
:<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 −'' |
Divide both sides by −4, and move the −''b''<sup>2</sup>/4 to the right, |
||
:<math> 2 y^3 + 5 |
:<math> 2 y^3 + 5 a y^2 |
||
+ \left( 4 |
+ \left( 4 a^2 - 2 c \right) y |
||
+ \left( |
+ \left( a^3 - a c - \frac{b^2}{4} \right) |
||
= 0 </math> |
= 0 </math> |
||
Divide both sides by 2, |
Divide both sides by 2, |
||
{{NumBlk|:|<math> y^3 + \frac{5}{2} |
{{NumBlk|:|<math> y^3 + \frac{5}{2} a y^2 + \left(2 a^2 - c\right) y + \left( {a^3 \over 2} - {a c \over 2} - {b^2 \over 8} \right) = 0. </math>|{{EquationRef|4}}}} |
||
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. |
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. |
||
Line 218: | Line 221: | ||
::(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.) |
::(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: |
so that it can be folded: |
||
:<math> ( |
:<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 '' |
::Note: If ''b'' ≠ 0 then ''a'' + 2''y'' ≠ 0. If ''b'' = 0 then this would be a biquadratic equation, which we solved earlier. |
||
Therefore equation ({{EquationNote|3}}) becomes |
Therefore equation ({{EquationNote|3}}) becomes |
||
{{NumBlk|:|<math>\left(u^2 + |
{{NumBlk|:|<math>\left(u^2 + a + y\right)^2 = \left( \left(\sqrt{a + 2 y}\right)u - {b \over 2\sqrt{a + 2 y}} \right)^2. </math>|{{EquationRef|5}}}} |
||
Equation ({{EquationNote|5}}) has a pair of folded perfect squares, one on each side of the equation. The two perfect squares balance each other. |
Equation ({{EquationNote|5}}) 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: |
If two squares are equal, then the sides of the two squares are also equal, as shown by: |
||
{{NumBlk|:|<math>\left(u^2 + |
{{NumBlk|:|<math>\left(u^2 + a + y\right) = \pm\left( \left(\sqrt{a + 2 y}\right)u - {b \over 2\sqrt{a + 2 y}} \right). </math>|{{EquationRef|5'}}}} |
||
Collecting like powers of ''u'' produces |
Collecting like powers of ''u'' produces |
||
{{NumBlk|:|<math>u^2 + \left(\mp_s \sqrt{ |
{{NumBlk|:|<math>u^2 + \left(\mp_s \sqrt{a + 2 y}\right)u + \left( a + y \pm_s {b \over 2\sqrt{a + 2 y}} \right) = 0. </math>|{{EquationRef|6}}}} |
||
::Note: The subscript ''s'' of <math>\pm_s</math> and <math>\mp_s</math> is to note that they are dependent. |
::Note: The subscript ''s'' of <math>\pm_s</math> and <math>\mp_s</math> is to note that they are dependent. |
||
Equation ({{EquationNote|6}}) is a [[quadratic equation]] for ''u''. Its solution is |
Equation ({{EquationNote|6}}) is a [[quadratic equation]] for ''u''. Its solution is |
||
:<math>u=\frac{\pm_s\sqrt{ |
:<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 |
Simplifying, one gets |
||
:<math>u={\pm_s\sqrt{ |
:<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 |
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{ |
{{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>|{{EquationRef|6'}}}} |
||
::Remember: The two <math>\pm_s</math> come from the same place in equation ({{EquationNote|5'}}), and should both have the same sign, while the sign of <math>\pm_t</math> is independent. |
::Remember: The two <math>\pm_s</math> come from the same place in equation ({{EquationNote|5'}}), and should both have the same sign, while the sign of <math>\pm_t</math> is independent. |
||
Line 244: | Line 247: | ||
its solution can be found by means of the following calculations: |
its solution can be found by means of the following calculations: |
||
:<math> |
:<math> a = - {3 B^2 \over 8 A^2} + {C \over A}, </math> |
||
:<math> |
:<math> b = {B^3 \over 8 A^3} - {B C \over 2 A^2} + {D \over A}, </math> |
||
:<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>\, |
If <math>\,b=0,</math> then |
||
::<math>x=-{B\over 4A}\pm_s\sqrt{- |
::<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 |
Otherwise, continue with |
||
:<math> P = - { |
:<math> P = - {a^2 \over 12} - c, </math> |
||
:<math> Q = - { |
:<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> |
:<math> R = -{Q\over 2} \pm \sqrt{{Q^{2}\over 4}+{P^{3}\over 27}},</math> |
||
Line 268: | Line 271: | ||
(there are 3 complex roots, any one of them will do) |
(there are 3 complex roots, any one of them will do) |
||
:<math> y = - {5 \over 6} |
:<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{ |
:<math>W=\sqrt{ a + 2 y}</math> |
||
:<math> x = - {B \over 4 A} + { \pm_s W \pm_t \sqrt{-\left( |
:<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 ±<sub>s</sub> must have the same sign, the ±<sub>''t''</sub> is independent. To get all roots, compute ''x'' for ±<sub>''s''</sub>,±<sub>''t''</sub> = +,+ and for +,−; and for −,+ and for −,−. This formula handles repeated roots without problem. |
::The two ±<sub>s</sub> must have the same sign, the ±<sub>''t''</sub> is independent. To get all roots, compute ''x'' for ±<sub>''s''</sub>,±<sub>''t''</sub> = +,+ and for +,−; and for −,+ and for −,−. This formula handles repeated roots without problem. |
||
Line 289: | Line 292: | ||
:<math> C(v) = v^3 + P v + Q,</math> |
:<math> C(v) = v^3 + P v + Q,</math> |
||
where P and Q are given by ({{EquationNote|5}}) has the properties that |
where P and Q are given by ({{EquationNote|5}}) has the properties that |
||
:<math> C\left({ |
:<math> C\left({a \over 3}\right) = {-b^2 \over 8} < 0 </math> and |
||
<math>\lim_{v\to \infty} C(v) = \infty,</math> |
<math>\lim_{v\to \infty} C(v) = \infty,</math> |
||
where '' |
where ''a'' and ''b'' are given by ({{EquationNote|1}}). |
||
This means that ({{EquationNote|5}}) has a real root greater than <math> |
This means that ({{EquationNote|5}}) has a real root greater than <math>a \over 3</math>, |
||
and therefore that ({{EquationNote|4}}) has a real root greater than <math>- |
and therefore that ({{EquationNote|4}}) has a real root greater than <math>-a \over 2</math>. |
||
Using this root the term <math>\sqrt{ |
Using this root the term <math>\sqrt{a + 2 y}</math> in ({{EquationNote|8}}) is always real, |
||
which ensures that the two quadratic equations ({{EquationNote|8}}) have real coefficients.<ref>Carstensen, Jens, ''Komplekse tal, First Edition'', (Systime 1981), {{ISBN|87-87454-71-8}}. {{in lang|da}}</ref> |
which ensures that the two quadratic equations ({{EquationNote|8}}) have real coefficients.<ref>Carstensen, Jens, ''Komplekse tal, First Edition'', (Systime 1981), {{ISBN|87-87454-71-8}}. {{in lang|da}}</ref> |
||
Line 344: | Line 347: | ||
=== Quick and memorable solution from first principles === |
=== Quick and memorable solution from first principles === |
||
Most textbook solutions of the quartic equation require a |
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 [[quadratic equation|quadratics]]. Let |
||
The job is done if we can factor the quartic equation into a product of two [[quadratic equation|quadratics]]. Let |
|||
:<math> |
:<math> |
||
Line 384: | Line 385: | ||
If we set <math>P = p^2</math>, then this equation turns into the [[cubic equation]]: |
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> |
:<math>P^3 + 2cP^2 + \left(c^2 - 4e\right)P - d^2 = 0</math> |
||
which is solved elsewhere. |
which is solved elsewhere. Once you have <math>p</math>, then: |
||
:<math> |
:<math> |
||
\begin{align} |
\begin{align} |
||
Line 393: | Line 394: | ||
</math> |
</math> |
||
The symmetries in this solution are easy to see. |
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. |
||
=== Galois theory and factorization === |
=== Galois theory and factorization === |
||
Line 425: | Line 426: | ||
=== Approximate methods === |
=== Approximate methods === |
||
The methods described above are, in principle, exact methods |
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 also== |
==See also== |
Latest revision as of 03:05, 10 December 2024
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
where a ≠ 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).
History
[edit]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]
Solving a quartic equation, special cases
[edit]Consider a quartic equation expressed in the form :
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,
Evident roots: 1 and −1 and −k
[edit]Call our quartic polynomial Q(x). Since 1 raised to any power is 1,
Thus if Q(1) = 0 and so x = 1 is a root of Q(x). It can similarly be shown that if x = −1 is a root.
In either case the full quartic can then be divided by the factor (x − 1) or (x + 1) respectively yielding a new cubic polynomial, which can be solved to find the quartic's other roots.
If and then is a root of the equation. The full quartic can then be factorized this way:
Alternatively, if and then x = 0 and x = −k become two known roots. Q(x) divided by x(x + k) is a quadratic polynomial.
Biquadratic equations
[edit]A quartic equation where a3 and a1 are equal to 0 takes the form
and thus is a biquadratic equation, which is easy to solve: let , so our equation turns to
which is a simple quadratic equation, whose solutions are easily found using the quadratic formula:
When we've solved it (i.e. found these two z values), we can extract x from them
If either of the z solutions were negative or complex numbers, then some of the x solutions are complex numbers.
Quasi-symmetric equations
[edit]Steps:
- Divide by x 2.
- Use variable change z = x + m/x.
- So, z 2 = x 2 + (m/x) 2 + 2m.
This leads to:
- ,
- ,
- (a quadratic in z = x + m/x)
Multiple roots
[edit]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]
- Multiplicity-4 (M4): when the general quartic equation can be expressed as , for some real number . This case can always be reduced to a biquadratic equation.
- Multiplicity-3 (M3): when the general quartic equation can be expressed as , where and are a couple of two different real numbers. This is the only case that can never be reduced to a biquadratic equation.
- Double Multiplicity-2 (DM2): when the general quartic equation can be expressed as , where and are a couple of two different real numbers or a couple of non-real complex conjugate numbers. This case can also always be reduced to a biquadratic equation.
- Single Multiplicity-2 (SM2): when the general quartic equation can be expressed as , where , , and are three different real numbers or is a real number and and are a couple of non-real complex conjugate numbers. This case is divided into two subcases, those that can be reduced to a biquadratic equation and those in which this is impossible.
So, if the three non-monic coefficients of the depressed quartic equation, , in terms of the five coefficients of the general quartic equation are given as follows: , and , then the criteria to identify a priori each case of quartic equations with multiple roots and their respective solutions are exposed below.
- M4. The general quartic equation corresponds to this case whenever , so the four roots of this equation are given as follows: .
- M3. The general quartic equation corresponds to this case whenever and , so the four roots of this equation are given as follows: and , whether ; otherwise, and .
- DM2. The general quartic equation corresponds to this case whenever , so the four roots of this equation are given as follows: and .
- Biquadratic SM2. The general quartic equation corresponds to this subcase of the SM2 equations whenever , so the four roots of this equation are given as follows: , and .
- Non-Biquadratic SM2. The general quartic equation corresponds to this subcase of the SM2 equations whenever , so the four roots of this equation are given by the following formula:[4] , where , and .
The general case
[edit]To begin, the quartic must first be converted to a depressed quartic.
Converting to a depressed quartic
[edit]Let
(1') |
be the general quartic equation which it is desired to solve. Divide both sides by A,
The first step, if B is not already zero, should be to eliminate the x3 term. To do this, change variables from x to u, such that
Then
Expanding the powers of the binomials produces
Collecting the same powers of u yields
Now rename the coefficients of u. Let
The resulting equation is
(1) |
which is a depressed quartic equation.
If 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 The equation must be solved as a biquadratic.
In either case, once the depressed quartic is solved for u, substituting those values into
produces the values for x that solve the original quartic.
Solving a depressed quartic when b ≠ 0
[edit]After converting to a depressed quartic equation
and excluding the special case b = 0, which is solved as a biquadratic, we assume from here on that b ≠ 0 .
We will separate the terms left and right as
and add in terms to both sides which make them both into perfect squares.
Let y be any solution of this cubic equation:
Then (since b ≠ 0)
so we may divide by it, giving
Then
Subtracting, we get the difference of two squares which is the product of the sum and difference of their roots
which can be solved by applying the quadratic formula to each of the two factors. So the possible values of u are:
- or
Using another y from among the three roots of the cubic simply causes these same four values of u to appear in a different order. The solutions of the cubic are:
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 w as large as possible.
Ferrari's solution
[edit]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
to equation (1), yielding
(2) |
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 (2), 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 (2),
and
These two formulas, added together, produce
which added to equation (2) produces
This is equivalent to
(3) |
The objective now is to choose a value for y such that the right side of equation (3) 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:
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:
Therefore to make the right side of equation (3) into a perfect square, the following equation must be solved:
Multiply the binomial with the polynomial,
Divide both sides by −4, and move the −b2/4 to the right,
Divide both sides by 2,
(4) |
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 square
[edit]With the value for y so selected, it is now known that the right side of equation (3) is a perfect square of the form
-
- (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:
-
- Note: If b ≠ 0 then a + 2y ≠ 0. If b = 0 then this would be a biquadratic equation, which we solved earlier.
Therefore equation (3) becomes
(5) |
Equation (5) 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:
(5') |
Collecting like powers of u produces
(6) |
- Note: The subscript s of and is to note that they are dependent.
Equation (6) is a quadratic equation for u. Its solution is
Simplifying, one gets
This is the solution of the depressed quartic, therefore the solutions of the original quartic equation are
(6') |
- Remember: The two come from the same place in equation (5'), and should both have the same sign, while the sign of is independent.
Summary of Ferrari's method
[edit]Given the quartic equation
its solution can be found by means of the following calculations:
If then
Otherwise, continue with
(either sign of the square root will do)
(there are 3 complex roots, any one of them will do)
- 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[citation needed]. The equation which he solved was
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 coefficients
[edit]If the coefficients of the quartic equation are real then the nested depressed cubic equation (5) also has real coefficients, thus it has at least one real root.
Furthermore the cubic function
where P and Q are given by (5) has the properties that
- and
where a and b are given by (1).
This means that (5) has a real root greater than , and therefore that (4) has a real root greater than .
Using this root the term in (8) is always real, which ensures that the two quadratic equations (8) have real coefficients.[5]
Obtaining alternative solutions the hard way
[edit]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
but this quartic equation is equivalent to the product of two quadratic equations:
(9) |
and
(10) |
Since
then
Let
so that equation (9) becomes
(11) |
Also let there be (unknown) variables w and v such that equation (10) becomes
(12) |
Multiplying equations (11) and (12) produces
(13) |
Comparing equation (13) to the original quartic equation, it can be seen that
and
Therefore
Equation (12) can be solved for x yielding
One of these two solutions should be the desired real solution.
Alternative methods
[edit]Quick and memorable solution from first principles
[edit]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
By equating coefficients, this results in the following set of simultaneous equations:
This is harder to solve than it looks, but if we start again with a depressed quartic where , which can be obtained by substituting for , then , and:
It's now easy to eliminate both and by doing the following:
If we set , then this equation turns into the cubic equation:
which is solved elsewhere. Once you have , then:
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 for the square root of merely exchanges the two quadratics with one another.
Galois theory and factorization
[edit]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
If we now set
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
which if we make the simplifying assumption that b = 0, is equal to
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
then
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 methods
[edit]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 also
[edit]References
[edit]Notes
[edit]- ^ "Lodovico Ferrari".
- ^ Stewart, Ian, Galois Theory, Third Edition (Chapman & Hall/CRC Mathematics, 2004)
- ^ Chávez-Pichardo, Mauricio; Martínez-Cruz, Miguel A.; Trejo-Martínez, Alfredo; Martínez-Carbajal, Daniel; Arenas-Resendiz, Tanya (July 2022). "A Complete Review of the General Quartic Equation with Real Coefficients and Multiple Roots". Mathematics. 10 (14): 2377. doi:10.3390/math10142377. ISSN 2227-7390.
- ^ Chávez-Pichardo, Mauricio; Martínez-Cruz, Miguel A.; Trejo-Martínez, Alfredo; Vega-Cruz, Ana Beatriz; Arenas-Resendiz, Tanya (March 2023). "On the Practicality of the Analytical Solutions for all Third- and Fourth-Degree Algebraic Equations with Real Coefficients". Mathematics. 11 (6): 1447. doi:10.3390/math11061447. ISSN 2227-7390.
- ^ Carstensen, Jens, Komplekse tal, First Edition, (Systime 1981), ISBN 87-87454-71-8. (in Danish)