Core answer: |x| is the distance from zero, always non-negative: |5| = 5, |−5| = 5, |0| = 0. To solve |x − 3| = 7, split into two cases: x − 3 = 7 or x − 3 = −7, giving x = 10 or x = −4. For inequalities, |x| < a means −a < x < a (an interval); |x| > a means x < −a or x > a (two rays).

The three ways to read |x − a|

  1. Distance: |x − 3| is the distance between x and 3 on the number line.
  2. Piecewise: |x − 3| = x − 3 when x ≥ 3, else 3 − x.
  3. Tolerance: |x − 10| ≤ 0.5 means "within 0.5 of 10" — the language of engineering tolerances and error bounds.

Worked examples

Example 1 — Equation. |2x − 1| = 5 → 2x − 1 = 5 or 2x − 1 = −5 → x = 3 or x = −2. Check both: |5| = 5 ✓, |−5| = 5 ✓.

Example 2 — Tolerance. A resistor marked 1 kΩ ±5%: actual value R satisfies |R − 1000| ≤ 50, i.e., 950–1050 Ω.

Example 3 — Temperature control. A vaccine fridge must hold |T − 4| ≤ 2 °C: the safe band is 2–6 °C; alarms fire outside it.

Example 4 — |x − 2| + |x − 8| = 6. Distances to 2 and 8 summing to their separation means x lies anywhere between them: every x in [2, 8] is a solution.

Common mistakes and myths

  1. "|x| = x" — only for x ≥ 0; for negatives |x| = −x (which is positive).
  2. Squaring without care — |a|² = a² always, so squaring both sides of |x−1| = |2x+3| is legal and avoids case-splitting: (x−1)² = (2x+3)².
  3. Wrong inequality direction — |x| < 3 is a band (−3, 3); |x| > 3 is outside it. Memorize: "less is between, greater is beyond".
  4. Forgetting the empty case — |x − 5| = −2 has no solution; absolute values never equal negatives.
  5. Assuming |a + b| = |a| + |b| — only when signs agree; |3 − 5| = 2 but |3| + |−5| = 8. The triangle inequality says ≤, not =.