Distance, Midpoint, and Slope
Use distance, midpoint, and slope formulas to find lengths and points on lines.
Students use midpoint, distance, and slope on the coordinate plane, including finding missing endpoints, locating points on a line with a given slope, and writing distance expressions with variable coordinates.
Lesson plan and worked examples by TEKSForge · not a TEA-issued lesson. Videos by independent educators.
Archived course: TEKS code and readiness label from TEA's 2013 Geometry key. Geometry is not one of Texas's current required STAAR EOC assessments, and this lesson does not change the Biology and Algebra I Study Plans.
Learn the concept
Midpoints average coordinates
The midpoint of the segment from to is . It is the point halfway along the segment in both directions.
Finding a missing endpoint
From the known endpoint to the midpoint, note the horizontal and vertical change. Apply the same change again from the midpoint to reach the other endpoint.
Distance from a right triangle
The distance between two points is . The horizontal and vertical changes are the legs of a right triangle, and the segment is its hypotenuse.
Slope and another point on a line
Slope measures vertical change divided by horizontal change: . Subtract coordinates in the same order. Through with slope , move right 2 and down 3 to reach . More generally, . A vertical line has undefined slope because its horizontal change is zero.
Distance with variable coordinates
Variables work just like numbers in the distance formula. From to , the horizontal change is and the vertical change is . Thus . Keep each entire difference inside parentheses before squaring.
Worked example
Segment AB has endpoint A(−3, 4) and midpoint M(1, 1). Find B and the length of AB.
- From A to M, x changes by +4 and y changes by −3.
- Apply the same change from M: B = (1 + 4, 1 − 3) = (5, −2).
- .
- AB is twice AM.
B(5, −2); AB = 10 units
Watch the lesson
Texas public-school, Texas educator-created, and TEKS-aligned lessons, hosted by their creators. Each card names its source.
Geometry - Using the Midpoint Formula
Five Minute Math · Aaron Daffern, Dallas ISDFind midpoints and missing endpoints with the midpoint formula.
Watch on YouTubeGeometry - Deriving the Distance Formula
Five Minute Math · Aaron Daffern, Dallas ISDDerive the distance formula from the Pythagorean theorem on the coordinate plane.
Watch on YouTubeTry it yourself
TEKSForge practice · unscored
1. Find the midpoint of the segment from (−2, 7) to (6, −1).
Show answer and reasoning
(2, 3)
Average the coordinates: and .
2. Find the distance between (1, 2) and (7, 10).
Show answer and reasoning
10 units
The changes are 6 and 8, so .
3. Find the slope through (2, 7) and (6, 1). Then give another point on that line.
Show answer and reasoning
Slope ; one possible point is .
. From , move right 2 and down 3.
4. Write the distance from to without assigning values to t or w.
Show answer and reasoning
The coordinate changes are and . Square both changes, add, and take the square root.
Released STAAR practice
Texas Education Agency · archived 2013 released EOC items · scored with TEA's answer key; step-by-step explanations written by TEKSForge because this release has no rationales. Original graphs, tables, and diagrams are shown where the released item includes one.
Archived released STAAR Geometry EOC · 2013 · Item 1 · 1 point
has an endpoint at and a midpoint at . Which measure is closest to the length of ?
- 20.4 units
- 8.9 units
- 14.4 units
- 11.7 units
Show STAAR answer and explanation
14.4 units
The other endpoint is . Thus units.
20.4 units: This overestimates the distance. The horizontal and vertical changes between the endpoints are 12 and 8, giving .
8.9 units: This is too short for a segment whose horizontal change alone is 12 units.
11.7 units: This does not equal ; the full length is approximately 14.4 units.
Archived released STAAR Geometry EOC · 2013 · Item 29 · 1 point
The slope of a line passing through is . Which ordered pair represents a point on this line?
- (6, −1)
- (2, 8)
- (−5, 1)
- (1, 1)
Show STAAR answer and explanation
(6, −1)
From (−2, 5) to (6, −1), the changes are 8 horizontally and −6 vertically. The slope is .
(2, 8): The slope to (2, 8) is , with the wrong sign.
(−5, 1): The slope to (−5, 1) is , not −3/4.
(1, 1): The slope to (1, 1) is −4/3, the reciprocal of the required slope.
Archived released STAAR Geometry EOC · 2013 · Item 44 · 1 point
A civil engineer is drawing a plan for the location and length of a new underground sewer pipe on a coordinate grid. The pipe on the plan will run from point to point on the coordinate grid. Which expression represents the shortest distance between and in units?
Show STAAR answer and explanation
The horizontal difference is and the vertical difference is . By the distance formula the length is .
: This mixes x- and y-coordinates and omits the square root.
: This gives squared distance, not distance; take the square root.
: This mixes coordinates from different axes instead of subtracting corresponding coordinates.
Learning objectives
By the end of the lesson, students can:
- Find a midpoint by averaging the endpoint coordinates.
- Use a midpoint and one endpoint to locate the other endpoint.
- Use the distance formula with numerical or variable coordinates to find segment lengths.
- Calculate slope from two points and use a given slope to locate another point on a line.
Instructional sequence
- 1
Engage
5 minPlot a segment and its midpoint. Ask how to find the other end if only one endpoint and the midpoint are known.
- 2
Direct instruction
10 minDerive the midpoint formula as an average and the distance formula from a right triangle drawn on the grid.
- 3
Guided practice
12 minFind midpoints, then use “same change again” to locate missing endpoints.
- 4
Length problems
12 minFind full segment lengths by computing the endpoint-to-endpoint distance or doubling the half-length.
- 5
Slope and variable coordinates
10 minCompute slopes, use rise and run to locate another point, and write distance expressions without assigning values to variables.
- 6
Closure
6 minStudents choose the most efficient path in the exit ticket and explain it.
Misconceptions to address
Teacher move: A midpoint is the average position, so add the coordinates and divide by 2. Subtraction belongs in the distance formula.
Teacher move: That distance is only half of the segment. Double it or find the other endpoint first.
Teacher move: Subtracting a negative adds: . Write the subtraction with parentheses before simplifying.

