The idea

is the distance between and on the number line. Most modulus questions become easy in this picture: sums of moduli are sums of distances, and says lies within of . Algebraically, every modulus is removed by splitting the line at its zero.
Textbook vs exam method
Textbook method
- Find the zero of each modulus; split the real line there.
- In each piece replace by or and solve; keep only solutions inside that piece.
- For with , put ; for nested moduli peel from the outside.
- For inequalities: ; or .
Exam method
- Median rule. is least at the median (weights = repeated points).
- Distance reading. has every as a solution.
- Betweenness. means lies between and .
- Zero sum. a sum of moduli, squares and roots is only when every term is .
- Count signs carefully. solutions, then for each non-zero coordinate.
Worked examples
Example 1Sitter
, seven integers.
Example 2SitterIndore 2024
only, so - two solutions.
Example 3EasyIndore 2020 SA
median , minimum .
Example 4TypicalIndore 2022 SA
flat on , minimum .
Example 5TypicalIndore 2022
only works; sum of squares .
Traps
- Negative values of a modulus kept; one branch of dropped.
- Mean instead of median; weights ignored; zero counted with two signs.
Formulas
Definition and distance meaning of the modulus
Split at the zero of each modulus; read |x - a| + |x - b| as a sum of distances.
Modulus inequalities
Peel nested moduli from the outside; a modulus can never equal a negative number.
Least value of a sum of distances
Odd number of points: the middle one; even number: any point between the two middle ones. Weights count as repeated points (Indore 2022 SA Q6).
Triangle inequality and its equality case
Max b with |a - b| + |b - c| = |c - a| for distinct naturals below N is N - 2 (Indore 2025 SA).
Quadratic in the modulus
Reject negative values of t; each positive t gives two values of x (Indore 2024 Q39).
Sum of non-negative terms equal to zero
Indore 2024 Q17: |x + 1| + (y + 2) squared = 0 forces x = -1, y = -2.
Lattice points on a diamond
|x| + |y| <= k (inside the diamond) has 2k^2 + 2k + 1 points instead.
In the exam
Shortcuts
- : no solution for , a whole interval for , two solutions for .
- Between and , ; outside it equals (Indore 2022 Q35).
- Systems like : try the sign cases and discard any solution that contradicts its own case.
- Graph check: is a flat-bottomed V; is increasing.
~60 s per question at exam speed
When to skip: Systems with two moduli and weighted sums of six terms take 90-120 s; everything else is under a minute with the distance picture.
Before this
What the exams ask here
- min |x-a|+|x-b|+|x-c|
- solve |x^2-5x|=6
- integral n with (|n+6|-|n-3|)/(100-n^2) >= 0
- max b when |a-b|+|b-c|=|c-a|
- min of |3 - x| + |2 + x| + |5 - x| (Indore 2020 SA Q5)
- weighted |x| + 2|x - 1| + ... + 2|x - 10| (Indore 2022 SA Q6)
- x^2 + |x + 4| + |x - 4| - 35 = 0 sum of squares of roots (Indore 2022 Q35)
- |x + 1| + (y + 2)^2 = 0 (Indore 2024 Q17); x^2 - 10|x| - 56 = 0 (Indore 2024 Q39)
- x^2 - |x + 2| + x > 0 (Rohtak 2019)
- max b with |a - b| + |b - c| = |c - a| (Indore 2025 SA)
- (|n + 6| - |n - 3|)/sqrt(100 - n^3) >= 0 (Indore 2026 SA, memory-based)
- |x| + x + y = 10 and x + |y| - y = 12 (sign cases)
- (|r| + 5)(|s| - 3) = -24: integer pairs
- |a + b| = |a| + |b| iff ab >= 0