Quadratic Equations Solved Step by Step

Enter a quadratic in any form. The solver rearranges it to ax² + bx + c = 0, picks a suitable method, and shows real or complex roots with the working.

Try

Worked example

Solve 2x² − 7x + 3 = 0

  1. Read off the coefficients. a = 2, b = −7, c = 3
  2. Find the discriminant. b² − 4ac = 49 − 24 = 25, which is positive, so there are two real roots
  3. Apply the quadratic formula. x = (7 ± √25) ÷ 4 = (7 ± 5) ÷ 4
  4. Simplify. x = 12 ÷ 4 = 3, or x = 2 ÷ 4 = 1/2

Answer: x = 3 or x = 1/2

Check: It also factors as (2x − 1)(x − 3) = 0, which gives the same roots.

This example is written out in full. Enter your own problem above and the solver sets out the working the same way.

Where it's used

Quadratics describe anything with a squared term: the height of a projectile, the area of a shape with a fixed perimeter, profit as a function of price, and stopping distances. Finding the roots tells you when the quantity hits zero; the vertex tells you its maximum or minimum.

How to do it by hand

  1. Write it in standard form

    Rearrange so one side is zero: ax² + bx + c = 0, and read off a, b and c.

  2. Compute the discriminant

    D = b² − 4ac. Positive gives two real roots, zero gives one repeated root, negative gives two complex roots.

  3. Choose a method

    Factor when the roots are rational; otherwise use the quadratic formula x = (−b ± √D) / 2a or complete the square.

  4. Simplify and check

    Simplify any surds and substitute each root back into the original equation.

Common mistakes

Questions about quadratic equations

When should I factor instead of using the formula?

Factor when you can quickly find two numbers that multiply to ac and add to b. The formula always works and is safer when the numbers are awkward.

What does a negative discriminant mean?

The parabola does not cross the x-axis, so there are no real roots. The two roots are complex conjugates.

How does completing the square work?

Rewrite x² + bx as (x + b/2)² − (b/2)². For x² + 6x + 5 = 0 that gives (x + 3)² − 4 = 0, so x + 3 = ±2 and x = −1 or −5.

What is vertex form?

y = a(x − h)² + k, where (h, k) is the turning point. It shows the maximum or minimum directly, with h = −b ÷ 2a.

What do complex roots mean in practice?

The quantity never reaches zero. A profit curve with complex roots, for example, is either always positive or always negative.

Instant calculators for quadratic equations

No AI and no limits: answers as you type.

Related step-by-step solvers