Travou nisso? Resolva com IA
Algebra · real student question

Solve the inequality |x - 2| + |x - 5| > 7.

Question

Solve the inequality

∣x−2∣+∣x−5∣>7|x-2|+|x-5|>7

Step-by-step solution

  1. Find the kink points and split the line. Each absolute value changes formula where its inside vanishes: at x=2x=2 and x=5x=5. So consider x<2x<2, 2≤x<52\le x<5, and x≥5x\ge5; on each piece both absolute values become linear.

  2. Case 1: x < 2 (both insides negative). Then ∣x−2∣=2−x|x-2|=2-x and ∣x−5∣=5−x|x-5|=5-x, so the sum is 7−2x7-2x:

    7−2x>7⟹−2x>0⟹x<07-2x>7\qquad\Longrightarrow\qquad -2x>0\qquad\Longrightarrow\qquad x<0

    Dividing by −2-2 flips the inequality. Intersecting x<0x<0 with x<2x<2 leaves x<0x<0.

  3. Case 2: 2 <= x < 5 (mixed signs). Here ∣x−2∣=x−2|x-2|=x-2 and ∣x−5∣=5−x|x-5|=5-x, and the xx terms cancel:

    (x−2)+(5−x)=3>7(x-2)+(5-x)=3>7

    False for every xx in the interval, so the middle strip contributes nothing. The sum is constant at 33 between the kinks — the distance from 22 to 55.

  4. Case 3: x >= 5 (both insides non-negative). The sum is (x−2)+(x−5)=2x−7(x-2)+(x-5)=2x-7:

    2x−7>7⟹2x>14⟹x>72x-7>7\qquad\Longrightarrow\qquad 2x>14\qquad\Longrightarrow\qquad x>7

    Intersecting with x≥5x\ge5 leaves x>7x>7.

  5. Union the cases.

    x<0orx>7,(−∞,0)∪(7,∞)x<0\quad\text{or}\quad x>7,\qquad(-\infty,0)\cup(7,\infty)

  6. Confirm with the distance reading. ∣x−2∣+∣x−5∣|x-2|+|x-5| is the total distance from xx to 22 and to 55. Its minimum is the gap 33, attained on all of [2,5][2,5]; outside, it grows by 22 per unit. To reach 77 requires an extra 7−3=47-3=4, i.e. 22 units beyond a kink — putting the boundaries at 2−2=02-2=0 and 5+2=75+2=7 ✓. Checking: ∣−2∣+∣−5∣=7|{-2}|+|{-5}|=7 at x=0x=0 and ∣5∣+∣2∣=7|5|+|2|=7 at x=7x=7, both excluded by the strict inequality. A scan of 40014001 exact rational points on [−20,20][-20,20] agrees at every point ✓.

Answer

x<0 or x>7,(−∞,0)∪(7,∞)x<0\ \text{or}\ x>7,\qquad(-\infty,0)\cup(7,\infty)

Need to solve a different problem like this? Open the solver →