Quadratic formula

The quadratic formula is a general expression for the solutions to a quadratic equation. It is used when other methods, such as completing the square, factoring, and square root property do not work or are too tedious.

General Solution For A Quadratic by Completing the Square

Let the quadratic be in the form $ax^2+bx+c=0$.

Moving c to the other side, we obtain


Dividing by ${a}$ and adding $\frac{b^2}{4a^2}$ to both sides yields


Completing the square on the LHS gives


As described above, an equation in this form can be solved, yielding

${x=\frac{-b \pm \sqrt{b^2-4ac}}{2a}}$

This formula is also called the quadratic formula.

Given the values ${a},{b},{c}$, we can find all real and complex solutions to the quadratic equation.


In some situations, it is preferable to use this variation of the quadratic formula:


Invalid username
Login to AoPS