27.4 Distance Between Two Numbers
The distance between two numbers is the absolute difference that measures how far apart they are on the number line.
Distance Between Two Numbers extends the concept of Distance from Zero on the Number Line to the more general case of measuring the separation between any two arbitrary points on the number line, neither of which needs to be the origin, using absolute value to express that separation as a single nonnegative quantity.
Two Number-Line Coordinates is the starting requirement for this measurement: two specific numbers, each occupying its own position along the number line as established by Number-Line Point Location, must be identified before any distance between them can be computed.
Absolute Coordinate Difference is the formula expressing the distance between the Two Number-Line Coordinates, computed by subtracting one coordinate from the other and enclosing the result within absolute value bars, shown in the general form below.
This formula directly generalizes Absolute Value as Distance from Zero, since measuring distance from zero is simply the special case of this formula in which one of the two coordinates happens to be zero itself.
Coordinate Order Independence is the property that the specific formula shown above yields the identical distance regardless of which of the two coordinates is subtracted from which, since reversing the order of subtraction merely negates the value inside the absolute value bars, and by Opposite Inputs with Equal Absolute Value, a value and its negation produce the same absolute value.
Left-to-Right Distance Calculation illustrates one specific instance of Absolute Coordinate Difference, subtracting the coordinate positioned further to the left from the coordinate positioned further to the right, producing a nonnegative difference directly, without even requiring the absolute value bars to reverse a negative sign, since the result of subtracting a smaller number from a larger one is already positive.
Right-to-Left Distance Calculation illustrates the reverse instance, subtracting the coordinate positioned further to the right from the coordinate positioned further to the left, producing a negative difference before the absolute value bars are applied, which the absolute value operation then converts to the identical positive distance obtained through Left-to-Right Distance Calculation, directly demonstrating Coordinate Order Independence in practice.
Coincident Coordinate Distance addresses the special case in which the Two Number-Line Coordinates happen to be identical, so that Absolute Coordinate Difference reduces to the absolute value of zero, matching the Zero-Distance Case already established for a single point measured against itself, since two coincident points are separated by no distance at all.
Number-Line Distance Unit clarifies that the numerical result produced by Absolute Coordinate Difference is expressed in whatever consistent unit of measurement the number line itself represents, whether that unit corresponds to a count, a length, or another quantity depending on the context in which the number line is being used, and that this result, like every measurement of physical distance, is always reported as a nonnegative quantity in accordance with Nonnegative Absolute Value Result.