The Completing the Square Method is a widely-used mathematical technique for solving quadratic equations, as well as for graphing and optimising quadratic functions. This article aims to provide an easy-to-understand, in-depth explanation of how to use this method.
A quadratic equation is any equation that can be written in the form ax^2 + bx + c = 0
, where a
, b
, and c
are constants, and x
is the variable you’re solving for.
Start by moving the constant term c
to the other side of the equation:
ax^2 + bx = -c
If a
is not 1, factor it out of the first two terms:
a(x^2 + (b/a)x) = -c
Add and subtract the same value to make it a perfect square trinomial:
a(x^2 + (b/a)x + ((b/2a)^2) - ((b/2a)^2)) = -c
This simplifies to:
a((x+(b/2a))^2 - ((b/2a)^2)) = -c
Expand the equation and solve for x
to find the roots of the equation:
x = -(b/2a) ± sqrt((b^2-4ac)/(4a^2))
Let’s solve the equation x^2 + 4x - 5 = 0
.
x^2 + 4x = 5
(x + 2)^2 - 4 = 5
x = -2 ± sqrt(9)
x = -2 ± 3
x = -5, 1