Case (a): ∣f(x)∣=a with a≥0. Split into two equations and combine the solution sets:
f(x)=aorf(x)=−a.
If a<0, NO solutions (modulus is non-negative).
Worked example. ∣2x−3∣=5⇒2x−3=5 or 2x−3=−5⇒x=4 or x=−1.
Case (b): ∣f(x)∣=g(x). Two equations again, BUT we additionally need g(x)≥0 for any solution (since ∣f(x)∣≥0).
Worked example. ∣2x−3∣=x+4. First require x+4≥0, i.e. x≥−4.
- 2x−3=x+4⇒x=7 (passes the condition).
- 2x−3=−(x+4)⇒3x=−1⇒x=−31 (passes).
Both accepted.
Case (c): ∣f(x)∣=∣g(x)∣. Two moduli — both non-negative — so squaring is safe.
f(x)2=g(x)2.
Equivalent: f(x)=g(x) or f(x)=−g(x).
Worked example. ∣2x+1∣=∣x−3∣. Square: (2x+1)2=(x−3)2. Expand and simplify: 3x2+10x−8=0⇒x=32 or x=−4.