Index: > A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
Business Industries Finance Tax

Home > Quadratic equation


First Prev [ 1 2 ] Next Last

In mathematics, a quadratic equation is a polynomial equation of the second degree. The generalized form is

The numbers a, b and c are called coefficients: a is the coefficient of x2, b is the coefficient of x, and c is the free term or constant.

Take, for example, 5x2 + 3x + 4 = 0. In this example, 5 is the coefficient of , 3 is the coefficient of x, and 4 is the free term.

A quadratic equation with real or complex coefficients has two complex roots (i.e., solutions) usually denoted as and , although the two roots may be equal. These roots can be computed using the quadratic formula.

Higher order equations may be quadratic in form, such as:

.

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.

1 Quadratic formula

The quadratic formula explicitly gives the solutions of a quadratic equation in terms of the coefficients a, b and c, which we temporarily assume to be real (but see below for generalizations) with a being non-zero. These solutions are also called the roots of the equation. The formula reads

An alternate form sometimes encountered is given by

The term b2 − 4ac is called the discriminant of the quadratic equation, because it discriminates between three qualitatively different cases:

Note that when computing roots numerically, the usual form of the quadratic formula is not ideal. See Loss of significance for details.

2 Derivation

The quadratic formula is derived by the method of completing the square.

Dividing our quadratic equation by a, 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 x) to the expression to the left of "=", that will make it a perfect square trinomial of the form x2 + 2xy + y2. Since "2xy" in this case is (b/a)x, we must have y = b/(2a), so we add the square of b/(2a) to both sides, getting

The left side is now a perfect square; it is the square of (x + b/(2a)). The right side can be written as a single fraction; the common denominator is 4a2. We get

Taking square roots of both sides yields

Subtracting b/(2a) from both sides, we get

3 Generalizations

The formula and its proof remain correct if the coefficients a, b and c are complex numbers, or more generally members of any field whose characteristicThe word characteristic has several meanings: In mathematics, see characteristic (algebra) characteristic function characteristic subgroup Euler characteristic method of characteristics In genetics, see characteristic (genetics). Characteristic is also so is not 2. (In a field of characteristic 2, the element 2a is zero and it is impossible to divide by it.)

The symbol

in the formula should be understood as "either of the two elements whose square is b2 − 4ac, 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.





Non User