where a ≠ 0. (For a = 0, the equation becomes a linear equation.)
The letters a, b, and c are called coefficients: the quadratic coefficient a is the coefficient of , the linear coefficient b is the coefficient of x, and c is the constant coefficient, also called the free term or constant term.
Quadratic equations are called quadratic because quadratus is Latin for "square"; in the leading term the variable is squared.
Quadratic formula
A quadratic equation with real or complex coefficients has two (not necessarily distinct) solutions, called roots, which may be real or complex, given by the quadratic formula:
Simply put, ± means 'plus or minus' as equation possibilities.
Discriminant
In the above formula, the expression underneath the square root sign:
is called the discriminant of the quadratic equation.
A quadratic equation with real coefficients can have either one or two distinct real roots, or two distinct complex roots. In this case the discriminant determines the number and nature of the roots. There are three cases:
If the discriminant is positive, there are two distinct roots, both of which are real numbers. For quadratic equations with integer coefficients, if the discriminant is a perfect square, then the roots are rational numbers—in other cases they may be quadratic irrationals.
If the discriminant is zero, there is exactly one distinct root, and that root is a real number. Sometimes called a double root, its value is:
:
If the discriminant is negative, there are no real roots. Rather, there are two distinct (non-real) complex roots, which are complex conjugates of each other:
:
x &= frac{-b}{2a} + i frac{sqrt {4ac - b^2}}{2a} ,
x &= frac{-b}{2a} - i frac{sqrt {4ac - b^2}}{2a} ,
i^2 &= -1.
end{align}
Thus the roots are distinct if and only if the discriminant is non-zero, and the roots are real if and only if the discriminant is non-negative.
If a, b, and c are real numbers, and the domain of f is the set of real numbers, then the zeros of f are exactly the x-coordinates of the points where the graph touches the x-axis.
It follows from the above that, if the discriminant is positive, the graph touches the x-axis at two points, if zero, the graph touches at one point, and if negative, the graph does not touch the x-axis.
Quadratic factorization
The term
is a factor of the polynomial
if and only if r is a root of the quadratic equation
It follows from the quadratic formula that
In the special case where the quadratic has only one distinct root (i.e. the discriminant is zero), the quadratic polynomial can be factored as
Application to higher-degree equations
Certain higher-degree equations can be brought into quadratic form and solved that way. For example, the 6th-degree equation in x:
can be rewritten as:
or, equivalently, as a quadratic equation in a new variable u:
where
Solving the quadratic equation for u results in the two solutions:
Thus
Concentrating on finding the three cube roots of – the other three solutions for x will be their complex conjugates – rewriting the right-hand side using Euler's formula:
(since e2kπi = 1), gives the three solutions:
Using Eulers' formula again together with trigonometric identities such as cos(π/12) = , and adding the complex conjugates, gives the complete collection of solutions as:
and
History
The Babylonians, as early as 1800 BC (displayed on Old Babylonianclay tablets) could solve a pair of simultaneous equations of the form:
which are equivalent to the equation:
The original pair of equations were solved as follows:
In 628 CE, Brahmagupta gave the first explicit (although still not completely general) solution of the quadratic equation:
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)
The writing of the Chinese mathematician Yang Hui (1238-1298 AD) represents the first in which quadratic equations with negative coefficients of 'x' appear, although he attributes this to the earlier Liu Yi.
by a (which is allowed because a is non-zero), gives:
or
The quadratic equation is now in a form in which the method of completing the square can be applied.
To "complete the square" is to find some constant k such that
for another constant y. In order for these equations to be true,