Algebra

Quadratic Equation Calculator with Steps

Solve ax^2 + bx + c = 0 using the quadratic formula, with discriminant, real roots, and answer checks.

Solve ax^2 + bx + c = 0

Scroll to zoom · Drag to pan
Answer
x = 3 or x = 2
  1. Discriminant = b^2 - 4ac = 1
  2. x = (-b +/- sqrt(b^2 - 4ac)) / (2a)
  3. Check x1: 0
  4. Check x2: 0

How to use the quadratic equation calculator

The quadratic equation calculator is built for high-school algebra. It calculates the discriminant, identifies the number of real roots, and shows the formula substitution.

  1. Enter a, b, and c for ax^2 + bx + c = 0.
  2. Compute the discriminant b^2 - 4ac.
  3. Substitute into the quadratic formula.
  4. Check roots by evaluating the original expression.

Formula or method

x = (-b +/- sqrt(b^2 - 4ac)) / (2a).

Worked examples

Two real roots

Problem: x^2 - 5x + 6 = 0

Solution: Discriminant is 1, so x = 2 or x = 3.

No real roots

Problem: x^2 + 1 = 0

Solution: Discriminant is -4, so there are no real roots.