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 *ax*^{2} + *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 *ax*^{2} + *bx* + *c* = 0, the solutions are given by this formula:

*x* = [ −*b* ±√(*b*^{2} − 4_ac_) ] ÷ 2_a_

Note that the ± sign inside the brackets means that there are always two solutions. One of the solutions uses [ −*b* + √(*b*^{2} − 4_ac_) ] ÷ 2_a_, and the other solution uses [ −*b* − √(*b*^{2} − 4_ac_) ] ÷ 2_a_.

## 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 *x*^{2} 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 3_x_^{2} - 12 = 2_x_(*x* -1).

## Convert to standard form

## Plug the values of a, b and c into the quadratic formula

## Simplify

Expand the brackets:

3_x_^{2} - 12 = 2_x_^{2} - 2_x_

Subtract 2_x_^{2} and from both sides. Add 2_x_ to both sides

3_x_^{2} - 2_x_^{2} + 2_x_ - 12 = 2_x_^{2} -2_x_^{2} -2_x_ + 2_x_

3_x_^{2} - 2_x_^{2} + 2_x_ - 12 = 0

*x*^{2} - 2_x_ -12 = 0

This equation is in standard form *ax*^{2} + *bx* + *c* = 0 where *a* = 1, *b* = −2 and *c* = 12

The quadratic formula is

*x* = [ −*b* ±√(*b*^{2} − 4_ac_) ] ÷ 2_a_

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

*x* = [ −( −2) ± √{( −2)^{2} − 4(1 × −12)} ] ÷ 2(1)

*x* = [2 ± √{4 + 48}] ÷ 2.

*x* = [2 ± √52] ÷ 2

*x* = [2 ± 7.21] ÷ 2

*x* = 9.21 ÷ 2 and *x* = −5.21 ÷ 2

*x* = 4.605 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, *ax*^{2} + *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.