Main Page: Difference between revisions

From formulasearchengine
Jump to navigation Jump to search
mNo edit summary
No edit summary
 
(152 intermediate revisions by 92 users not shown)
Line 1: Line 1:
[[File:Quadratic formula.svg|thumbnail|The quadratic formula]]
This is a preview for the new '''MathML rendering mode''' (with SVG fallback), which is availble in production for registered users.
In [[elementary algebra|basic algebra]], the '''quadratic formula''' is the solution of the [[quadratic equation]].  There are other ways to solve the quadratic equation instead of using the quadratic formula, such as [[Factorization|factoring]], [[completing the square]], or [[Graph of a function|graphing]].  However, using the quadratic formula is often the most convenient way.


The general quadratic equation is
If you would like use the '''MathML''' rendering mode, you need a wikipedia user account that can be registered here [[https://en.wikipedia.org/wiki/Special:UserLogin/signup]]
:<math>ax^2+bx+c=0.</math>
* Only registered users will be able to execute this rendering mode.
Here ''x'' represents an unknown, and ''a'', ''b'', and ''c'' are [[Constant term|constant]]s  with ''a'' not equal to 0. One can easily verify that the quadratic formula satisfies the quadratic equation, by inserting the former into the latter. Each of the solutions given by the quadratic formula is called a [[Zero of a function|root]] of the quadratic equation.
* Note: you need not enter a email address (nor any other private information). Please do not use a password that you use elsewhere.


==Derivation of the formula==
Registered users will be able to choose between the following three rendering modes:  
Once a student understands how to [[completing the square|complete the square]], then he or she can derive the quadratic formula.<ref>{{citation
|title=Schaum's Outline of Theory and Problems of Elementary Algebra
|first1=Barnett
|last1=Rich
|first2=Philip
|last2=Schmidt
|publisher=The McGraw–Hill Companies
|year=2004
|isbn=0-07-141083-X
|url=http://books.google.com/?id=8PRU9cTKprsC}}, [http://books.google.be/books?id=8PRU9cTKprsC&pg=PA291 Chapter 13 §4.4, p. 291]</ref><ref>Li, Xuhui.  ''An Investigation of Secondary School Algebra Teachers' Mathematical Knowledge for Teaching Algebraic Equation Solving'', p. 56 (ProQuest, 2007): "The quadratic formula is the most general method for solving quadratic equations and is derived from another general method: completing the square."</ref>  For that reason, the derivation is sometimes left as an exercise for the student, who can thereby experience rediscovery of this important formula.<ref>Rockswold, Gary.  ''College algebra and trigonometry and precalculus'', p. 178 (Addison Wesley, 2002).</ref><ref>Beckenbach, Edwin et al.  ''Modern college algebra and trigonometry'', p. 81 (Wadsworth Pub. Co., 1986).</ref>  The explicit derivation is as follows.


Divide the quadratic equation by ''a'', which is allowed because ''a'' is non-zero:
'''MathML'''
:<math>x^2 + \frac{b}{a} x + \frac{c}{a}=0.</math>
:<math forcemathmode="mathml">E=mc^2</math>
Subtract ''c''/''a'' from both sides of the equation, transforming it into the form
:<math>x^2 + \frac{b}{a} x= -\frac{c}{a}.</math>
[[File:Completing the Square for the Quadratic Eq.png|thumb|300px|One way to think of this derivation is in geometric terms.  Lengths are in green, and area is in red.]]The quadratic equation is now in a form to which the method of completing the square can be applied. To "complete the square", add a constant to both sides of the equation such that the left hand side becomes a complete square:
:<math>x^2+\frac{b}{a}x+\left( \frac{1}{2}\frac{b}{a} \right)^2 =-\frac{c}{a}+\left( \frac{1}{2}\frac{b}{a} \right)^2,</math>
which produces
:<math>\left(x+\frac{b}{2a}\right)^2=-\frac{c}{a}+\frac{b^2}{4a^2}</math>
or (after rearranging the terms on the right hand side to have a common denominator)
:<math>\left(x+\frac{b}{2a}\right)^2=\frac{b^2-4ac}{4a^2}.</math>
The square has thus been completed, as shown in the figure.  Taking the [[square root]] of both sides yields
:<math>x+\frac{b}{2a}=\pm\frac{\sqrt{b^2-4ac\ }}{2a}.</math>
Isolating ''x'' gives the quadratic formula:
:<math>x=\frac{-b\pm\sqrt{b^2-4ac\ }}{2a}.</math>


The [[plus-minus sign|plus-minus symbol "±"]] indicates that both
<!--'''PNG'''  (currently default in production)
:<math> x=\frac{-b + \sqrt {b^2-4ac}}{2a}\quad\text{and}\quad x=\frac{-b - \sqrt {b^2-4ac}}{2a}</math>
:<math forcemathmode="png">E=mc^2</math>
are solutions of the quadratic equation.<ref>{{Citation|last=Sterling|first=Mary Jane|title=Algebra I For Dummies|year=2010|publisher=Wiley Publishing|isbn=978-0-470-55964-2|url=http://books.google.com/?id=2toggaqJMzEC&pg=PA219&dq=quadratic+formula#v=onepage&q=quadratic%20formula&f=false|page=219}}</ref> There are many alternatives of this derivation with minor differences, mostly concerning the manipulation of <math>a</math>.


Some sources, particularly older ones, use alternative parameterizations of the quadratic equation such as <math>ax^2-2bx+c=0</math> <ref name="kahan">{{Citation |first=Willian |last=Kahan |title=On the Cost of Floating-Point Computation Without Extra-Precise Arithmetic |url=http://www.cs.berkeley.edu/~wkahan/Qdrtcs.pdf |date=November 20, 2004 |accessdate=2012-12-25}}</ref> or <math>ax^2+2bx+c=0</math>,<ref>{{Citation |url=http://www.proofwiki.org/wiki/Quadratic_Equation#Also_defined_as |title=Quadratic Equation |journal=Proof Wiki |accessdate=2012-12-25}}</ref> where ''b'' has a magnitude one half of the more common one. These result in slightly different forms for the solution, but are otherwise equivalent.
'''source'''
:<math forcemathmode="source">E=mc^2</math> -->


==Historical development==
<span style="color: red">Follow this [https://en.wikipedia.org/wiki/Special:Preferences#mw-prefsection-rendering link] to change your Math rendering settings.</span> You can also add a [https://en.wikipedia.org/wiki/Special:Preferences#mw-prefsection-rendering-skin Custom CSS] to force the MathML/SVG rendering or select different font families. See [https://www.mediawiki.org/wiki/Extension:Math#CSS_for_the_MathML_with_SVG_fallback_mode these examples].
[[File:Brahmagupta.jpg|thumb|upright|[[Brahmagupta]] described the quadratic formula more clearly than anyone had done before.]]  The [[Indian mathematics|Indian mathematician]] [[Brahmagupta]] (597–668 AD) was first to clearly describe the quadratic formula, although prior civilizations had investigated quadratic equations, understood them fairly well, and developed methods for solving them.<ref name=Bradley>Bradley, Michael.  ''The Birth of Mathematics: Ancient Times to 1300'', p. 86 (Infobase Publishing 2006).</ref> Brahmagupta's formula was written in words, instead of symbols, in his treatise ''[[Brāhmasphuṭasiddhānta]]'' published in 628 AD.<ref>Mackenzie, Dana.  ''The Universe in Zero Words: The Story of Mathematics as Told through Equations'', p. 61 (Princeton University Press, 2012).</ref> His solution of the quadratic equation <math>ax^2+bx=c</math> was as follows:
<blockquote>To the absolute number multiplied by four times the [coefficient of the] square, add the square of the [coefficient of the] middle term; the square root of the same, less the [coefficient of the] middle term, being divided by twice the [coefficient of the] square is the value.  (''Brahmasphutasiddhanta'', Colebrook translation, 1817, page 346.)<ref name=Stillwell2004>{{cite book |last=Stillwell |first=John |title=Mathematics and Its History (2nd ed.) |year=2004 |publisher=Springer |isbn=0-387-95336-1|page=87}}</ref></blockquote>
This is equivalent to:
:<math>x = \frac{\sqrt{4ac+b^2}-b}{2a}.</math>
Mathematics Professor Elizabeth Stapel has explained what motivated the discovery of this formula:<ref>[http://www.purplemath.com/resume.htm Stapel, Elizabeth]. "[http://www.purplemath.com/modules/solvquad4.htm Solving Quadratic Equations: Solving with the Quadratic Formula]." Purplemath. Accessed 13 October 2013.</ref>
<blockquote>Somebody (possibly in seventh-century India) was solving a lot of quadratic equations by completing the square. At some point, he noticed that he was always doing the exact same steps in the exact same order for every equation. Taking advantage of one of the great powers and benefits of algebra (namely, the ability to deal with abstractions, rather than having to muck about with the numbers every single time), he made a formula out of what he'd been doing....</blockquote>
The quadratic formula covering all cases was first obtained by [[Simon Stevin]] in 1594.<ref>{{Citation |title=The Principal Works of Simon Stevin, Mathematics |volume=II-B |first1=D. J. |last1=Struik |first2=Simon |last2=Stevin |publisher=C. V. Swets & Zeitlinger |year=1958 |page=470 |url=http://www.dwc.knaw.nl/pub/bronnen/Simon_Stevin-%5bII_B%5d_The_Principal_Works_of_Simon_Stevin,_Mathematics.pdf}}</ref> In 1637 [[René Descartes]] published ''[[La Géométrie]]'' containing the quadratic formula in the form we know today. The first appearance of the general solution in the modern mathematical literature appeared in an 1896 paper by Henry Heaton.<ref name="heaton-1896">Heaton, H. (1896) ''[http://www.jstor.org/stable/info/2971099 A Method of Solving Quadratic Equations]'', [[American Mathematical Monthly]] '''3'''(10), 236–237.</ref>


==Importance of this solution==
==Demos==
Among the many equations that one encounters while studying [[algebra]], the quadratic formula is one of the most important, and is considered the most useful method of solving quadratic equations.<ref>Jahr, Cathy.  ''Barron's How to Prepare for the Tennessee Gateway High School Exit Exam in Algebra'', p. 137 (Barron's Educational Series, 2005): "The Quadratic Formula is one of the most important formulas in mathematics because it is a method for solving all quadratic equations."</ref><ref>Heywood, Arthur.  ''Intermediate algebra: lecture-lab'', p. 235 (Dickenson Pub. Co., 1975):  "The quadratic formula is one of the most important formulas in mathematics, and we will now spend some time studying many different ways of using it."</ref> Unlike some other solution methods such as factoring, the quadratic formula can be used to solve any quadratic equation.<ref>Blanton, Floyd.  ''Modern College Algebra'', p. 162 (McGraw–Hill, 1967): "The quadratic formula is the most powerful method for solving quadratics since it can be used to solve any quadratic."</ref><ref name=Smith>Smith, R. and Peterson, J. ''Introductory Technical Mathematics'', pp. 408–409 (Cengage Learning 2006): "The factoring method has limited application.  Only certain quadratic equations can be solved by factoring.  Completing the square…can be a rather long and complicated procedure and is seldom used in practical applications.  [The] quadratic formula…is the most useful method for solving complete quadratic equations."</ref> Many equations that are not naively quadratic can be put into quadratic form, and solved using the quadratic formula.<ref>Banks, John.  ''Elements of Algebra'', p. 97 (Allyn and Bacon, 1962):  "The quadratic formula is one of the most useful formulas in elementary mathematics. You should be certain you know what it is and how to use it. Many other equations can be solved by first reducing them to quadratic form."</ref> For these reasons, it is often memorized.<ref>Larson, R. and Hodgkins A. ''College Algebra with Applications for Business and Life Sciences'', p. 104 (Cengage Learning 2009):  "The Quadratic Formula is one of the most important formulas in algebra, and you should memorize it."</ref><ref>McConnell, John.  ''Algebra'', p. 603 (Scott Foresman 1993): "The Quadratic Formula is one of the most famous formulas in all of mathematics. You should memorize it today."</ref>
Completing the square also allows for the solution of all quadratics, as it is mathematically equivalent to the quadratic formula, but the quadratic formula gives a result without the need for so much algebraic manipulation. As such it is generally considered more practical to use the formula.<ref name=Smith /><ref>Payne, M. ''Intermediate Algebra'', p. 289 (West Publishing 1985): "While the method of completing the square may be used to solve quadratic equations, it is more involved than the quadratic formula, and is seldom used in practical work."</ref><ref>Davis, L. ''Technical Mathematics'', p. 174. (Merrill Publishing 1990): "You can use the quadratic formula, as well as completing the square, to solve any quadratic equation. However, you will find that the quadratic formula is easier to use."</ref><ref>Dugopolski, Mark.  ''Algebra for College Students'', p. 541 (McGraw Hill 2006): "Any quadratic equation can be solved by completing the square or using the quadratic formula. Because the quadratic formula is usually faster, it is used more often than completing the square."</ref> However, completing the square is very useful for other purposes, such as putting the equations for [[conic section]]s into standard form.<ref name=sterling>Sterling, Mary.  ''[http://books.google.com/books?id=-8VfOqh1CMEC&pg=PA60 CliffsStudySolver: Algebra II]'', p. 60 (Houghton Mifflin Harcourt 2012).</ref>


==Other derivations==
Here are some [https://commons.wikimedia.org/w/index.php?title=Special:ListFiles/Frederic.wang demos]:
A number of alternative derivations of the quadratic formula can be found in the literature which either (a) are simpler than the standard completing the square method, (b) represent interesting applications of other frequently used techniques in algebra, or (c) offer insight into other areas of mathematics.


===Alternate method of completing the square===
The great majority of algebra texts published over the last several decades teach [[Quadratic equation#Completing the square|completing the square using the sequence presented earlier]]: (1) divide each side by ''a'', (2) rearrange, (3) then add the square of one-half of ''b/a''.


However, as pointed out by Larry Hoehn in 1975, completing the square can be accomplished by a different sequence that leads to a simpler sequence of intermediate terms: (1) multiply each side by ''4a'', (2) rearrange, (3) then add <math>b^2</math>.<ref name=Hoehn1975>{{cite journal |last=Hoehn |first=Larry |title=A More Elegant Method of Deriving the Quadratic Formula |journal=The Mathematics Teacher |year=1975 |volume=68 |issue=5 |page=442&ndash;443}}</ref>
* accessibility:
** Safari + VoiceOver: [https://commons.wikimedia.org/wiki/File:VoiceOver-Mac-Safari.ogv video only], [[File:Voiceover-mathml-example-1.wav|thumb|Voiceover-mathml-example-1]], [[File:Voiceover-mathml-example-2.wav|thumb|Voiceover-mathml-example-2]], [[File:Voiceover-mathml-example-3.wav|thumb|Voiceover-mathml-example-3]], [[File:Voiceover-mathml-example-4.wav|thumb|Voiceover-mathml-example-4]], [[File:Voiceover-mathml-example-5.wav|thumb|Voiceover-mathml-example-5]], [[File:Voiceover-mathml-example-6.wav|thumb|Voiceover-mathml-example-6]], [[File:Voiceover-mathml-example-7.wav|thumb|Voiceover-mathml-example-7]]
** [https://commons.wikimedia.org/wiki/File:MathPlayer-Audio-Windows7-InternetExplorer.ogg Internet Explorer + MathPlayer (audio)]
** [https://commons.wikimedia.org/wiki/File:MathPlayer-SynchronizedHighlighting-WIndows7-InternetExplorer.png Internet Explorer + MathPlayer (synchronized highlighting)]
** [https://commons.wikimedia.org/wiki/File:MathPlayer-Braille-Windows7-InternetExplorer.png Internet Explorer + MathPlayer (braille)]
** NVDA+MathPlayer: [[File:Nvda-mathml-example-1.wav|thumb|Nvda-mathml-example-1]], [[File:Nvda-mathml-example-2.wav|thumb|Nvda-mathml-example-2]], [[File:Nvda-mathml-example-3.wav|thumb|Nvda-mathml-example-3]], [[File:Nvda-mathml-example-4.wav|thumb|Nvda-mathml-example-4]], [[File:Nvda-mathml-example-5.wav|thumb|Nvda-mathml-example-5]], [[File:Nvda-mathml-example-6.wav|thumb|Nvda-mathml-example-6]], [[File:Nvda-mathml-example-7.wav|thumb|Nvda-mathml-example-7]].
** Orca: There is ongoing work, but no support at all at the moment [[File:Orca-mathml-example-1.wav|thumb|Orca-mathml-example-1]], [[File:Orca-mathml-example-2.wav|thumb|Orca-mathml-example-2]], [[File:Orca-mathml-example-3.wav|thumb|Orca-mathml-example-3]], [[File:Orca-mathml-example-4.wav|thumb|Orca-mathml-example-4]], [[File:Orca-mathml-example-5.wav|thumb|Orca-mathml-example-5]], [[File:Orca-mathml-example-6.wav|thumb|Orca-mathml-example-6]], [[File:Orca-mathml-example-7.wav|thumb|Orca-mathml-example-7]].
** From our testing, ChromeVox and JAWS are not able to read the formulas generated by the MathML mode.


In other words, the quadratic formula can be derived as follows:
==Test pages ==
:<math>ax^2+bx+c=0</math>
:<math>4 a^2 x^2 + 4abx + 4ac=0</math>
:<math>4 a^2 x^2 + 4abx = -4ac</math>
:<math>4 a^2 x^2 + 4abx + b^2 = b^2 - 4ac </math>
:<math> (2ax + b)^2 = b^2 - 4ac </math>
:<math> 2ax + b = \pm \sqrt{b^2-4ac} </math>
:<math> 2ax = -b \pm \sqrt{b^2-4ac} </math>
:<math>x=\frac{-b\pm\sqrt{b^2-4ac\ }}{2a}</math>


This actually represents an ancient derivation of the quadratic formula, and was known to the Hindus at least as far back as 1025 A.D.<ref name=Smith1958>{{cite book|last=Smith|first=David E.|title=History of Mathematics, Vol. II|year=1958|publisher=Dover Publications|isbn=0486204308|page=446}}</ref> Compared with the derivation in standard usage, this alternate derivation is shorter, involves fewer computations with literal coefficients, avoids fractions until the last step, has simpler expressions, and uses simpler math. As Hoehn states, "it is easier 'to add the square of ''b''' than it is 'to add the square of half the coefficient of the ''x'' term'".<ref name=Hoehn1975/>
To test the '''MathML''', '''PNG''', and '''source''' rendering modes, please go to one of the following test pages:
*[[Displaystyle]]
*[[MathAxisAlignment]]
*[[Styling]]
*[[Linebreaking]]
*[[Unique Ids]]
*[[Help:Formula]]


===By substitution===
*[[Inputtypes|Inputtypes (private Wikis only)]]
With this technique, we substitute <math>x=y+m</math> into the quadratic to get:
*[[Url2Image|Url2Image (private Wikis only)]]
:<math>a(y+m)^2 + b(y+m) + c =0</math>
==Bug reporting==
Expanding the result and then collecting the powers of <math>y</math> produces:
If you find any bugs, please report them at [https://bugzilla.wikimedia.org/enter_bug.cgi?product=MediaWiki%20extensions&component=Math&version=master&short_desc=Math-preview%20rendering%20problem Bugzilla], or write an email to math_bugs (at) ckurs (dot) de .
:<math>ay^2 + y(2am + b) + (am^2+bm+c) = 0</math>
We have not yet imposed a second condition on <math>y</math> and <math>m</math>, so we now choose ''m'' so that the middle term vanishes.  That is, <math>2am+b=0</math> or <math>m=\frac{-b}{2a}</math>. Subtracting the constant term from both sides of the equation (to move it to the right hand side) and then dividing by ''a'' gives: 
:<math>y^2=\frac{-(am^2+bm+c)}{a}</math>
Substituting for <math>m</math> gives:
:<math>y^2=\frac{-(\frac{b^2}{4a}+\frac{-b^2}{2a}+c)}{a}=\frac{b^2-4ac}{4a^2}</math>
Therefore <math>y=\pm\frac{\sqrt{b^2-4ac}}{2a}</math>; substituting <math>x=y+m=y-\frac{b}{2a}</math> provides the quadratic formula.
 
===By using algebraic identities===
 
Let the roots of the standard quadratic equation be <math>r_1</math> and <math>r_2</math>. At this point, we recall the identity:
:<math>(r_1 - r_2)^2 = (r_1 + r_2)^2 - 4r_1r_2</math>
 
Taking square root on both sides, we get
:<math>r_1 - r_2 = \pm\sqrt{(r_1 + r_2)^2 - 4r_1r_2}</math>
 
We know that the sum of roots of the standard quadratic equation is given by <math>-\frac{b}{a}</math>:
:<math>\frac{-b + \sqrt{b^2 - 4ac}}{2a} + \frac{-b - \sqrt{b^2 - 4ac}}{2a} = \frac{-b - b + \sqrt{b^2-4ac} - \sqrt{b^2-4ac}}{2a} = \frac{-2b}{2a} = -\frac{b}{a}</math>
 
Additionally, the product is given by <math>\frac{c}{a}</math>:
:<math>\frac{-b + \sqrt{b^2 - 4ac}}{2a} \cdot \frac{-b - \sqrt{b^2 - 4ac}}{2a} = \frac{(-b + \sqrt{b^2 - 4ac})(-b - \sqrt{b^2 - 4ac})}{4a^2} = \frac{b^2 - (b^2 - 4ac)}{4a^2} = \frac{4ac}{4a^2} = \frac{c}{a}</math>
 
Hence the identity can be rewritten as:
:<math>r_1 - r_2 = \pm\sqrt{(-\frac{b}{a})^2-4\frac{c}{a}} = \pm\sqrt{\frac{b^2}{a^2} - \frac{4ac}{a^2}} = \pm\frac{\sqrt{b^2-4ac}}{a}</math>
 
Now, <math>x = \frac{(r_1 + r_2) + (r_1 - r_2)}{2} = \frac{-\frac{b}{a} \pm \frac{\sqrt{b^2 - 4ac}}{a}}{2} = \frac{-b \pm \sqrt{b^2 - 4ac}}{2a}</math>
 
===By Lagrange resolvents===
{{details|Lagrange resolvents}}
An alternative way of deriving the quadratic formula is via the method of [[Lagrange resolvents]], which is an early part of [[Galois theory]].<ref name="efei">{{citation
|title=Elliptic functions and elliptic integrals
|first1=Viktor
|last1=Prasolov
|first2=Yuri
|last2=Solovyev
|publisher=AMS Bookstore
|year=1997
|isbn=978-0-8218-0587-9
|url=http://books.google.com/?id=fcp9IiZd3tQC
}}, [http://books.google.com/books?id=fcp9IiZd3tQC&pg=PA134#PPA134,M1 §6.2, p. 134]</ref>
This method can be generalized to give the roots of [[cubic polynomial]]s and [[quartic polynomial]]s, and leads to Galois theory, which allows one to understand the solution of algebraic equations of any degree in terms of the [[symmetry group]] of their roots, the [[Galois group]].
 
This approach focuses on the ''roots'' more than on rearranging the original equation.
Given a monic quadratic polynomial
:<math>x^2+px+q,</math>
assume that it factors as
:<math>x^2+px+q=(x-\alpha)(x-\beta),</math>
Expanding yields
:<math>x^2+px+q=x^2-(\alpha+\beta)x+\alpha \beta,</math>
where <math>p=-(\alpha+\beta)</math> and <math>q=\alpha \beta</math>.
 
Since the order of multiplication does not matter, one can switch <math>\alpha</math> and  <math>\beta</math> and the values of ''p'' and ''q'' will not change: one says that ''p'' and ''q'' are [[symmetric polynomials]] in <math>\alpha</math> and <math>\beta</math>. In fact, they are the [[elementary symmetric polynomials]] – any symmetric polynomial in <math>\alpha</math> and <math>\beta</math> can be expressed in terms of <math>\alpha+\beta</math> and <math>\alpha\beta.</math> The Galois theory approach to analyzing and solving polynomials is: given the coefficients of a polynomial, which are symmetric functions in the roots, can one "break the symmetry" and recover the roots? Thus solving a polynomial of degree ''n'' is related to the ways of rearranging ("permuting") ''n'' terms, which is called the [[symmetric group]] on ''n'' letters, and denoted <math>S_n.</math> For the quadratic polynomial, the only way to rearrange two terms is to swap them ("[[Transposition (mathematics)|transpose]]" them), and thus solving a quadratic polynomial is simple.
 
To find the roots <math>\alpha</math> and <math>\beta,</math> consider their sum and difference:
:<math>\begin{align}
r_1 &= \alpha + \beta\\
r_2 &= \alpha - \beta.
\end{align}</math>
These are called the '''[[Lagrange resolvents]]''' of the polynomial;
notice that one of these depends on the order of the roots, which is the key point.
One can recover the roots from the resolvents by inverting the above equations:
:<math>\begin{align}
\alpha &= \textstyle{\frac{1}{2}}\left(r_1+r_2\right)\\
\beta  &= \textstyle{\frac{1}{2}}\left(r_1-r_2\right).
\end{align}</math>
Thus, solving for the resolvents gives the original roots.
 
Formally, the resolvents are called the [[discrete Fourier transform]] (DFT) of order 2, and the transform can be expressed by the matrix <math>\left(\begin{smallmatrix}1 & 1\\ 1 & -1\end{smallmatrix}\right),</math> with inverse matrix <math>\left(\begin{smallmatrix}1/2 & 1/2\\ 1/2 & -1/2\end{smallmatrix}\right).</math> The transform matrix is also called the [[DFT matrix]] or [[Vandermonde matrix]].
 
Now <math>r_1=\alpha + \beta</math> is a symmetric function in <math>\alpha</math> and <math>\beta,</math> so it can be expressed in terms of ''p'' and ''q,'' and in fact <math>r_1 = -p,</math> as noted above. But <math>r_2=\alpha - \beta</math> is not symmetric, since switching <math>\alpha</math> and <math>\beta</math> yields <math>-r_2=\beta - \alpha</math> (formally, this is termed a [[group action]] of the symmetric group of the roots). Since <math>r_2</math> is not symmetric, it cannot be expressed in terms of the polynomials ''p'' and ''q'', as these are symmetric in the roots and thus so is any polynomial expression involving them. However, changing the order of the roots only changes <math>r_2</math> by a factor of <math>-1,</math> and thus the square <math>\scriptstyle r_2^2 = (\alpha - \beta)^2</math> ''is'' symmetric in the roots, and thus expressible in terms of ''p'' and ''q.'' Using the equation
:<math>(\alpha - \beta)^2 = (\alpha + \beta)^2 - 4\alpha\beta\!</math>
yields
:<math>r_2^2 = p^2 - 4q\!</math>
and thus
:<math>r_2 = \pm \sqrt{p^2 - 4q}.\!</math>
If one takes the positive root, breaking symmetry, one obtains:
:<math>\begin{align}
r_1 &= -p\\
r_2 &= \sqrt{p^2 - 4q}
\end{align}</math>
and thus
:<math>\begin{align}
\alpha &= \textstyle{\frac{1}{2}}\left(-p+\sqrt{p^2 - 4q}\right)\\
\beta  &= \textstyle{\frac{1}{2}}\left(-p-\sqrt{p^2 - 4q}\right)
\end{align}</math>
Thus the roots are
:<math>\textstyle{\frac{1}{2}}\left(-p \pm \sqrt{p^2 - 4q}\right)</math>
which is the quadratic formula. Substituting <math>\scriptstyle p=\tfrac{b}{a}, q=\tfrac{c}{a}\!</math> yields the usual form for when a quadratic is not monic. The resolvents can be recognized as <math>\scriptstyle \frac{r_1}{2} = \frac{-p}{2}=\frac{-b}{2a}\!</math> being the vertex, and <math>\scriptstyle r_2^2=p^2-4q\!</math> is the discriminant (of a monic polynomial).
 
A similar but more complicated method works for cubic equations, where one has three resolvents and a quadratic equation (the "resolving polynomial") relating <math>r_2</math> and <math>r_3,</math> which one can solve by the quadratic equation, and similarly for a quartic (degree 4) equation, whose resolving polynomial is a cubic, which can in turn be solved. However, the same method for a quintic equation yields a polynomial of degree 24, which does not simplify the problem, and in fact solutions to quintic equations in general cannot be expressed using only roots.
 
==See also==
*[[Discriminant]]
*[[Fundamental theorem of algebra]]
 
==References==
{{reflist|30em}}
 
==External links==
*[http://quadratic-formula-calculator.com/ Quadratic formula calculator]
*[http://mathworld.wolfram.com/QuadraticFormula.html Alternative formula (Wolfram)]
 
{{Polynomials}}
 
[[Category:Elementary algebra]]
[[Category:Equations]]

Latest revision as of 23:52, 15 September 2019

This is a preview for the new MathML rendering mode (with SVG fallback), which is availble in production for registered users.

If you would like use the MathML rendering mode, you need a wikipedia user account that can be registered here [[1]]

  • Only registered users will be able to execute this rendering mode.
  • Note: you need not enter a email address (nor any other private information). Please do not use a password that you use elsewhere.

Registered users will be able to choose between the following three rendering modes:

MathML


Follow this link to change your Math rendering settings. You can also add a Custom CSS to force the MathML/SVG rendering or select different font families. See these examples.

Demos

Here are some demos:


Test pages

To test the MathML, PNG, and source rendering modes, please go to one of the following test pages:

Bug reporting

If you find any bugs, please report them at Bugzilla, or write an email to math_bugs (at) ckurs (dot) de .