Quadratic Formula Calculator With Steps (Roots, Vertex & Discriminant)

AlgebraFreeNo sign-up

Illustrated cover for Quadratic Formula Calculator With Steps (Roots, Vertex & Discriminant).

Solve ax² + bx + c = 0 with the quadratic formula. Get both roots (real or complex), the discriminant, vertex and axis, with steps shown.

Solve any quadratic equation ax² + bx + c = 0 with the quadratic formula. Enter a, b and c to get both roots (real or complex), the discriminant, the vertex and the axis of symmetry, with the steps shown. Example: x² − 5x + 6 = 0 has a = 1, b = −5, c = 6, a discriminant of 1, and roots x = 2 and x = 3.

FreeNo sign-up

How to use the Quadratic Formula Calculator

  1. Write your equation in standard form ax² + bx + c = 0 (move every term to one side).
  2. Type the coefficients a, b and c. Use a negative sign where needed, for example b = -5.
  3. Press Calculate to see the roots, discriminant, vertex and axis of symmetry.
  4. Open Show steps to see the substitution into the quadratic formula.

Formula and method

x = (−b ± √(b² − 4ac)) / 2a

The expression under the root, D = b² − 4ac, is the discriminant. If D > 0 there are two real roots, if D = 0 there is one repeated root, and if D < 0 there are two complex roots. The vertex of the parabola is at x = −b / 2a.

Example: 2x² + 3x − 2 = 0. D = 9 + 16 = 25, so x = (−3 ± 5) / 4, giving x = 0.5 and x = −2.

Three types of solutions: the discriminant

The expression under the square root, D = b² − 4ac, is called the discriminant. Its sign tells you what kind of answers to expect before you finish the work.

Discriminant Roots Example Result
D > 0 Two different real roots x² − 5x + 6 = 0 (D = 1) x = 2 and x = 3
D = 0 One repeated real root x² − 6x + 9 = 0 (D = 0) x = 3
D < 0 Two complex roots x² + 2x + 5 = 0 (D = -16) x = −1 ± 2i

Worked example 1: a perfect-square discriminant

Solve 3x² − 2x − 8 = 0. Here a = 3, b = −2, c = −8, so D = (−2)² − 4(3)(−8) = 4 + 96 = 100. Then x = (2 ± √100) / 6 = (2 ± 10) / 6, giving x = 2 and x = −4/3. Because D is a perfect square, this equation also factors as (3x + 4)(x − 2) = 0.

Worked example 2: an irrational answer

Solve 2x² + 3x − 4 = 0. D = 9 + 32 = 41, which is not a perfect square, so the roots are x = (−3 ± √41) / 4, which is about 0.851 and -2.351. Leave the exact form if your teacher asks for it, and use decimals for graphing.

Worked example 3: complex roots

Solve x² + 2x + 5 = 0. D = 4 − 20 = -16. Since the discriminant is negative, there are no real roots. Using √(−16) = 4i, x = (−2 ± 4i) / 2 = −1 ± 2i. The parabola never crosses the x-axis.

Vertex, axis of symmetry and y-intercept

The calculator also reports the vertex. The axis of symmetry is x = −b / 2a, and the vertex y-value is found by substituting that x back into the equation. The y-intercept is simply c. For 2x² − 8x + 3: the axis is x = 8 / 4 = 2, the vertex is (2, -5), and the y-intercept is (0, 3). Because a is positive, the parabola opens upward and the vertex is its minimum.

Where the formula comes from

The quadratic formula is what you get when you complete the square on ax² + bx + c = 0 in general. Divide by a, move the constant, add (b / 2a)² to both sides, take square roots and solve for x. Seeing this once makes it easier to remember why the formula has a ± and why the denominator is 2a. For practice with the method itself, try the completing the square calculator.

Quadratic formula or factoring?

Factoring is quick when the roots are simple whole numbers or fractions, which happens exactly when the discriminant is a perfect square. The formula always works, including when the roots are irrational or complex, so it is the safe choice on tests. Use the factoring calculator to check a factorization.

Common mistakes

  • Forgetting that b keeps its sign: when b = −5, −b is +5.
  • Dividing only the square root by 2a instead of the whole numerator.
  • Losing the minus sign in −4ac when a or c is negative.
  • Using the formula when a = 0, which is not a quadratic equation.

Quick check

What does the discriminant tell you about 2x² + 4x + 2 = 0?

Frequently asked questions

What if the discriminant is negative?

The equation has no real solutions, but it has two complex solutions of the form p ± qi. The parabola does not cross the x-axis.

Can a equal zero?

No. If a = 0 the equation is linear (bx + c = 0), not quadratic. The calculator tells you the linear solution instead.

Why are there two answers?

A parabola can cross the x-axis at two points. The ± in the formula gives one root with the plus sign and one with the minus sign.

Does the quadratic formula always work?

Yes, for any quadratic with real coefficients. Factoring or completing the square can be faster for simple equations, but the formula never fails.

Related calculators

Browse all calculators

More algebra calculators

Browse all 576 calculators

Related to This Article

What people say about "Quadratic Formula Calculator with Steps - Effortless Math"?

No one replied yet.

Leave a Reply