Kung Fu MathKung Fu Math数学道場 · Math Dojo
All scrolls
⚔

双 · Quadratic equations

Scroll of the Twin Blades

A quadratic equation hides two roots. Instead of wrestling with a heavy formula on every problem, match the shape of the equation to the cleanest mental cut.

第一步:先选解法

动笔前先观察方程的结构。顺着步骤往下看,遇到第一个适用的捷径就直接使用。

  1. 1

    整理 → 把所有项移到左边:ax² + bx + c = 0,a ≠ 0。若各项都能被 a 整除,先约分简化。

  2. 2

    没有常数项(c = 0),或已经因式分解? → 零乘积法。x(ax + b) = 0 直接得 x = 0 或 x = −b/a。切勿两边同除以 x。

  3. 3

    没有一次项(b = 0)? → 单独移出 x² = −c/a。右边为正取 ±√(−c/a);为 0 得 x = 0;为负则无实根。

  4. 4

    三项齐全? → 两边同除以 a 得到 x² + px + q = 0。试找简单的因数对:积为 q,和为 −p。q < 0 时异号,q > 0 时同号。一时找不到就看下一步。

  5. 5

    看不出明显因数对? → 中点与距离法(pq):m = −p/2,d² = m² − q。d² > 0 得 x = m ± √d²;d² = 0 得 x = m;d² < 0 无实根。p 为偶数时心算最轻松,奇数同样适用。

当 a ≠ 1 时的备选方法:移项相除法引入新变量 y = ax。先解 y² + by + ac = 0,再把求得的每个 y 根除以 a。务必将两个结果代回原方程验算。

01

Zero Product

When the constant term is missing (ax² + bx = 0), factor out x. A product is zero whenever one factor is zero — so x = 0 is always the first blade.

4x² − 20x = 0

  1. → Factor out x: x(4x − 20) = 0
  2. → First root: x = 0
  3. → Second root: 4x − 20 = 0 → x = 5

Answer: x = 0 and x = 5

Never divide both sides by x — you would lose the root x = 0.

Practice: Try x² − 9x = 0 (0 and 9) and 3x² + 12x = 0 (0 and −4).

02

Pure Square

When the x term is missing (ax² − c = 0), isolate x² and take the square root. Remember both the positive and negative blade.

2x² − 18 = 0

  1. → Move 18: 2x² = 18
  2. → Divide by 2: x² = 9
  3. → Take ±√9: x = 3 and x = −3

Answer: x = 3 and x = −3

Practice: Try x² − 25 = 0 (5 and −5) and 3x² = 48 (4 and −4).

03

Vieta's Pair

For x² + px + q = 0 with clean integer roots, look for two numbers whose product is q and whose sum is −p (flip the sign of p).

x² − 7x + 12 = 0

  1. → Product = 12, sum = 7
  2. → Test pairs for 12: 3 × 4 = 12 and 3 + 4 = 7
  3. → Both roots are positive: 3 and 4

Answer: x = 3 and x = 4

Check signs fast: if q > 0 both roots share a sign; if q < 0 one root is positive and one is negative.

Practice: Try x² − 5x + 6 = 0 (2 and 3) and x² + 2x − 15 = 0 (3 and −5).

04

Midpoint & Distance (pq Formula)

The pq formula x = −p/2 ± √((p/2)² − q) is pure geometry: the parabola is symmetric around the midpoint m = −p/2, and the two roots sit at equal distance d = √(m² − q) to the left and right.

x² − 6x − 16 = 0

  1. → Midpoint: halve −6 and flip sign → m = 3
  2. → Square minus constant: 3² − (−16) = 9 + 16 = 25
  3. → Distance: d = √25 = 5
  4. → Roots: 3 ± 5 → 8 and −2

Answer: x = 8 and x = −2

midpoint m = −p/2 = 3−d (−5)+d (+5)x₁ = −2x₂ = 8x = m ± d = 3 ± 5

If m² − q = 0 there is one double root at m. If m² − q < 0 the parabola never crosses the x-axis (no real roots).

Practice: Try x² − 10x + 21 = 0 (midpoint 5, distance 2 → 7 and 3).

05

Slide & Divide

When a ≠ 1 in ax² + bx + c = 0 and you cannot divide every term by a, slide a onto c (x² + bx + ac = 0), find the pair with Vieta, then divide both numbers by a.

2x² + 5x + 2 = 0

  1. → Slide 2 onto 2: x² + 5x + 4 = 0
  2. → Vieta pair: product 4, sum −5 → −1 and −4
  3. → Divide both by 2: −1/2 and −4/2

Answer: x = −0.5 and x = −2

Practice: Try 3x² − 7x + 2 = 0 (slide to 6 → 1 and 6 → divide by 3 → 1/3 and 2).

Into the dojo

Practise with the Twin Blades ⚔ technique in Kung Fu Math from brown belt (zero product and pure squares) and black belt (Vieta and mental pq).