MathPath
Grades 1–13 Math Hub
Grades 9–11 · Algebra I & II · Formula Deep Dive

Quadratic Formula: Proof, Discriminant & Examples

The Quadratic Formula solves ANY quadratic equation $ax^2 + bx + c = 0$ ($a \neq 0$), whether the roots are integers, fractions, irrational square roots, or complex numbers.

$$x = \frac{-b \pm \sqrt{b^2 - 4ac}}{2a}$$

Variables: $a, b, c$ are coefficients of $ax^2 + bx + c = 0$ ($a \neq 0$).

When to use: Solving any quadratic equation, especially when factoring is not obvious.

Graphical Meaning: Where the Parabola Crosses the x-Axis

xy-3-1135-5-3-1135x₁x₂V

Parabola $y = x^2 - 2x - 3$: the Quadratic Formula gives x-intercepts $x_1 = -1$ and $x_2 = 3$, symmetric around the vertex $V(1, -4)$ at $x = -\frac{b}{2a}$.

Step-by-Step Derivation (Completing the Square)

The Quadratic Formula is not magic—it is the result of completing the square on the general equation $ax^2 + bx + c = 0$ once and for all.

  1. Start with standard form $ax^2 + bx + c = 0$ ($a \neq 0$) and divide every term by $a$: $x^2 + \frac{b}{a}x + \frac{c}{a} = 0$.
  2. Move the constant to the right side: $x^2 + \frac{b}{a}x = -\frac{c}{a}$.
  3. Complete the square by adding $\left(\frac{b}{2a}\right)^2 = \frac{b^2}{4a^2}$ to both sides: $\left(x + \frac{b}{2a}\right)^2 = \frac{b^2 - 4ac}{4a^2}$.
  4. Take the square root of both sides: $x + \frac{b}{2a} = \pm\frac{\sqrt{b^2 - 4ac}}{2a}$.
  5. Subtract $\frac{b}{2a}$ from both sides to obtain $x = \frac{-b \pm \sqrt{b^2 - 4ac}}{2a}$.

The Discriminant ($\Delta = b^2 - 4ac$) Tells You the Number of Roots

$\Delta > 0$ (Positive)

Two distinct real roots. The parabola crosses the x-axis at 2 points.

$\Delta = 0$ (Zero)

One repeated real root $x = -\frac{b}{2a}$. The vertex sits right on the x-axis.

$\Delta < 0$ (Negative)

No real roots (two complex conjugate roots). The parabola never touches the x-axis.

Perfect Square $\Delta$

If $b^2 - 4ac$ is a perfect square, the roots are rational and the quadratic was factorable.

Step-by-Step Worked Examples

Example 1: Standard Quadratic with Two Real Rational Roots

Problem: Solve $2x^2 - 3x - 5 = 0$ using the Quadratic Formula.
  1. Identify coefficients: $a = 2$, $b = -3$, $c = -5$.
  2. Compute the discriminant: $\Delta = (-3)^2 - 4(2)(-5) = 9 + 40 = 49$.
  3. Substitute into the formula: $x = \frac{-(-3) \pm \sqrt{49}}{2(2)} = \frac{3 \pm 7}{4}$.
  4. Split the $\pm$: $x_1 = \frac{3 + 7}{4} = \frac{5}{2}$ and $x_2 = \frac{3 - 7}{4} = -1$.

Example 2: Rearranging First & Getting Irrational Roots

Problem: Solve $x^2 - 4x = 2$.
  1. Move all terms to one side so the right side is $0$: $x^2 - 4x - 2 = 0$ ($a=1, b=-4, c=-2$).
  2. Compute $\Delta = (-4)^2 - 4(1)(-2) = 16 + 8 = 24$.
  3. Apply the formula: $x = \frac{4 \pm \sqrt{24}}{2} = \frac{4 \pm 2\sqrt{6}}{2} = 2 \pm \sqrt{6}$.

Common Mistakes to Avoid

Mistake 1: Forgetting to Set the Equation Equal to Zero First

✗ Wrong: Reading $c = 2$ from $x^2 - 4x = 2$ instead of moving $2$ to the left.
✓ Correct: Always rewrite as $ax^2 + bx + c = 0$ first: $x^2 - 4x - 2 = 0$, so $c = -2$.

Why: The derivation assumes the right-hand side equals $0$.

Mistake 2: Squaring Negative $b$ Incorrectly

✗ Wrong: Writing $-4^2 = -16$ when $b = -4$.
✓ Correct: Use parentheses: $(-4)^2 = +16$. The value of $b^2$ is ALWAYS non-negative for real $b$.

Why: Without parentheses, calculators evaluate $-(4^2) = -16$, breaking the discriminant.

Mistake 3: Dividing Only $-b$ by $2a$

✗ Wrong: Simplifying $\frac{4 \pm 2\sqrt{6}}{2}$ to $2 \pm 2\sqrt{6}$.
✓ Correct: Divide BOTH terms in the numerator by $2$: $\frac{4}{2} \pm \frac{2\sqrt{6}}{2} = 2 \pm \sqrt{6}$.

Why: The fraction bar extends under the entire numerator $-b \pm \sqrt{b^2 - 4ac}$.

Frequently Asked Questions

When should I use the Quadratic Formula instead of factoring?

Use factoring when integer factors are easy to spot (like $x^2 - 5x + 6 = 0$). Use the Quadratic Formula whenever $a > 1$ gets messy, coefficients are decimals/fractions, or roots are irrational/complex.

What does $-\frac{b}{2a}$ inside the Quadratic Formula represent?

It is the x-coordinate of the parabola's vertex (the axis of symmetry). The $\pm \frac{\sqrt{\Delta}}{2a}$ part steps equally left and right from the vertex to reach both roots.

What if $b^2 - 4ac$ is negative?

There are no real x-intercepts. In Algebra II, rewrite $\sqrt{-k}$ as $i\sqrt{k}$ to write the two complex conjugate roots.

Practice & Related Resources

Apply Quadratic Formula on interactive problems, printable PDF worksheets, and calculators.

Worked Examples: Quadratic Equations →Grade 9 Quadratic Equations Quiz →Printable Quadratic Worksheets →Open Algebra Calculator → ← Back to Algebra Formulas Cheat Sheet