Modulus Equations with Restrictions
The right side must be non-negative
In , an expression such as is not automatically positive. First require ; then solve or .
Worked example
Solve |x − 4| = 2x + 1.
Require , so . The two equations produce candidates: possible roots that still need checking.
Reject −5: it violates the restriction and gives in the original equation. At 1, both sides equal 3. The only solution is .
Common mistake
Solve . Show why one candidate must be rejected.
Show worked answer
Require .
Reject because the right side is negative. At 3, both sides equal 5.
Keep a denominator away from zero
A fraction inside the bars uses the same two-case rule. Record any forbidden input before multiplying by its denominator.
Worked example
Solve |(x + 1)/(x − 2)| = 2.
, since division by zero is undefined.
Neither root is 2; the original fractions are 2 and −2.
Solve , stating the excluded input.
Show worked answer
Exclude . Solve or .
Both satisfy the original equation and neither is excluded.
