Completing the square is a method we use to rewrite a quadratic expression so that it contains a perfect square trinomial. A perfect square trinomial takes on the form A^2+2AB+B^2=\left(A+B\right)^2.
If we can rewrite an equation by completing the square, then we can solve it using square roots.
For quadratic equations where a=1, we can write them in perfect square form by following these steps:
1 | \displaystyle x^2+bx+c | \displaystyle = | \displaystyle 0 | |
2 | \displaystyle x^2+bx | \displaystyle = | \displaystyle -c | Subtract c from both sides |
3 | \displaystyle x^2+2\left(\frac{b}{2}\right)x | \displaystyle = | \displaystyle -c | Rewrite the x term |
4 | \displaystyle x^2+2\left(\frac{b}{2}\right)x+\left(\frac{b}{2}\right)^2 | \displaystyle = | \displaystyle -c+\left(\frac{b}{2}\right)^2 | Add \left(\dfrac{b}{2}\right)^2 to both sides |
5 | \displaystyle \left(x+\frac{b}{2}\right)^2 | \displaystyle = | \displaystyle -c+\left(\frac{b}{2}\right)^2 | Factor the trinomial |
If a \neq 1, we can first divide through by a to factor it out.
Solve the following quadratic equation by completing the square: x^{2} + 18 x + 32 = 0
Solve the following quadratic equation by completing the square: 3x^2 -12x + 10 = 0