Quadratic Formula

The QuadraticFormula is used to solve equations like:

    a x^2 + b x + c = 0 .
It gives the possible values for x in terms of a, b, and c. You can derive it by completing the square; the result is this:

    If     a x^2 + b x + c = 0            then either

- b + sqrt( b^2 - 4 a c ) x = --------------------------- or 2 a

- b - sqrt( b^2 - 4 a c ) x = --------------------------- 2 a
The quantity D = (b^2 - 4 a c) is called the discriminant of the quadratic equation, so

            - b ± sqrt(D)
       x = ---------------
                2 a


While well-known, this solution is numerically unstable in some circumstances. There is a better solution given and explained in ReadLikeMath, which contains other useful insights and comments.


Applications of the QuadraticFormula:


CategoryMath


EditText of this page (last edited March 18, 2008) or FindPage with title or text search