13.1 Distance, midpoint and slope — Learn
Prerequisites: plotting points on the coordinate plane; Pythagoras' theorem.
Objectives: use the distance formula; find the midpoint of a segment; find the slope of the line through two points.
A point in the plane is named by two numbers, . This section turns that naming into measurement. You will find how far apart two points are, where the middle of the segment between them lies, and how steeply the line through them rises.
The distance between two points
Draw the segment from to . Add a horizontal line from and a vertical line from , and they meet at a right angle. That right angle is the key to everything in this section.
The horizontal side has length . The vertical side has length . The segment is the hypotenuse, so Pythagoras' theorem gives
This is the distance formula. The two differences are squared, so the order of subtraction does not matter.
Example 1. Find the distance from to .
The distance is units.
The midpoint of a segment
The midpoint is the point exactly halfway along the segment. The midpoint has the averages of the two endpoints as its coordinates:
Example 2. Find the midpoint of and .
The midpoint is . It is the average of the endpoints, so it sits halfway along the segment in both directions at once.
The slope of a line
The slope of a line measures how steeply it rises. It is the rise divided by the run:
A line that rises as you move right has a positive slope. A line that falls has a negative slope. A horizontal line has slope .
Example 3. Find the slope of the line through and .
For every units you move right, the line rises units.
A vertical line is a special case. Both points have the same -coordinate, so the run is zero and the slope is undefined. You cannot divide by zero. A vertical line is not "slope zero"; it has no slope at all.
A guided investigation: two points on a line
The figure below draws two points and the line through them. Move the points and watch the distance, the midpoint and the slope change together.
Predict first. Before you touch a control, move point directly above point , so the line is vertical. What will happen to the slope? What will happen to the distance?
Test. Move the points and check your prediction. Then make the segment horizontal and watch the slope.
Explain. Write two or three sentences. Say what the slope becomes when the line is vertical, and say why the distance formula still gives an answer. Use the words run and Pythagoras.
Progress check
Back to the chapter problem. The main road runs from to .
- Find the length of the main road in units, then in metres.
- Find the midpoint of .
- Find the slope of the main road.
Keep your three answers. The midpoint marks the centre of the roundabout. The slope is the slope of the main road, and you will use it in Sections 13.2 and 13.3.
You should now be able to
- find the distance between two points with the distance formula;
- find the midpoint of a segment;
- find the slope of a line through two points;
- explain what happens to the slope of a vertical line, and why.