Chapter 1 · Number foundations review
Distance Between Points That Share a Coordinate
Find how far apart two points are when they share a coordinate by treating the two coordinates that differ as positions on one number line.
How far apart are two points on the coordinate plane? In this lesson you will find out. Start with what you already know about an ordered pair : it is two signed numbers (each can be positive, negative or zero), called coordinates, in a fixed order. The first coordinate, , is the horizontal position. A positive puts the point to the right of the vertical axis, and a negative puts it to the left. The second coordinate, , is the vertical position. A positive puts the point above the horizontal axis, and a negative puts it below.
The distance between two points is the length of the straight path that joins them. You will measure it in units, where unit is the distance from to on either axis.
In this lesson you will only measure between two points that share a coordinate. That means the two points have the same or the same . The method you are about to learn depends on that.
Why does a shared coordinate help? Look at the points and . Both have , so they are at the same height, and the straight path between them runs left to right. Only the horizontal positions, and , are different.
So you can set the shared aside and treat and as two positions on one number line. Counting the one-unit steps from to gives , so the two points are units apart.
The same idea works when the -coordinates match. Then one point is directly above the other, the path runs straight up and down, and you compare the two -coordinates on one number line.
Every problem in this lesson comes down to one question: how far apart are two positions on a number line?
To measure on a number line, you use absolute value. The absolute value of a number , written , is the distance from to . A distance is never negative, so is never negative. For example, and , because and are both units from . Also, .
Do not confuse absolute value with order. Order follows position on the line: the number farther left on a horizontal line, or lower on a vertical line, is the lesser number. So is less than . But is farther from than is, so has the larger absolute value: and . In this lesson, larger absolute value always means farther from , not greater in order.
Now picture moving along the number line from one position to the other, and ask: do you pass through ?
- Same side of 0 (both positive or both negative): you do not pass through . Both positions lie in the same direction from , so the nearer one sits on the path from to the farther one. The gap between them is the larger absolute value minus the smaller absolute value. For and , that is , the same units you counted.
- Opposite sides of 0 (one negative, one positive): you do pass through . You cover the first position's distance from and then the second's, so the gap is the two absolute values added together.
If one position is itself, the gap is just the absolute value of the other position.
The table tests this reasoning. Four rows use positions that are units and units from , and the last row includes itself.
| Positions | Where they sit | Reasoning | Distance apart |
|---|---|---|---|
and | Same side of (both positive) | units | |
and | Same side of (both negative) | units | |
and | Opposite sides of | units | |
and | Opposite sides of | units | |
and | One position is | units |
Let and be two positions on a number line. There is a short way to write the distance between them: . This is called the absolute difference of and . Like every absolute value, it is never negative. It is also the same whichever position you call , because the gap is the same in both directions.
When both positions are positive, you can check it by subtracting the smaller from the larger: , which matches the first row of the table. When a position is negative, you do not need a rule for subtracting negative numbers. The same-side and opposite-side reasoning is how you find the value. For example, stands for the distance between and , and the third row shows that this distance is units.
Key concept
Distance between points that share a coordinate
Use this when two points share a coordinate (same or same ). Let and be the two coordinates that differ, and treat them as positions on one number line. The distance between the points is . Find it from and , the distances of and from , which are never negative.
- Same side of 0: larger absolute value minus smaller absolute value.
- Opposite sides of 0: add the two absolute values.
- One position is 0: the absolute value of the other position.
Choose larger by distance from , not by order. Order follows position on the line, so is less than , yet is the larger absolute value.
Worked example
Both positions on the same side of 0
Find the distance between the points and .
Look for the shared coordinate. Both points have y-coordinate 3, so they are at the same height and the path between them is horizontal. Compare the x-coordinates as positions on one number line, and call them p and q.
Decide where the positions sit. Both are negative, so they are on the same side of 0, and the path between them does not pass through 0.
Find each position's distance from 0. This is its absolute value, which is never negative.
Because the positions are on the same side of 0, the nearer one sits on the path from 0 to the farther one, so subtract the smaller absolute value from the larger. Negative 7 is the lesser number because it is farther left, yet it has the larger absolute value. The result is the absolute difference of p and q.
Answer
The points and are units apart.
Worked example
Positions on opposite sides of 0
Find the distance between the points and .
Both points have x-coordinate 4, so one is directly above the other and the path between them is vertical. Compare the y-coordinates as positions on one number line, and call them p and q.
One position is negative and the other is positive, so they are on opposite sides of 0. Find each position's distance from 0, its absolute value.
Because the positions are on opposite sides of 0, the path between them passes through 0: 6 units to reach 0, then 5 more units. Add the two absolute values to get the absolute difference of p and q.
Answer
The points and are units apart.
Worked example
Two distances, two different cases
Point is at , point is at and point is at . Find the distance from to and the distance from to .
Points A and B have the same x-coordinate, negative 6, so compare their y-coordinates. The shared coordinate only shows that the path is vertical; it is not part of the arithmetic. Both y-coordinates are negative, so the positions are on the same side of 0.
On the same side of 0, the path between the positions does not pass through 0, so subtract the smaller absolute value from the larger.
Points B and C have the same y-coordinate, negative 9, so compare their x-coordinates. One is negative and the other is positive, so the positions are on opposite sides of 0.
On opposite sides of 0, the path between the positions passes through 0, so add the two absolute values.
Answer
The distance from to is units, and the distance from to is units.
The takeaway: When two points share a coordinate, the distance between them is the gap between the two coordinates that differ, read as positions and on one number line. That gap is , and it is never negative. If the positions are on the same side of , subtract the smaller absolute value from the larger one, where larger means farther from , not greater in order. If they are on opposite sides of , add the two absolute values. Next, you will graph ordered pairs from a table of values and interpret points on a coordinate plane in real-world situations.