Solve
Simplify the right side. An absolute value of a plain number is just its size:
The right side is now a positive constant, which guarantees solutions exist (had it been negative, there would be none).
Interpret the equation as a distance. is the distance from to on the number line, so the equation asks for the points exactly units from . There must be exactly two — one on each side.
Split into two cases. Removing an absolute value means the inside is either or :
Solve the second case.
In both cases the final division by flips the sign — the step most often fumbled.
Confirm with the distance picture. Going units left from lands on , and units right lands on ✓. The two solutions are symmetric about , as they must be, and their midpoint recovers the centre.
Verify by substitution. At : ✓. At : ✓. A scan of points from to finds these two values and no others ✓.
Need to solve a different problem like this? Open the solver →