The square-root method
The simplest quadratic: . If :
Two solutions (or one if , or none if ). Example: or .
Completing the square: the geometric picture
To solve , move the constant: .
The left side is "almost" a perfect square. Geometrically: imagine a square of side plus two rectangles of dimensions (half of 6) attached to its right and bottom. To complete the square, you need the small corner piece:
We added to both sides. Then:
The key insight: you added the same number to both sides, which is legal; you chose WHICH number to add so that the left side became a perfect square. This is not magic. It is the most elegant use of the balance-beam principle in all of elementary algebra.
Deriving the quadratic formula
This is the main event. We solve the general equation with by completing the square. Every step must be justified.
Step 1. Divide by (legal since ):
Step 2. Move the constant:
Step 3. Add to both sides:
Step 4. The left side is now a perfect square:
Step 5. Apply the square-root method:
Since when and when , and the absorbs the sign, we write:
Step 6. Subtract :
This is the quadratic formula. It was not handed down from the sky; it is completing the square, done once for all quadratics.
The discriminant
The expression is the discriminant. It lives under the square root and determines the character of the solutions:
- : two distinct real roots.
- : exactly one real root (the vertex touches the -axis).
- : no real roots. The square root of a negative number is not real. (The solutions exist as complex numbers — but that is a story for another stratum.)
Drag the sliders for , , and watch the discriminant live — when the parabola dips below the -axis, the discriminant turns negative. The discriminant is the algebraic detector for what you see geometrically.
When to use which method
- Factoring: use it when the polynomial factors nicely (integer or simple rational roots). Check with the discriminant: is a perfect square iff factoring over is possible.
- Completing the square: use it when you want vertex form, or when understanding is required over speed.
- Quadratic formula: use it when factoring is ugly or you need exact irrational roots.
The formula always works. Factoring is faster when it works.