Along with factoring and using the quadratic formula, completing the square is a common method for solving quadratic equations. It is often implemented when factoring is not an option, such as when the quadratic is a not already a perfect square.
Consider the formula for a generic quadratic equation:
The method of completing the square allows for the conversion to the form:
where
The value of
Once completing the square has been performed, the quadratic is easy to solve; because there is only one place where the variable
Example
As an example, consider the following quadratic polynomial:
This quadratic is not a perfect square. The closest perfect square is the square of
However, it is possible to write the original quadratic as the sum of this square and a constant:
Thus, the constant
Knowing this, we can now solve for x: