How do we find the length, midpoint and gradient of a line segment between two points?
Calculate the distance between two points, the midpoint of a segment, and the gradient, and apply them to geometric problems
A focused answer to the O-Level E-Maths outcome on distance, midpoint and gradient. The distance formula from Pythagoras, the midpoint formula, the gradient between two points, and their use in geometry.
Reviewed by: AI editorial process; not yet individually human-reviewed
Have a quick question? Jump to the Q&A page
Jump to a section
What this dot point is asking
SEAB wants you to find the distance between two points, the midpoint of the segment joining them, and the gradient of that segment, and to apply these in geometric problems such as showing a shape's properties. These three formulas turn coordinates into lengths, centres and slopes.
The answer
The distance between two points
The distance comes from Pythagoras theorem applied to the horizontal and vertical gaps:
Because the differences are squared, the order of subtraction does not matter for distance.
The midpoint
The midpoint of the segment joining and is the average of the coordinates:
It lies exactly halfway between the two points.
The gradient
The gradient of the segment is the change in over the change in :
Unlike distance, the order matters here: subtract the coordinates in the same order on top and bottom.
Applying them together
Used together, these formulas verify geometric facts: equal distances show equal sides, equal midpoints show diagonals that bisect each other, and gradient relationships show parallel or perpendicular sides. This is how coordinate geometry proves shapes are squares, parallelograms or right-angled.
Classifying a triangle from its coordinates
Combining the three formulas lets you classify a triangle given its vertices. Compute the three side lengths with the distance formula: all three equal means equilateral, exactly two equal means isosceles, and all different means scalene. To test for a right angle, check whether the gradients of two sides multiply to , or equivalently whether the side lengths satisfy Pythagoras. So a triangle with sides , and is isosceles, and because , it is also right-angled. Using distance for the sides and gradient (or Pythagoras) for the angles turns a coordinate triangle into a fully classified shape.
Working backwards from a midpoint
A common twist gives you one endpoint and the midpoint, and asks for the other endpoint. Because the midpoint is the average of the endpoints, you rearrange: if is the midpoint of and , then . So if and the midpoint is , then . Doubling the midpoint and subtracting the known endpoint reverses the averaging, a neat application of the midpoint formula that appears often in E-Maths problems.
Examples in context
Example 1. Proving a parallelogram. Showing that the diagonals of a quadrilateral share the same midpoint proves it is a parallelogram, because the diagonals of a parallelogram bisect each other. The midpoint formula does the work.
Example 2. The centre of a circle. Given the endpoints of a diameter, the midpoint formula finds the centre of the circle, and the distance formula gives the radius. Two coordinate formulas locate the whole circle.
Try this
Q1. Find the distance between and . [2 marks]
- Cue. .
Q2. Find the midpoint of the segment joining and . [1 mark]
- Cue. .
Q3. Find the gradient of the segment joining and . [2 marks]
- Cue. .
Exam-style practice questions
Practice questions written in the style of SEAB exam questions on this dot point, with worked answer explainers. The year tag is the paper they imitate, not the source.
Original3 marksFind the distance between the points and .Show worked answer β
Use the distance formula .
.
The distance is units.
Markers reward the differences in and , squaring and adding, and the square root giving .
Original4 marksThe points and are given. Find (a) the midpoint of and (b) the gradient of .Show worked answer β
(a) Midpoint .
(b) Gradient .
Markers reward averaging the coordinates for the midpoint, and the change in over the change in for the gradient.
Related dot points
- Find the equation of a straight line from given conditions, and use gradients to test for parallel and perpendicular lines
A focused answer to the O-Level E-Maths outcome on the straight line in coordinate geometry. Finding a line's equation from points or a point and gradient, and the gradient conditions for parallel and perpendicular lines.
- Represent vectors in column form, add and subtract them and multiply by a scalar, and find the magnitude of a vector
A focused answer to the O-Level E-Maths outcome on two-dimensional vectors. Column-vector notation, addition and subtraction, scalar multiplication, and the magnitude of a vector.
- Use position vectors and the relationship between points to express vectors, and apply parallel and ratio properties in geometry
A focused answer to the O-Level E-Maths outcome on vector geometry. Position vectors, expressing one vector via a route through others, the parallel condition, and using vectors to prove collinearity and ratios.
- Apply Pythagoras theorem to find an unknown side in a right-angled triangle and to test whether a triangle is right-angled
A focused answer to the O-Level E-Maths outcome on Pythagoras theorem. The relationship between the hypotenuse and the other two sides, finding a missing side, the converse test, and applications.