Solve for :
Read the left side as a total distance. Since , the expression is the distance from to plus the distance from to . Any point between and has total distance exactly (the gap between the two anchors), and moving outside adds twice the overshoot. So the inequality asks: which points are within a total travel budget of ?
Split at the breakpoints. The two expressions inside the bars change sign at and , so handle three ranges: , , and .
Case . Both and , so both bars flip sign:
(Dividing by reverses the inequality.) Intersecting with gives .
Case . Now but , so
The cancels entirely: the statement is true for every in this range, so the whole interval belongs to the solution. This is the flat bottom predicted in step 1.
Case . Both expressions are non-negative:
Intersecting with gives .
Union the three pieces and test the boundary.
Check: at the sum is , so the endpoint is included; at it is , correctly excluded. Equivalently the answer is just .
Need to solve a different problem like this? Open the solver →