IB & IGCSE Maths · Algebra

Quadratic equation solver

Enter a, b and c from ax² + bx + c = 0. You get the roots in exact form, the decimals, the discriminant and the turning point of the graph.

Solve ax² + bx + c = 0

How to use it

  1. Rearrange the equation so one side is 0. For example, x² = 3x − 1 becomes x² − 3x + 1 = 0.
  2. Read off a, b and c, including their signs. A missing term has coefficient 0.
  3. Press Calculate.

Worked examples

EquationDiscriminantRoots
2x² − 3x − 2 = 025x = −1/2 or x = 2
x² − 3x + 1 = 05x = (3 ± √5)/2, so 0.382 or 2.62
x² − 4x + 4 = 00x = 2 (repeated)
x² + 2x + 5 = 0−16x = −1 ± 2i (no real roots)

A perfect-square discriminant (like 25) means the quadratic factorises: 2x² − 3x − 2 = (2x + 1)(x − 2). That is a quick way to check whether factorising is worth trying before you reach for the formula.

Finding k for equal roots

For which k does x² + kx + 9 = 0 have equal roots? Set Δ = k² − 4(1)(9) = 0, so k² = 36 and k = ±6.

The quadratic formula

x = (−b ± √(b² − 4ac)) / 2a. The vertex of y = ax² + bx + c is at x = −b/2a, which is also halfway between the two roots.

Where this comes up

Quadratics are core in IGCSE 0580 and 0606 and in every IB Maths course. For 1-on-1 help, see online IGCSE Maths tutoring or online IB Maths tutoring. To solve two equations at once, use the simultaneous equations solver.

Stuck on an algebra question? Send it to us. A maths teacher replies, not a bot.

Ask on WhatsApp →

Questions

What does the discriminant tell you?

The discriminant is Δ = b² − 4ac. If Δ > 0 there are two different real roots, if Δ = 0 there is one repeated root, and if Δ < 0 there are no real roots. Questions often ask for the values of k that give equal roots: set Δ = 0 and solve for k.

Why give the answer in exact form?

Non-calculator papers (IB AA Paper 1, IGCSE 0580 Papers 1 and 2) usually ask for exact answers, such as (3 + √5)/2. A rounded decimal can lose the accuracy mark. When a question does not say, exact or 3 significant figures are both fine in IB.

How do I solve a quadratic on a TI-84?

Open APPS, choose PlySmlt2, then Polynomial Root Finder with order 2, enter a, b and c, and press SOLVE. On a Casio, use MENU → EQUA → Polynomial, degree 2.

What if a is negative or the coefficients are fractions?

Both are fine. Enter decimals such as 0.5 or −1.5 and the solver still gives exact answers by working in fractions.

What are complex roots?

When Δ < 0 the roots are complex, written a ± bi where i² = −1. Complex numbers are in IB Maths AA HL and AI HL. In IGCSE and at SL you just say there are no real roots.

More free tools