We complete the square to rewrite a quadratic expression in a form that reveals its vertex, its maximum or minimum value, and its solutions. The technique turns any quadratic into a perfect-square plus a constant, which makes graphing, solving, and analyzing parabolas far easier.
What Completing the Square Actually Does
A quadratic expression like ax² + bx + c can be rearranged into a(x − h)² + k. This is called vertex form because the point (h, k) is the vertex of the parabola. The process works by adding and subtracting a carefully chosen constant so that part of the expression becomes a perfect square trinomial.
For a monic quadratic (where a = 1), the key identity is:
x² + bx + (b/2)² = (x + b/2)²
So to complete the square for x² + 6x + 5, you take half of 6 (which is 3), square it (9), and add and subtract 9: x² + 6x + 9 − 9 + 5 = (x + 3)² − 4. The vertex is at (−3, −4).
The Historical Background
Completing the square is an ancient technique. Babylonian mathematicians used a geometric version of it around 1800 BCE to solve problems equivalent to quadratics. They did not use algebraic symbols; instead, they manipulated areas of squares and rectangles. The method later appeared in Greek mathematics, and in the 9th century the Persian mathematician al-Khwarizmi described it systematically in his algebra text. The quadratic formula itself is derived by completing the square on the general equation ax² + bx + c = 0, which is why the formula works for every quadratic.
How to Complete the Square: Step by Step
The procedure is straightforward once you know the pattern. Here are the steps for a general quadratic:
- Start with ax² + bx + c = 0.
- If a ≠ 1, divide every term by a to make the coefficient of x² equal to 1.
- Move the constant term to the other side: x² + (b/a)x = −c/a.
- Take half of the coefficient of x, square it, and add it to both sides.
- Write the left side as a perfect square: (x + b/(2a))² = (b² − 4ac)/(4a²).
- Take the square root of both sides, remembering the ± sign, and solve for x.
For example, solve 2x² − 8x + 6 = 0. Divide by 2: x² − 4x + 3 = 0. Move the constant: x² − 4x = −3. Half of −4 is −2; square it to get 4; add 4 to both sides: x² − 4x + 4 = 1. This becomes (x − 2)² = 1. So x − 2 = ±1, giving x = 3 or x = 1.
Why It Matters: Key Applications
Completing the square is not just an algebraic trick; it has practical uses across mathematics and science.
- Finding the vertex of a parabola: Vertex form immediately gives the maximum or minimum point, which is essential in optimization problems.
- Deriving the quadratic formula: The formula is obtained by completing the square on the general quadratic equation.
- Solving quadratic equations: It works even when factoring is difficult or impossible with integers.
- Graphing circles and conic sections: Completing the square converts general equations of circles, ellipses, and hyperbolas into standard form, revealing their centers and radii.
- Calculus and integration: Completing the square is used to integrate rational functions and to find inverse Laplace transforms in engineering.
- Physics and engineering: Quadratic models for motion, energy, and optimization often require vertex form to interpret results.
Common Mistakes and How to Avoid Them
Even though the method is mechanical, several errors are common:
- Forgetting to add the constant to both sides: When completing the square in an equation, whatever you add to one side must be added to the other. In an expression, you add and subtract the same value to keep it equivalent.
- Not dividing by a first: If the leading coefficient is not 1, you must factor it out or divide through before completing the square.
- Losing the ± sign: When taking the square root of both sides, remember that both positive and negative roots are possible.
- Arithmetic slips with fractions: When b is odd, half of it is a fraction; squaring it yields a fraction. Keep careful track of denominators.
A good check is to expand your final vertex form and verify it matches the original expression.
Completing the Square vs. Other Methods
Factoring is faster when the quadratic factors neatly with integers, but many quadratics do not factor over the integers. The quadratic formula always works, but it is essentially a memorized shortcut derived from completing the square. Graphing can show approximate solutions but lacks precision. Completing the square gives exact answers and also provides the vertex form, which the other methods do not directly yield. For this reason, it is often the preferred method when you need both the solutions and the vertex, or when you are working with parameters rather than specific numbers.
Frequently Asked Questions
Why is it called "completing the square"?
The name comes from the geometric interpretation: you are adding a small square to a rectangle to form a larger perfect square. Algebraically, you are turning part of the expression into a perfect-square trinomial.
Can you always complete the square?
Yes, for any quadratic expression with real coefficients. The process may involve fractions or negative numbers, but it always produces a perfect-square part plus a constant.
What if the coefficient of x² is negative?
You can factor out the negative coefficient first, then complete the square inside the parentheses. The vertex form will have a negative leading coefficient, indicating the parabola opens downward.
How is completing the square used to derive the quadratic formula?
Starting from ax² + bx + c = 0, you divide by a, move the constant, add (b/(2a))² to both sides, write the left as a square, and solve for x. The result is the familiar formula x = [−b ± √(b² − 4ac)]/(2a).
Does completing the square work for equations with no real solutions?
Yes. If the constant term after completing the square is negative, the equation has no real solutions, but it still has complex solutions. The method itself does not fail; it simply reveals that the square equals a negative number.
Where else is completing the square used in higher math?
It appears in linear algebra (quadratic forms), in calculus (integration techniques), in differential equations, and in statistics (completing the square in normal distributions). It is a foundational algebraic skill.