DoAssignment.ca

G10 · Solve problems using slope, distance, and midpoint

Learn to solve problems using slope, distance, and midpoint through clear examples and targeted practice.

Ontario Grade 10 Mathematics

Analytic Geometry

Use coordinates to describe direction, length, and the point halfway between two locations.

A coordinate grid lets us describe where points are and how they are related. You already know how to plot points using an ordered pair: the first number tells the horizontal position, and the second tells the vertical position. In this lesson, you will use those coordinates to answer three different questions. How steep is the segment between two points? How long is it? Where is its halfway point? Each question uses the same two endpoints, but a different calculation.

What you will learn

1. From coordinate changes to slope

An ordered pair is written as (x,y)(x,y). The xx-coordinate tells how far left or right a point is. The yy-coordinate tells how far down or up it is. For example, moving from (1,2)(1,2) to (4,6)(4,6) means moving 33 units right and 44 units up.
Slope describes how much a line rises or falls as it moves horizontally. To calculate it, compare the vertical change with the horizontal change. The change in yy is often called the rise. The change in xx is often called the run. Always subtract the coordinates in the same order: if you subtract the first point's xx-coordinate from the second point's, do the same for the yy-coordinates.
A positive slope means the line rises as you move from left to right. A negative slope means it falls. A horizontal segment has slope 00, because its vertical change is 00. A vertical segment has no defined slope: its horizontal change is 00, so the slope calculation would require division by zero.
Slope can help solve practical coordinate problems. For example, if two locations are on a straight path, slope can describe how much the path rises for each unit of horizontal travel. A steep path has a greater slope magnitude than a shallow path; the magnitude means the distance of the slope value from zero.
m=y2−y1x2−x1m=\frac{y_2-y_1}{x_2-x_1}

2. Distance between two points

Distance answers a different question from slope. It tells the straight-line length of the segment joining two points. If the segment is horizontal or vertical, its length is the change in the coordinate that moves. For a diagonal segment, use the horizontal and vertical changes as the sides of a right triangle.
The Pythagorean relationship says that for a right triangle, the square of the longest side equals the sum of the squares of the other two sides. The diagonal between the points is the longest side of this right triangle. Using the coordinate changes gives the distance formula. The square root makes the answer a length rather than a squared length.
For instance, the points (1,2)(1,2) and (4,6)(4,6) differ by 33 horizontally and 44 vertically. Their connecting segment has length 55, since 32+42=253^2+4^2=25 and the square root of 2525 is 55. Distance is never negative, even when a coordinate change is negative, because the changes are squared.
Use the distance formula when a problem asks how far apart points are, how long a segment is, or whether two segments have equal lengths. Keep the point order consistent in both coordinate differences. Reversing the order changes both signs, but the squared values—and therefore the distance—stay the same.
d=(x2−x1)2+(y2−y1)2d=\sqrt{(x_2-x_1)^2+(y_2-y_1)^2}

3. Midpoint and choosing a method

The midpoint is the point exactly halfway between two endpoints of a segment. To find it, average the xx-coordinates to get the midpoint's horizontal position, then average the yy-coordinates to get its vertical position. Averaging means adding two values and dividing by 22.
Suppose one endpoint has xx-coordinate 22 and the other has xx-coordinate 88. Halfway between them is 55. The same idea works for the yy-coordinates. The result is a point, so write it as an ordered pair.
The three methods answer distinct questions. Use slope for steepness or a rate of vertical change per horizontal change. Use distance for straight-line length. Use midpoint for the halfway location. A problem may ask for more than one of these, so identify what the question is asking before calculating.
A useful way to check a midpoint is to see whether its coordinates lie between the corresponding endpoint coordinates. A useful check for distance is that the answer is non-negative. For slope, check whether the sign matches the line's direction: rising to the right gives a positive slope, and falling to the right gives a negative slope.
M=(x1+x22,y1+y22)M=\left(\frac{x_1+x_2}{2},\frac{y_1+y_2}{2}\right)

4. Guided example and independent practice

Work through the example by first identifying what information is given and what each requested quantity means. Use the same endpoints throughout. The slope describes the segment's direction and steepness, the distance gives its length, and the midpoint gives its halfway location.
After the example, try the questions in the quick check without looking at the answers first. For each one, decide whether it asks for slope, distance, or midpoint. Then select the matching rule and substitute carefully.

What each coordinate method tells you

QuestionUseWhat the answer represents
How steep is the segment?SlopeVertical change for each horizontal change
How long is the segment?DistanceStraight-line length
Where is the halfway point?MidpointA coordinate pair between the endpoints

Worked example

Three measurements from the same endpoints

Points A(2,1)A(2,1) and B(8,9)B(8,9) are endpoints of a segment. Find its slope, its length, and its midpoint.
  1. Find the coordinate changes
    Use AA as the first point and BB as the second point. The horizontal change is 8−2=68-2=6, and the vertical change is 9−1=89-1=8. Keeping the order consistent helps prevent sign errors.
    Δx=6,Δy=8\Delta x=6,\quad \Delta y=8
  2. Calculate the slope
    Divide the vertical change by the horizontal change. Both changes are positive, so the segment rises as it moves to the right.
    m=86=43m=\frac{8}{6}=\frac{4}{3}
  3. Calculate the length
    Square both coordinate changes, add them, and take the square root. The result is the straight-line distance between the endpoints.
    d=62+82=100=10d=\sqrt{6^2+8^2}=\sqrt{100}=10
  4. Find the midpoint
    Average the two xx-coordinates and average the two yy-coordinates. This gives the point halfway along the segment.
    M=(2+82,1+92)=(5,5)M=\left(\frac{2+8}{2},\frac{1+9}{2}\right)=(5,5)
Answer: The slope is 43\frac{4}{3}, the length is 1010 units, and the midpoint is (5,5)(5,5).
Check: The midpoint coordinates are halfway between the corresponding endpoint coordinates. Also, the segment rises to the right, which agrees with its positive slope.

Common mistakes and how to avoid them

Subtracting the xx-coordinates in one order and the yy-coordinates in the opposite order when finding slope.
Correction: Choose an endpoint order and use it for both differences. For example, calculate second point minus first point for both coordinates.
Calling the slope of a vertical segment zero.
Correction: A horizontal segment has slope zero. A vertical segment has no defined slope because its horizontal change is zero.
Stopping at the sum of the squared coordinate changes when finding distance.
Correction: Take the square root after adding the squares. The distance is a length, not the squared length.
Adding the endpoint coordinates without dividing by two when finding a midpoint.
Correction: Average each pair of matching coordinates by dividing its sum by two.

Lesson summary

Check your understanding

Question 1

What is the slope between (1,2)(1,2) and (5,10)(5,10)?
  1. 22
  2. 12\frac{1}{2}
  3. 88
  4. Undefined
Show answer and explanation
22
The vertical change is 10−2=810-2=8 and the horizontal change is 5−1=45-1=4. Their ratio is 8/4=28/4=2.

Question 2

What is the distance between (0,0)(0,0) and (5,12)(5,12)?
  1. 77 units
  2. 1313 units
  3. 1717 units
  4. 169169 units
Show answer and explanation
1313 units
The distance is 52+122=169=13\sqrt{5^2+12^2}=\sqrt{169}=13 units.

Question 3

What is the midpoint of (−2,4)(-2,4) and (6,8)(6,8)?
  1. (2,6)(2,6)
  2. (4,12)(4,12)
  3. (2,4)(2,4)
  4. (4,6)(4,6)
Show answer and explanation
(2,6)(2,6)
The averages are (−2+6)/2=2(-2+6)/2=2 and (4+8)/2=6(4+8)/2=6, so the midpoint is (2,6)(2,6).

Key terms

Coordinate
A number that gives a point's position along one direction on a coordinate grid.
Slope
A measure comparing the vertical change of a segment with its horizontal change.
Distance
The straight-line length between two points.
Midpoint
The point exactly halfway between two endpoints.
Endpoint
One of the two points at the ends of a segment.

Continue through MPM2D

View the complete MPM2D Ontario Grade 10 Mathematics curriculum and lessons

About this lesson

Published by DoAssignment. This AI-assisted lesson follows Ontario Grade 10 Mathematics (MPM2D), study topic G10. It is a study resource, not an official curriculum publication.

Official curriculum reference

Report a correction or ask a question