In this les­son you will solve equa­tions and inequal­i­ties that con­tain one mod­u­lus. The whole method rests on a few facts: a mod­u­lus equal to a num­ber gives two pos­si­bil­i­ties, two equal mod­uli give two pos­si­bil­i­ties, and a mod­u­lus can be removed once you know the sign of what is inside it. With these, and the inequal­ity rules from the last les­son, a wide range of prob­lems become rou­tine.

Two more prop­er­ties

  1. ∣x∣=k  ⟹  x=±k|x| = k \implies x = \pm k, for k≥0k \geq 0.

    For exam­ple, ∣x∣=2|x| = 2 gives x=±2x = \pm 2, that is, x∈{−2,2}x \in \{-2, 2\}. If k<0k < 0, the equa­tion ∣x∣=k|x| = k has no solu­tion, because a mod­u­lus is never neg­a­tive.

  2. ∣x∣=∣y∣  ⟹  x=±y|x| = |y| \implies x = \pm y.

    Two num­bers with the same size are either equal or neg­a­tives of each other.

Exam­ple 1

Solve ∣x−2∣=∣3−2x∣|x - 2| = |3 - 2x|.

By prop­erty 15, x−2=±(3−2x)x - 2 = \pm(3 - 2x).

First pos­si­bil­ity: x−2=3−2xx - 2 = 3 - 2x.

x+2x=3+23x=5x=53\displaystyle \begin{aligned} x + 2x &= 3 + 2 \\ 3x &= 5 \\ x &= \frac{5}{3} \end{aligned}

Sec­ond pos­si­bil­ity: x−2=−(3−2x)=−3+2xx - 2 = -(3 - 2x) = -3 + 2x.

x−2x=−3+2−x=−1x=1\begin{aligned} x - 2x &= -3 + 2 \\ -x &= -1 \\ x &= 1 \end{aligned}

So x∈{1,53}\displaystyle x \in \left\{1, \frac{5}{3}\right\}. Check x=1x = 1: ∣1−2∣=1|1 - 2| = 1 and ∣3−2∣=1|3 - 2| = 1.

Remov­ing the mod­u­lus sign

If you know the sign of the quan­tity inside, you can write the mod­u­lus with­out bars.

  • ∣7∣=7|7| = 7, since 77 is pos­i­tive.
  • ∣−7∣=−(−7)=7|-7| = -(-7) = 7, since −7-7 is neg­a­tive.
  • ∣0∣=0|0| = 0.
  • For x≥3x \geq 3, x−3≥0x - 3 \geq 0, so ∣x−3∣=x−3|x - 3| = x - 3.
  • For x<3x < 3, x−3<0x - 3 < 0, so ∣x−3∣=−(x−3)=3−x|x - 3| = -(x - 3) = 3 - x.

In gen­eral ∣T∣=T|T| = T exactly when T≥0T \geq 0, and ∣T∣=−T|T| = -T exactly when T≤0T \leq 0. (At T=0T = 0 both are true, because 0=−00 = -0.)

Exam­ple 2

For which xx is ∣2x−3∣=2x−3|2x - 3| = 2x - 3?

This needs 2x−3≥02x - 3 \geq 0:

2x≥3  ⟹  x≥32\displaystyle 2x \geq 3 \implies x \geq \frac{3}{2}

So x∈[32,∞)\displaystyle x \in \left[\frac{3}{2}, \infty\right).

Exam­ple 3

For which xx is ∣2x−3∣=3−2x|2x - 3| = 3 - 2x?

Now 3−2x=−(2x−3)3 - 2x = -(2x - 3), so this needs 2x−3≤02x - 3 \leq 0:

2x≤3  ⟹  x≤32\displaystyle 2x \leq 3 \implies x \leq \frac{3}{2}

So x∈(−∞,32]\displaystyle x \in \left(-\infty, \frac{3}{2}\right]. The point x=32\displaystyle x = \frac{3}{2} belongs here as well as in Exam­ple 2, because both sides are 00 there.

Mod­u­lus equa­tions

Exam­ple 4

Solve ∣x+2∣=5|x + 2| = 5.

By prop­erty 14, x+2=±5x + 2 = \pm 5.

x+2=5  ⟹  x=3,x+2=−5  ⟹  x=−7x + 2 = 5 \implies x = 3, \qquad x + 2 = -5 \implies x = -7

So x∈{−7,3}x \in \{-7, 3\}.

Exam­ple 5

Solve ∣2x−3∣=∣x2+2x∣|2x - 3| = |x^2 + 2x|.

By prop­erty 15, 2x−3=±(x2+2x)2x - 3 = \pm(x^2 + 2x).

First pos­si­bil­ity: 2x−3=x2+2x2x - 3 = x^2 + 2x gives x2=−3x^2 = -3. No real num­ber has a neg­a­tive square, so there is no real xx here.

Sec­ond pos­si­bil­ity: 2x−3=−(x2+2x)=−x2−2x2x - 3 = -(x^2 + 2x) = -x^2 - 2x, which gives

x2+4x−3=0x^2 + 4x - 3 = 0

With a=1a = 1, b=4b = 4, c=−3c = -3:

x=−4±16+122=−4±282=−4±272=−2±7\displaystyle x = \frac{-4 \pm \sqrt{16 + 12}}{2} = \frac{-4 \pm \sqrt{28}}{2} = \frac{-4 \pm 2\sqrt{7}}{2} = -2 \pm \sqrt{7}

So x=−2+7x = -2 + \sqrt{7} or x=−2−7x = -2 - \sqrt{7}.

Exam­ple 6

Solve ∣x2+2x+5∣=7|x^2 + 2x + 5| = 7.

By prop­erty 14, x2+2x+5=7x^2 + 2x + 5 = 7 or x2+2x+5=−7x^2 + 2x + 5 = -7.

The first gives x2+2x−2=0x^2 + 2x - 2 = 0:

x=−2±4+82=−2±122=−2±232=−1±3\displaystyle x = \frac{-2 \pm \sqrt{4 + 8}}{2} = \frac{-2 \pm \sqrt{12}}{2} = \frac{-2 \pm 2\sqrt{3}}{2} = -1 \pm \sqrt{3}

The sec­ond gives x2+2x+12=0x^2 + 2x + 12 = 0, whose dis­crim­i­nant is 4−48=−44<04 - 48 = -44 < 0, so it has no real roots.

So x=−1±3x = -1 \pm \sqrt{3}.

(In fact x2+2x+5=(x+1)2+4x^2 + 2x + 5 = (x + 1)^2 + 4 is always pos­i­tive, so it could never equal −7-7.)

Mod­u­lus inequal­i­ties

Recall the rules for a>0a > 0: ∣T∣<a|T| < a means −a<T<a-a < T < a; ∣T∣>a|T| > a means T<−aT < -a or T>aT > a.

Exam­ple 7

Solve ∣x−2∣<3|x - 2| < 3.

−3<x−2<3−3+2<x<3+2−1<x<5\begin{aligned} -3 &< x - 2 < 3 \\ -3 + 2 &< x < 3 + 2 \\ -1 &< x < 5 \end{aligned}

So x∈(−1,5)x \in (-1, 5).

Exam­ple 8

Solve ∣2x−3∣≤3|2x - 3| \leq 3.

−3≤2x−3≤3−3+3≤2x≤3+30≤2x≤60≤x≤3\begin{aligned} -3 &\leq 2x - 3 \leq 3 \\ -3 + 3 &\leq 2x \leq 3 + 3 \\ 0 &\leq 2x \leq 6 \\ 0 &\leq x \leq 3 \end{aligned}

So x∈[0,3]x \in [0, 3].

Exam­ple 9

Solve ∣x−2∣>5|x - 2| > 5.

x−2<−5orx−2>5x - 2 < -5 \quad \text{or} \quad x - 2 > 5

x<−3orx>7x < -3 \quad \text{or} \quad x > 7

So x∈(−∞,−3)∪(7,∞)x \in (-\infty, -3) \cup (7, \infty). On the num­ber line, open cir­cles at −3-3 and 77, shaded out­wards.

Exam­ple 10

Solve ∣3−x∣≥7|3 - x| \geq 7.

3−x≤−7or3−x≥73 - x \leq -7 \quad \text{or} \quad 3 - x \geq 7

−x≤−10or−x≥4-x \leq -10 \quad \text{or} \quad -x \geq 4

Mul­ti­ply­ing by −1-1 reverses each inequal­ity:

x≥10orx≤−4x \geq 10 \quad \text{or} \quad x \leq -4

So x∈(−∞,−4]∪[10,∞)x \in (-\infty, -4] \cup [10, \infty), with filled dots at −4-4 and 1010.

A quicker way: ∣3−x∣=∣x−3∣|3 - x| = |x - 3| by prop­erty 6, so this is the same as ∣x−3∣≥7|x - 3| \geq 7, which gives x−3≤−7x - 3 \leq -7 or x−3≥7x - 3 \geq 7 directly.

Prac­tice

  1. Solve ∣x−4∣=6|x - 4| = 6.
  2. Solve ∣2x+1∣=7|2x + 1| = 7.
  3. Solve ∣3x−5∣=−2|3x - 5| = -2.
  4. Solve ∣x+1∣=∣2x−4∣|x + 1| = |2x - 4|.
  5. For which xx is ∣4x−1∣=1−4x|4x - 1| = 1 - 4x?
  6. Solve ∣x−3∣≤4|x - 3| \leq 4.
  7. Solve ∣2x+5∣<1|2x + 5| < 1.
  8. Solve ∣4−x∣>3|4 - x| > 3.
  9. Solve ∣x2−3x∣=4|x^2 - 3x| = 4.
  10. Solve ∣x2+x+1∣=3|x^2 + x + 1| = 3.
  11. Solve ∣x−1∣=∣x+3∣|x - 1| = |x + 3|.

Answers

Show answers
  1. x−4=±6x - 4 = \pm 6, so x=10x = 10 or x=−2x = -2: x∈{−2,10}x \in \{-2, 10\}.
  2. 2x+1=±72x + 1 = \pm 7, so x=3x = 3 or x=−4x = -4: x∈{−4,3}x \in \{-4, 3\}.
  3. No solu­tion, since a mod­u­lus can­not be neg­a­tive.
  4. x+1=2x−4x + 1 = 2x - 4 gives x=5x = 5; x+1=−(2x−4)x + 1 = -(2x - 4) gives 3x=33x = 3, so x=1x = 1. Hence x∈{1,5}x \in \{1, 5\}.
  5. When 4x−1≤04x - 1 \leq 0, that is, x∈(−∞,14]\displaystyle x \in \left(-\infty, \frac{1}{4}\right].
  6. −4≤x−3≤4-4 \leq x - 3 \leq 4, so x∈[−1,7]x \in [-1, 7].
  7. −1<2x+5<1-1 < 2x + 5 < 1, so −6<2x<−4-6 < 2x < -4 and x∈(−3,−2)x \in (-3, -2).
  8. 4−x<−34 - x < -3 or 4−x>34 - x > 3, so x>7x > 7 or x<1x < 1: x∈(−∞,1)∪(7,∞)x \in (-\infty, 1) \cup (7, \infty).
  9. x2−3x−4=0x^2 - 3x - 4 = 0 gives (x−4)(x+1)=0(x - 4)(x + 1) = 0, so x=4x = 4 or x=−1x = -1. The other case, x2−3x+4=0x^2 - 3x + 4 = 0, has Δ=9−16<0\Delta = 9 - 16 < 0. So x∈{−1,4}x \in \{-1, 4\}.
  10. x2+x−2=0x^2 + x - 2 = 0 gives x=1x = 1 or x=−2x = -2. The other case, x2+x+4=0x^2 + x + 4 = 0, has Δ=1−16<0\Delta = 1 - 16 < 0. So x∈{−2,1}x \in \{-2, 1\}.
  11. x−1=x+3x - 1 = x + 3 is impos­si­ble. x−1=−(x+3)x - 1 = -(x + 3) gives 2x=−22x = -2, so x=−1x = -1. Hence x∈{−1}x \in \{-1\}.