James's Math Hub
Algebra & Geometry

Lesson 2 / 5 · 12 min read

Quadratic Equations

Factor, use the quadratic formula, and read the discriminant.

What is a quadratic?

A quadratic equation has the form:

ax2+bx+c=0(a0)ax^2 + bx + c = 0 \quad (a \neq 0)

Its graph is a parabola — a U-shape (opens up if a>0a > 0, down if a<0a < 0).

Method 1: Factoring

If you can write ax2+bx+cax^2 + bx + c as a product (xr1)(xr2)(x - r_1)(x - r_2), then the solutions are x=r1x = r_1 and x=r2x = r_2 (zero product property).

Example. Solve x25x+6=0x^2 - 5x + 6 = 0.

Find two numbers that multiply to 66 and add to 5-5: those are 2-2 and 3-3.

(x2)(x3)=0    x=2 or x=3(x - 2)(x - 3) = 0 \implies x = 2 \text{ or } x = 3

Method 2: The quadratic formula

When factoring doesn't work cleanly, use the quadratic formula. It always works:

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

Example. Solve 2x2+3x2=02x^2 + 3x - 2 = 0. Here a=2a = 2, b=3b = 3, c=2c = -2.

x=3±9+164=3±54x = \frac{-3 \pm \sqrt{9 + 16}}{4} = \frac{-3 \pm 5}{4}

So x=24=12x = \frac{2}{4} = \frac{1}{2} or x=84=2x = \frac{-8}{4} = -2.

The discriminant

The piece under the square root, b24acb^2 - 4ac, is the discriminant. It tells you how many real solutions the equation has before you finish solving:

DiscriminantReal solutions
b24ac>0b^2 - 4ac > 02 distinct real solutions
b24ac=0b^2 - 4ac = 01 repeated real solution
b24ac<0b^2 - 4ac < 00 real solutions (2 complex)

Key takeaways

  • Try factoring first — it's fastest when it works.
  • The quadratic formula never fails for ax2+bx+c=0ax^2 + bx + c = 0.
  • The discriminant predicts how many real solutions exist.