On a distance-time graph, time goes on the horizontal axis and distance goes on the vertical axis. For a straight segment, its slope gives speed when distance is increasing: change in distance divided by change in time. A flat segment means the object is stopped. A steeper straight segment means faster movement.
First read the vertical-axis label. If it says distance from home, a downward segment means the traveler is returning toward home, not traveling a “negative distance.” If it says total distance traveled, that value cannot go down. This difference is crucial for return-trip questions.
Read the original graph
The cover graph shows a walk with these plotted points. Distances are measured from home.
| Time (minutes) | Distance from home (meters) | What happens next |
|---|---|---|
| 0 | 0 | Walk away from home |
| 4 | 400 | Stop for 2 minutes |
| 6 | 400 | Walk back toward home |
| 10 | 0 | Arrive home |
From 0 to 4 minutes, the slope is . From 4 to 6 minutes, the slope is 0. From 6 to 10 minutes, the slope is . The minus sign describes the change in distance from home; the travel speed on that segment is .
Example 1: speed on one segment
Problem: A distance-time graph rises from 120 m at 2 s to 300 m at 8 s. What is the speed on that straight segment?
Answer: 30 m/s. Use the difference between the two graph points. Dividing would assume the segment started at the origin, which it did not.
Example 2: the stop and whole-trip average
Problem: For the cover graph, how long is the stop? What is the average speed for the entire trip?
The distance stays at 400 m from minute 4 to minute 6, so the stop lasts 2 minutes. The walker covers 400 m out and 400 m back: 800 m total. The entire trip lasts 10 minutes, including the stop. Therefore
Answer: 80 m/min, or about . Using the final distance from home (0 m) as the total distance traveled would wrongly give zero average speed. The OpenStax treatment of average speed and velocity distinguishes distance traveled from displacement.
Example 3: compare two slopes
Problem: Runner A covers 600 m in 3 minutes at a constant rate. Runner B covers 900 m in 6 minutes at a constant rate. Which line is steeper on the same axes?
Runner A's slope is . Runner B's is . Runner A's line is steeper and A is faster, even though B covers more distance overall. The axes must use the same scale before you compare the appearance of two lines.
Example 4: convert units before finding speed
Problem: A straight line rises by 3 km over 30 minutes. Give the speed in km/h.
Thirty minutes is hours. Thus . Answer: 6 km/h. Dividing by 30 would produce ; that value is equivalent, but it is not in the requested unit.
Distance-time or velocity-time?
| Graph | Straight-line slope means | Area under the line means |
|---|---|---|
| Distance versus time | Rate of change of distance; for a return trip, check the axis definition | No standard distance interpretation |
| Velocity versus time | Acceleration | Signed displacement |
Do not apply the “area under the graph” rule from a velocity-time graph to a distance-time graph. Our kinematics equations guide helps when a problem gives acceleration instead of a graph. A physics problem-solving guide shows how to list known quantities before choosing an equation.
Quick practice with answers
A. A straight segment goes from (1 s, 5 m) to (5 s, 25 m). Answer: .
B. Distance from home stays at 2 km between 12:10 and 12:25. Answer: A 15-minute stop.
C. A cyclist rides 5 km out and 5 km back in 1 hour. Answer: Average speed is 10 km/h; final distance from home is 0 km.
The [Physics Classroom's slope lesson notes] give further practice with position-time graphs; check the different vertical-axis label before applying them here. When checking a graph from a screenshot with SolveTap's Physics Problem Solver, verify the axis label, units, and interval endpoints before trusting a calculated slope.

