# The Quadratic Formula, Part 1

One of the great things about quadratic equations is that there's a formula we can use to get the solutions to an equation just by plugging in the quadratic polynomial part's coefficients. Say we have a quadratic equation that looks like:

*ax*^{2} + *bx* + *c* = 0

In a real world problem, *a*, *b* and *c* are all going to be numbers. If we take those numbers and substitute them into this equation, we'll get the solutions that we're looking for:

$$x = \frac {-b \pm \sqrt {b^2 - 4ac}} {2a}$$

# Example 1

**Solve the equation x^{2} + 3x - 4 = 0.**

First, notice that the equation is already set equal to zero. That's an important first step when using the Quadratic Formula, just like it was when we were solving by factoring.

Now we need to pick out the *a*, *b* and *c* values that we'll substitute into the formula. Remember that the *a* value is the number in front of the *x*^{2} term, the *b* value is the number in front of the *x* term and the *c* value is the constant at the end. This means that, for our equation, we have:

*a* = 1*b* = 3*c* = -4

If we substitute those values into the formula, we get:

# Example 3

**Solve the equation x^{2} + 10x + 20 = -5.**

In this example, we can't just jump right in to the formula because the equation isn't equal to 0. We have to start off by adding 5 to both sides:

*x*^{2} + 10*x* + 25 = 0

Now we can pull out the values of *a*, *b* and *c*.

*a* = 1*b* = 10*c* = 25

If we substitute those values into the formula, we get:

# Example 2

**Solve the equation 2 x^{2} - 5x - 2 = 0.**

First, we need to pick out the *a*, *b* and *c* values that we'll substitute into the formula. Remember that the *a* value is the number in front of the *x*^{2} term, the *b* value is the number in front of the *x* term and the *c* value is the constant at the end. This means that, for our equation, we have:

*a* = 2*b* = -5*c* = -2

If we substitute those values into the formula, we get:

Since sqrt(41) can't be reduced or simplified any further. That's our final answer. It's a little messy with both a square root and a fraction left in it but these problems are often going to come out that way.

# Example 4

**Solve the equation x^{2} + 2x + 5 = 0.**

Since the equation is already set equal to zero we can start by picking out the values we'll need for the formula.

*a* = 1*b* = 2*c* = 5

If we substitute those values into the formula, we get:

Now we've run into a problem. We can't take the square root of a negative number so, at this point, we have to conclude that the equation doesn't have any real number solutions. (It does have complex solutions but we'll save that for the next section.)