This example derives the quadratic formula using algebra.

Start with the quadratic equation set equal to zero.

Divide both sides by .

Subtract from both sides.

Add to both sides to complete the square which prepares us to factor the left-hand side of the equation and isolate .

Factor the left-side and rearrange the right-side.

Multiply the expression by one in the form of so the two fractions on the right side can be combined.

Take the square root of both sides.

Subtract from both sides and simplify the square root expression on the right side.

Combine the fractions on the right side and indicate that we are interested in both the positive and negative solution of the square root operator by using the (plus-minus) symbol.

This completes the derivation of the quadratic formula.