Leaving Certificate Mathematics13.1 Distance, midpoint and slope

All books

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, (x,y)(x, y). 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 A(x1,y1)A(x_1, y_1) to B(x2,y2)B(x_2, y_2). Add a horizontal line from AA and a vertical line from BB, and they meet at a right angle. That right angle is the key to everything in this section.

The horizontal side has length x2−x1x_2 - x_1. The vertical side has length y2−y1y_2 - y_1. The segment ABAB is the hypotenuse, so Pythagoras' theorem gives

AB=(x2−x1)2+(y2−y1)2AB = \sqrt{(x_2 - x_1)^2 + (y_2 - y_1)^2}

This is the distance formula. The two differences are squared, so the order of subtraction does not matter.

Example 1. Find the distance from A(−1,1)A(-1, 1) to B(7,7)B(7, 7).

AB=(7−(−1))2+(7−1)2=82+62=64+36=100=10AB = \sqrt{(7 - (-1))^2 + (7 - 1)^2} = \sqrt{8^2 + 6^2} = \sqrt{64 + 36} = \sqrt{100} = 10

The distance is 1010 units.

The midpoint of a segment

The midpoint is the point exactly halfway along the segment. The midpoint MM has the averages of the two endpoints as its coordinates:

M=(x1+x22,y1+y22)M = \left(\frac{x_1 + x_2}{2}, \frac{y_1 + y_2}{2}\right)

Example 2. Find the midpoint of A(−1,1)A(-1, 1) and B(7,7)B(7, 7).

M=(−1+72,1+72)=(62,82)=(3,4)M = \left(\frac{-1 + 7}{2}, \frac{1 + 7}{2}\right) = \left(\frac{6}{2}, \frac{8}{2}\right) = (3, 4)

The midpoint is (3,4)(3, 4). 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 mm of a line measures how steeply it rises. It is the rise divided by the run:

m=y2−y1x2−x1m = \frac{y_2 - y_1}{x_2 - x_1}

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 00.

Example 3. Find the slope of the line through A(−1,1)A(-1, 1) and B(7,7)B(7, 7).

m=7−17−(−1)=68=34m = \frac{7 - 1}{7 - (-1)} = \frac{6}{8} = \frac{3}{4}

For every 44 units you move right, the line rises 33 units.

A vertical line is a special case. Both points have the same xx-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 BB directly above point AA, so the line is vertical. What will happen to the slope? What will happen to the distance?

Figure 1

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 A(−1,1)A(-1, 1) to B(7,7)B(7, 7).

  1. Find the length of the main road in units, then in metres.
  2. Find the midpoint of ABAB.
  3. 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

Settings

Colour scheme

Light or dark pages. Your colour and layout stay the same.

Colour

The paper, ink and lettering. Your layout stays the same.

Quiet colours
Bold colours
Layout

How pages are arranged. Your colours stay the same.

Reading offline

Keep this book on this device and read it offline.