Find a course

Module 1: Limits and ContinuityLesson 1 of 1212 min

From Average to Instantaneous Rates

Compute average rates of change as secant slopes, then shrink the interval to estimate an instantaneous rate, the problem that leads to limits.

Step 1 of 11Learn

What does the speedometer know?

You drive 120 miles in 2 hours. Your average speed is 120/2 = 60 mph. Easy. But during the trip your speedometer showed 0 at red lights, 72 on the highway and 35 through town. Each of those readings is a speed at one instant.

Here's the puzzle that launched calculus. Speed is distance divided by time. At a single instant, no time passes and no distance is covered, so the formula gives 0/0, which is meaningless. Yet the speedometer clearly shows a number. What is it measuring?

Isaac Newton and Gottfried Leibniz, working separately in the late 1600s, both found the answer: look at the average speed over shorter and shorter time intervals and see what number those averages approach. That approached value is the instantaneous speed. The idea of "the value approached" is called a limit, and the instantaneous rate it produces is the derivative.

Everything in this course grows from that idea. Velocity is the instantaneous rate of change of position. Marginal cost is the instantaneous rate of change of cost. The slope of a curve at a point is the instantaneous rate of change of y with respect to x.

We'll start with the part you already know how to do: average rates of change.

Step 2 of 11Learn

Average rate of change = slope of a secant

For any function f, the average rate of change over the interval from x = a to x = b is

(f(b) − f(a)) / (b − a)

It's the change in output divided by the change in input. Geometrically, it's the slope of the secant line through the points (a, f(a)) and (b, f(b)) on the graph.

Example. A ball dropped from a tall building falls s(t) = 16t² feet in t seconds. Its average velocity between t = 1 and t = 3 is

(s(3) − s(1)) / (3 − 1) = (144 − 16) / 2 = 64 ft/s

Over that interval, the ball covered 128 feet in 2 seconds. But it wasn't moving at 64 ft/s the whole time. It was speeding up: slower near t = 1, faster near t = 3.

The units of an average rate are always (output units) per (input unit): feet per second, dollars per item, degrees per hour. Keep track of them; they tell you what the number means.

A common slip is computing f(b) − f(a) and forgetting to divide by b − a. The average rate is a ratio of two changes, not just the change in output.

A curve with a secant line through two points and a tangent line touching it at one point; as the second point slides toward the first, the secant turns into the tangentPQsecant PQtangent at P

Step 3 of 11Practice · Work it out

What is the average rate of change of f(x) = x² + 1 on the interval [1, 4]?

Step 4 of 11Learn

Shrinking the interval

What is the ball's velocity at exactly t = 2 seconds? Compute average velocities over shorter and shorter intervals starting at t = 2:

IntervalAverage velocity (ft/s)
[2, 3](144 − 64)/1 = 80
[2, 2.1](70.56 − 64)/0.1 = 65.6
[2, 2.01](64.6416 − 64)/0.01 = 64.16
[2, 2.001](64.064016 − 64)/0.001 = 64.016

The averages are closing in on 64 ft/s. Intervals that end just before t = 2, like [1.999, 2], give 63.984, approaching 64 from below.

We can see why with algebra. Over the interval [2, 2 + h], the average velocity is

(16(2 + h)² − 64) / h = (64 + 64h + 16h² − 64) / h = (64h + 16h²)/h = 64 + 16h

As h shrinks toward 0, 64 + 16h gets as close to 64 as we like. We can't plug in h = 0 at the start (that's the 0/0 problem), but after simplifying, the answer is clear: the instantaneous velocity at t = 2 is 64 ft/s.

That process, simplify then let h approach 0, is exactly what the derivative formalizes in Module 2.

Step 5 of 11Explore

Secant slopes as the interval shrinks

For the falling ball s(t) = 16t², the graph shows the average velocity over [a, a + h] plotted against h. Watch the curve as h approaches 0 from either side: it heads straight for one value, the instantaneous velocity 32a, even though h = 0 itself is undefined.

050100150200 -1-0.500.51
Average velocity with h = 0.1
65.6 ft/s
Average velocity with h = 0.001
64.016 ft/s
Instantaneous velocity 32a
64 ft/s

Step 6 of 11Practice · Choose one

A runner's position is recorded every second. Which quantity can be found directly from just two of those readings, without calculus?

Step 7 of 11Learn

From secant lines to the tangent line

Every average rate of change is the slope of a secant line through two points on the graph. As the second point slides toward the first, the secant line pivots and settles into a single line that just touches the curve at the first point: the tangent line.

So the instantaneous rate of change at a point and the slope of the tangent line at that point are the same thing. This links the two original problems of calculus:

  1. The velocity problem (physics): how fast is something changing at an instant?
  2. The tangent problem (geometry): what is the slope of a curve at a point?

Both reduce to the same computation: the limit of secant slopes.

The tangent line also gives a useful picture of what "slope at a point" means. Zoom in far enough on a smooth curve, and it looks almost straight; the straight line it resembles is the tangent line. On the graph of s(t) = 16t², if you zoom in around t = 2, the curve looks like a line with slope 64.

What's missing is a precise meaning for "approaches." That's the job of the next two lessons on limits. Once limits are solid, the derivative will take just one line to define.

Step 8 of 11Practice · Diagram

From an average rate to an instantaneous rate

Which step needs a limit, not just arithmetic on two readings?

Tap the shape that answers the question, then press Check.

From an average rate to an instantaneous rateProcess diagram: Two points on the graph → Secant slope → Let h → 0 → Tangent slope → Instantaneous rate.Two points on thegraphSecant slopeLet h → 0Tangent slopeInstantaneous rate
Two points on the graph

For example (2, f(2)) and (2 + h, f(2 + h)).

Secant slope

Average rate of change: (f(2 + h) − f(2)) / h.

Let h → 0

The second point slides toward the first and the secant pivots.

Tangent slope

The limiting line that just touches the curve at the point.

Instantaneous rate

The number the speedometer shows: the derivative.

Step 9 of 11Practice · True or false

If a car's average velocity over the interval from t = 0 to t = 4 hours is 30 mph, then its velocity was exactly 30 mph at every moment of that interval.

Step 10 of 11Note

Step 11 of 11Practice · Work it out

For f(x) = x³, compute the average rate of change over [2, 2.1]. Give your answer to two decimal places.