Solve the inequality
Find the kink points. Each absolute value changes formula where its inside is zero:
These two points cut the line into three intervals: , , and . On each one, both absolute values can be replaced by plain linear expressions.
Case 1: x < -2 (both insides negative). Then and , so
Dividing by flips the inequality. Intersecting with the case condition leaves .
Case 2: -2 <= x < -1 (mixed signs). Here but , and the terms cancel:
This is false for every in the interval, so the middle strip contributes nothing. Geometrically, the sum of the two distances is constant at between the kinks.
Case 3: x >= -1 (both insides non-negative). Then
Intersecting with leaves .
Union the cases.
Read the answer as distances, then verify. is the total distance from to and to ; its minimum is the gap , reached on the whole middle interval, and it grows by per unit outside — so it hits exactly one unit outside each kink, at and . Checking: at ✓ and at ✓, and a scan of test points from to agrees with the stated solution set at every point ✓.
Need to solve a different problem like this? Open the solver →