Junior Cycle Mathematics17.2 Distance and midpoint

All books

17.2 Distance and midpoint — Learn

Prerequisites: plotting points from Section 17.1, subtracting negative numbers from Section 1.2, and square roots from Section 2.4.

Objectives: find the horizontal and vertical steps between two points; find the distance between two points; find the midpoint of a line segment.

By the end of this section, you can measure a segment and find the point halfway along it.

The two steps

Two points on a grid are joined by a straight segment. That segment is the longest side of a right-angled triangle.

These two steps are the two shorter sides of the triangle. The segment itself is the longest side.

Example 1. Find the horizontal and vertical steps from A(1,2)A(1,2) to B(5,8)B(5,8).

The horizontal step is the change in xx.

x2−x1=5−1=4x_2-x_1 = 5-1 = 4

The vertical step is the change in yy.

y2−y1=8−2=6y_2-y_1 = 8-2 = 6

The steps are 4 across and 6 up.

The distance between two points

The distance dd between two points is found from the two steps. Square each step, add the squares, and take the square root.

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

Here (x1,y1)(x_1,y_1) and (x2,y2)(x_2,y_2) are the two points.

This is the coordinate form of Pythagoras' theorem. You will meet that theorem, and its proof, in Chapter 18. Here you can use the result to measure any segment.

Because each step is squared, the order of the two points does not matter. The distance is always a positive number.

Example 2. Find the distance between A(1,2)A(1,2) and B(5,8)B(5,8).

The steps are 4 and 6. Square them and add.

42+62=16+36=524^2 + 6^2 = 16 + 36 = 52

Take the square root.

d=52≈7.21d = \sqrt{52} \approx 7.21

The distance is 52\sqrt{52}, which is about 7.21 units. The answer is left as a surd when 52 is not a square number.

Example 3. Find the distance between A(1,2)A(1,2) and B(4,6)B(4,6).

The steps are 3 across and 4 up. Square them and add.

32+42=9+16=253^2 + 4^2 = 9 + 16 = 25

Take the square root.

d=25=5d = \sqrt{25} = 5

The distance is 5 units. When the sum of the squares is a square number, the distance is a whole number.

The midpoint of a segment

The midpoint MM of a segment is the point exactly halfway between its two endpoints. It is found by averaging the two xx-coordinates and the two yy-coordinates.

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

The midpoint is an average, so add the coordinates and halve. Do not subtract.

Example 4. Find the midpoint of the segment joining A(2,4)A(2,4) and B(8,10)B(8,10).

Average the xx-coordinates.

2+82=5\frac{2+8}{2} = 5

Average the yy-coordinates.

4+102=7\frac{4+10}{2} = 7

The midpoint is (5,7)(5,7).

Example 5. Find the midpoint of the segment joining A(−3,5)A(-3,5) and B(7,−1)B(7,-1).

Average the xx-coordinates.

−3+72=2\frac{-3+7}{2} = 2

Average the yy-coordinates.

5+(−1)2=2\frac{5+(-1)}{2} = 2

The midpoint is (2,2)(2,2).

Example 6. The midpoint of a segment is (4,3)(4,3), and one end is (1,1)(1,1). Find the other end.

The midpoint is the average of the two ends, so the two ends add to twice the midpoint.

2×4=88−1=72 \times 4 = 8 \qquad 8 - 1 = 7 2×3=66−1=52 \times 3 = 6 \qquad 6 - 1 = 5

The other end is (7,5)(7,5).

Watch out

Distance and midpoint use the two coordinates in different ways.

A second trap is forgetting to square each step. The distance is 42+62\sqrt{4^2+6^2}, not 4+6\sqrt{4+6}. Square first, add second, and take the root last.

Progress check

Return to the chapter problem. The gate is at G(1,2)G(1,2) and the kiosk is at K(9,8)K(9,8).

  1. Find the horizontal and vertical steps from the gate to the kiosk.
  2. Find the length of the main path.
  3. A bench sits at the midpoint of the main path. Find the coordinates of the bench.

In Section 17.3 you will measure how steep the main path is.

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.