How Do You Complete the Square, and Why Does It Work?
Completing the square is an algebraic method used to solve quadratic equations by reshaping them into a perfect square binomial, which looks like . While factoring only works for 'nice' numbers, completing the square is a universal tool that works for any quadratic equation, every single time.
Think of it like taking an oddly shaped rectangular rug and sewing on a specific missing corner piece to make it a perfect square. Once your equation is written as a perfect square, solving it becomes as simple as taking the square root of both sides.
The Geometry Behind the Algebra
The name 'completing the square' actually comes from geometry. Imagine you have a square tile with an area of . Now, add two rectangular tiles to the sides, each with a width of and a length of . The total area you have is .
If you arrange these rectangles along two adjacent sides of your square, you almost have a larger square, but there is an empty space in the corner. The area of that missing corner piece is exactly , or .
By adding that missing to your shape, you create a perfect square with a total side length of . In algebra, this means can be perfectly factored into .
The Step-by-Step Method
To complete the square algebraically, we force our equation to look exactly like the geometric model above.
First, make sure your equation is in the form . If there is a number attached to the (an value), divide the entire equation by that number first. You want a plain .
Next, take the coefficient of the term (your ), cut it in half, and square it. This gives you . Add this magic number to both sides of the equation. Adding it to the left completes the square, and adding it to the right keeps the equation balanced.
Finally, rewrite the left side as the perfect square . Now you can take the square root of both sides and solve for .
Where Students Slip Up
The most common mistake is forgetting the golden rule of algebra: what you do to one side, you must do to the other. Students often add to the left side to complete their square, but forget to add it to the constant on the right side. This completely changes the equation.
Another frequent trap is forgetting the (plus or minus) sign when taking the square root. For example, if you have , taking the square root gives . If you only write , you will miss out on the second valid solution for the quadratic equation.
Worked through
Solve by completing the square.
Step 1: Move the constant to the right side.
Step 2: Divide the entire equation by 2 so the term has a coefficient of 1.
Step 3: Find the magic number to complete the square. Take half of 6, and square it.
Step 4: Add 9 to both sides of the equation.
Step 5: Factor the left side as a perfect square.
Step 6: Take the square root of both sides. Don't forget the !
Step 7: Solve for .
This gives two solutions:
The solutions are and .
Questions students ask
Ask about this topic
Where this comes from: OpenStax Algebra and Trigonometry: Quadratic Equations · Khan Academy: Solving quadratic equations by completing the square
See also