Completing the Square
Rewrite a quadratic as a perfect square plus a constant.
Formula
Variables
Example
x²+6x = (x+3)²-9
How it works
Completing the square turns a quadratic with an x² term and a linear x term into a square of a binomial, which is often easier to solve or interpret. It works because if you expand (x + b/2)², you get x² + bx + b²/4, so subtracting b²/4 keeps the expression equivalent to the original. This rearrangement exposes the vertex form of a parabola and makes many algebraic steps simpler.
When to use it
Use this when solving quadratic equations, especially if factoring is awkward or impossible. It is also useful in graphing parabolas, finding turning points, and converting quadratic expressions into a form that is easier to integrate or analyze.
Worked example, step by step
Rewrite x² + 10x in completed-square form. Start with x² + 10x. Take half of 10: 10/2 = 5. Square it: 5² = 25. Add and subtract 25: x² + 10x = x² + 10x + 25 - 25. Group the perfect square: x² + 10x + 25 = (x + 5)². So x² + 10x = (x + 5)² - 25. Final answer: x² + 10x = (x + 5)² - 25.
Common mistakes to avoid
- Forgetting to subtract the square of half the coefficient, which changes the value of the expression
- Using b instead of b/2 inside the bracket, which does not form a perfect square
- Dropping the x² term or writing the result as a solved equation instead of an equivalent expression
Did You Know?
Completing the square is the ancient geometric trick, dating to Babylon, that eventually produced the quadratic formula.
Share this formula
More in Algebra
View allQuadratic Formula
IntermediateFinds the roots of any quadratic equation ax² + bx + c = 0.
Discriminant
IntermediateDetermines the nature of the roots of a quadratic equation.
Binomial Theorem
IntermediateExpands any power of a binomial into a sum of terms.
Logarithm Product Rule
IntermediateThe logarithm of a product equals the sum of logarithms.
Logarithm Quotient Rule
IntermediateThe logarithm of a quotient equals the difference of logarithms.
Logarithm Power Rule
IntermediateThe logarithm of a power equals the exponent times the logarithm.