Solving |x| = k and |x| = |y|, removing the modulus sign once the sign is known, and solving equations and inequalities with one modulus.
Lesson 10 of 16
5 min read
11 practice questions
In this lesson you will solve equations and inequalities that contain one modulus. The whole method rests on a few facts: a modulus equal to a number gives two possibilities, two equal moduli give two possibilities, and a modulus can be removed once you know the sign of what is inside it. With these, and the inequality rules from the last lesson, a wide range of problems become routine.
Two more properties
∣x∣=k⟹x=±k, for k≥0.
For example, ∣x∣=2 gives x=±2, that is, x∈{−2,2}. If k<0, the equation ∣x∣=k has no solution, because a modulus is never negative.
∣x∣=∣y∣⟹x=±y.
Two numbers with the same size are either equal or negatives of each other.
Example 1
Solve ∣x−2∣=∣3−2x∣.
By property 15, x−2=±(3−2x).
First possibility:x−2=3−2x.
x+2x3xx=3+2=5=35
Second possibility:x−2=−(3−2x)=−3+2x.
x−2x−xx=−3+2=−1=1
So x∈{1,35}. Check x=1: ∣1−2∣=1 and ∣3−2∣=1.
Removing the modulus sign
If you know the sign of the quantity inside, you can write the modulus without bars.
∣7∣=7, since 7 is positive.
∣−7∣=−(−7)=7, since −7 is negative.
∣0∣=0.
For x≥3, x−3≥0, so ∣x−3∣=x−3.
For x<3, x−3<0, so ∣x−3∣=−(x−3)=3−x.
In general ∣T∣=T exactly when T≥0, and ∣T∣=−T exactly when T≤0. (At T=0 both are true, because 0=−0.)
Example 2
For which x is ∣2x−3∣=2x−3?
This needs 2x−3≥0:
2x≥3⟹x≥23
So x∈[23,∞).
Example 3
For which x is ∣2x−3∣=3−2x?
Now 3−2x=−(2x−3), so this needs 2x−3≤0:
2x≤3⟹x≤23
So x∈(−∞,23]. The point x=23 belongs here as well as in Example 2, because both sides are 0 there.
Modulus equations
Example 4
Solve ∣x+2∣=5.
By property 14, x+2=±5.
x+2=5⟹x=3,x+2=−5⟹x=−7
So x∈{−7,3}.
Example 5
Solve ∣2x−3∣=∣x2+2x∣.
By property 15, 2x−3=±(x2+2x).
First possibility:2x−3=x2+2x gives x2=−3. No real number has a negative square, so there is no real x here.
Second possibility:2x−3=−(x2+2x)=−x2−2x, which gives
x2+4x−3=0
With a=1, b=4, c=−3:
x=2−4±16+12=2−4±28=2−4±27=−2±7
So x=−2+7 or x=−2−7.
Example 6
Solve ∣x2+2x+5∣=7.
By property 14, x2+2x+5=7 or x2+2x+5=−7.
The first gives x2+2x−2=0:
x=2−2±4+8=2−2±12=2−2±23=−1±3
The second gives x2+2x+12=0, whose discriminant is 4−48=−44<0, so it has no real roots.
So x=−1±3.
(In fact x2+2x+5=(x+1)2+4 is always positive, so it could never equal −7.)
Modulus inequalities
Recall the rules for a>0: ∣T∣<a means −a<T<a; ∣T∣>a means T<−a or T>a.
Example 7
Solve ∣x−2∣<3.
−3−3+2−1<x−2<3<x<3+2<x<5
So x∈(−1,5).
Example 8
Solve ∣2x−3∣≤3.
−3−3+300≤2x−3≤3≤2x≤3+3≤2x≤6≤x≤3
So x∈[0,3].
Example 9
Solve ∣x−2∣>5.
x−2<−5orx−2>5
x<−3orx>7
So x∈(−∞,−3)∪(7,∞). On the number line, open circles at −3 and 7, shaded outwards.
Example 10
Solve ∣3−x∣≥7.
3−x≤−7or3−x≥7
−x≤−10or−x≥4
Multiplying by −1 reverses each inequality:
x≥10orx≤−4
So x∈(−∞,−4]∪[10,∞), with filled dots at −4 and 10.
A quicker way: ∣3−x∣=∣x−3∣ by property 6, so this is the same as ∣x−3∣≥7, which gives x−3≤−7 or x−3≥7 directly.
Practice
Solve ∣x−4∣=6.
Solve ∣2x+1∣=7.
Solve ∣3x−5∣=−2.
Solve ∣x+1∣=∣2x−4∣.
For which x is ∣4x−1∣=1−4x?
Solve ∣x−3∣≤4.
Solve ∣2x+5∣<1.
Solve ∣4−x∣>3.
Solve ∣x2−3x∣=4.
Solve ∣x2+x+1∣=3.
Solve ∣x−1∣=∣x+3∣.
Answers
Show answers
x−4=±6, so x=10 or x=−2: x∈{−2,10}.
2x+1=±7, so x=3 or x=−4: x∈{−4,3}.
No solution, since a modulus cannot be negative.
x+1=2x−4 gives x=5; x+1=−(2x−4) gives 3x=3, so x=1. Hence x∈{1,5}.
When 4x−1≤0, that is, x∈(−∞,41].
−4≤x−3≤4, so x∈[−1,7].
−1<2x+5<1, so −6<2x<−4 and x∈(−3,−2).
4−x<−3 or 4−x>3, so x>7 or x<1: x∈(−∞,1)∪(7,∞).
x2−3x−4=0 gives (x−4)(x+1)=0, so x=4 or x=−1. The other case, x2−3x+4=0, has Δ=9−16<0. So x∈{−1,4}.
x2+x−2=0 gives x=1 or x=−2. The other case, x2+x+4=0, has Δ=1−16<0. So x∈{−2,1}.
x−1=x+3 is impossible. x−1=−(x+3) gives 2x=−2, so x=−1. Hence x∈{−1}.