58,018 views
29 votes
29 votes
What are the formulas for solving a quadratic equation by completing the square?

User Beniamin H
by
2.7k points

1 Answer

15 votes
15 votes

In order to complete the square of a quadratic equation, first let's identify the notable product below: the square of a sum:


(a+b)^2=a^2+2ab+b^2

So, in order to complete the square of a quadratic expression ax² + bx + c, when a = 1, we can add and subtract the term (b/2)², this way we have:


\begin{gathered} x^2+bx+c=0\\ \\ x^2+bx+((b)/(2))^2-((b)/(2))^2+c=0\\ \\ (x+(b)/(2))^2-((b)/(2))^2+c=0\\ \\ (x+(b)/(2))^2=((b)/(2))^2-c\\ \\ x+(b)/(2)=\pm\sqrt{((b)/(2))^2-c}\\ \\ x=-(b)/(2)\pm\sqrt{((b)/(2))^2-c}\\ \\ x=(-b\pm√(b^2-4c)\\)/(2) \end{gathered}

If a is not equal to 1, we can write the following general solution:


x=(-b\pm√(b^2-4ac))/(2a)

User Jenkizenki
by
2.6k points