Distance between two points and the midpoint of a line segment
Machine translation
Learn
The distance between two points is the length of the line segment that joins them. If the points are on the same horizontal or vertical line, subtract: from A(1, 1) to C(5, 1) there are 5 − 1 = 4 squares.
If the line segment is slanted, draw a right-angled triangle. Its shorter sides a and b are the difference between the x-coordinates and the difference between the y-coordinates, and the distance is the hypotenuse. By Pythagoras, d = √(a² + b²). From A(1, 1) to B(5, 4): a = 4, b = 3 and d = √(16 + 9) = √25 = 5.
AB is the hypotenuse of a triangle with shorter sides 4 and 3: AB = 5. The midpoint M of a line segment splits it into two equal parts. Its coordinates are the means of the coordinates of the endpoints: the x is the mean of the two x-coordinates and the y is the mean of the two y-coordinates. For A(−2, 1) and B(6, 5): x = (−2 + 6) ÷ 2 = 2 and y = (1 + 5) ÷ 2 = 3. The midpoint is M(2, 3).
M(2, 3) is the same distance from A as it is from B. The answer is not always an exact number. From A(1, 1) to B(3, 4) the shorter sides measure 2 and 3, and d = √13. Since 32 = 9 and 4² = 16, √13 is between 3 and 4. With a calculator, d ≈ 3.61.
AB = √13 ≈ 3.61.
Worked examples
Example 1
Gus is at G(−2, 1) and Mara's shop is at T(4, 9). How many squares apart are they in a straight line?
- Shorter sides: the difference between the x-coordinates is 4 − (−2) = 6 and the difference between the y-coordinates is 9 − 1 = 8.
- By Pythagoras: d = √(62 + 82) = √(36 + 64) = √100.
- √100 = 10.
They are 10 squares apart.
Watch out! Many people here add the shorter sides, 6 + 8 = 14, instead of finding the hypotenuse.
Example 2
Vera lives at V(−3, 4) and Ellie lives at E(7, −2). They meet at the midpoint between their houses. What is it?
- The mean of the x-coordinates: (−3 + 7) ÷ 2 = 4 ÷ 2 = 2.
- The mean of the y-coordinates: (4 + (−2)) ÷ 2 = 2 ÷ 2 = 1.
- The midpoint is M(2, 1).
M(2, 1).
Watch out! Many people here add the coordinates and forget to divide by 2: (4, 2).
Example 3
What is the distance between P(−2, −1) and Q(2, 0)? Give the exact answer and an approximate one.
- Shorter sides: 2 − (−2) = 4 and 0 − (−1) = 1.
- d = √(42 + 12) = √(16 + 1) = √17.
- Since 42 = 16 and 5² = 25, √17 is between 4 and 5. With a calculator, d ≈ 4.12.
d = √17 ≈ 4.12.
Watch out! Many people here give 17 as the distance: they forget the square root.
A challenge to think about
Draw a triangle on a grid with its vertices at points with whole-number coordinates. Work out the length of its three sides and the midpoint of each one. Then measure the sides with a ruler, using one square as the unit, and check your answers.
Practise
Rounds of 10 questions. Choose a level:
Your grade in this topic:No grade yetDo a round at the Basic level to get a grade.
Next topic: Equation of a circle with its centre at the origin →