Quadratic Formula - Wikipedia
Quadratic Formula - Wikipedia
Contents hide Article Talk Read Edit View history Tools Appearance hide
Historical development
Geometric significance where the plus–minus symbol " " indicates that the equation has two roots.[1]
Dimensional analysis Written separately, these are:
See also
Notes
References
The quantity is known as the discriminant of the quadratic
equation.[2] If the coefficients , , and are real numbers then when , the
equation has two distinct real roots; when , the equation has one repeated
real root; and when , the equation has no real roots but has two distinct
complex roots, which are complex conjugates of each other.
Geometrically, the roots represent the values at which the graph of the quadratic
function , a parabola, crosses the -axis: the graph's -
intercepts.[3] The quadratic formula can also be used to identify the parabola's axis
of symmetry.[4]
The left-hand side is now of the form , and we can "complete the square"
by adding a constant to obtain a squared binomial
. In this example we add to both sides so that the left-hand side
can be factored:
Because the left-hand side is now a perfect square, we can easily take the square
root of both sides:
Here the minus–plus symbol " " indicates that the two roots of the quadratic
equation, in the same order as the standard quadratic formula, are
This variant has been jokingly called the "citardauq" formula ("quadratic" spelled
backwards).[10]
This version of the quadratic formula is used in Muller's method for finding the roots
of general functions. It can be derived from the standard formula from the identity
, one of Vieta's formulas. Alternately, it can be derived by dividing the
by to get , applying the standard
formula to find the two roots , and then taking the reciprocal to find the roots
of the original equation.
Any generic method or algorithm for solving quadratic equations can be applied to
an equation with symbolic coefficients and used to derive some closed-form
expression equivalent to the quadratic formula. Alternative methods are sometimes
simpler than completing the square, and may offer interesting insight into other
areas of mathematics.
This method for completing the square is ancient and was known to the 8th–9th
century Indian mathematician Śrīdhara.[12] Compared with the modern standard
method for completing the square, this alternate method avoids fractions until the
last step and hence does not require a rearrangement after step 3 to obtain a
common denominator in the right side.[11]
By substitution [ edit ]
Another derivation uses a change of variables to eliminate the linear term. Then the
equation takes the form in terms of a new variable and some constant
expression , whose roots are then .
Finally, after taking a square root of both sides and substituting the resulting
expression for back into the familiar quadratic formula emerges:
This implies that the sum and the product . Thus the
identity can be rewritten:
Therefore,
The two possibilities for each of and are the same two roots in opposite order,
so we can combine them into the standard quadratic equation:
An alternative way of deriving the quadratic formula is via the method of Lagrange
resolvents,[14] which is an early part of Galois theory.[15] This method can be
generalized to give the roots of cubic polynomials and quartic polynomials, 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.
Since multiplication and addition are both commutative, exchanging the roots
and will not change the coefficients and : one can say that and are
symmetric polynomials in and . Specifically, they are the elementary symmetric
polynomials – any symmetric polynomial in and can be expressed in terms of
and instead.
The Galois theory approach to analyzing and solving polynomials is to ask whether,
given coefficients of a polynomial each of which is a symmetric function in the
roots, one can "break" the symmetry and thereby recover the roots. Using this
approach, solving a polynomial of degree is related to the ways of rearranging
("permuting") terms, called the symmetric group on letters and denoted .
For the quadratic polynomial, the only ways to rearrange two roots are to either
leave them be or to transpose them, so solving a quadratic polynomial is simple.
These are called the Lagrange resolvents of the polynomial, from which the roots
can be recovered as
A similar but more complicated method works for cubic equations, which have three
resolvents and a quadratic equation (the "resolving polynomial") relating and ,
which one can solve by the quadratic equation, and similarly for a quartic equation
(degree 4), whose resolving polynomial is a cubic, which can in turn be solved.[14]
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.
The quadratic formula is exactly correct when performed using the idealized
arithmetic of real numbers, but when approximate arithmetic is used instead, for
example pen-and-paper arithmetic carried out to a fixed number of decimal places
or the floating-point binary arithmetic available on computers, the limitations of the
number representation can lead to substantially inaccurate results unless great
care is taken in the implementation. Specific difficulties include catastrophic
cancellation in computing the sum if ; catastrophic
calculation in computing the discriminant itself in cases where
; degeneration of the formula when , , or , is represented as zero or
infinite; and possible overflow or underflow when multiplying or dividing extremely
large or small numbers, even in cases where the roots can be accurately
represented.[16][17]
Catastrophic cancellation occurs when two numbers which are approximately equal
are subtracted. While each of the numbers may independently be representable to
a certain number of digits of precision, the identical leading digits of each number
cancel, resulting in a difference of lower relative precision. When ,
evaluation of causes catastrophic cancellation, as does the evaluation
of when . When using the standard quadratic formula,
calculating one of the two roots always involves addition, which preserves the
working precision of the intermediate calculations, while calculating the other root
involves subtraction, which compromises it. Therefore, naïvely following the
standard quadratic formula often yields one result with less relative precision than
expected. Unfortunately, introductory algebra textbooks typically do not address
this problem, even though it causes students to obtain inaccurate results in other
school subjects such as introductory chemistry.[18]
Even though the calculator used ten decimal digits of precision for each step,
calculating the difference between two approximately equal numbers has yielded a
result for with only four correct digits.
With additional complication the expense and extra rounding of the square roots
can be avoided by approximating them as powers of two, while still avoiding
exponent overflow for representable roots.[17]
The earliest methods for solving quadratic equations were geometric. Babylonian
cuneiform tablets contain problems reducible to solving quadratic equations.[23]
The Egyptian Berlin Papyrus, dating back to the Middle Kingdom (2050 BC to 1650
BC), contains the solution to a two-term quadratic equation.[24]
The Greek mathematician Euclid (circa 300 BC) used geometric methods to solve
quadratic equations in Book 2 of his Elements, an influential mathematical
treatise[25] Rules for quadratic equations appear in the Chinese The Nine Chapters
on the Mathematical Art circa 200 BC.[26][27] In his work Arithmetica, the Greek
mathematician Diophantus (circa 250 AD) solved quadratic equations with a
method more recognizably algebraic than the geometric algebra of Euclid.[25] His
solution gives only one root, even when both roots are positive.[28]
The Indian mathematician Brahmagupta included a generic method for finding one
root of a quadratic equation in his treatise Brāhmasphuṭasiddhānta (circa 628 AD),
written out in words in the style of the time but more or less equivalent to the
modern symbolic formula.[29][30] His solution of the quadratic equation
was as follows: "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."[31] In modern notation, this can be
written . The Indian mathematician Śrīdhara (8th–
9th century) came up with a similar algorithm for solving quadratic equations in a
now-lost work on algebra quoted by Bhāskara II.[32] The modern quadratic formula
is sometimes called Sridharacharya's formula in India.[citation needed]
Geometrically, the quadratic formula defines the points on the graph, where
the parabola crosses the -axis. Furthermore, it can be separated into two terms,
The first term describes the axis of symmetry, the line . The second term,
, gives the distance the roots are away from the axis of symmetry.
If the parabola's vertex is on the -axis, then the corresponding equation has a
single repeated root on the line of symmetry, and this distance term is zero;
algebraically, the discriminant .
If the discriminant is positive, then the vertex is not on the -axis but the parabola
opens in the direction of the -axis, crossing it twice, so the corresponding equation
has two real roots. If the discriminant is negative, then the parabola opens in the
opposite direction, never crossing the -axis, and the equation has no real roots; in
this case the two complex-valued roots will be complex conjugates whose real part
is the value of the axis of symmetry.
If the constants , , and/or are not unitless then the quantities and must
have the same units, because the terms and agree on their units. By the
same logic, the coefficient must have the same units as , irrespective of the
units of . This can be a powerful tool for verifying that a quadratic expression of
physical quantities has been set up correctly.
Notes [ edit ]
Fagnano, Giulio Carlo (1750), "Applicazione dell' algoritmo nuovo Alla resoluzione
analitica dell' equazioni del secondo, del terzo, e del quarto grado" [Application of
a new algorithm to the analytical resolution of equations of the second, third,
and fourth degree], Produzioni matematiche del conte Giulio Carlo di
Fagnano, Marchese de' Toschi, e DiSant' Ononio (in Italian), vol. 1, Pesaro:
Gavelliana, Appendice seconda, eq. 6, p. 467, doi:10.3931/e-rara-8663
References [ edit ]
Text is available under the Creative Commons Attribution-ShareAlike License 4.0; additional terms may apply. By using this site, you agree to the Terms of Use and
Privacy Policy. Wikipedia® is a registered trademark of the Wikimedia Foundation, Inc., a non-profit organization.
Privacy policy About Wikipedia Disclaimers Contact Wikipedia Code of Conduct Developers Statistics Cookie statement Mobile view