Skip to the formula

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

The quadratic formula is x = (−b ± √(b² − 4ac)) / 2a.

What each letter means

When to use it

In IB Maths, to solve quadratics that do not factorise and to read the discriminant: AA questions ask for the values of k that give two, one or no real roots, and AI questions solve the equation on the GDC and then interpret the roots in context.

Worked example

Solve \(2x^2-3x-4=0\), giving your answers to 3 significant figures.

  1. \(a=2,\ b=-3,\ c=-4\)
  2. \(x=\dfrac{3\pm\sqrt{9+32}}{4}=\dfrac{3\pm\sqrt{41}}{4}\)

Answer: \(x=2.35\) or \(x=-0.851\)

Common mistake

Rounding the discriminant too early. Keep √(b² − 4ac) exact, or at full GDC accuracy, and round only the final roots to 3 significant figures.

Fix it with practice: Skill Builder: Quadratic Functions (free account).

Try one yourself

One quick IB Maths question on the quadratic formula. No sign-in needed.

Solve \(x^{2} - 6 x + 9 = 0\).
Choose your answer · keys 1–4

On your IB Maths course

CourseIn the exam
AA SL
All IB AA SL formulas by topic
In the IB formula booklet
AA HL
All IB AA HL formulas by topic
In the IB formula booklet

From our own IB Maths formula sheets, in our words. The IB gives its booklet to schools, so we checked against our own copy: your teacher has the official one. Official: IB DP Mathematics page.

Practise and revise

Quadratic formula formula card: x = (−b ± √(b² − 4ac)) / 2a. IB Math Revision
Quadratic formula card for IB Maths: download (PNG).

IB Maths FAQ

Is the quadratic formula in the IB formula booklet?

AA SL: in the IB formula booklet. AA HL: in the IB formula booklet.

How do I find the values of k for which a quadratic has two real roots?

Write b² − 4ac with the coefficients in terms of k, solve b² − 4ac > 0, and give the answer as a range of values of k.

Our own wording, examples and card, checked by IB Math Revision. Not produced or endorsed by the International Baccalaureate Organization.