Skip to content

Quadratic equation solver with steps

Free TutorAura tool · no sign-up · Updated

Enter aa, bb and cc for any quadratic equation ax2+bx+c=0ax^2 + bx + c = 0. The solver works out the discriminant, tells you how many real solutions there are, and gives them exactly (as whole numbers, fractions or surds like 1±21 \pm \sqrt{2}) and as decimals. When the roots are rational it also shows the factorised form, and it gives the turning point of the graph.

Loading the tool

The quadratic formula

x=−b±b2−4ac2ax = \frac{-b \pm \sqrt{b^2 - 4ac}}{2a}

The part under the square root, b2−4acb^2 - 4ac, is the discriminant:

DiscriminantSolutionsGraph
PositiveTwo different real solutionsCrosses the x-axis twice
ZeroOne repeated solutionTouches the x-axis
NegativeNo real solutionsDoesn't reach the x-axis

Worked example: 2x² − 8x + 6 = 0

  • a=2a = 2, b=−8b = -8, c=6c = 6.
  • Discriminant: (−8)2−4(2)(6)=64−48=16(-8)^2 - 4(2)(6) = 64 - 48 = 16, positive, so two solutions.
  • x=8±164=8±44x = \dfrac{8 \pm \sqrt{16}}{4} = \dfrac{8 \pm 4}{4}, so x=1x = 1 or x=3x = 3.
  • Factorised: 2(x−1)(x−3)=02(x - 1)(x - 3) = 0.

A quicker route here: divide by 2 first to get x2−4x+3=0x^2 - 4x + 3 = 0, then factorise. Spotting a common factor is always worth a second.

Exact answers and surds

When the discriminant isn't a perfect square, the answers are irrational. For x2−2x−1=0x^2 - 2x - 1 = 0, the discriminant is 8, so x=2±82=1±2x = \dfrac{2 \pm \sqrt{8}}{2} = 1 \pm \sqrt{2}. Many exam questions ask for answers "in surd form" or "to 2 decimal places"; the solver gives both.

Which method to use

  • Factorising: fastest when the roots are whole numbers or simple fractions.
  • Quadratic formula: always works.
  • Completing the square: gives the turning point directly and is needed for some proofs.

See the quadratic equations topic guide for practice, and SAT Math formulas for the formulas the SAT expects you to know.

Reading the answer from a graph

The solutions of ax2+bx+c=0ax^2 + bx + c = 0 are where the graph of y=ax2+bx+cy = ax^2 + bx + c crosses the x-axis. The turning point is halfway between them, at x=−b2ax = -\tfrac{b}{2a}. If aa is positive the parabola opens upwards (a minimum); if negative, downwards (a maximum). Sketching the graph is a quick way to check your algebra: two crossings, one touch or none should match the discriminant.

Frequently asked questions

What does it mean if the discriminant is negative?

There are no real solutions: the parabola doesn't cross the x-axis.

Can I enter fractions or decimals for a, b and c?

Yes. Fractions like 1/2 and decimals both work, and the answers stay exact.

What is the turning point?

The vertex of the parabola: its lowest point if a is positive, or highest if a is negative. Its x-coordinate is −b ÷ 2a.

Sources

  1. National curriculum in England: mathematics programmes of study. Department for Education.
  2. Common Core State Standards for Mathematics. Common Core State Standards Initiative.