The quadratic formula solves every single quadratic equation ever written. That is a remarkable claim for a formula that is just one line long. But most students encounter it as a fact to memorise rather than an idea to understand. This guide changes that.

What Is a Quadratic Equation?

A quadratic equation has the form ax² + bx + c = 0, where a, b, and c are constants and a ≠ 0. The word "quadratic" comes from "quadratus" (Latin for square) — because the variable x is squared. Any equation where the highest power of the variable is 2 is quadratic.

Where the Quadratic Formula Comes From: Complete Derivation

The formula is derived by a process called "completing the square". Here is the complete derivation:

  1. Start with: ax² + bx + c = 0
  2. Divide by a (valid since a ≠ 0): x² + (b/a)x + (c/a) = 0
  3. Move the constant: x² + (b/a)x = −c/a
  4. Complete the square (add (b/2a)² to both sides): (x + b/2a)² = b²/4a² − c/a
  5. Simplify the right side: (x + b/2a)² = (b² − 4ac)/4a²
  6. Take the square root: x + b/2a = ±√(b² − 4ac)/2a
  7. Solve for x: x = (−b ± √(b² − 4ac)) / 2a

That final line is the quadratic formula. Every part of it came naturally from the algebra — nothing was invented arbitrarily.

Understanding the Discriminant: D = b² − 4ac

The expression under the square root, D = b² − 4ac, is called the discriminant (from Latin: to distinguish). It literally distinguishes between the three types of roots:

  • D > 0: Two distinct real roots (the parabola crosses the x-axis at two points)
  • D = 0: Two equal real roots — "repeated root" (the parabola just touches the x-axis)
  • D < 0: No real roots (the parabola does not cross the x-axis)

Before applying the formula, always compute D first. If D < 0, you are done — there are no real roots.

Three Solved Examples: Easy, Medium, Hard

Easy: x² − 5x + 6 = 0

a=1, b=−5, c=6. D = (−5)²−4(1)(6) = 25−24 = 1. √D = 1. x = (5±1)/2. x₁=3, x₂=2. Check: (x−3)(x−2)=0 ✓

Medium: 2x² − 7x + 3 = 0

a=2, b=−7, c=3. D = 49−24 = 25. √D = 5. x = (7±5)/4. x₁=3, x₂=½. Check: 2(3)²−7(3)+3=18−21+3=0 ✓

Hard (word problem): A train travels 300 km. If its speed were 5 km/h more, the journey would take 1 hour less. Find the speed.

Let speed = v km/h. Time = 300/v. New time = 300/(v+5). Equation: 300/v − 300/(v+5) = 1. Simplify: 300(v+5) − 300v = v(v+5). 1500 = v² + 5v. v² + 5v − 1500 = 0. D = 25+6000 = 6025. √6025 ≈ 77.6. v = (−5+77.6)/2 ≈ 36.3 km/h. (The negative root is physically impossible.)

Common Mistakes and How to Avoid Them

  • Forgetting −b: The formula has −b, not b. If b = −7, then −b = +7.
  • Dividing only −b by 2a: The entire numerator (−b ± √D) divides by 2a. Use brackets.
  • Not simplifying √D before substituting: If D=100, √D=10 (not 10 squared).
  • Giving only one root: The ± gives two roots (unless D=0). Always find both.

Memory Tricks: Never Forget the Formula Again

The musical method: Sing "negative b, plus or minus the square root, of b squared minus four a c, all over two a" to a familiar tune. This sounds silly but it is highly effective — rhythm and rhyme are genuine memory aids.

The derivation shortcut: Instead of memorising the formula, memorise the first 3 steps of completing the square. The rest follows automatically. If you understand where it comes from, you can always re-derive it in an exam.

Use the MathVis quadratic formula visualiser to drag sliders for a, b, and c and see exactly where the roots sit on the parabola in real time. Understanding the geometry makes the algebra unforgettable.