An easy way to solve quadratic equations is through factoring. However, many of the quadratic equations cannot be factored easily. In these cases, we can use the general quadratic formula to solve any quadratic equation.

In this article, we will learn how to derive the quadratic formula step by step. Then, we will use it to solve quadratic equations.

## How to derive the quadratic formula?

The quadratic formula is derived using steps similar to those we use to complete the square. This formula takes into account the fact that any equation of the form can be solved to find its roots.

The roots of the equation are points where the graph of the equation crosses the x-axis.

Therefore, to find the roots of the equation , we are going to use the steps used in completing the square to obtain the general formula:

**Step 1:** Write the equation in the general form , where *a, b, *and* c* are real numbers, and *a*≠0.

** Step 2:** Move the constant

*c*to the right hand side of the equation:

** Step 3:** Divide the equation by the coefficient

*a*:

** Step 4:** Identify the coefficient , divide it by 2, square it and simplify it:

** Step 5:** Add the result of step 4 to both sides of the equation:

** Step 6:** Simplify the right hand side of the equation:

** Step 7:** Form the square of the binomial in the expression on the left:

** Step 8:** Take the square root of both sides and simplify without forgetting the ± sign on the right side:

** Step 9:** Isolate the

*x*on the left and simplify:

Start now: Explore our additional Mathematics resources

## How to solve quadratic equations with the quadratic formula?

To solve quadratic equations with the general quadratic formula, we have to start by organizing the equation in the form . Once we have the equation written that way, we simply plug in the coefficients *a, b*, and *c* into the quadratic formula:

Something important that we must not forget is the ± sign since in this way we will obtain both solutions to the quadratic equation.

### EXAMPLE 1

Solve the equation .

**Solution: **Using , and , we have:

Therefore, the solutions are and .

### EXAMPLE 2

Solve the equation .

**Solution: **Using , and with the quadratic formula, we have:

In this case, we got a zero within the square root, therefore we don’t get any change from adding or subtracting zero. This means that the only solution is .

### EXAMPLE 3

Solve the equation .

**Solution: **Using , and with the quadratic equation, we have:

We can see that we got a negative number inside the square root. This has no solution if we are restricted to real numbers. If you haven’t learned about complex numbers yet, then we would stop here and conclude that this equation “has no solution.” However, this can be solved with knowledge of complex numbers:

Therefore, depending on whether we only consider real numbers or we also consider complex numbers, we have the solutions:

**Only real numbers:** no solution.

**Complex numbers: **the solution is .

## Quadratic formula – Practice problems

See also

Interested in learning more about algebraic expressions and factoring? Take a look at these pages:

### Learn mathematics with our additional resources in different topics

**LEARN MORE**