Find the minimum value of
Read each absolute value as a distance. Since is the distance from to on the number line, rewrite the expression as
so it is the total distance from the point to the two fixed points and . This reframing replaces a three-case algebraic split with one geometric fact.
Reason about where the total distance is smallest. If lies between and , the two distances add up to exactly the gap between the points. If lies outside that interval, you must first travel back, so the total is strictly larger.
Compute the gap.
so the minimum value is , attained for every in — not at a single point.
Confirm with the algebraic case split. For : . For : . For : . The three pieces confirm the value and the flat middle section.
Cross-check with the triangle inequality. , with equality exactly when and have the same sign — i.e. when , matching the case split. Spot values: at the sum is ; at it is .
Need to solve a different problem like this? Open the solver →