11. Solving Quadratic Equations
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
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
Method 2 — Factoring + zero-product property
Use when the quadratic factors cleanly.
The zero-product property: if
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
| Roots | |
|---|---|
| Two distinct real roots | |
| One repeated real root | |
| Two complex conjugate roots (no real solutions) |
If
Complex roots
When
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
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.
- Problem 1Solve via square root property:
. Show solution
. or . - Problem 2Solve by factoring:
. Show solution
. or . - Problem 3Solve via quadratic formula:
. Show solution
. - Problem 4Solve:
. Show solution
. - Problem 5Solve:
. Show solution
No real solutions. Complex:
. - Problem 6Solve:
. Show solution
. or . - Problem 7Solve:
. Show solution
. (double root).
Practice quiz
- Question 1Solve: x² = 49
- Question 2Solve: x² - 5x + 6 = 0
- Question 3Quadratic formula:
- Question 4Solve: x² + 4x + 1 = 0. Give exact answer with √.
- Question 5Solve by factoring: 2x² + 7x - 4 = 0
- Question 6Solve: x² + 4 = 0. (real numbers)
- Question 7When is the quadratic formula best?
- Question 8Δ = 25 means the roots are:
- Question 9Solve: (x - 3)² = 16
- Reflection 10What 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
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.