Syllabus coverage
- Extended only: calculate the length of a line segment
- Extended only: find the coordinates of the midpoint of a line segment
- Both calculations use the coordinates of the two ends of the segment: the horizontal distance and the vertical distance
- The length is found by applying Pythagoras' theorem, with the segment as the hypotenuse
- The midpoint is the average of the two -coordinates and the average of the two -coordinates
- This is E3.4, Extended content only - there is no Core version of it
Part of the IGCSE Maths syllabus 0580.
Extended only: what E3.4 asks you to do
The syllabus lists exactly two calculations here: calculate the length of a line segment and find the coordinates of the midpoint of a line segment. Both start from the same information - the coordinates of the two ends - and both are Extended content, so they do not appear on the Core paper.
There is no new formula to learn for the length. You already know Pythagoras' theorem, and the segment joining two points is the hypotenuse of a right-angled triangle whose two shorter sides you can read straight off the coordinates. The midpoint needs one short formula: average the two -coordinates, then average the two -coordinates.
Because a midpoint is an average, it always lies exactly halfway along the segment. That single fact is worth more than the formula, because it tells you immediately whether an answer is sensible.
- Length: Pythagoras applied to the horizontal and vertical distances between the two points
- Midpoint: the average of the two -coordinates and the average of the two -coordinates
- Both answers come from the same two pairs of numbers, so most questions give you the coordinates once and ask for both
The right-angled triangle hidden in a line segment
Take and . To get from to you move across and then up: the horizontal distance is and the vertical distance is . Those two moves are the legs of a right-angled triangle, and the segment is its hypotenuse.
The horizontal distance is always and the vertical distance is always , where and are the two ends. Starting from the left-hand point keeps both numbers positive, which makes the arithmetic easier, and the answer comes out the same either way round.
Sketching the triangle costs a few seconds and prevents almost every error in this subtopic. When the two points are in different quadrants the sketch shows you which way each distance goes, and it stops you adding a distance where you should subtract it.
| From to | How to work it out | Distance |
|---|---|---|
| across (horizontal) | 3 | |
| up (vertical) | 4 | |
| along the segment | 5 |
The length of a line segment
Pythagoras' theorem says the square on the hypotenuse equals the sum of the squares on the other two sides. Applied to two points that gives , so the length is . This is the distance formula: it is Pythagoras with the coordinates already built in.
For and : . Square each distance, add the two squares, then take the square root - in that order. The square root comes last, and the answer is the length itself, not its square.
The squares make the order of the two points irrelevant. and , so swapping and gives the same length. That is a useful check when an answer looks wrong.
- Subtract, square, add, then take the square root
- A horizontal or vertical segment needs no formula at all: from to the length is
Negative coordinates, and lengths that are not whole numbers
Negative coordinates cause no trouble in the formula, because every difference is squared. For and : the horizontal distance is and the vertical distance is . Then .
Most lengths do not come out as whole numbers. For and : . The exact answer is the surd , and as a decimal it is 3.6055..., which is 3.61 correct to 3 significant figures.
Read the question's last line before deciding what to write. If it asks for a decimal place or a number of significant figures, give the rounded decimal. If it says nothing, give the exact surd and put the decimal beside it - a correct rounded decimal is accepted in place of the surd.
- correct to 3 significant figures
- 3.6055... rounds up to 3.61, because the next digit is 5 - check before you round
- and , so a whole-number answer is possible whenever the two distances are the legs of a Pythagorean triple such as 3, 4, 5 or 5, 12, 13
The midpoint of a line segment
The midpoint is the point exactly halfway between the two ends, so its coordinates are the averages: . Add the two -coordinates and halve, then add the two -coordinates and halve. Adding first matters - halving one end on its own gives a point a quarter of the way along, not halfway.
For and : the -coordinate is and the -coordinate is , so the midpoint is . The signs travel with the numbers, and the two halves are worked out separately.
Midpoints are often not whole numbers. For and the midpoint is , and is just as good. Do not round a midpoint to a whole number unless the question tells you to.
| Segment | Working for | Working for | Midpoint |
|---|---|---|---|
| to | |||
| to | |||
| to | |||
| to |
Working backwards from the midpoint, and using both results
If you are given the midpoint and one end , the other end is the same distance past again: , worked out one coordinate at a time. With and : the -coordinate is and the -coordinate is , so is .
The two calculations are often asked together in one question. For and : the distances are 6 and 8, so the length is , and the midpoint is .
The length and the midpoint also combine into the perpendicular bisector of a segment: the line through the midpoint drawn at right angles to the segment. Finding its equation is Extended work on perpendicular gradients, and the midpoint is always the first thing you need for it.
- Given the midpoint and one end , the other end is
- Every point on the perpendicular bisector is the same distance from as it is from
- The length is never shorter than the larger of the two distances you measured
Key terms you must be able to define
- Line segment
- The straight part of a line between two points, written . Its length is the distance between the two ends.
- Endpoint
- One of the two points at the ends of a line segment.
- Coordinates
- The ordered pair that fixes the position of a point: the -coordinate first, then the -coordinate.
- Horizontal distance
- How far apart two points are across the grid: .
- Vertical distance
- How far apart two points are up the grid: .
- Pythagoras' theorem
- In a right-angled triangle the square on the hypotenuse equals the sum of the squares on the other two sides: .
- Hypotenuse
- The longest side of a right-angled triangle, opposite the right angle. The segment joining two points is the hypotenuse of the triangle you draw for it.
- Distance formula
- , the length of the segment joining and .
- Surd
- A square root left in exact form, such as , because it is not a whole number.
- Exact value
- An answer written without rounding, such as rather than 3.61.
- Significant figures
- A way of rounding that counts from the first non-zero digit: 3.6055 correct to 3 significant figures is 3.61.
- Pythagorean triple
- Three whole numbers that satisfy , such as 3, 4, 5 and 5, 12, 13. When the two distances are the legs of a triple, the length is a whole number.
- Midpoint
- The point exactly halfway along a line segment, so the two halves have equal length.
- Midpoint formula
- : the average of the -coordinates and the average of the -coordinates.
- Perpendicular bisector
- The line through the midpoint of a segment, at right angles to it. Every point on it is the same distance from the two ends.
In context
Cambridge sets 0580 in real situations - a recipe, a bank statement, a map, a garden, a graph of a car's journey. These show how the mathematics appears in a question, then you write your own working for the numbers you are given.
Find the length of the segment joining and . The horizontal distance is and the vertical distance is . Then . The two distances and the length are the triple 3, 4, 5, which is why the answer is a whole number.
Find the length of the segment joining and . The horizontal distance is and the vertical distance is . Then . The negative difference disappears when it is squared.
Find the exact length of the segment joining and . The distances are 3 and 2, so . The exact answer is , and 3.61 is the same value correct to 3 significant figures.
Find the midpoint of the segment joining and . Average the -coordinates: . Average the -coordinates: . The midpoint is , which sits between the two ends as a midpoint must.
The point is the midpoint of and is . Since is halfway from to , the step from to is 3 across and 4 up, so the step from to is the same again: is . The formula gives the same answer: .
Flashcards
Click a card to flip it. Mark honestly — the tracker uses this.
Exam-style questions
7 questions, 18 marks. Write your answer, then reveal the mark scheme and tick each point you actually made. Answering honestly here is what makes the rest of the site useful.
Mark scheme — tick each point you actually made
- M1
- A1not checked yet
Mark scheme — tick each point you actually made
- M1
- A1not checked yet
Mark scheme — tick each point you actually made
- M1
- M1
- A1not checked yet
Mark scheme — tick each point you actually made
- M1
- A1not checked yet
Mark scheme — tick each point you actually made
- M1
- A1, the averages and not checked yet
Mark scheme — tick each point you actually made
- M1
- M1
- A1not checked yet
Mark scheme — tick each point you actually made
- M1
- M1
- M1
- A1 and the midpoint is not checked yet
Exam technique for this topic
- Sketch the right-angled triangle on the grid before you substitute anything, and mark the horizontal and vertical distances on it with the segment as the hypotenuse. The sketch is what stops a sign error turning into a wrong answer.
- Write the substitution line before the answer: . The method marks are for the two distances and the Pythagoras step, so a correct method with an arithmetic slip still scores.
- Leave a length as an exact surd unless the question asks for a decimal place or a number of significant figures. If it does ask, give the rounded value to that accuracy and no more: 3.61, not 3.6055.
- Never round a midpoint. Whole numbers, fractions and decimals such as 3.5 are all exact, so written as has lost the answer for no reason.
- Check the two answers against each other. The midpoint lies on the segment, so its coordinates sit between the coordinates of the two ends, and the length is at least as long as the larger of the horizontal and vertical distances.
Why students lose marks here
Where this fits in IGCSE Maths
This page is one topic of Cambridge IGCSE Maths 0580. IGCSE Maths is the course home: every area and every topic in Cambridge's own order, the papers you sit and what each one tests, and the exam-practice tools. The full topic list, with each topic linked to its revision page, is on the IGCSE Maths syllabus page.