Week 11 · Intermediate Algebra

11. Solving Quadratic Equations

120 min

Before you start

  • Factor monic and non-monic quadratics fluently
  • Convert standard form to vertex form via completing the square
  • Compute the discriminant b^2 - 4ac and interpret its sign
  • Take the square root of a positive integer and simplify radicals

By the end you'll be able to

  • Solve a quadratic of the form (expr)^2 = k using the square root property
  • Solve a factorable quadratic using zero-product property
  • Apply the quadratic formula to any quadratic with a clear written setup
  • Choose the most efficient method for a given quadratic
  • Recognize when a quadratic has only complex (non-real) roots
Week 11 video coming soon
Read the lesson body below in the meantime.

Solving Quadratic Equations

Four methods. Use the one that fits the equation’s structure. Below them all sits the quadratic formula, which always works — and which is itself just completing the square performed once and saved as a recipe.

Method 1 — Square root property

Use when the variable appears only inside one squared expression.

The is non-negotiable. Both roots are valid (unless context excludes negatives — e.g., a length).

Method 2 — Factoring + zero-product property

Use when the quadratic factors cleanly.

The zero-product property: if , then or . Since the right side is , you can set each factor independently to zero.

Method 3 — Completing the square

Use when the quadratic doesn’t factor cleanly but you want to derive both roots directly. Same trick from lesson 10’s vertex-form work, now turned into a solver.

For :

Every quadratic can be solved this way. In fact, the quadratic formula is just this procedure applied symbolically.

Method 4 — Quadratic formula

Always works. Use when factoring is hard, awkward, or impossible.

Memorize this. It’s the workhorse of every algebra and pre-calculus class.

For :

Where does the formula come from?

The quadratic formula is just Method 3 applied to the general form :

That’s it. The formula is completing the square performed once, in symbols, so you never have to redo it. This is why it always works.

The discriminant

predicts the number and type of roots before you compute them:

Roots
Two distinct real roots
One repeated real root
Two complex conjugate roots (no real solutions)

If is a perfect square, the real roots are rational; otherwise they’re irrational.

Complex roots

When , the square root introduces an imaginary number :

ML mostly stays in the real numbers, but complex eigenvalues show up in spectral methods, recurrent neural network stability analysis, and the FFT-based methods used in some signal processing layers.

ML connection — finding stationary points

Gradient descent finds where — the roots of the gradient. For convex losses (like MSE in linear regression), this is one quadratic equation per parameter, solvable by these methods. For non-convex losses (most neural nets), there are many roots; gradient descent might find a local minimum but miss the global one. The structural fact that quadratics can have one, two, or zero real roots generalizes directly: convex losses have one stationary point; complex landscapes have many.

Common mistakes

These are the traps learners hit most often on this topic. Knowing them in advance is half the fix.

  • Forgetting the ± when taking square roots

    gives , not just . Both branches produce a valid root.

  • Quadratic formula sign errors

    . The leading is a separate term from the inside. For : . Common to miss the sign-flip on .

  • Stopping after one root

    Quadratics typically have two roots. Even on problems, both branches produce solutions. Report both unless context excludes one (e.g., a length must be positive).

Practice problems

Try each on paper first. Click Show solution only after you've made a real attempt.

  1. Problem 1
    Solve via square root property: .
    Show solution

    . or .

  2. Problem 2
    Solve by factoring: .
    Show solution

    . or .

  3. Problem 3
    Solve via quadratic formula: .
    Show solution

    .

  4. Problem 4
    Solve: .
    Show solution

    .

  5. Problem 5
    Solve: .
    Show solution

    No real solutions. Complex: .

  6. Problem 6
    Solve: .
    Show solution

    . or .

  7. Problem 7
    Solve: .
    Show solution

    . (double root).

Practice quiz

  1. Question 1
    Solve: x² = 49
  2. Question 2
    Solve: x² - 5x + 6 = 0
  3. Question 3
    Quadratic formula:
  4. Question 4
    Solve: x² + 4x + 1 = 0. Give exact answer with √.
  5. Question 5
    Solve by factoring: 2x² + 7x - 4 = 0
  6. Question 6
    Solve: x² + 4 = 0. (real numbers)
  7. Question 7
    When is the quadratic formula best?
  8. Question 8
    Δ = 25 means the roots are:
  9. Question 9
    Solve: (x - 3)² = 16
  10. Reflection 10
    What does it mean for gradient descent that a loss function has multiple minima?

Week 11 recap

You solved quadratics three ways — factoring (when possible), the square root property (for shapes), and the quadratic formula (always works) — and used the discriminant to predict the number and type of roots. Three trap families fell: the dropped-plus-minus trap (forgetting the double sign when square-rooting), the missing-leading-minus trap (mishandling the leading in the formula), and the stop-at-one-root trap (reporting only one solution when both branches are valid). Each outcome supports later work: complex roots from negative discriminants generalize to characteristic polynomial roots in linear algebra; the discriminant classifier reappears in conic sections; choosing the most efficient method is a habit that scales to bigger algebraic decisions.

Coming next: Week 12 — Rational Expressions

Next week leaves quadratics for rational expressions: fractions whose numerator and denominator are polynomials. You will simplify, multiply, and divide them, with domain restrictions baked in from day one. Rational expressions appear in Bayesian probability, in many statistical formulas, and in the algebraic shortcut moves that simplify Maximum A Posteriori estimation. Lesson 12 also includes a cumulative review covering weeks 9-11.

Saved in your browser only — no account, no server.