Websink Prep UKGCSE MathsTextbook contentsMaths textbooksYear 1Year 2Year 4Year 5Year 6GCSEBrowse allPast papersFind a tutorBecome a tutor
GCSE Maths · EdexcelChapter 12 · Straight-line graphs and coordinates
GCSE Maths · Straight-Line Graphs and Coordinates · Higher · Lesson 12.2

GCSE Maths: Midpoints and lengths of line segments (Higher)

Part of the GCSE Maths straight-line graphs and coordinates chapter (Higher). Chapter overview · Foundation version of this lesson · whole chapter on one page · Download worksheet (PDF) · Answers (PDF)

Download worksheet (PDF)Answers (PDF)
12.2

Midpoints and lengths of line segments

Edexcel 1MA1: G11, A8
Grade 3-6

A line segment is the part of a straight line between two points. Two questions come up all the time: where is its middle? and how long is it?

The midpoint

The midpoint is the point exactly halfway between the two ends. To find it, work on the x-coordinates and the y-coordinates separately. The number halfway between two numbers is their mean: add them and divide by 2. For example, halfway between 2 and 8 is (2 + 8) ÷ 2 = 5, because 5 is 3 above 2 and 3 below 8. So for ends (x1, y1) and (x2, y2):

midpoint = ( (x1 + x2) ÷ 2 , (y1 + y2) ÷ 2 )

xy−5−4−3−2−11234567−1123456OABM
The midpoint M of the line from A(−4, 1) to B(6, 5) is (1, 3): halfway across and halfway up.

The length of a line segment

To find the length of a sloping line, make it the longest side of a right-angled triangle. Draw a horizontal line across and a vertical line up (or down) between the two points. The lengths of these two short sides come from subtracting the coordinates. Then use Pythagoras’ theorem: in a right-angled triangle, the square of the longest side (the hypotenuse) equals the sum of the squares of the other two sides, c² = a² + b². You will meet this theorem in full in Chapter 20; here we use it for a single job.

xy−112345678−11234567891011OAB68
AB is the hypotenuse of a right-angled triangle with sides 6 across and 8 up: AB² = 6² + 8² = 100, so AB = 10.

Some triangles have whole-number sides, such as 3, 4, 5 and 5, 12, 13 and 6, 8, 10, and the length is an exact whole number. Otherwise the answer is a decimal on your calculator (round it as asked), or on the Higher tier you may be asked to leave it as a surd, such as √13 or 2√13.

Working backwards (Higher)

If you know the midpoint M and one end A, the other end B is the same step again beyond M. If M is 3 across and 2 up from A, then B is another 3 across and 2 up from M. Lengths and midpoints are also used to prove things about shapes: for example, a triangle with two equal sides is isosceles, and the centre of a circle is the midpoint of any diameter.

Key ideas

  • Midpoint of (x1, y1) and (x2, y2) = ((x1 + x2) ÷ 2, (y1 + y2) ÷ 2): add then halve.
  • Length: find the horizontal distance and the vertical distance (subtract), then Pythagoras: length² = (across)² + (up)².
  • Square first, add, then square root last: √(a² + b²) is not a + b.
  • Higher: leave exact answers as surds (for example 2√13); to find an end point, repeat the step from the known end to the midpoint.
Worked example 12.2.1
Find the midpoint of A(2, 3) and B(8, 7).

Key words. The midpoint of a line segment is the point exactly halfway along it. The mean of two numbers is their sum divided by 2.

Method. The midpoint is exactly halfway between two points. Find the mean of the x-coordinates and the mean of the y-coordinates.

  1. Write down the two points and pick out their coordinates. The midpoint uses the x-coordinates together and the y-coordinates together.
    A = (2, 3): x1 = 2, y1 = 3
    B = (8, 7): x2 = 8, y2 = 7
  2. Find the x-coordinate of the midpoint. The number halfway between two numbers is their mean: add them and divide by 2.
    (2 + 8) ÷ 2 = 10 ÷ 2 = 5
  3. Find the y-coordinate of the midpoint. Do exactly the same with the y-coordinates.
    (3 + 7) ÷ 2 = 10 ÷ 2 = 5
  4. Write the answer as a coordinate pair. Across first, then up or down.
    Midpoint = (5, 5)
  5. Sketch to see that it makes sense. The midpoint M must be on the line, exactly halfway between the two ends.
    xy−1123456789−112345678OABM

Check. From A to the midpoint the x-coordinate changes by 3 and from the midpoint to B it changes by 3; the y-coordinate changes by 2 and 2. The two steps are equal, so M is halfway. ✓

Watch out. Add the coordinates and halve. Subtracting gives the length of the gap, not the halfway point. Work with x and y separately.

Worked example 12.2.2
Find the midpoint of P(−4, 1) and Q(3, 6).

Key words. The midpoint of a line segment is the point exactly halfway along it. The mean of two numbers is their sum divided by 2.

Method. The midpoint is exactly halfway between two points. Find the mean of the x-coordinates and the mean of the y-coordinates.

  1. Write down the two points and pick out their coordinates. The midpoint uses the x-coordinates together and the y-coordinates together.
    A = (−4, 1): x1 = −4, y1 = 1
    B = (3, 6): x2 = 3, y2 = 6
  2. Find the x-coordinate of the midpoint. The number halfway between two numbers is their mean: add them and divide by 2.
    (−4 + 3) ÷ 2 = −1 ÷ 2 = −0.5
  3. Find the y-coordinate of the midpoint. Do exactly the same with the y-coordinates.
    (1 + 6) ÷ 2 = 7 ÷ 2 = 3.5
  4. Write the answer as a coordinate pair. Across first, then up or down.
    Midpoint = (−0.5, 3.5)
  5. Sketch to see that it makes sense. The midpoint M must be on the line, exactly halfway between the two ends.
    xy−5−4−3−2−11234−11234567OABM

Check. From A to the midpoint the x-coordinate changes by 3.5 and from the midpoint to B it changes by 3.5; the y-coordinate changes by 2.5 and 2.5. The two steps are equal, so M is halfway. ✓

Watch out. Add the coordinates and halve. Subtracting gives the length of the gap, not the halfway point. Work with x and y separately.

Worked example 12.2.3
Work out the length of the line segment from A(1, 2) to B(7, 10).

Key words. A line segment is the part of a line between two points. Pythagoras’ theorem says that in a right-angled triangle the square of the hypotenuse equals the sum of the squares of the other two sides (see Chapter 20).

Method. Draw a right-angled triangle using the horizontal and vertical distances between the points, then use Pythagoras’ theorem to find the length of the line (the hypotenuse).

  1. Find the horizontal distance between the points (the difference in x). Subtract the x-coordinates and ignore the sign: a distance cannot be negative.
    7 − 1 = 6
  2. Find the vertical distance (the difference in y). Do the same with the y-coordinates.
    10 − 2 = 8
  3. Sketch a right-angled triangle on the line. The line AB is the hypotenuse (the longest side, opposite the right angle). The two shorter sides are the horizontal and vertical distances.
    xy−112345678−11234567891011OAB68
  4. Use Pythagoras’ theorem: c² = a² + b². Square the two shorter sides and add them to get the hypotenuse squared.
    AB² = 6² + 8² = 36 + 64 = 100
  5. Take the square root. The square root undoes the squaring, giving the length itself.
    AB = √100 = 10

Check. 10² = 100 = 100. ✓

Watch out. Add the squares before square-rooting. √(9 + 16) is 5, not 3 + 4.

Worked example 12.2.4
Work out the length of the line segment from P(−3, −1) to Q(2, 4). Give your answer correct to 1 decimal place.

Key words. A line segment is the part of a line between two points. Pythagoras’ theorem says that in a right-angled triangle the square of the hypotenuse equals the sum of the squares of the other two sides (see Chapter 20).

Method. Draw a right-angled triangle using the horizontal and vertical distances between the points, then use Pythagoras’ theorem to find the length of the line (the hypotenuse).

  1. Find the horizontal distance between the points (the difference in x). Subtract the x-coordinates and ignore the sign: a distance cannot be negative.
    2 − (−3) = 5
  2. Find the vertical distance (the difference in y). Do the same with the y-coordinates.
    4 − (−1) = 5
  3. Sketch a right-angled triangle on the line. The line AB is the hypotenuse (the longest side, opposite the right angle). The two shorter sides are the horizontal and vertical distances.
    xy−4−3−2−1123−2−112345OAB55
  4. Use Pythagoras’ theorem: c² = a² + b². Square the two shorter sides and add them to get the hypotenuse squared.
    AB² = 5² + 5² = 25 + 25 = 50
  5. Take the square root and round. The square root undoes the squaring. Use a calculator, then round as the question asks.
    AB = √50 = 7.0711...
    = 7.1 to 1 decimal place

Check. The line should be longer than the longer leg (5) and shorter than the two legs added (10). 7.1 is in between. ✓

Watch out. Add the squares before square-rooting. √(9 + 16) is 5, not 3 + 4.

Worked example 12.2.5
M(3, 2) is the midpoint of AB. A is (1, −4). Find the coordinates of B.
▶ Watch this solution as a video

Method. The midpoint is halfway, so the other end is the same distance beyond the midpoint. Alternatively use the midpoint rule backwards: 2 × midpoint − known end.

  1. Write what we know. A is one end and M is the midpoint. The other end is B = (x, y), which we want to find.
    A = (1, −4), M = (3, 2)
  2. Work out how far the midpoint is from the known end. The midpoint is halfway, so the other end is the same step again beyond M.
    Across: 3 − 1 = 2
    Up/down: 2 − (−4) = 6
  3. Add the same step again to the midpoint. Going from A to M is half of the journey to B, so repeat it once more starting at M.
    x: 3 + 2 = 5
    y: 2 + 6 = 8
  4. Write the coordinates.
    B = (5, 8)

Check. Midpoint of (1, −4) and (5, 8): (1 + 5) ÷ 2 = 3 and (−4 + 8) ÷ 2 = 2. This is M. ✓

Watch out. Do not just add or subtract the midpoint and the end. The step from the end to M must be repeated once more.

Worked example 12.2.6
Find the exact length of the line from A(−2, 1) to B(4, 5). Give your answer as a simplified surd.
▶ Watch this solution as a video

Key words. A line segment is the part of a line between two points. Pythagoras’ theorem says that in a right-angled triangle the square of the hypotenuse equals the sum of the squares of the other two sides (see Chapter 20).

Method. Draw a right-angled triangle using the horizontal and vertical distances between the points, then use Pythagoras’ theorem to find the length of the line (the hypotenuse).

  1. Find the horizontal distance between the points (the difference in x). Subtract the x-coordinates and ignore the sign: a distance cannot be negative.
    4 − (−2) = 6
  2. Find the vertical distance (the difference in y). Do the same with the y-coordinates.
    5 − 1 = 4
  3. Sketch a right-angled triangle on the line. The line AB is the hypotenuse (the longest side, opposite the right angle). The two shorter sides are the horizontal and vertical distances.
    xy−3−2−112345−1123456OAB64
  4. Use Pythagoras’ theorem: c² = a² + b². Square the two shorter sides and add them to get the hypotenuse squared.
    AB² = 6² + 4² = 36 + 16 = 52
  5. Take the square root. This gives the exact length as a surd. A surd is a square root that is not a whole number.
    AB = √52
  6. Simplify the surd. Look for a square number that divides 52: 52 = 4 × 13, and √4 = 2.
    √52 = √4 × √13 = 2√13

Check. On a calculator √52 = 7.211, which matches 2√13 = 7.211. A sketch agrees: the line is longer than 6 but shorter than 10. ✓

Watch out. Add the squares before square-rooting. √(9 + 16) is 5, not 3 + 4.

Watch out

Add for the midpoint, subtract for the distance. A common error is to subtract the coordinates when asked for the midpoint. Another is to write √(9 + 16) as 3 + 4: you must add the squares before taking the square root, giving √25 = 5.

Exercise 12B  Midpoints

Non-calculator
1
FFind the midpoint of each line segment.
(a)A(2, 4), B(8, 10)
(b)A(0, 6), B(10, 2)
(c)A(1, 3), B(9, 7)
(d)A(4, 2), B(12, 8)
2
FFind the midpoint of each line segment. Take care with the negative numbers.
(a)A(−4, 2), B(6, 8)
(b)A(−7, −3), B(1, 5)
(c)A(−2, 5), B(4, −1)
(d)A(−8, −6), B(−2, −4)
3
FFind the midpoint of each line segment. The coordinates of the midpoint may be decimals.
(a)A(1, 2), B(6, 5)
(b)A(−3, 4), B(2, −1)
(c)A(0, −5), B(7, 0)
(d)A(−1, 3), B(0, 6)
4
PSAisha lives at A(−6, 2) and Ben lives at B(4, 8) on a map where each unit is 1 km. They agree to meet at the point exactly halfway between their homes. Write the coordinates of the meeting point.
5
PSAB is a diameter of a circle. A is (−5, 2) and B is (3, −4). Find the coordinates of the centre of the circle.
6
RTom says the midpoint of (2, 6) and (8, −2) is (3, −4). Find his mistake and work out the correct midpoint.
7
PSA is (−4, 6) and B is (8, −2). C is the midpoint of AB. D is the midpoint of AC. Find the coordinates of D.
8
RABCD is a rectangle with A(−1, −2), B(5, −2), C(5, 4) and D(−1, 4).
(a)Find the midpoint of the diagonal AC.
(b)Find the midpoint of the diagonal BD.
(c)What do your answers show about the diagonals of a rectangle?
9
PSA path joins a campsite at C(2, −3) to a lake at L(10, 5) on a map where each unit is 100 m. A bench B is halfway between the campsite and the lake. A second bench S is halfway between the first bench and the lake. Find the coordinates of B and S.
(a)the first bench B
(b)the second bench S
10
FM is the midpoint of AB. Find the coordinates of B in each case.
(a)A(1, 1), M(4, 3)
(b)A(−2, 5), M(1, 2)
(c)A(6, −3), M(2, 0)
11
PSABCD is a parallelogram. A is (−2, 1), B is (3, −1) and C is (6, 5). Use the midpoint of the diagonals to find the coordinates of D.
12
R(a) Work out the midpoint of (3, 5) and (8, 2). (b) Work out the midpoint of (3, 5) and (9, 3). (c) Explain when the midpoint of two points with whole-number coordinates also has whole-number coordinates.
13
FFind the midpoint of the points (2a, 3b) and (4a, b). Give each coordinate in its simplest form.

Exercise 12C  Lengths of line segments

Calculator allowed
1
FWork out the exact length of each line segment. Each answer is a whole number.
(a)A(0, 0), B(3, 4)
(b)A(1, 1), B(6, 13)
(c)A(−2, −1), B(4, 7)
(d)A(−3, 2), B(2, 14)
2
FWork out the length of each line segment. Give your answers correct to 1 decimal place.
(a)A(−1, 3), B(4, 5)
(b)A(−3, −2), B(2, 4)
(c)A(2, −3), B(7, 5)
(d)A(−5, 1), B(−1, −6)
3
PSA map uses a grid where each unit is 1 km. A harbour H is at (0, 0), a lighthouse L is at (5, 12) and a buoy B is at (−4, 0). Find (a) the distance HL, (b) the distance LB, (c) the total distance of a trip from H to L and then to B.
(a)the distance HL
(b)the distance LB
(c)the total distance H to L to B
4
PSThe vertices of triangle ABC are A(1, 1), B(7, 1) and C(7, 9). Work out the perimeter of the triangle.
5
RWhich of the points (3, −5) and (−4, 4) is further from the origin? Show your working.
6
PSA drone flies in a straight line from the point (−2, 3) to the point (10, 8) on a map. Each unit on the map is 100 m. How far does it fly?
7
PSTwo towns are at A(−6, −2) and B(6, 3) on a map where each unit is 1 km.
(a)How far apart are the towns?
(b)A petrol station is halfway between the towns. Find its coordinates.
8
FFind the exact length of each line segment. Give your answers as whole numbers or simplified surds.
(a)A(−2, 1), B(4, 5)
(b)A(1, −3), B(4, 4)
(c)A(0, 0), B(−6, −6)
(d)A(5, 2), B(−1, −6)
9
RThe vertices of triangle ABC are A(1, 1), B(5, 3) and C(3, 7).
(a)Find the exact length of AB.
(b)Find the exact length of BC.
(c)Find the exact length of AC.
(d)Show that ABC is an isosceles triangle, and that it is right-angled.
10
PSAB is a diameter of a circle with A(−3, 1) and B(5, 7).
(a)Find the coordinates of the centre of the circle.
(b)Work out the length of the diameter AB.
(c)Write down the radius of the circle.
(d)Does the point P(1, 9) lie on the circle? Show how you decide.
11
RMia says the distance from (1, 2) to (4, 6) is 7, because 3 + 4 = 7. Explain why she is wrong and find the correct distance.
12
PSThe point P(k, 0) is 5 units from the point Q(0, 3). Find the two possible values of k.
13
PSA boat sails in a straight line from (−4, −3) to (4, 3) on a map where each unit is 1 km. How far does the boat sail?

Websink Prep UK is an independent site. It is not affiliated with, endorsed by or sponsored by AQA, Pearson Edexcel, OCR, WJEC, Eduqas, CCEA, SQA, GL Assessment, CEM or the Department for Education. All exam board names and trademarks belong to their owners. Past papers are linked from the exam boards' own websites and are not hosted here.

About Websink Prep UK · Find a tutor · Privacy · Terms · Cookie settings