How to solve a quadratic by completing the square
Completing the square transforms a standard quadratic equation into the form , allowing direct solution by taking square roots. This method applies to all quadratic equations, including those with complex, irrational, or rational roots.
The setup
Ensure the equation is in the standard form . Divide the entire equation by the leading coefficient so that the coefficient of the term is exactly . Move the constant term to the right side of the equality.
The steps
- Identify the new linear coefficient in the equation .
- Compute the value of .
- Add this computed value to both sides of the equation.
- Factor the left side as the perfect square .
- Take the square root of both sides, applying the sign to the right side.
- Isolate to find the roots.
Checking the result
Substitute both solutions back into the original unsimplified equation . Both values must satisfy the equality. If they do not, check for arithmetic errors in factoring or evaluating the square root.
Common errors
Forgetting to divide by before calculating . Neglecting the symbol when taking the square root, which incorrectly drops one of the two solutions. Adding the squared term to only the left side of the equation, violating algebraic equality.
Worked example
Solve by completing the square.
Divide by the leading coefficient 2: Move the constant to the right side: Find where : Add 4 to both sides: Factor the left side as a perfect square: Take the square root of both sides: Solve for : Calculate the two roots:
FAQ
Run your own problem
References: OpenStax College Algebra, Section 2.5: Quadratic Equations · Khan Academy Unit: Quadratic Equations & Functions · Stewart Precalculus, Chapter 1: Fundamentals
See also