Back to Blog

How to solve quadratic equation?

Learn how to solve quadratic equations step by step using Complete the Square method.

Today, I learned how to use the Complete the Square method to solve quadratic equations and discovered that it leads to the formula.

ax2+bx+c=0(xa+b÷2÷a)2=(b2a)2c=b24ac(xa+b÷2÷a)2=(b24a)cxa+b÷(2a)=±b24acxa×4a+b÷(2a)×4a=±b24ac2ax+b=±b24acx=b±b24ac2a\begin{aligned} ax^2 + bx + c = 0 &\Rightarrow \left(x\sqrt{a} + b \div 2 \div \sqrt{a}\right)^2 = (\frac{b}{2\sqrt{a}})^2 - c = \frac{b^2}{4\sqrt{a}} - c \\ &\Rightarrow \left(x\sqrt{a} + b \div 2 \div \sqrt{a}\right)^2 = \left(\frac{b^2}{4a}\right) - c \\ &\Rightarrow x\sqrt{a} + b \div (2\sqrt{a}) = \pm \sqrt{\frac{b^2}{4a} - c} \\ &\Rightarrow x\sqrt{a} \times \sqrt{4a} + b \div (2\sqrt{a}) \times \sqrt{4a} = \pm \sqrt{b^2 - 4ac} \\ &\Rightarrow 2ax + b = \pm \sqrt{b^2 - 4ac} \\ &\Rightarrow x = \frac{-b \pm \sqrt{b^2 - 4ac}}{2a} \end{aligned}