Defining Average and Instantaneous Rates of Change at a Point
Why this matters
Imagine you're driving from your home in Dallas to visit a friend in Austin for the weekend. The trip is about 200 miles and takes you 3 hours. If someone asks how fast you were going, you might say, "About 67 miles per hour." But you know that's not the whole story. You weren't going exactly 67 mph the entire time. You were stopped at traffic lights in Waco, you slowed down for construction, and you sped up on the open highway.
Your 67 mph is an average. The number you see when you glance at your speedometer—say, 75 mph as you pass a sign for Baylor University—is your speed at that exact instant.
Calculus gives us the tools to talk about both of these ideas precisely. In this lesson, we'll build the foundation for almost everything we'll do in differentiation by learning how to calculate the "average speed" over an interval and the "instantaneous speed" at a single point.
Concept overview
flowchart TD
A{Rate of Change Problem} --> B{Over an interval?};
A --> C{At a single point?};
B -- Yes --> D[Use Average Rate of Change];
D --> E[Difference Quotient: (f(b)-f(a))/(b-a)];
E --> F[Result: Slope of Secant Line];
C -- Yes --> G[Use Instantaneous Rate of Change];
G --> H[Limit Definition of Derivative: lim h->0 (f(a+h)-f(a))/h];
H --> I[Result: Slope of Tangent Line];
Core explanation
Hello! I'm Saavi, and I'm excited to guide you through one of the most fundamental ideas in all of calculus. Let's get started.
Average Rate of Change: The Big Picture
You already know more about this than you think. Back in Algebra 1, you learned how to find the slope of a line between two points, (x1, y1) and (x2, y2).
Slope = (y2 - y1) / (x2 - x1)
In calculus, we just use function notation. If our points are (a, f(a)) and (x, f(x)), the formula becomes:
Average Rate of Change = (f(x) - f(a)) / (x - a)
This expression is called a difference quotient. It tells you the slope of the secant line—a line that cuts through a curve at two points. Think of it as the average speed of your car between two mile markers.
There's another, very common way to write this. Instead of focusing on the two x-values, a and x, let's focus on the first point a and the distance between them, which we'll call h.
So, the second point isn't x, it's a + h.
- The first point is
(a, f(a)). - The second point is
(a + h, f(a + h)).
Now let's plug that into the slope formula:
Average Rate of Change = (f(a + h) - f(a)) / ((a + h) - a)
Look at the denominator. The a and -a cancel out, leaving just h. This gives us the second, and often more useful, form of the difference quotient:
Average Rate of Change = (f(a + h) - f(a)) / h
Both of these formulas do the exact same thing: they calculate the average rate of change of a function between two points.
Instantaneous Rate of Change: Zooming In
Average rate of change is useful, but it's not the whole story. A baseball pitcher's average pitch speed over a game doesn't tell you the speed of that one perfect 98 mph fastball. We need a way to find the rate of change at a single instant.
This is the big idea of calculus.
Imagine our two points on the graph. The secant line connects them. Now, what happens if we slide the second point closer and closer to the first one? The secant line pivots, getting closer and closer to becoming the tangent line—a line that just skims the curve at that single, first point.
The slope of that tangent line is the instantaneous rate of change. It’s the reading on your speedometer right now.
How do we make the points "get closer" using math? We use a limit!
We take our two difference quotients and ask, "What happens as the distance between the points shrinks to zero?"
In our first formula, (f(x) - f(a)) / (x - a), making the points closer means letting x approach a.
Instantaneous Rate of Change = lim(x→a) (f(x) - f(a)) / (x - a)
In our second formula, (f(a + h) - f(a)) / h, the distance between the points is h. So we make h approach zero.
Instantaneous Rate of Change = lim(h→0) (f(a + h) - f(a)) / h
This is it. This is the core. This limit has a special name: the derivative.
The derivative of a function f at a point a is written as f'(a) (we say "f prime of a"). It tells you the instantaneous rate of change, or the slope of the tangent line, at that exact point.
f'(a) = lim(h→0) (f(a + h) - f(a)) / h
Here’s the key:
- No
limsymbol? You're finding an average rate of change between two separate points. You'll get a number. - See the
limsymbol? You're finding an instantaneous rate of change at a single point. This is the derivative.
Think of it like a camera. The average rate of change is like a long-exposure photo of a highway at night—you see blurry streaks of light over a period of time. The instantaneous rate of change is a super-fast shutter speed photo that freezes a single car in a single moment. Both tell a story, but they describe very different things.
Worked examples
Let's make this concrete. We'll use a simple function, f(x) = x² + 3x, to see these formulas in action.
Average Rate of Change
Problem: Find the average rate of change of f(x) = x² + 3x on the interval [1, 4].
Solution:
This is an "average" problem, so we don't need a limit. We need the slope between the two endpoints of the interval. Here, a = 1 and our second x-value is 4.
- 1Find the y-values (the function's outputs)
f(1) = (1)² + 3(1) = 1 + 3 = 4f(4) = (4)² + 3(4) = 16 + 12 = 28So our two points are(1, 4)and(4, 28).
- 2Apply the slope formulaWe'll use the first difference quotient form,
(f(x) - f(a)) / (x - a). Average Rate of Change =(f(4) - f(1)) / (4 - 1)=(28 - 4) / 3=24 / 3=8
The average rate of change of the function on the interval [1, 4] is 8. This is the slope of the secant line connecting the points (1, 4) and (4, 28).
Instantaneous Rate of Change
Problem: Find the instantaneous rate of change of f(x) = x² + 3x at the point x = 1.
Solution:
This is an "instantaneous" problem, so we need the derivative. We must use the limit definition. We'll use the h→0 form, which is generally more useful for calculations. Here, a = 1.
- 1Set up the limit definition
f'(1) = lim(h→0) (f(1 + h) - f(1)) / h - 2Calculate the piecesWe already know
f(1) = 4. Now we needf(1 + h). This is where you have to be careful. Everywhere you see anxinx² + 3x, you must substitute the entire expression(1 + h).f(1 + h) = (1 + h)² + 3(1 + h)= (1 + 2h + h²) + (3 + 3h)= h² + 5h + 4 - 3Substitute back into the limit
f'(1) = lim(h→0) ( (h² + 5h + 4) - 4 ) / h - 4Simplify the numerator
f'(1) = lim(h→0) (h² + 5h) / hThis is the critical step. If you try to plug in
h=0now, you get0/0. You must simplify first. Notice that both terms in the numerator have anh, so we can factor it out.f'(1) = lim(h→0) (h(h + 5)) / h - 5
Cancel the
h.f'(1) = lim(h→0) (h + 5) - 6Evaluate the limitNow it's safe to substitute
h = 0.f'(1) = 0 + 5 = 5
The instantaneous rate of change at x = 1 is 5. This is the slope of the tangent line to the curve at the point (1, 4). Notice how the average rate (8) and the instantaneous rate (5) are different!
Try it yourself
Ready to try on your own? Take your time, and remember the process.
Let g(x) = 5x - 2x².
- 1Average Rate of ChangeFind the average rate of change of
g(x)over the interval[-1, 2]. Hint: You're finding the slope between two points. Which two points? What are their coordinates? You don't need a limit for this one. - 2Instantaneous Rate of ChangeFind the instantaneous rate of change of
g(x)atx = -1. Hint: This is asking for the derivative,g'(-1). Set up thelim(h→0)definition. Be very careful when you calculateg(-1 + h). Watch your signs!
In simple terms, this topic is about the difference between your average speed on a road trip and your exact speed at one specific moment on the speedometer.
- CHA-2.A: Determine average rates of change using difference quotients.
- CHA-2.B: Represent the derivative of a function as the limit of a difference quotient.
- CHA-2.A.1
- The difference quotients f(a+h)-f(a)/h and f(x)-f(a)/x-a express the average rate of change of a function over an interval.
- CHA-2.B.1
- The instantaneous rate of change of a function at x = a can be expressed by lim(h->0) (f(a+h)-f(a))/h or lim(x->a) (f(x)-f(a))/(x-a) provided the limit exists. These are equivalent forms of the definition of the derivative and are denoted f'(a).
flowchart TD
A{Rate of Change Problem} --> B{Over an interval?};
A --> C{At a single point?};
B -- Yes --> D[Use Average Rate of Change];
D --> E[Difference Quotient: (f(b)-f(a))/(b-a)];
E --> F[Result: Slope of Secant Line];
C -- Yes --> G[Use Instantaneous Rate of Change];
G --> H[Limit Definition of Derivative: lim h->0 (f(a+h)-f(a))/h];
H --> I[Result: Slope of Tangent Line];
Read what Saavi narrates
(upbeat, warm music fades in and out)
Hello there, it's Saavi from Shrutam. Let's talk about one of the biggest ideas in calculus.
Imagine you're driving from Dallas to Austin. The trip is 200 miles and takes you 3 hours. Your average speed is about 67 miles per hour. That's an average... a big picture view. But when you glance at your speedometer at any one moment, it might read 75, or 60, or even zero. That's your instantaneous speed.
Calculus gives us the language to describe both. We'll learn how to find the "average speed" over any interval, and how to find the "instantaneous speed" at a single moment.
Let's try an example for that instantaneous speed. Let's find the instantaneous rate of change of the function f of x equals x-squared plus three-x, at the specific point where x equals 1.
This means we need the derivative, f-prime of 1. We have to use the limit definition. It looks like this: the limit, as h approaches zero, of a fraction. The top is f of one-plus-h, minus f of one. The bottom is just h.
First, we need the pieces. F of one is easy... one-squared plus three-times-one is four.
Now for f of one-plus-h. This is where we have to be careful. We plug 'one plus h' everywhere we see an x. So we get... parenthesis, one plus h, close parenthesis, squared... plus three times... parenthesis, one plus h.
When you expand and simplify all that, you get h-squared plus five-h plus four.
Now, put it all back in the limit. The numerator becomes... h-squared plus five-h plus four... minus our original four. So the fours cancel! We're left with the limit of h-squared plus five-h, all over h.
Here's the most common mistake: trying to plug in h equals zero right now. You'll get zero over zero, which is a dead end. Instead, we have to simplify. Factor an h out of the top. That gives us h times the quantity h plus five. Now we can cancel the h on top with the h on the bottom.
We're just left with the limit, as h approaches zero, of h plus five. NOW it's safe to plug in zero for h. We get... zero plus five, which is five.
So, the instantaneous rate of change at x equals one is... five. That's the slope of the graph at that exact point.
It's a process, but it's a powerful one. Take it step-by-step, be careful with your algebra, and you've got this. Keep up the great work.
(music fades in)
This will almost always give you the indeterminate form `0/0`, which doesn't tell you the answer. The whole point of the algebraic manipulation is to cancel the `h` in the denominator so you can legally evaluate the limit.
Always expand, simplify, and factor out an `h` from the numerator to cancel with the denominator *before* you substitute `h=0`.
`f(a+h)` means you substitute the *entire quantity* `a+h` for `x` in the function's definition. For `f(x) = x²`, `f(a+h)` is `(a+h)²`, not `a² + h`.
Use parentheses religiously. Write `f( ) = ( )²`. To find `f(a+h)`, put `a+h` inside every parenthesis: `f(a+h) = (a+h)²`.
Functions generally don't distribute over addition. For `f(x) = x²`, `f(1+2) = f(3) = 9`. But `f(1) + f(2) = 1² + 2² = 1 + 4 = 5`. They are not the same.
Always go back to the original function definition and substitute the input value directly.
An expression without the `lim` is not the same as the expression with it. Omitting it is mathematically incorrect and will lose you points on the AP exam. It's like dropping the square root symbol halfway through a problem.
Keep writing `lim(h→0)` at the beginning of each line of your work until the final step where you substitute `h=0`.