Introduction
Calculus answers two questions about anything that changes: how much has built up, and how fast is it changing right now? This worked example answers both for one car, using nothing but a table of numbers and arithmetic. First you'll estimate the distance the car travels from its speeds. Then you'll run the reasoning backward and recover its speed from its distances.
The Problem
A car starts from rest and speeds up steadily. Its speed is recorded once a second for five seconds:
| Time (s) | 0 | 1 | 2 | 3 | 4 | 5 |
|---|
| Speed (m/s) | 0 | 2 | 4 | 6 | 8 | 10 |
Two questions:
- How far does the car travel in the five seconds?
- Working from the distances alone, can you recover the car's speed at the instant t = 3 seconds, where t stands for time?
The table gives speeds only at whole seconds. Between readings the speed keeps changing, so neither question can be answered by one multiplication.
Working It Through
Step 1: Estimate the distance using the speed at the start of each second
Over a short stretch of time, distance is about speed times time. Each stretch here is 1 second long. If you assume the car holds the speed it had at the start of each second, the five seconds contribute:
0 \times 1 + 2 \times 1 + 4 \times 1 + 6 \times 1 + 8 \times 1 = 20
That gives 20 meters. This is a rectangle approximation: on a graph of speed against time, each term is the area of a rectangle 1 second wide and as tall as the starting speed. The car was speeding up during every second, so its true speed was always at least the starting value. The estimate of 20 meters is too low.
Step 2: Estimate the distance using the speed at the end of each second
Now assume the car holds the speed it reaches at the end of each second:
2 \times 1 + 4 \times 1 + 6 \times 1 + 8 \times 1 + 10 \times 1 = 30
That gives 30 meters. During each second the car was never going faster than its end speed, so this estimate is too high. The true distance is squeezed between the two: at least 20 meters and at most 30 meters.
Figure: A graph of speed (vertical axis, 0 to 10 m/s) against time (horizontal axis, 0 to 5 s), showing a straight line rising from 0 to 10. Five rectangles, each 1 second wide, sit under the line with their tops at the speed at the start of each second (total area 20). Five more rectangles, drawn in a second color, rise above the line with their tops at the speed at the end of each second (total area 30). Alt text: A rising speed line with one set of rectangles fitting below it and another set poking above it, showing the low and high estimates of distance.
Step 3: Average the two estimates
The average of the low and high estimates is (20 + 30) \div 2 = 25 meters. Here that average is exact, not just a better guess.
The reason is the shape of the graph. The speed rises at a steady rate, so its graph is a straight line from 0 to 10 meters per second. In each second, the low rectangle misses a small triangle above it, and the high rectangle overshoots by a triangle of the same size. Averaging the two cancels the error. The area under the line is also a triangle with base 5 and height 10, whose area is \tfrac12 \times 5 \times 10 = 25. Both routes give 25 meters.
Step 4: Work backward to the distances
Now turn the problem around. The same reasoning gives the distance covered by the end of each second, as a running total, the sum so far. Over the first second the speed rises from 0 to 2, an average of 1 meter per second, so the car covers 1 meter. Over the first two seconds the average speed is 2, so it covers 4 meters, and so on:
| Time (s) | 0 | 1 | 2 | 3 | 4 | 5 |
|---|
| Distance (m) | 0 | 1 | 4 | 9 | 16 | 25 |
The pattern is that the distance in meters is the square of the time in seconds: d = t^2, where d is distance. That formula lets you find the distance at any moment, not only at whole seconds. At t = 3.1, for instance, d = 3.1^2 = 9.61 meters.
Step 5: Estimate the speed at three seconds from the distances
Pretend you'd lost the speed table and had only the distances. The average speed over an interval is the change in distance divided by the change in time. Start at t = 3 and shrink the interval:
- From 3 to 4 seconds: (16 - 9) \div 1 = 7 meters per second
- From 3 to 3.1 seconds: (9.61 - 9) \div 0.1 = 6.1 meters per second
- From 3 to 3.01 seconds: (9.0601 - 9) \div 0.01 = 6.01 meters per second
The averages approach 6 meters per second. That number, the limit of the average speeds as the interval shrinks, is the instantaneous speed at t = 3. Check it against the original table: at 3 seconds the car's speed was 6 meters per second. The backward route recovered the forward data.
Step 6: Name what happened
You did two things that undo each other. Going forward, you totaled the speeds to get distance: accumulation, which in the limit is the integral. Going backward, you took the rate of change of distance to get speed: the instantaneous rate, which is the derivative. Each operation reversed the other. That is the fundamental theorem of calculus, seen in one small table.
Key Considerations
Why 25 meters is exact here. The average of the two rectangle estimates matched the true distance only because the speed rose at a constant rate, so its graph was a straight line. If the speed graph curves, as it does for a car that speeds up quickly and then levels off, the low and high triangles no longer match. Then the rectangle estimates, and their average, only approximate the distance. Thinner rectangles bring them closer, and the exact answer is the limit they approach.
Which estimate is low and which is high. For a speed that is rising, start-of-interval speeds give a low estimate and end-of-interval speeds give a high one. For a falling speed the roles swap. Always ask which way the rate is moving before you say whether an estimate is high or low.
The common mistake: total distance over total time. It's tempting to say that the car's speed is 25 meters divided by 5 seconds, or 5 meters per second. That's the average speed over the whole trip. It isn't the speed at any particular instant you choose. At t = 3 the car is going 6 meters per second; at t = 1 it's going 2. An instantaneous speed comes only from shrinking the interval around the instant you care about (Strang and Herman 2016a, sec. 3.4).
Measurement error in step 5. Each average in step 5 is exact for this car. With measured data, readings carry small errors, and dividing by a tiny interval magnifies them. In practice, people stop shrinking the interval once the averages settle.
Summary
Totaling the speeds gave the distance, and taking rates of the distances gave the speed back. Here is the full solution, with the check built in:
Part 1: Distance from speed (rectangle estimates)
| Method | Estimate | Verdict |
|---|
| Speed at the start of each second | 20 m | Too low |
| Speed at the end of each second | 30 m | Too high |
| Average of the two | 25 m | Exact, because speed rises at a steady rate |
Part 2: Speed from distance (shrinking intervals at t = 3)
| Interval | Average speed |
|---|
| 3 to 4 s | 7 m/s |
| 3 to 3.1 s | 6.1 m/s |
| 3 to 3.01 s | 6.01 m/s |
| Limit | 6 m/s, matching the speed table |
- Part 1 is accumulation: rate times time, added up, squeezed between a low and a high estimate.
- Part 2 is the instantaneous rate: averages over shrinking intervals, approaching a limit.
- The match between part 2's limit and the original speed table is the check that both parts are right.
References
- Strang, Gilbert, and Edwin "Jed" Herman. 2016a. Calculus Volume 1. Houston, TX: OpenStax. CC BY-NC-SA 4.0.