Enter coefficients a, b, and c to solve ax² + bx + c = 0 instantly. See roots, vertex, discriminant, and a graph.
Every quadratic equation has the form ax² + bx + c = 0, where a, b, and c are constants and a is not zero. The quadratic formula gives you the exact solutions (roots) for any quadratic equation, no matter how messy the numbers.
The key is the discriminant, which is the part under the square root: b² - 4ac. If it is positive, you get two different real roots. If it equals zero, you get one repeated root (the parabola just touches the x-axis). If it is negative, the roots are complex numbers with an imaginary part.
The graph above shows your parabola. When a is positive, it opens upward like a cup. When a is negative, it opens downward. The vertex is the highest or lowest point, located at x = -b/2a. The roots (if they are real) are where the curve crosses the x-axis. If the parabola does not cross the x-axis, the roots are complex.
x² - 5x + 6 = 0 factors to (x-2)(x-3), giving roots x=2 and x=3. The equation x² + 1 = 0 has no real roots because the discriminant is -4, giving complex roots x = i and x = -i. The equation x² - 4x + 4 = 0 is a perfect square (x-2)², so x=2 is a repeated root.