How to Use the Quadratic Formula

••• LightFieldStudios/iStock/GettyImages

A quadratic equation is one that contains a single variable and in which the variable is squared. The standard form for this type of equation, which always produces a parabola when graphed, is ​ax2 + ​bx​ + ​c​ = 0, where ​a​, ​b​ and ​c​ are constants. Finding solutions isn't as straightforward as it is for a linear equation, and part of the reason is that, because of the squared term, there are always two solutions. You can use one of three methods to solve a quadratic equation. You can factor the terms, which works best with simpler equations, or you can complete the square. The third method is to use the quadratic formula, which a generalized solution to every quadratic equation.

The Quadratic Formula

For a general quadratic equation of the form ​ax2 + ​bx​ + ​c​ = 0, the solutions are given by this formula:

x = \frac{−b ±\sqrt{b^2 − 4ac} }{2a}

Note that the ± sign inside the brackets means that there are always two solutions. One of the solutions uses

\frac{−b +\sqrt{b^2 − 4ac} }{2a}

and the other solution uses

\frac{−b -\sqrt{b^2 − 4ac} }{2a}

Using the Quadratic Formula

Before you can make use of the quadratic formula, you have to make sure the equation is in standard form. It may not be. Some ​x2 terms may be on both sides of the equation, so you'll have to collect those on the right side. Do the same with all x terms and constants.

Example: Find the solutions to the equation

3x^2 - 12 = 2x(x -1)

    Expand the brackets:

    3x^2 - 12 = 2x^2 - 2x

    Subtract 2​x2 and from both sides. Add 2​x​ to both sides

    3x^2 - 2x^2 + 2x - 12 = 2x^2 -2x^2 -2x + 2x \\ 3x^2 - 2x^2 + 2x - 12 = 0 \\ x^2 - 2x -12 = 0

    This equation is in standard form ​ax2 + ​bx​ + ​c​ = 0 where ​a​ = 1, ​b​ = −2 and ​c​ = 12

    The quadratic formula is

    x = \frac{−b ±\sqrt{b^2 − 4ac} }{2a}

    Since ​a​ = 1, ​b​ = −2 and ​c​ = −12, this becomes

    x = \frac{−(-2) ±\sqrt{(-2)^2 − 4×1×(-12)} }{2×1}
    x = \frac{2 ±\sqrt{(4+ 48} }{2} \\ \,\\ x = \frac{2 ±\sqrt{52} }{2} \\ \,\\ x = \frac{2 ±7.21 }{2} \\ \,\\ x = \frac{9.21}{2} \text{ and } x = \frac{−5.21}{2} \\ \,\\ x = 4.605 \text{ and } x = −2.605

Two Other Ways to Solve Quadratic Equations

You can solve quadratic equations by factoring. To do this, you more or less guess at a pair of numbers that, when added together, give the constant ​b​ and, when multiplied together, give the constant ​c​. This method can be difficult when fractions are involved. and wouldn't work well for the above example.

The other method is to complete the square. If you have an equation is standard form, ​ax2 + ​bx​ + ​c​ = 0, put ​c​ on the right side and add the term (​b​/2)2 to both sides. This allows you to express the left side as (​x​ + ​d​)2, where ​d​ is a constant. You can then take the square root of both sides and solve for ​x​. Again, the equation in the above example is easier to solve using the quadratic formula.

Related Articles

Montessori-Inspired Toys & Kits for Your Little Scientist
How to Factorise a Quadratic Expression
How to Use Elimination to Solve the Linear Equation
How to Solve Cubic Equations
How to Factor Binomial Cubes
The Foil Method With Fractions
How to Factor Polynomials With 4 Terms
How to Convert Quadratic Equations From Standard to...
How to Factor Higher Exponents
How to Factor Monomials
What Is the Square Root Method?
How to Factor Trinomials, Binomials & Polynomials
Tips For Solving Quadratic Equations
How to Find the Area of Squares
How to Factor a Perfect Cube
How to Solve Binomial Equations by Factoring
How to Complete the Square
How to Factor Polynomials & Trinomials
3 Methods for Solving Systems of Equations
How to Find X-Intercept & Y-Intercept
How to Solve for Both X & Y