← All guides

The quadratic formula: how and why it works

Use x = (−b ± √(b² − 4ac)) / 2a to solve any quadratic. Worked example, what the discriminant tells you, and where the formula comes from.

Video lesson: The quadratic formula (free, with subtitles)

For any equation ax² + bx + c = 0:

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

It works even when the quadratic won't factor.

Worked example

Solve 2x² + 3x − 2 = 0. Here a = 2, b = 3, c = −2.

Check x = ½: 2(¼) + 3(½) − 2 = 0.5 + 1.5 − 2 = 0 ✓

The discriminant: b² − 4ac

Where it comes from

The formula is what you get by completing the square on ax² + bx + c = 0 with letters instead of numbers. Nothing to take on faith: it's the same steps, done once for every quadratic.

Common mistakes

Practice it free

Watch the full lesson and try questions with new numbers every time, with the worked steps shown if you get one wrong.

Practice: The quadratic formula All courses