Solving Quadratics: Factoring and the Formula
Learning objectives
- Solve quadratics by factoring, completing the square, and the quadratic formula
- Compute and interpret the discriminant
- Understand the relationship between roots and coefficients
Linear equations are a one-trick pony: isolate the variable. Quadratic equations are the first time you meet an equation where isolation alone does not work, and both contain the unknown, and you cannot pull them apart by simple subtraction. The four big ideas of this section (factoring, completing the square, the quadratic formula, and the discriminant) all amount to one strategy: rewrite the equation in a form where the variable IS isolated, namely as a perfect square equal to a number. A quadratic equation has the standard form where .
The Quadratic Formula
The expression is the discriminant:
If : two distinct real roots. If : one repeated root. If : no real roots (two complex roots).
Completing the Square
Vieta's formulas relate roots to coefficients: , . This means you can find the sum and product of roots without solving.
Factoring: If you can find such that and , then .
- Physics: Projectile motion under gravity is governed by ; setting and using the quadratic formula gives flight time, which is how artillery tables were computed for centuries.
- Finance: The internal rate of return for a two-period investment leads to a quadratic in ; the discriminant tells you whether a real rate exists or whether the cash flows are "unbreakable."
- Optics: Lens-maker formulas and reflective-mirror geometry produce quadratic equations whose roots give the focal points; the discriminant being negative means the configuration produces a virtual image instead of a real one.
(Drag a, b, c in the widget. Watch the parabola morph, the roots slide along the x-axis, and the discriminant flip sign at the moment the parabola becomes tangent to the x-axis.)
Try it
- In the widget, set , , . Before setting these: what are the roots of ? Set the coefficients in the widget to verify, and confirm using Vieta's formulas.
- Drag the coefficients until the discriminant equals zero exactly. What does the parabola do at that moment?
- Solve by the quadratic formula. Then verify with Vieta's formulas.
- Drag the coefficients until the parabola has no real roots (discriminant ).
Try it in code
A trap to watch for
A common error: applying the quadratic formula to . That is not in standard form yet. Expand first: , THEN read off and apply the formula. Another sneakier trap: when , students sometimes forget that stays negative throughout. The fix: always rewrite the equation as before extracting , and keep signs explicit.
What you now know
You can solve any quadratic by factoring (when easy), completing the square (always works), or the quadratic formula (when factoring is hard). The discriminant tells you the number of real roots before you commit to a method, and Vieta's formulas link roots to coefficients. The Intermezzo chapter that follows steps back from computation to discuss how mathematics is read, written, and reasoned about.
Quick check
Mark section complete β
References
- Lang, S. (1971). Basic Mathematics. Springer. Chapter 4, Section 1, quadratic equations, completing the square, and the discriminant.
- Stewart, J. (2015). Calculus: Early Transcendentals, 8th ed. Cengage. Appendix C, the quadratic formula derived from completing the square step by step.
- Garrity, T. (2002). All the Mathematics You Missed. Cambridge. Chapter 1: quadratics as the bridge to algebraic geometry, with Vieta's formulas as the first symmetric-function identity.