Main content

### Course: AP®︎/College Calculus AB > Unit 2

Lesson 3: Estimating derivatives of a function at a point# Estimating derivatives

Estimating derivative at a point using the slope of a secant line connecting points around that point.

## Want to join the conversation?

- So why is not 103.5? Do you add 8.5 to 95?? please help getting confused(5 votes)
- f'(4) is not the same as f(4), which I think where you may be getting confused. f'(4) is the derivative/ the slope of the line tangent to the graph at x = 4. 4 is in the middle of 3 and 5, so for the best estimate of f'(4) you would take (y2 - y1) / (x2 - x1) to estimate out f'(4). (112 - 95) / (5 - 3) = 17 / 2 = 8.5. The slope of the tangent line at x = 4 would be 8.5 making f'(4) equal 8.5.

I hope this helps and feel free to comment back with more questions.(28 votes)

- Why don't the question give compatible condition for interpolation ex: Lagrange,Newton interpolation etc?so that we can get the best estimation of it?(5 votes)
- The point is to introduce the concept of numerical estimation of derivatives as secant lines, which is generally the basic concept behind Lagrange interpolation, Newton's method, Euler's method, Taylor approximations, etc.(10 votes)

- Why he didn't draw the tangent line for 3 and 5 depending on the direction of their steepness? why did he draw a line that meets them both even though it's not as per the curve direction?(3 votes)
- We really don't know the curve direction, or the steepness of the curve at any point. All we know for certain is what was given, i.e. a collection of points. The closest points to (4, f(4)) are (3,95) and (5, 112). That is where Sal drew the secant line connecting those points, then calculated the slope of that secant line. This is the best approximation of the slope at (4, f(4))(9 votes)

- so for this type of question, we just generally assume the function is continuous in the related interval?(2 votes)
- Yep! The function is given to be differentiable. And on a particular interval, if a function is differentiable, it is always continuous. There's a proof for this you'll see later on.(9 votes)

- If you DID have the point value for when x = 4, would you still estimate for the graph in the same way (using points around (4, y) instead of (4, y) itself)?(3 votes)
- this is actually easy once you get the hang of it. If it was h'(9), then in the table find the two points closest to 9 in the x values like 8 and 10 or 11. then find the change in y over the change in x and there you go!(4 votes)

- how can the average rate of change between 3 and 5 related to the tangent line when x is equal to 4(3 votes)
- I think the video should have been titled "finding the secant line of two points", because this video has nothing to do with tangent lines. Sal repeatedly talks about how the tangent line for x=4 could be wildly off from the secant line of the points x=3, x=5.(2 votes)
- Why is he not using the Limit derivative version ?(1 vote)
- Starting at time0:40, there are many errors in the written words that Sal is saying. They are incorrect and misleading(0 votes)

## Video transcript

- [Instructor] So we're
told that this table gives select values of the
differentiable function F. So it gives us the value of the function at a few values for X, in particular, five different values for X and it tells us what the
corresponding f(x) is. And they say, what is the best estimate for f'(4)? So this is the derivative
of our function F when X is equal to four. Or another way to think about it, what is the slope of the tangent line when X is equal to four for f(x)? So what is the best
estimate for f'(4) we can make based on this table? So, let's just visualize what's going on before we even look at the choices. So let me draw some axes here. And let me plot these points. We know that these would
sit on the curve of Y is equal to f(x). When X is zero, f(x) is 72. So this is the point (0,72). This is the point (3,95) clearly, two different
scales on the X and Y axes. This is the point (5,112). This is (6,77). This is (9,54), actually, let me write out the this is one, two, three, four, five, six, seven, eight, nine, and ten. Now they want us to know, they want to what is the derivative of our function when F is equal to four? Well, they haven't told us even what the value of F is at four. We don't know what that point is. But what they're trying to do is, well, we're trying to
make a best estimate. And using these points, we don't even know exactly what the curve looks like. It could look like all sorts of things. We could try to fit a
reasonably smooth curve. The curve might look something like that. But it might be wackier. It might do something like this. Let me try to do it. It might look something like this. So we don't know, for sure. All we know is that it needs to go through those points. 'Cause they've just
sampled to the function at those points. But let's just, for the sake of this exercise, let's assume the simplest, let's say it's a nice smooth curve without too many twists and turns that goes through these
points, just like that. So what they're asking, okay, when X is equal to four if this yellow curve were the actual curve then what is the slope of the
tangent line, at that point? So we would be visualizing that. Now to be clear, this tangent line that I just drew this would be for this version of our function that I did connecting these points. That does not have to be the actual function. We know that the actual function has to go through those points. But I'm just doing this
for visualization purposes. One of the whole ideas here is that all we do have is the sample and we're trying to get a best estimate. We don't know if it's even gonna be a good estimate. It's just going to be a best estimate. So what we generally do when we just have some data around a point, is,
let's use a data points that are closest to that point and find slopes of secant lines pretty close around that point. And that's going to give
us our best estimate for the slope of the tangent line. So what points do we have near F of four, or near the point (4,f(4))? Well, they give us what F is equal to when X is equal to three. They give us this point, right over here. Let me do this in another color. So, (3,95) that is that right over there. And they also give us (5,112). That is that point right over there. And so what we could do we could say, well, what is the average rate of change between these two points? Another way to think about it is, what is the slope of the secant line between those two points. And, that would be our best estimate for the slope of the tangent line at X equals four. Do we know that it's a good estimate? Do we know that it's even close? No, we don't know for sure, but that would be the best estimate. It would be better than trying to take the the average rate of change between When X equals three and X equals six. Or between when X equals zero and X equals nine. These are pretty close around four. And so, let's do that. Let's find the average rate of change between when X goes from three to five. So, we can see here our change in X. Let me do this in a new color. So our change in X here is equal to plus two. And I can draw that out. My change in X here is plus two. And, my change in Y is going to be when my X increased by
two, my change in Y is plus, let's see, this is if I add ten I get to I get to 105. If I add another seven so this is plus 17. So this is plus 17 right over here. Plus 17. And so my change in Y over change in X. Change in Y over my change in X. For this secant line between when X is equaling three and X is equaling five is going to be equal to 17 over two. Seventeen over two. Which is equal to 8.5. So the slope of this
green line here is 8.5. And that would be our best estimate for the slope of the tangent
line when X equals four of the curve Y is equal to f(x). And so, lucky for us the people who wrote this question had the exact same logic, and
they did it right over there. So you wouldn't have to
graph it the way I did. I did it just to help us
visualize what's going on. In general, when you
see a question like this they're really saying, look, you don't have all the data you need to figure out exactly
what f'(4) is. But if you can find
points close to, or around f'(4) and find the secant
line, the average rate of the slope of the secant line. Or the average rate of
change between those points that's going to be our best estimate for the instantaneous rate of change when X equals four. Or the derivative when X equals four.