Why Does Completing the Square Work?
Completing the square works because of a fundamental algebraic identity: (x + n)² = x² + 2nx + n². This means any expression of the form x² + 2nx can be turned into a perfect square by adding n². The method exploits this identity in reverse -- given x² + bx, we find n = b/2 and add (b/2)² to create a perfect square trinomial.
The Geometric Proof
The name "completing the square" comes from a geometric interpretation. Consider the expression x² + 6x. We can visualize this as:
- A square with side length x (area = x²)
- A rectangle with dimensions x by 6 (area = 6x)
Now split the rectangle into two equal pieces, each with dimensions x by 3. Arrange these two rectangles along two sides of the x-by-x square. You now have an L-shaped figure. To "complete" it into a full square, you need a small 3-by-3 square in the corner. This small square has area 9 = (6/2)² = (b/2)².
The total area of the completed square is (x + 3)² = x² + 6x + 9. Since we added 9, we must subtract 9 to keep the expression equal: x² + 6x = (x + 3)² - 9.
Deriving the Quadratic Formula
Step 1: Start
Begin with the general equation ax² + bx + c = 0.
Step 2: Divide by a
Divide every term by a (assuming a is not zero).
Step 3: Isolate
Move the constant to the right side.
Step 4: Complete
Add (b/(2a))² to both sides.
Step 5: Factor
The left side is a perfect square.
Step 6: Solve
Take the square root of both sides and isolate x.
Historical Context
Completing the square has ancient origins. Babylonian mathematicians around 1800 BCE used geometric methods equivalent to completing the square to solve quadratic equations. The Persian mathematician al-Khwarizmi (c. 780-850 CE) gave the first systematic account of this technique in his book "Al-Kitab al-mukhtasar fi hisab al-jabr wal-muqabala" (The Compendious Book on Calculation by Completion and Balancing), from which we get the word "algebra."
Why This Identity Works Algebraically
The core identity can be verified by expanding (x + n)²:
- (x + n)² = (x + n)(x + n)
- = x(x + n) + n(x + n)
- = x² + xn + nx + n²
- = x² + 2nx + n²
So if we have x² + bx, we need 2n = b, which means n = b/2. Adding n² = (b/2)² creates the perfect square (x + b/2)².
Applications Beyond Quadratics
- Conic sections: Converting general second-degree equations to standard form for circles, ellipses, and hyperbolas.
- Calculus: Evaluating integrals involving quadratic expressions in the denominator.
- Statistics: Deriving properties of the normal distribution.
- Physics: Analyzing projectile motion and energy equations.
- Optimization: Finding maximum and minimum values without calculus.