Coordinate geometry: gradient, midpoint and distance
Finding the gradient of a line segment, the midpoint of an interval, and the distance between two points on the Cartesian plane
About three lessons of 45 to 60 minutes
Three numbers, one line segment's whole story
Give two points on a map, say a school and a park, and you can answer three different questions using three different formulas: how STEEP is the direct path between them (the gradient), where is the EXACT MIDDLE of that path (the midpoint), and how FAR apart are they in a straight line (the distance)? Each formula uses only the two points' coordinates, no measuring tape required.
These three numbers connect: the gradient tells you the DIRECTION of a line segment, the midpoint tells you its CENTRE, and the distance (built directly from the Pythagorean theorem) tells you its LENGTH. Together, they describe any line segment on the Cartesian plane completely, using nothing but arithmetic.
- Two towns on a map gridgradient shows direction of travel, distance shows how far apart, as the crow flies
- Placing a relay tower exactly between two transmittersthe midpoint formula finds the exact halfway point
- Checking if a ramp's slope meets a safety rulethe gradient between the ramp's ends must not exceed a maximum
- Testing if a triangle is isosceles from its coordinatescompare the three side lengths using the distance formula
What students will be able to do
Students will find the gradient of a line segment joining two points, find the midpoint of a line interval joining two points, find the distance between two points using the Pythagorean theorem, and apply all three to interpret and solve coordinate geometry problems.
- I can find the gradient of a line segment between two points using m = (y2 - y1) / (x2 - x1).
- I can find the midpoint of an interval between two points by averaging their x-coordinates and averaging their y-coordinates.
- I can find the distance between two points by treating the segment as the hypotenuse of a right triangle and applying the Pythagorean theorem.
- I can use gradient, midpoint or distance together to solve a coordinate geometry problem, such as testing whether three points are collinear or a triangle is isosceles.
Standards this unit teaches
- AC9M9A03Australian Curriculum v9 (ACARA)Gradient, midpoint and distance
Find the gradient of a line segment, the midpoint of the line interval and the distance between 2 distinct points on the Cartesian plane.
Prior knowledge
This unit builds on skills students should already have met. Revisit any that are shaky first.
- Year 9 Pythagoras & trigonometry teaching unitthe distance formula is the Pythagorean theorem applied to a horizontal and a vertical leg
- Grade 8 linear functions teaching unitslope as rise over run is the same idea as gradient here, applied to any two points
- Coordinate plane worksheetsplotting and reading (x, y) points, the foundation every formula here relies on
Words to teach and display
- Gradient
- a measure of a line segment's steepness and direction, calculated as rise over run between two points
- Midpoint
- the point exactly halfway between two given points along the segment joining them
- Interval (line interval)
- a straight line segment joining two specific points, with a definite start and end
- Distance formula
- a formula for the straight-line distance between two points, derived directly from the Pythagorean theorem
- Collinear
- three or more points that all lie on the same straight line
Teach it: concrete, pictorial, abstract
The lesson moves from things students can hold, to pictures and diagrams, to the written maths. The diagrams below are drawn from data, so they are accurate and print cleanly. Teach straight from them.
1. Gradient of a line segment
ConcreteThe gradient of a line segment measures its steepness and direction: how much y changes for every unit change in x, the same rise-over-run idea used for the slope of a line, now applied to any two labelled points.
For two points (x1, y1) and (x2, y2), the gradient is m = (y2 - y1) / (x2 - x1), the change in y (rise) divided by the change in x (run). A positive gradient rises left to right; a negative gradient falls left to right.
Find the gradient of the line segment joining (1, 2) and (7, 5).
- Identify the two points: (x1,y1) = (1,2), (x2,y2) = (7,5).
- Apply the formula: m = (y2 - y1)/(x2 - x1) = (5 - 2)/(7 - 1).
- Simplify: m = 3/6 = 1/2.
Answer: The gradient is 1/2.
- What do the numerator and denominator of the gradient formula each represent?
- If two points have the same y-coordinate, what is the gradient of the segment between them, and why?
2. Midpoint of an interval
PictorialThe midpoint of an interval is the single point exactly halfway between its two endpoints. Since 'halfway' means halfway in BOTH the x-direction and the y-direction, the midpoint's coordinates are simply the AVERAGE of the two endpoints' x-coordinates, and the average of their y-coordinates.
For (x1,y1) and (x2,y2), the midpoint is ((x1+x2)/2, (y1+y2)/2). For (2, 3) and (8, 11): the midpoint is ((2+8)/2, (3+11)/2) = (5, 7).
Find the midpoint of the interval joining (-4, 6) and (10, -2).
- Average the x-coordinates: (-4 + 10)/2 = 6/2 = 3.
- Average the y-coordinates: (6 + (-2))/2 = 4/2 = 2.
Answer: The midpoint is (3, 2).
- Why does averaging each coordinate separately find the point 'exactly halfway'?
- If a midpoint is (4, 4) and one endpoint is (0, 0), what is the other endpoint?
3. Distance between two points
PictorialThe distance between two points is the length of the straight segment joining them, found by treating that segment as the HYPOTENUSE of a right triangle, with horizontal and vertical legs equal to the change in x and the change in y.
For (1, 1) and (4, 5): the horizontal leg is 4 - 1 = 3, and the vertical leg is 5 - 1 = 4. By the Pythagorean theorem, the distance is sqrt(3^2 + 4^2) = sqrt(9+16) = sqrt(25) = 5.
Find the distance between (2, 3) and (7, 15).
- Find the horizontal leg: 7 - 2 = 5.
- Find the vertical leg: 15 - 3 = 12.
- Apply the Pythagorean theorem: distance = sqrt(5^2 + 12^2) = sqrt(25 + 144) = sqrt(169).
- Simplify: sqrt(169) = 13.
Answer: The distance is 13 units.
- Why is the segment between two points treated as the HYPOTENUSE of a right triangle?
- Does the order you subtract the coordinates in matter for the final distance? Why or why not (think about squaring)?
4. Using gradient, midpoint and distance together
AbstractReal coordinate geometry problems often combine all three formulas. Three points are collinear (lie on the same line) if the gradient between the first two matches the gradient between the last two. A triangle is isosceles if two of its three side lengths (found with the distance formula) are equal.
Points A(1, 1), B(3, 5) and C(5, 9): gradient AB = (5-1)/(3-1) = 4/2 = 2. Gradient BC = (9-5)/(5-3) = 4/2 = 2. Since both gradients equal 2, A, B and C are collinear.
Triangle has vertices P(0, 0), Q(4, 0) and R(2, 3). Use the distance formula to determine whether the triangle is isosceles.
- Find PQ: distance from (0,0) to (4,0) = sqrt((4-0)^2 + (0-0)^2) = sqrt(16) = 4.
- Find PR: distance from (0,0) to (2,3) = sqrt((2-0)^2 + (3-0)^2) = sqrt(4+9) = sqrt(13).
- Find QR: distance from (4,0) to (2,3) = sqrt((2-4)^2 + (3-0)^2) = sqrt(4+9) = sqrt(13).
- Compare: PR = QR = sqrt(13), while PQ = 4 is different.
Answer: The triangle IS isosceles, because two of its sides (PR and QR) are equal in length (both sqrt(13)).
- What condition on gradients tells you three points are collinear?
- What condition on side lengths tells you a triangle is isosceles rather than scalene?
Common misconceptions and how to address them
MisconceptionThe gradient formula can subtract the coordinates in either order, mixing x and y from different points.
Why it happens: Students sometimes compute (y2-y1)/(x1-x2), or mix up which point is 1 and which is 2 between the numerator and denominator inconsistently.
How to address it: Pick point 1 and point 2 ONCE, then use them consistently: (y2-y1) on top, (x2-x1) on bottom, both subtracted in the SAME order. Swapping the order in only one part of the fraction flips the sign incorrectly.
MisconceptionThe midpoint formula finds a single average distance, not two separate coordinates.
Why it happens: Students try to average x and y together instead of finding the average x and average y separately.
How to address it: The midpoint has its OWN x-coordinate (the average of the two x's) and its OWN y-coordinate (the average of the two y's); they are calculated completely separately, then written as one point.
MisconceptionDistance can be found by just subtracting one coordinate from the other, without using both legs.
Why it happens: Students subtract only the x-values or only the y-values, treating distance as if the points differ in only one direction.
How to address it: Unless two points share an x- or y-coordinate exactly, the distance between them depends on BOTH the horizontal and vertical change, combined using the Pythagorean theorem, not either change alone.
MisconceptionA negative gradient means the segment is a smaller number, not a downward direction.
Why it happens: Students read the sign of the gradient as being about size rather than direction.
How to address it: The SIGN of a gradient shows direction (positive rises left to right, negative falls left to right); its SIZE shows steepness. A gradient of -5 is a steep DOWNWARD line, not a 'small' one.
Guided practice (with answers)
1. Find the gradient of the segment joining (2, 5) and (6, 13).
Answer: 2, because (13-5)/(6-2) = 8/4 = 2.
2. Find the midpoint of (0, 0) and (12, 8).
Answer: (6, 4), because ((0+12)/2, (0+8)/2) = (6, 4).
3. Find the distance between (0, 0) and (6, 8).
Answer: 10, because sqrt(6^2+8^2) = sqrt(36+64) = sqrt(100) = 10, a 6-8-10 triple.
4. Points A(1, 2), B(4, 8) and C(6, 12). Are A, B and C collinear?
Answer: Yes, because gradient AB = (8-2)/(4-1) = 6/3 = 2, and gradient BC = (12-8)/(6-4) = 4/2 = 2, the same gradient, so all three lie on one line.
5. Find the distance between (-3, 2) and (1, -1).
Answer: 5, because sqrt((1-(-3))^2 + (-1-2)^2) = sqrt(4^2 + (-3)^2) = sqrt(16+9) = sqrt(25) = 5.
Independent practice worksheets
Practise gradient, midpoint and distance with computed, never-wrong answer keys.
Differentiation
- Provide the gradient/midpoint/distance formulas as a visible reference card until they are memorised.
- Use only positive-coordinate points at first, before introducing negative coordinates.
- Colour-code (x1,y1) and (x2,y2) consistently in every problem so the subtraction order stays clear.
- For distance, always sketch the horizontal and vertical legs first (as in the right-triangle figure) before applying the formula, so the Pythagorean connection stays visible.
- Given a midpoint and one endpoint, work backward to find the other endpoint.
- Use gradients to test whether two line segments are parallel (equal gradients), introduced as an extension.
- Classify a triangle (scalene, isosceles, equilateral) purely from its vertices' coordinates using the distance formula.
- Investigate what happens to the gradient formula when two points share the same x-coordinate (a vertical segment).
Assessment: exit ticket
A three-question exit ticket sampling gradient, midpoint and distance.
1. Find the gradient of the segment joining (3, 1) and (9, 13).
Answer: 2, because (13-1)/(9-3) = 12/6 = 2.
2. Find the midpoint of (-2, 5) and (8, -1).
Answer: (3, 2), because ((-2+8)/2, (5+(-1))/2) = (3, 2).
3. Find the distance between (1, 1) and (5, 4).
Answer: 5, because sqrt((5-1)^2+(4-1)^2) = sqrt(16+9) = sqrt(25) = 5.
Teacher notes and timings
- Rough timing across three lessons: Lesson 1 gradient (section 1), Lesson 2 midpoint (section 2), Lesson 3 distance plus applying all three together and the exit ticket (sections 3-4 and assessment).
- This unit assumes comfort with the Pythagorean theorem (Year 9 Pythagoras & trigonometry unit) and with slope as rise over run (Grade 8 linear functions unit); it applies both to any two labelled points rather than a line's graph.
- Curriculum note: AC9M9A03 (Australian Curriculum v9) bundles all three skills, gradient, midpoint and distance, into one Year 9 descriptor. There is no single matching US Common Core code (the closest, 8.G.B.8, covers only the distance half at Grade 8 and is not yet in this site's own standards list), so this unit is deliberately ACARA-only rather than link to a page that would not resolve.
- The rightTriangle figure in section 3 always derives its hypotenuse label from the two given legs (never a caller-supplied number), so the 3-4-5 and 5-12-13 triples used throughout this unit are guaranteed internally consistent.
- Present and print both work: use the Print button for a clean handout, or build the coordinate figures live, plotting each point with the class before applying a formula.