Kung Fu Math · kungfumath.app
Quadratic equations
A quadratic equation has up to two roots. Match the form of the equation to the fastest mental method instead of reaching for a heavy formula every time.
First: choose your method
- 1. Prepare → Move every term to the left: ax² + bx + c = 0, a ≠ 0. If all terms divide cleanly by a, simplify first.
- 2. No constant (c = 0), or already factored? → Zero product. x(ax + b) = 0 gives x = 0 or x = −b/a. Never divide by x.
- 3. No x-term (b = 0)? → Isolate x² = −c/a. Positive: take ±√(−c/a); zero: x = 0; negative: no real roots.
- 4. All terms present? → Divide every term by a to get x² + px + q = 0. Try simple factor pairs: product q, sum −p. q < 0: opposite signs; q > 0: same sign. No quick pair? Move on.
- 5. No obvious pair? → Midpoint & distance (pq): m = −p/2, d² = m² − q. d² > 0: x = m ± √d²; d² = 0: x = m; d² < 0: no real roots. Even p makes mental calculation easier, but odd p works too.
The pq formula · midpoint ± distance
- Standard form: x² + px + q = 0 (coefficient of x² must be 1)
- x = −p/2 ± √((p/2)² − q)
- Midpoint (axis of symmetry): m = −p/2
- Distance from midpoint: d = √(m² − q)
- m² − q > 0: two real roots · = 0: one double root · < 0: no real roots
Mental shortcuts · worked examples
- Zero product: 4x² − 20x = 0 → x(4x − 20) = 0 → x = 0 and x = 5
- Pure square: 2x² − 18 = 0 → x² = 9 → x = 3 and x = −3
- Vieta: x² − 7x + 12 = 0 → 3 × 4 = 12, 3 + 4 = 7 → x = 3 and x = 4
- Mental pq: x² − 6x − 16 = 0 → m = 3, d = √(9 + 16) = 5 → x = 8 and x = −2
- Slide & divide: 2x² + 5x + 2 = 0 → x² + 5x + 4 = 0 → −1, −4 ÷ 2 → −0.5, −2
Common traps & quick checks
- Never divide by x in ax² + bx = 0 — you lose x = 0.
- Always include both + and − when taking a square root.
- Divide every term by a before using the pq formula.
- Flip the sign of p: the midpoint is −p/2, not +p/2.
- Quick check: x₁ + x₂ = −p and x₁ × x₂ = q.
Optional for a ≠ 1: Slide & Divide uses a NEW variable y = ax. Solve y² + by + ac = 0, then divide each y-root by a. Check both answers in the ORIGINAL equation.
Kung Fu Math · quadratic-equations · kungfumath.app/cheat-sheets