Quadratic Equation Calculator

Enter the coefficients a, b, and c for any equation in the form ax² + bx + c = 0. This tool finds both roots, the discriminant, and the vertex of the parabola.

Recommended Tools

How the Quadratic Formula Works

The quadratic formula derives from completing the square on the general equation ax² + bx + c = 0. By isolating x through algebraic manipulation, you arrive at x = (-b ± √(b² - 4ac)) / (2a). The ± yields two solutions, which correspond to the two points where a parabola may cross the x-axis.

This calculator evaluates the discriminant first. When b² - 4ac is positive, the square root is real and produces two distinct x values. When it equals zero, both solutions collapse to the same value. When it is negative, the square root of a negative number introduces the imaginary unit i, resulting in complex conjugate roots.

All outputs are rounded to four decimal places. For exact symbolic answers, you would need a computer algebra system, but this level of precision is sufficient for homework, engineering estimates, and most practical applications.

Understanding the Vertex and Parabola Shape

Every quadratic equation graphs as a parabola. The vertex is its turning point, located at x = -b/(2a). Plugging this x value back into the equation gives the y-coordinate of the vertex. Together these coordinates tell you the minimum or maximum value of the function.

The sign of coefficient a determines direction. Positive a means the parabola opens upward, making the vertex a minimum. Negative a means it opens downward, making the vertex a maximum. The absolute value of a controls how wide or narrow the parabola is; larger values produce a narrower curve.

In real-world problems, the vertex often represents an optimal value. In projectile motion, it gives maximum height. In business, it can represent the quantity that maximizes profit or minimizes cost. Recognizing these applications makes quadratic equations far more practical than they might seem in a textbook.

Common Mistakes When Solving Quadratics

One frequent error is forgetting that 'a' applies to the entire x² term, not just x. In the equation 2x² - 5x + 3 = 0, a is 2, b is -5, and c is 3. Getting the signs wrong on b or c is the most common source of incorrect answers. Always identify coefficients carefully before plugging into the formula.

Another mistake is computing the discriminant incorrectly. Remember that b² means the entire coefficient b is squared, including its sign. So if b = -5, then b² = 25, not -25. The subtraction of 4ac then follows, and sign errors here propagate through the entire solution.

Students also sometimes divide only part of the numerator by 2a. The entire expression (-b ± √Δ) must be divided by 2a, not just the square root portion. Using this calculator to check your manual work helps catch these errors before they become habits.

Frequently Asked Questions

What is the quadratic formula?

The quadratic formula is x = (-b ± √(b² - 4ac)) / (2a). It solves any equation of the form ax² + bx + c = 0 by finding the values of x where the parabola crosses the x-axis. The ± symbol means there are typically two solutions.

What does the discriminant tell you?

The discriminant is b² - 4ac. If it is positive, the equation has two distinct real roots. If it equals zero, there is exactly one real root (a repeated root). If it is negative, the roots are complex (imaginary) numbers, meaning the parabola does not cross the x-axis.

Why can't 'a' equal zero?

If a equals zero, the equation becomes bx + c = 0, which is a linear equation, not quadratic. A quadratic equation by definition has a non-zero x² term. For linear equations, simply solve x = -c/b.

What are complex roots?

Complex roots occur when the discriminant is negative. They are expressed in the form a + bi, where i is the imaginary unit equal to √(-1). Complex roots always come in conjugate pairs: if one root is 3 + 2i, the other is 3 - 2i.

What is the vertex of a quadratic equation?

The vertex is the highest or lowest point on the parabola. Its x-coordinate is -b/(2a) and its y-coordinate is found by plugging that x value back into the equation. If a is positive, the vertex is a minimum; if a is negative, it is a maximum.