In mathematics, a quadratic equation is a polynomial equation of the second degree. The general form is
where
The letters a, b, and c are called coefficients: the quadratic coefficient a is the coefficient of x2, the linear coefficient b is the coefficient of x, and c is the constant coefficient, also called the free term.
Quadratic equations are called quadratic because quadratus is Latin for "square"; in the leading term the variable gets squared.
A quadratic equation with real or complex coefficients has two complex roots (i.e., solutions for ) denoted here as and , although the two roots may be equal. These roots can be computed using the quadratic formula:
When computing roots numerically, the usual form of the quadratic formula is not always ideal, due to possible loss of significance. An alternative form is given by
The "" sign above indicates that the root (as defined above) is calculated with the minus sign and the root with the plus sign, rather than vice versa - see plus-minus sign for more detail.
This form may be useful in numerical analysis when high precision of the roots is required, particularly when a is large and the roots are very close together. However, this form imposes the additional requirement that c also be nonzero. If c were zero, the alternative formula will correctly give zero as a root, but will fail to give the non-zero root because it specifies division of zero by zero. Note also that the signs distinguishing the two roots are reversed.
is the discriminant of the quadratic equation, so called because it discriminates between three qualitatively different cases:
The symbol
in the formula should be understood as "either of the two elements whose square is , if such elements exist". In some fields, some elements have no square roots and some have two; only zero has just one square root, except in fields of characteristic 2. Note that even if a field does not contain a square root of some number, there is always a quadratic extension field which does, so the quadratic formula will always make sense as a formula in that extension field.
In a field of characteristic 2, the quadratic formula, which relies on 2 being a unit, does not hold. Consider the monic quadratic polynomial x2 + bx + c over a field of characteristic 2. If b = 0, then the solution reduces to extracting a square root, so the solution is x = √c and note that there is only one root since –√c = –√c + 2√c = √c. In summary, x2 + c = (x + √c)2. Confer quadratic residue for more information about extracting square roots in finite fields.
In the case that b ≠ 0, there are two distinct roots, but if the polynomial is irreducible, they cannot be expressed in terms of square roots of numbers in the coefficient field. Instead, define the 2-root R(c) of c to be a root of the polynomial x2 + x + c, an element of the splitting field of that polynomial. One verifies that R(c) + 1 is also a root. In terms of the 2-root operation, the two roots of the (non-monic) quadratic ax2 + bx + c are
For example, let a denote a multiplicative generator of the group of units of F4, the Galois field of order four (thus a and a + 1 are roots of x2 + x + 1 over F4). Because (a + 1)2 = a, a + 1 is the unique solution of the quadratic equation x2 + a = 0. On the other hand, the polynomial x + ax + 1 is irreducible over F4, but splits over F16, where it has the two roots ab and ab + a, where b is a root of x2 + x + a in F16.
The first formula above yields a convenient expression when graphing a quadratic function. Since the graph is symmetric with respect to a vertical line through the vertex, when there are two real roots the vertex’s x-coordinate is located at the average of the roots (or intercepts). Thus the x-coordinate of the vertex is given by the expression:
The y-coordinate can be obtained by substituting the above result into the given quadratic equation, giving
which can be written
Note that the highest exponent is twice the value of the exponent of the middle term. This equation may be resolved directly or with a simple substitution, using the methods that are available for the quadratic, such as factoring (also called factorising), the quadratic formula, or completing the square.
Babylonian mathematicians from circa 400 BC and Chinese mathematicians from circa 200 BC used the method of completing the square to solve quadratic equations with positive roots, but did not have a general formula. Euclid produced a more abstract geometrical method around 300 BC. The Bakshali Manuscript written in India between 200 BC and 400 CE introduced the general algebraic formula for solving quadratic equations, and also introduced quadratic indeterminate equations (origin of type ax/c = y).
The first mathematician to have found negative solutions with the general algebraic formula, was Brahmagupta (India, 7th century). (Persia, 9th century) developed a set of formulae that worked for positive solutions. Abraham bar Hiyya Ha-Nasi (also known by the Latin name Savasorda) introduced the complete solution to Europe in his book Liber embadorum in the 12th century. Bhaskara II (India, 12th century) solved quadratic equations with more than one unknown.
Shridhara (India, 9th century) was one of the first mathematicians to give a general rule for solving a quadratic equation. His original work is lost but Bhaskara II later quotes Shridhara's rule:
Dividing our quadratic equation by (which is allowed because is non-zero), we have
which is equivalent to
The equation is now in a form in which we can conveniently complete the square. To "complete the square" is to add a constant (i.e., in this case, a quantity that does not depend on ) to the expression to the left of "", that will make it a perfect square trinomial of the form . Since in this case is , we must have , so we add the square of to both sides, getting
The left side is now a perfect square; it is the square of . The right side can be written as a single fraction; the common denominator is . We get
Taking square roots of both sides yields
Subtracting from both sides, we get
Elementary algebra | Equations
Kvadratická rovnice | Andengradsligning | Quadratische Gleichung | Δευτεροβάθμια εξίσωση | Ecuación de segundo grado | Équation du second degré | 이차방정식 | Quadratala equaciono | Annars stigs jafna | Equazione quadratica | משוואה ממעלה שנייה | Másodfokú egyenlet | Vierkantsvergelijking | 二次方程式 | Równanie kwadratowe | Equação quadrática | Квадратное уравнение | Kvadratická rovnica | Toisen asteen yhtälön ratkaisukaava | Andragradsekvation | Phương trình bậc hai | Квадратне рівняння | 一元二次方程
This article is licensed under the GNU Free Documentation License.
It uses material from the
"Quadratic equation".
Home Page • arts • business • computers • games • health • hospitals • home • kids & teens • news • physicians • recreation• reference • regional • science • shopping • society • sports • world