Completing the Square

Calculator and formula for quadratic equation

Calculate quadratic equation


As a result of the quadratic equation, this function returns the value of the unknown x for the coefficients a, b and c. A quadratic equation is an equation in which an unknown is raised to the second power.

For real numbers, the quadratic equation can have zero, one, or two solutions. If the expression under the root is negative, there is no solution; if it is zero, a solution exists; if it is positive, two solutions exist.

If no real solution exists, the result is given as a complex number.

To perform the calculation, enter the values for a, b and c, then click on the 'Calculate' button.


Quadratic Equation Calculator

Input
Argument a
Argument b
Argument c
Decimal places
Result
X1
X2

Formula for quadratic equation

\(\displaystyle ax^2+bx+c=0 \)

Solution

\(\displaystyle x_1 = \frac{-b +\sqrt{b^2-4ac}}{2a} \)
\(\displaystyle x_2 = \frac{-b -\sqrt{b^2-4ac}}{2a} \)
Is this page helpful?            
Thank you for your feedback!

Sorry about that

How can we improve it?