Quadratic equation

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

<math>ax^2+bx+c=y\mbox{ where }a\ne 0.<math>

The letters 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.

A quadratic equation with real or complex coefficients has two complex roots (i.e., solutions for x when y = 0) usually denoted as <math>x_1<math> and <math>x_2<math>, although the two roots may be equal. These roots can be computed using the quadratic formula.

Higher-degree 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.


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


x_{1,2}=\frac{-b \pm \sqrt {b^2-4ac\ }}{2a}. <math>

An alternative form sometimes encountered is given by


x_{1,2}=\frac{2c}{-b \pm \sqrt {b^2-4ac\ }}. <math> Template:ExampleSidebar The term b2 − 4ac is called the discriminant of the quadratic equation, because it discriminates between three qualitatively different cases:

  • If the discriminant is zero then there is a repeated solution x, and this solution is real. Geometrically, this means that the parabola described by the quadratic equation touches the x-axis in a single point.
  • If the discriminant is positive, then there are two different solutions x, both of which are real. Geometrically, this means that the parabola intersects the x-axis in two points. Furthermore, if the discriminant is a perfect square, the roots are rational numbers -- in other cases they may be quadratic irrationals.
  • If the discriminant is negative, then there are two different solutions x, both of which are complex numbers. The two solutions are complex conjugates of each other. In this case, the parabola does not intersect the x-axis at all.

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


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


Dividing our quadratic equation by a, we have


x^2 + \frac{b}{a} x + \frac{c}{a}=0 <math>

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

<math>x+\frac{b}{2a}=\pm\frac{\sqrt{b^2-4ac\ }}{2a}.<math>

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

<math>x=\frac{-b}{2a}\pm\frac{\sqrt{b^2-4ac\ }}{2a}=\frac{-b\pm\sqrt{b^2-4ac\ }}{2a}.<math>


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 characteristic is not 2. (In a field of characteristic 2, the element 2a is zero and it is impossible to divide by it.)

The symbol

<math>\pm \sqrt {b^2-4ac }<math>

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.

Vite's formulas

Vite's formulas give a simple relation between the roots of a polynomial and its coefficients. In the case of quadratic polynomial, they take the following form:

<math> x_1 + x_2 = \frac{-b}{a}, <math>
<math> x_1 x_2 = \frac{c}{a}. <math>


The ancient Babylonians (around 400 BC) and Chinese 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 first mathematician known to have used the general algebraic formula, allowing negative as well as positive solutions, was Brahmagupta (India, 7th century). Al-Khwarizmi (Arabia, 11th century) independently developed a set of formulae that worked for positive solutions. Abraham bar Hiyya Ha-Nasi (also known by the Latin name Savasorda) was the first to introduce the complete solution to Europe in his book Liber embadorum.

Sridhara was said to be one of the first mathematicians to give a general rule for solving a quadratic equation. But there has been a dispute over his time. The rule is (as quoted by Bhaskara II):

Multiply both sides of the equation by a known quantity equal to four times the coefficient of the square of the unknown; add to both sides a known quantity equal to the square of the coefficient of the unknown; then take the square root.[1] (http://www-gap.dcs.st-and.ac.uk/~history/Mathematicians/Sridhara.html)

Related topics

External links

cs:Kvadratick rovnice da:Andengradsligning de:Quadratische Gleichung es:Ecuacin de segundo grado it:Equazione quadratica ja:二次方程式 pl:Rwnanie kwadratowe ru:Квадратное уравнение zh:一元二次方程 sv:Andragradsekvation


  • Art and Cultures
    • Art (https://academickids.com/encyclopedia/index.php/Art)
    • Architecture (https://academickids.com/encyclopedia/index.php/Architecture)
    • Cultures (https://www.academickids.com/encyclopedia/index.php/Cultures)
    • Music (https://www.academickids.com/encyclopedia/index.php/Music)
    • Musical Instruments (http://academickids.com/encyclopedia/index.php/List_of_musical_instruments)
  • Biographies (http://www.academickids.com/encyclopedia/index.php/Biographies)
  • Clipart (http://www.academickids.com/encyclopedia/index.php/Clipart)
  • Geography (http://www.academickids.com/encyclopedia/index.php/Geography)
    • Countries of the World (http://www.academickids.com/encyclopedia/index.php/Countries)
    • Maps (http://www.academickids.com/encyclopedia/index.php/Maps)
    • Flags (http://www.academickids.com/encyclopedia/index.php/Flags)
    • Continents (http://www.academickids.com/encyclopedia/index.php/Continents)
  • History (http://www.academickids.com/encyclopedia/index.php/History)
    • Ancient Civilizations (http://www.academickids.com/encyclopedia/index.php/Ancient_Civilizations)
    • Industrial Revolution (http://www.academickids.com/encyclopedia/index.php/Industrial_Revolution)
    • Middle Ages (http://www.academickids.com/encyclopedia/index.php/Middle_Ages)
    • Prehistory (http://www.academickids.com/encyclopedia/index.php/Prehistory)
    • Renaissance (http://www.academickids.com/encyclopedia/index.php/Renaissance)
    • Timelines (http://www.academickids.com/encyclopedia/index.php/Timelines)
    • United States (http://www.academickids.com/encyclopedia/index.php/United_States)
    • Wars (http://www.academickids.com/encyclopedia/index.php/Wars)
    • World History (http://www.academickids.com/encyclopedia/index.php/History_of_the_world)
  • Human Body (http://www.academickids.com/encyclopedia/index.php/Human_Body)
  • Mathematics (http://www.academickids.com/encyclopedia/index.php/Mathematics)
  • Reference (http://www.academickids.com/encyclopedia/index.php/Reference)
  • Science (http://www.academickids.com/encyclopedia/index.php/Science)
    • Animals (http://www.academickids.com/encyclopedia/index.php/Animals)
    • Aviation (http://www.academickids.com/encyclopedia/index.php/Aviation)
    • Dinosaurs (http://www.academickids.com/encyclopedia/index.php/Dinosaurs)
    • Earth (http://www.academickids.com/encyclopedia/index.php/Earth)
    • Inventions (http://www.academickids.com/encyclopedia/index.php/Inventions)
    • Physical Science (http://www.academickids.com/encyclopedia/index.php/Physical_Science)
    • Plants (http://www.academickids.com/encyclopedia/index.php/Plants)
    • Scientists (http://www.academickids.com/encyclopedia/index.php/Scientists)
  • Social Studies (http://www.academickids.com/encyclopedia/index.php/Social_Studies)
    • Anthropology (http://www.academickids.com/encyclopedia/index.php/Anthropology)
    • Economics (http://www.academickids.com/encyclopedia/index.php/Economics)
    • Government (http://www.academickids.com/encyclopedia/index.php/Government)
    • Religion (http://www.academickids.com/encyclopedia/index.php/Religion)
    • Holidays (http://www.academickids.com/encyclopedia/index.php/Holidays)
  • Space and Astronomy
    • Solar System (http://www.academickids.com/encyclopedia/index.php/Solar_System)
    • Planets (http://www.academickids.com/encyclopedia/index.php/Planets)
  • Sports (http://www.academickids.com/encyclopedia/index.php/Sports)
  • Timelines (http://www.academickids.com/encyclopedia/index.php/Timelines)
  • Weather (http://www.academickids.com/encyclopedia/index.php/Weather)
  • US States (http://www.academickids.com/encyclopedia/index.php/US_States)


  • Home Page (http://academickids.com/encyclopedia/index.php)
  • Contact Us (http://www.academickids.com/encyclopedia/index.php/Contactus)

  • Clip Art (http://classroomclipart.com)
Personal tools