Primitive equations: Difference between revisions

From formulasearchengine
Jump to navigation Jump to search
en>Addbot
m Bot: Migrating 6 interwiki links, now provided by Wikidata on d:q2386647 (Report Errors)
en>Gorthian
 
Line 1: Line 1:
[[Image:Polynomialdeg4.svg|thumb|right|233px|Graph of a polynomial of degree 4, with 3 [[critical point (mathematics)|critical points]].]]
Lindsay Kelly is the title I love to be called with but you can contact me anything you like. Her family members lives in Alaska. Managing individuals is my day job now but the promotion never comes. Mountain biking is 1 of the things she loves most.<br><br>Also visit my blog: [http://www.kabatasvizyon.com/e_ogrenme/user/view.php?id=39988&course=1 anaheim attorney]
In [[mathematics]], a '''quartic function''',  is a [[function (mathematics)|function]] of the form
:<math>f(x)=ax^4+bx^3+cx^2+dx+e,</math>
where ''a'' is nonzero,
which is defined by a [[polynomial]] of [[Degree of a polynomial|degree]] four, called '''quartic polynomial'''.
 
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
:<math>f(x)=ax^4+cx^2+e.</math>
 
A '''quartic equation''', or equation of the fourth degree, is an equation consisting in equating to zero a quartic polynomial, of the form
:<math>ax^4+bx^3+cx^2+dx+e=0 ,</math>
where {{nowrap|''a'' ≠ 0}}.
 
The [[derivative]] of a quartic function is a [[cubic function]].
 
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 [[Maxima and minima|global minimum]]. Likewise, if ''a'' is negative, it decreases to negative infinity and has a global maximum. In both cases it may have, but not always,  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 [[Nth root|radicals]].
 
==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 couldn't be published immediately.<ref>{{MacTutor|id=Ferrari|title=Lodovico 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 Soviet historian I. Y. Depman claimed that even earlier, in 1486, Spanish mathematician Valmes was [[burned at the stake]] for claiming to have solved the quartic equation.<ref>{{citation|last=Depman|title=Rasskazy o matematike|publisher=Gosdetizdat|year=1954|place=Leningrad|language=Russian}}</ref> [[Inquisitor General]] [[Tomás de Torquemada]] allegedly told Valmes that it was the will of God that such a solution be inaccessible to human understanding.<ref>{{cite book |author=P. Beckmann |title=A history of π |publisher=Macmillan |year=1971 |page=80 |url=http://books.google.com/books?id=TB6jzz3ZDTEC&pg=PA80}}</ref>  However Beckmann, who popularized this story of Depman in the west, said that it was unreliable and hinted that it may have been invented as Soviet antireligious propaganda.<ref>{{cite book |author=P. Beckmann |title=A history of π |publisher=Macmillan |year=1971 |page=191 |url=http://books.google.com/books?id=TB6jzz3ZDTEC&pg=PA80}}</ref> Beckmann's version of this story has been widely copied in several books and internet sites, usually without his reservations and sometimes with fanciful embellishments. Several attempts to find corroborating evidence for this story, or even for the existence of Valmes, have failed.<ref>{{cite journal|author=P. Zoll | title=Letter to the Editor |journal=American Mathematical Monthly |volume=96 |issue=8 |year=1989 |pages=709–710 |jstor=2324719}}</ref>
 
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 [[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>
 
==Applications==
Polynomials of high degrees often appear in problems involving [[Optimization (mathematics)|optimization]], and sometimes these polynomials happen to be quartics, but this is a coincidence.
 
Quartics often arise in [[computer graphics]], for example when computing the intersection of two [[conic section]]s. Another example is [[Ray tracing (graphics)|ray-tracing]] against [[quartic surface]]s such as [[torus|tori]].
 
In [[computer-aided manufacturing]], the torus is a common shape associated with the [[endmill]] cutter.  To calculate its location relative to a triangulated surface, the position of a horizontal torus on the Z-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.  Over 10% of the computational time in a CAM system can be consumed simply calculating the solution to millions of quartic equations.
 
==Solving a quartic equation==
 
===Nature of the roots===
Given the general quartic equation
:<math>ax^4 + bx^3 + cx^2 + dx + e = 0</math>
with real coefficients and <math>a \ne 0,</math> the nature of its roots is mainly determined by the sign of its [[discriminant]]
:<math>\begin{align}
\Delta\ =\ &256 a^3 e^3 - 192 a^2 b d e^2 - 128 a^2 c^2 e^2 + 144 a^2 c d^2 e - 27 a^2 d^4 \\
&+ 144 a b^2 c e^2 - 6 a b^2 d^2 e - 80 a b c^2 d e + 18 a b c d^3 + 16 a c^4 e \\
&- 4 a c^3 d^2 - 27 b^4 e^2 + 18 b^3 c d e - 4 b^3 d^3 - 4 b^2 c^3 e + b^2 c^2 d^2
\end{align} </math>
This may be refined by considering the signs of three other polynomials:
:<math>P = 8ac - 3b^2</math>
such that <math>\tfrac{P}{8a^2}</math> is the second degree coefficient of the associated depressed quartic (see [[#Converting_to_a_depressed_quartic|below]]);
:<math>\Delta_0 = c^2 - 3bd + 12ae</math>
which is 0 if the quartic has a triple root; and
:<math>D = 64 a^3 e - 16 a^2 c^2 + 16 a b^2 c - 16 a^2 bd - 3 b^4</math>
which is 0 if the quartic has two double roots.
 
The possible cases for the nature of the roots are as follows:<ref>{{cite journal|first= E. L.|last=Rees|title=Graphical Discussion of the Roots of a Quartic Equation|journal = The American Mathematical Monthly|volume=29|issue=2|year=1922|page=51–55|url=http://www.jstor.org/stable/2972804}}</ref>
 
* If <math>\Delta < 0</math>  then the equation has two real roots and two [[complex conjugate]] roots.
* If <math>\Delta > 0</math>  then the equation's four roots are either all real or all complex.
** If {{mvar|P}} < 0 and {{mvar|D}} < 0 then all four roots are real and distinct.
** If {{mvar|P}} > 0 or {{mvar|D}} > 0 then there are two pairs of complex conjugate roots.<ref>{{cite doi|10.1016/S0747-7171(88)80015-4|noedit}}</ref>
* If <math>\Delta = 0</math>  then either the polynomial has a [[multiplicity (mathematics)|multiple]] root, or it is the square of a [[quadratic polynomial]]. Here are the different cases that can occur:
** If {{mvar|P}} < 0 and {{mvar|D}} < 0 and <math>\scriptstyle \Delta_0</math> ≠ 0, there is a real double root and two real simple roots.
** If ({{mvar|P}} > 0 and {{mvar|D}} ≠ 0) or {{mvar|D}} > 0, there is a real double root and two complex conjugate roots.
** If <math>\scriptstyle \Delta_0</math> = 0 and {{mvar|D}} ≠ 0, there is a triple root and a simple root, all real.
** If {{mvar|D}} = 0, then:
***If {{mvar|P}} < 0, there are two real double roots.
***If {{mvar|P}} > 0, there are two complex conjugate double roots.
***If <math>\scriptstyle \Delta_0</math> = 0, all four roots are equal to <math>-\tfrac{b}{4a}</math>
 
There are some cases that do not seem to be covered, but they can not occur. For example <math>\scriptstyle \Delta</math> > 0, {{mvar|P}} = 0 and {{mvar|D}} ≤ 0 is not one of the cases.  However if <math>\scriptstyle \Delta</math> > 0 and {{mvar|P}} = 0 then  {{mvar|D}} > 0 so this combination is not possible.
 
===General formula for roots===
[[File:Quartic Formula.svg|thumb|600px|right|Quartic formula written out in full. This formula is too unwieldy for general use, hence other methods or simpler formulas are generally used.<ref>http://planetmath.org/QuarticFormula, PlanetMath, quartic formula, 21st October 2012</ref>]]
 
The four roots (<math>x_1, x_2, x_3, x_4</math>) for the general quartic equation
:<math>ax^4+bx^3+cx^2+dx+e=0 \,</math>
with {{mvar|a}} ≠ 0 are given in the following formula, which is deduced from the one in the section [[#Solving by factoring into quadratics|Solving by factoring into quadratics]] by back changing the variables (see section [[#Converting to a depressed quartic|Converting to a depressed quartic]]) and using the formulas for the [[quadratic function|quadratic]] and [[cubic equation]]s.
:<math>
x_{1,2} = -\frac{b}{4a} - S \pm \frac12\sqrt{-4S^2 - 2p + \frac{q}{S}}
</math>
 
:<math>
x_{3,4} = -\frac{b}{4a} + S \pm \frac12\sqrt{-4S^2 - 2p - \frac{q}{S}}
</math>
 
where {{mvar|p}} and {{mvar|q}} are the coefficients of the second and of the first degree respectively in the [[#Converting to a depressed quartic|associated depressed quartic]]
:<math>p = \frac{8ac-3b^2}{8a^2}\qquad\qquad {\color{white}.}</math>
:<math>q = \frac{b^3 - 4abc + 8a^2d}{8a^3} </math>
and where
:<math>S = \frac{1}{2}\sqrt{-\frac23\ p+\frac{1}{3a}\left(Q + \frac{\Delta_0}{Q}\right)} \quad\qquad\ {\color{white}.}</math> (if {{mvar|S}} = 0, see [[#Special cases of the formula|Special cases of the formula]], below)
:<math>Q\ =\ \sqrt[3]{\frac{\Delta_1 + \sqrt{\Delta_1^2 - 4\Delta_0^3}}{2}} \quad\qquad\qquad {\color{white}.}</math> (if {{mvar|Q}} = 0, see [[#Special cases of the formula|Special cases of the formula]], below)
with
:<math>\Delta_0 = c^2 - 3bd + 12ae</math>
:<math>\Delta_1 = 2c^3 - 9bcd + 27b^2 e + 27ad^2 - 72ace</math>
and
:<math>\Delta_1^2-4\Delta_0^3 = - 27 \Delta\ ,</math> where <math>\Delta</math> is the aforementioned [[discriminant]]. The mathematical expressions of these last four terms are very similar to those of their [[Cubic function#General formula for roots|cubic counterparts]].
 
====Special cases of the formula====
 
If <math>\Delta > 0,</math> using <math>Q</math> may prove inconvenient, since its value is now a complex number. However, if all four roots are real, the value of <math>S</math> is also real, and it would be simpler to express it with the aid of [[trigonometric functions]], as follows:
:<math>S = \frac{1}{2}\sqrt{-\frac23\ p+\frac{2}{3a}\sqrt{\Delta_0}\cos\frac{\phi}{3}}</math>
where
:<math>\phi = \arccos\left(\frac{\Delta_1}{2\sqrt{\Delta_0^3}}\right).</math>
 
If <math>\Delta \neq 0</math> and <math>\Delta_0 = 0,</math> the sign of <math>\sqrt{\Delta_1^2 - 4 \Delta_0^3}=\sqrt{\Delta_1^2} </math>  has to be chosen to have <math>Q \neq 0,</math> that is one should define <math>\sqrt{\Delta_1^2}</math> as <math>\Delta_1,</math> maintaining the sign of <math>\Delta_1.</math>
 
If <math>S = 0,</math> then one must change the choice of the cubic root in <math>Q</math> for having <math>S \neq 0.</math> This is always possible except if the quartic may be factored into <math>\left(x+\tfrac{b}{4a}\right)^4.</math> The result is then correct, but misleading hiding the fact that no cubic root is needed in this case. In fact this case may occur only if the [[numerator]] of <math>q</math> is zero, and  the associated [[#Converting to a depressed quartic|depressed quartic]] is biquadratic; it may thus be solved by the method described [[#Biquadratic equations|below]].
 
If <math>\Delta = 0</math> and <math>\Delta_0 = 0,</math> and thus also <math>\Delta_1 = 0,</math> at least three roots are equal, and the roots are [[rational function]]s of the coefficients.
 
If <math>\Delta=0</math> and <math> \Delta_0 \neq 0,</math> the above expression for the roots is correct but misleading, hiding the fact that the polynomial is [[irreducible polynomial|reducible]] and no cubic root is needed to represent the roots.
 
===Simpler cases===
 
====Reducible quartics====
Consider the general quartic
:<math>Q(x) = a_4x^4+a_3x^3+a_2x^2+a_1x+a_0.</math>
It is [[irreducible polynomial|reducible]] if ''Q''=''RS'', where ''R'' and ''S'' are non-constant polynomials with [[rational number|rational]] coefficients (or more generally with coefficients in the same [[field (mathematics)|field]] as the coefficients of ''Q''). There are two ways to write such a factorization: Either
:<math>Q(x) = (x-x_1)(b_3x^3+b_2x^2+b_1x+b_0)</math>
or
:<math>Q(x) = (c_2x^2+c_1x+c_0)(d_2x^2+d_1x+d_0).</math>
In either case, the roots of ''Q'' are the roots of the factors, which may be computed by solving [[quadratic equation|quadratic]] or [[cubic equation]]s.
 
Detecting such factorizations can be done by using the ''factor'' function of every [[computer algebra system]]. But, in many cases, it may be done by hand-written computation. In the preceding section, we have already seen that the polynomial is always reducible if its discriminant <math>\Delta</math> is zero (this is true for polynomials of every degree).
 
A very special case of the first case of factorization is when ''a''<sub>0</sub>=0. This implies that ''x''<sub>1</sub>=0 is a first root, ''b''<sub>3</sub>=''a<sub>4</sub>, ''b''<sub>2</sub>=''a<sub>3</sub>, ''b''<sub>1</sub>=''a<sub>2</sub>, ''b''<sub>0</sub>=''a<sub>1</sub>, and the other roots may be computed by solving a cubic equation.
 
If <math>a_4+a_3+a_2+a_1+a_0=0,</math> then <math>Q(1)=0</math> and we have a factorization of the first kind with ''x''<sub>1</sub>=1. Similarly, if <math>a_4-a_3+a_2-a_1+a_0=0,</math> then <math>Q(-1)=0</math> and we have a factorization of the first kind with ''x''<sub>1</sub>=-1.
 
Once a root ''x''<sub>1</sub> is known, the second factor of the factorization of the first kind is the quotient of the [[Euclidean division of polynomials|Euclidean division]] of ''Q'' by ''x''-''x''<sub>1</sub>. It is
:<math>a_4x^3+(a_4x_1+a_3)x^2+(a_4x_1^2+a_3x_1+a_2)x+a_4x_1^3+a_3x_1^2+a_2x_1+a_1.</math>
 
If <math>a_0, a_1, a_2, a_3, a_4</math> are small integers a factorization of the first kind is easy to detect: if <math>x_1=\frac{p}{q}\ ,</math> with ''p'' and ''q'' [[coprime]] integers, then ''q'' divides evenly ''a''<sub>4</sub>, and ''p'' divides evenly ''a''<sub>0</sub>. Thus, computing <math>Q\left(\frac{p}{q}\right)</math> for every possible values of ''p'' and ''q'' allows to find the rational roots, if any.
 
In the case of two quadratic factors or of large integer coefficients, the factorization is harder to compute, and, in general, it is better to use the ''factor'' function of a [[computer algebra system]] (see [[polynomial factorization]] for a description of the algorithms that are involved).
 
====Biquadratic equations====
If <math>a_3=a_1=0,\,</math> then the '''biquadratic function'''
<!--The \,\! below is to format this as PNG instead of HTML. Please do not remove it-->
:<math>
Q(x) = a_4x^4+a_2x^2+a_0\,\!
</math>
defines a '''biquadratic equation''', which is easy to solve.
 
Let <math>z=x^2.\,</math>
Then ''Q'' becomes a [[Quadratic function|quadratic]] ''q'' in <math>z,\,</math>
:<math>
q(z) = a_4z^2+a_2z+a_0.\,\!
</math>
Let <math>z_+\,</math> and <math>z_-\,</math> be the roots of ''q''.
Then the roots of our quartic ''Q'' are
:<math>
\begin{align}
x_1&=+\sqrt{z_+},
\\
x_2&=-\sqrt{z_+},
\\
x_3&=+\sqrt{z_-},
\\
x_4&=-\sqrt{z_-}.
\end{align}
</math>
 
==== Quasi-symmetric equations ====
: <math>a_0x^4+a_1x^3+a_2x^2+a_1 m x+a_0 m^2=0 \,</math>
 
Steps:
# Divide by ''x''<sup>&nbsp;2</sup>.
# Use variable change ''z'' = ''x'' + ''m''/''x''.
 
===Converting to a depressed quartic===<!-- This section is linked from [[Quartic equation]] -->
 
For solving purpose, 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
:<math> a_4 x^4 + a_3 x^3 + a_2 x^2 + a_1 x + a_0 = 0 \qquad\qquad(1')</math>
be the general quartic equation we want to solve.
 
Dividing by ''a''<sub>4</sub>, provides the equivalent equation
:<math> x^4 + a x^3 + b x^2 + c x + d = 0, </math>
with
:<math>a=\frac{a_3}{a_4},\quad b=\frac{a_2}{a_4},\quad c=\frac{a_1}{a_4},\quad d=\frac{a_0}{a_4}.</math>
Substituting ''x'' by <math>y-\frac{a_3}{4a_4}</math> gives, after a simple term regrouping, the equation
:<math>y^4+py^2+qy+r=0,</math>
where
:<math>\begin{align}
p=&\frac{8b-3a^2}{8} &=&\frac{8a_2a_4-3a_3^2}{8a_4^2}\\
q=&\frac{a^3-4ab+8c}{8} &=&\frac{a_3^3-4a_2a_3a_4+8a_1a_4^2}{8a_4^3}\\
r=&\frac{-3a^4+256d-64ca+16a^2b}{256}&=&\frac{-3a_3^4+256a_0a_4^3-64a_1a_3a_4^2+16a_2a_3^2a_4}{256a_4^4}
\end{align}
</math>
 
If ''y''<sub>1</sub>, ''y''<sub>2</sub>, ''y''<sub>3</sub>, ''y''<sub>4</sub> are the roots of this ''depressed quartic'', then the roots of the original quartic are <math>y_1-\frac{a}{4}=y_1-\frac{a_3}{4a_4},\; y_2-\frac{a}{4}=y_2-\frac{a_3}{4a_4},\;y_3-\frac{a}{4}=y_3-\frac{a_3}{4a_4},\;y_4-\frac{a}{4}=y_4-\frac{a_3}{4a_4}.</math>
 
===Ferrari's solution===
 
As explained in the preceding section, we may start with a ''depressed quartic equation''
:<math> u^4 + \alpha u^2 + \beta u + \gamma = 0. \qquad \qquad (1) </math>
 
This depressed quartic can be solved by means of a method discovered by [[Lodovico Ferrari]]. The depressed equation may be rewritten (this is easily verified by expanding the square and regrouping all terms in the left-hand side)
:<math> (u^2 + \alpha)^2 = \alpha u^2 + \alpha^2- \beta u - \gamma. \qquad \qquad (2) </math>
 
Then, we introduce a variable ''y'' into the factor on the left-hand side by adding <math> 2u^2y+2\alpha y + y^2 </math>
to both sides. After regrouping the coefficients of the power of ''u'' in the right-hand side, this gives the equation
:<math> (u^2 + \alpha + y)^2 = (\alpha + 2 y) u^2 - \beta u + (y^2 + 2 y \alpha + \alpha^2 - \gamma), \qquad \qquad (3)\,</math>
which is equivalent to the original equation, whichever value is given to ''y''.
 
As the value of ''y'' may be arbitrarily chosen, we will choose it in order to get a perfect square in the right-hand side. This implies that the [[discriminant]] in ''u'' of this [[quadratic equation]] is zero, that is ''y'' is a root of the equation
:<math> (-\beta)^2 - 4 (2 y + \alpha) (y^2 + 2 y \alpha + \alpha^2 - \gamma) = 0.\,</math>
which may be rewritten
:<math> y^3 + {5 \over 2} \alpha y^2 + (2 \alpha^2 - \gamma) y + \left( {\alpha^3 \over 2} - {\alpha \gamma \over 2} - {\beta^2 \over 8} \right) = 0. \qquad \qquad (4) </math>
The value of ''y'' may thus be obtained from the formulas provided in the article [[Cubic equation]].
 
When ''y'' is a root of equation (4), the right-hand side of equation (3) the square of
:<math>\left(u\sqrt{\alpha + 2 y}-\frac{\beta}{2\sqrt{\alpha + 2 y}}\right)^2.</math>
However, this induces a division by zero if <math>\alpha + 2 y=0.</math> This implies <math>\beta=0,</math> and thus that the depressed equation is bi-quadratic, and may be solved by an easier method (see above). This was not a problem at the time of Ferrari, when one solved only explicitly given equations with numeric coefficients. For a general formula that is always true, one thus need to choose a root of the cubic equation such that <math>\alpha + 2 y \not=0.</math> This is always possible unless for the depressed equation ''x''<sup>4</sup>=0.
 
Now, if ''y'' is a root of the cubic equation such that <math>\alpha + 2 y \not=0,</math> equation (3) may be rewritten
: <math> \left(u^2 + \alpha + y+u\sqrt{\alpha + 2 y}-\frac{\beta}{2\sqrt{\alpha + 2 y}}\right) \left(u^2 + \alpha + y - u\sqrt{\alpha + 2 y}+\frac{\beta}{2\sqrt{\alpha + 2 y}}\right)=0,</math>
and the equation is easily solved by applying to each factor the [[quadratic formula|formula]] for quadratic equations. Solving them we may write the four roots as
:<math>u={\pm_1\sqrt{\alpha + 2 y} \pm_2 \sqrt{-\left(3\alpha + 2y \pm_1 {2\beta \over \sqrt{\alpha + 2 y}} \right)} \over 2},</math>
where <math>\pm_1</math> and <math>\pm_2</math> denote either + or -. As the two occurrences of <math>\pm_1</math> must denote the same sign, this leave four possibilities, one for each root.
 
Therefore the solutions of the original quartic equation are
:<math>x=-{a_3 \over 4a_4} + {\pm_1\sqrt{\alpha + 2 y} \pm_2 \sqrt{-\left(3\alpha + 2y \pm_1 {2\beta \over \sqrt{\alpha + 2 y}} \right)} \over 2}. \qquad\qquad (8')</math>
 
===Solving by factoring into quadratics===
One can solve a quartic by factoring it into a product of two [[quadratic equation|quadratics]].<ref name=Brookfield>{{cite journal |author=Brookfield, G. |title=Factoring quartic polynomials: A lost art |journal=Mathematics Magazine |volume=80 |issue=1 |year=2007 |pages=67–70}}</ref>  Let
 
:<math>
  \begin{array}{lcl}
  0 = x^4 + ax^3 + bx^2 + cx + d & = & (x^2 + px + q)(x^2 + rx + s) \\
  & = & x^4 + (p + r)x^3 + (q + s + pr)x^2 + (ps + qr)x + qs
  \end{array}
</math>
 
By equating coefficients, this results in the following set of simultaneous equations:
:<math>
  \begin{array}{lcl}
  a & = & p + r \\
  b & = & q + s + pr \\
  c & = & ps + qr \\
  d & = & qs
  \end{array}
</math>
 
This can be simplified by starting again with a [[#Converting to a depressed quartic|depressed quartic]] where <math>a = 0</math>, which can be obtained by substituting <math>(x - a/4)</math> for <math>x</math>, then <math>r = -p</math>, and:
:<math>
  \begin{array}{lcl}
  b + p^2 & = & s + q \\
  c & = & (s - q) p \\
  d & = & sq
  \end{array}
</math>
 
It's now easy to eliminate both <math>s</math> and <math>q</math> by doing the following:
:<math>
  \begin{array}{lcl}
  p^2(b + p^2)^2 - c^2 & = & p^2(s + q)^2 - p^2(s - q)^2 \\
  & = & 4p^2sq \\
  & = & 4p^2d
  \end{array}
</math>
 
If we set <math>P = p^2</math>, then this equation turns into the resolvent [[cubic equation]]
:<math>P^3 + 2bP^2 + (b^2 - 4d)P - c^2 = 0\,</math>
which is solved elsewhere.  Then, if ''p'' is a square root of a non-zero root of this resolvent (such a non zero root exists except for the quartic ''x''<sup>4</sup>, which is trivially factored),
:<math>
  \begin{array}{lcl}
  r & = & -p \\
2s & = & b + p^2 + c/p \\
2q & = & b + p^2 - c/p
  \end{array}
</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.
 
The above solution shows that the quartic polynomial with a zero coefficient on the cubic term is factorable into quadratics with rational coefficients if and only if either  the resolvent cubic  <math>P^3 + 2bP^2 + (b^2 - 4d)P - c^2\,</math> has a non-zero root which is the square of a rational, or <math>b^2-4d</math> is the square of rational and ''c''=0; this can readily be checked using the [[rational root test]].
 
===Solving by Lagrange resolvent===
The [[symmetric group]] S<sub>4</sub> on four elements has the [[Klein four-group]] as a [[normal subgroup]]. This suggests using a '''{{visible anchor|resolvent cubic}}''' 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 ''x''<sub>''i''</sub>, for ''i'' from 0 to 3, the four roots roots of
:<math>x^4 + ax^3 + bx^2 + cx + d = 0\qquad (1)</math>
If we set
:<math> \begin{align}
s_0 &= \tfrac12(x_0 + x_1 + x_2 + x_3), \\
s_1 &= \tfrac12(x_0 - x_1 + x_2 - x_3), \\
s_2 &= \tfrac12(x_0 + x_1 - x_2 - x_3), \\
s_3 &= \tfrac12(x_0 - x_1 - x_2 + x_3),
\end{align}</math>
then since the transformation is an [[Involution (mathematics)|involution]] we may express the roots in terms of the four ''s''<sub>''i''</sub> in exactly the same way. Since we know the value ''s''<sub>0</sub> = -''a''/2, we only need the values for ''s''<sub>1</sub>, ''s''<sub>2</sub> and ''s''<sub>3</sub>. These are the roots of the polynomial
:<math>(s^2 - s_1^2)(s^2-s_2^2)(s^2-s_3^2).\qquad (2)</math>
Substituting the ''s''<sub>''i''</sub> by their values in term of the ''x''<sub>''i''</sub>, this polynomial may be expanded in a polynomial in ''s'' whose coefficients are [[symmetric polynomial]]s in the ''x''<sub>''i''</sub>. 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 ''a''=0, this results in the polynomial
:<math>{s}^{6}+2b\,{s}^{4}+({b}^{2}-4c)\,{s}^{2}-{c}^{2}\qquad(3)</math>
This polynomial is of degree six, but only of degree three in ''s''<sup>2</sup>, and so the corresponding equation is solvable by the method described in the article [[Cubic function]]. By substituting the roots in the expression of the ''x''<sub>''i''</sub> in terms of the ''s''<sub>''i''</sub>, 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 ''x''<sub>''i''</sub>.
 
These expressions are unnecessarily complicated, involving the [[root of unity|cubic roots of unity]], which can be avoided as follows.
If s is any non-zero root of (3), and if we set
:<math>F_1 = {x}^{2}+sx+ \frac{b}{2} + \frac{s^2}{2} - \frac{c}{2p}</math>
:<math>F_2 ={x}^{2}-sx+ \frac{b}{2} + \frac{s^2}{2} + \frac{c}{2p}</math>
then
:<math>F_1 F_2 = x^4 + bx^2 + cx + d</math>
We therefore can solve the quartic by solving for ''s'' and then solving for the roots of the two factors using the [[quadratic formula]].
 
Note that this gives exactly the same formula for the roots as the preceding section.
 
===Solving with algebraic geometry===
An alternative solution using algebraic geometry is given in {{Harv|Faucette|1996}}, and proceeds as follows (more detailed discussion in reference). In brief, one interprets the roots as the intersection of two quadratic curves, then finds the three [[degenerate conic|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 <math>x^4+px^2+qx+r=0</math> may also be expressed as the ''x'' coordinates of the intersections of the two quadratic equations <math>y^2+py+qx+r=0,</math> <math>y-x^2=0;</math> i.e., using the substitution <math>y=x^2;</math> that two quadratics intersect in four points is an instance of [[Bézout's theorem]]. Explicitly, the four points are <math>P_i := (x_i,x_i^2)</math> for the four roots <math>x_i</math> of the quartic.
 
These four points are not collinear because they lie on the irreducible quadratic <math>y=x^2,</math> 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 form]]s in three variables:
:<math>\begin{align}
F_1(X,Y,Z) &:= Y^2 + pYZ + qXZ + rZ^2,\\
F_2(X,Y,Z) &:= YZ - X^2
\end{align}</math>
the pencil is given by the forms <math>\lambda F_1 + \mu F_2</math> for any point <math>[\lambda,\mu]</math> in the projective line – in other words, where <math>\lambda</math> and <math>\mu</math> are not both zero, and multiplying a quadratic form by a constant does not change its quadratic curve of zeros.
 
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 <math>\textstyle{\binom{4}{2} = 6}</math> different ways. Denote these <math>Q_1 = L_{12} + L_{34},</math> <math>Q_2 = L_{13} + L_{24},</math> <math>Q_3 = L_{14} + L_{23}.</math> Given any two of these, their intersection is exactly the four points.
 
The reducible quadratics, in turn, may be determined by expressing the quadratic form <math>\lambda F_1 + \mu F_2</math> as a 3&times;3 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 <math>\lambda</math> and <math>\mu,</math> and corresponds to the resolvent cubic.
 
==See also==
*[[Linear function]]
*[[Quadratic function]]
*[[Cubic function]]
*[[Quintic function]]
*[[Polynomial]]
*[[Newton's method]]
 
==References==
{{reflist}}
 
==Further reading==
*{{Citation | last = Cardano | first = Gerolamo | author-link = Gerolamo Cardano | publication-date = 1993 | year = 1545 | title = Ars magna or The Rules of Algebra | publisher = Dover | isbn = 0-486-67811-3}}
* {{ Citation | title = A Geometric Interpretation of the Solution of the General Quartic Polynomial | first = William Mark | last = Faucette | journal = [[The American Mathematical Monthly]] |volume = 103 |issue = 1 |year = 1996 | pages = 51–57 | doi=10.2307/2975214 |id = {{citeseerx|10.1.1.111.5574}} }}
* {{cite journal |author=Nickalls, R. W. D. |title=The quartic equation: invariants and Euler's solution revealed |journal=[[Mathematical Gazette]] |volume=93 |year=2009 |pages=66–75 |url=http://www.nickalls.org/dick/papers/maths/quartic2009.pdf}}
* {{cite journal |author=Carpenter, W. |title=On the solution of the real quartic |journal=[[Mathematics Magazine]] |volume=39 |year=1966 |pages=28–30}}
* {{cite journal |author= Shmakov, S.L.|title=A Universal Method of Solving Quartic Equations |journal=[[International Journal of Pure and Applied Mathematics]] |volume=71 |year=2011 |pages=251–259 |url=http://www.ijpam.eu/contents/2011-71-2/7/7.pdf}}
 
==External links==
*{{PlanetMath | urlname = QuarticFormula | title = Quartic formula as four single equations }}
*[http://members.tripod.com/l_ferrari/quartic_equation.htm Ferrari's achievement]
*[http://www.freewebs.com/brianjs/ultimateequationsolver.htm Calculator for solving Quartics (also solves Cubics and Quadratics)]
 
{{Polynomials}}
 
[[Category:Elementary algebra]]
[[Category:Equations]]
[[Category:Polynomials]]
 
{{Link FA|uk}}
{{Link GA|uk}}

Latest revision as of 11:50, 16 June 2014

Lindsay Kelly is the title I love to be called with but you can contact me anything you like. Her family members lives in Alaska. Managing individuals is my day job now but the promotion never comes. Mountain biking is 1 of the things she loves most.

Also visit my blog: anaheim attorney