### Video Transcript

Estimating Derivatives

In this video, we will learn how to use numerical and graphical methods to estimate the derivative of a function. Weβll be looking at examples of how both of these methods work. We will start by looking at the numerical method for estimating a derivative.

In these types of questions, weβll be asked to estimate π prime of π for some π, where π prime is the derivative of π with respect to π₯. Weβll also be given some π of π₯ values for π₯-values around π and including π. We will be using these π of π₯ values along with their corresponding π₯-values in order to estimate the derivative at π. And the way in which weβll do this is to use the fact that the derivative function is the slope function. And so, to estimate the derivative, we simply estimate the slope of the function. Weβll now cover the method of how we do this.

So if weβre trying to find the derivative of π at π and weβve been given the values of π of π, π of π, and π of π, where π is less than π which is less than π, then we can use these three π values along with the three π₯-values to estimate the slope on either side of π. We know that the slope is equal to the change in π¦ over the change in π₯. We can use our π values for the change in π¦ and the corresponding π₯-values for the change in π₯. Using these values, we can estimate the slope on the left and right of π. Now, remember, these are only estimates since weβre using the slope of a straight line in order to estimate the slope of a curve. We can say that the slope on the left of π is roughly equal to π of π minus π of π over π minus π. And the slope on the right of π is roughly equal to π of π minus π of π over π minus π.

Now that we have estimated the slope on both the left and right of π, we can estimate the slope at π by taking the mean of these two slopes. We can find the mean by adding these two slopes together and dividing by two. Therefore, we form an equation for estimating the derivative of π at π. It is that π prime of π is roughly equal to π of π minus π of π over π minus π plus π of π minus π of π over π minus π all over two. Now, this estimate for π prime of π will be more accurate the closer the values of π and π are to π. However, itβs crucial that our values of π and π are on either side of π.

Letβs now look at an example of how this method can be used.

Given that π¦ is equal to π of π₯ is a function for four known values, where π of two is equal to three, π of six is equal to 3.75, π of seven is equal to four, and π of 11 is equal to 4.25, estimate π prime of seven.

In this question, weβve been asked to estimate the derivative of π at seven and weβve been given π of π₯ values near seven. Therefore, we can use the numerical method in order to estimate this derivative. We have that π prime of π is roughly equal to π of π minus π of π over π minus π plus π of π minus π of π over π minus π all over two, where π is less than π, which is less than π. And we want to choose the closest possible values to π for π and π. In our case, since weβre trying to find π prime of seven, π is equal to seven. And the closest π₯-values on either side of seven, for which weβve been given their π values, is six and 11. So we can let six be equal to π and 11 be equal to π.

Next, we can simply substitute these values into our formula. We have that π prime of seven is roughly equal to π of seven minus π of six over seven minus six plus π of 11 minus π of seven over 11 minus seven all over two. Now, we know the values of π of six, π of seven, and π of 11 since theyβve been given to us in the question. So we can substitute these values in, which leaves us with this. And next, we can simplify the fractions in the numerator to give us 0.25 over one plus 0.25 over four all over two.

Now, we can write 0.25 over one as 0.25. And we can write 0.25 over four as one-fourth multiplied by 0.25. Next, we can rewrite the 0.25s as one-fourth. And next, we can multiply through and then add the two fractions in the numerator and then finally divide five over 16 by two to give us that π prime of seven is roughly equal to five over 32. Our solution can also be written in decimal form as π prime of seven is approximately equal to 0.15625.

Now, before we move on to the next example, letβs take a closer look at what weβre actually doing here. This graph shows the function π of π₯. Letβs say a question has asked us to estimate the derivative of π at π. Now, in this question, weβre not actually given this graph of π of π₯. However, we have been given the value of π of a. And weβve also been given two other π values: π of π and π of π such that π is less than π and π is greater than π. When using our numerical method for estimating the derivative at π, we are estimating the slope to the left of π by finding the slope of the straight line going from the point π, π of π to π, π of π.

And weβre doing a similar method to estimate the slope to the right of π. Weβre finding the slope between the points π, π of π and π, π of π. And these are our calculations of π of π minus π of π over π minus π and π of π minus π of π over π minus π. Then, in our final step of estimating the derivative, weβre simply taking the mean of these two slopes. And thatβs what gives us our estimate for π prime of π.

Letβs now move on to our second example involving a table.

Use the table to estimate π prime of six.

Here, weβve been asked to estimate the derivative of π at six. And weβve been given some π₯-values along with their corresponding π values around six and also including six. Therefore, we can use our formula for the numerical method for estimating a derivative, which tells us that the derivative of π at π is roughly equal to the mean of the slopes on the left and right of π. Now, for this formula, π must be less than π which is less than π. And we must choose values of π and π as close to π as possible such that π and π are on either side of π.

In our case, the value of π is six and the closest π₯-value to the left and right of six, which weβve been given, are four and eight. Therefore, four is equal to π and eight is equal to π. Now that we have our values for π, π, and π, we can simply substitute them into our formula. We have that π prime of six is roughly equal to π of six minus π of four over six minus four plus π of eight minus π of six over eight minus six all over two. Next, we can substitute in the values for π of four, π of six, and π of eight since theyβve been given to us in the table.

After substituting in these values, weβre able to simplify the fractions in the numerator, since 4.25 minus 3.9 is equal to 0.35, 4.8 minus 4.25 is equal to 0.55, and six minus four and eight minus six are both equal to two. Next, we can divide both fractions in the numerator by the denominator. So thatβs two, giving us 0.35 over four plus 0.55 over four. Since we have a common denominator here, we can add these two fractions together, which gives us 0.9 over four. Simplifying this fraction, we reach our solution, which is that the estimate for the derivative of π at six is 0.225.

Now, letβs move on to see how we can estimate a derivative using a graph. If we have a function π of π₯, as shown here, then we can estimate the derivative of π at some point π by again using the fact that the derivative is the slope function. And we can estimate the slope at any point on a graph by drawing an approximate tangent at that point and then finding the slope of that tangent. So in order to find the slope of π at π, we simply draw an approximate tangent and then find the slope of that tangent. And this approximate slope of π at π is our estimate for the derivative at π.

Letβs see how we can do this in the following example.

For the given graph, estimate π prime of three.

Here, we have been asked to estimate the derivative of π at three. And weβve been given a graph of π of π₯. Now, our graphical method for estimating a derivative is to draw a tangent at the point where weβre trying to find the derivative and to find the slope of that tangent. Now, if you find the value of three on our π₯-axis and look at its point on our graph of π of π₯, we can see that a tangent has already been drawn for this point. And so, what we need to do in order to estimate the derivative of π at three is to find the slope of this tangent. The most accurate way to find the slope of this tangent is to pick the two points furthest apart on our tangent, which we can accurately read of our axes.

We can see that we have a point at five, seven. And we also have another point on our tangent at one, negative one. Therefore, we can use these two points in order to find the slope of this tangent. We use the fact that the slope of a line is equal to the change in π¦ over the change in π₯. A change in π¦ for our tangent is the difference in the π¦-values of the points which weβve found. So thatβs seven minus negative one. And the change in π₯ is the difference in the π₯-values for these same points. So thatβs five minus one. Now, letβs remember that itβs important to put the corresponding points on the same side. So the five and the seven came from the point five, seven and they both go on the left. Whereas the one and the negative one came from the point one, negative one, and they both go on the right.

Now, it doesnβt matter which way around we put these points as long as theyβre consistent with one another. For example, this fraction is also equal to negative one minus seven over one minus five since the negative one and the one are both on the left and the seven and the five are both on the right. We can simplify this fraction in order to find the slope of our tangent is equal to eight over four, which is, of course, equal to two.

Now that we found the slope of our tangent, we can use this to estimate π prime of three since the derivative is the slope function. And weβve found the slope of the tangent at three. This gives us a solution that our estimate for the derivative of π at three is two. Now, the reason why this is an estimate and not an accurate answer is because we do not know how accurate the tangent is at the point three. Now, in this previous example, we saw how we can use a tangent to find an estimate for the slope and therefore the derivative at a point. However, the tangent on the graph is often not given to us. So weβll need to draw in a tangent for ourselves, as weβll see in our final example.

For the given graph, estimate π prime of negative 1.5.

Here, weβve been asked to estimate the derivative of π at negative 1.5. And weβve been given a graph of π of π₯. Now, in order to estimate this derivative using the graph, weβll be using the fact that the derivative is the slope function. Therefore, when we were asked to estimate the derivative of π at negative 1.5, weβre also being asked to estimate the slope of π at negative 1.5. And one way which we can estimate the slope of π at any point is to draw a tangent at that point and find the slope of the tangent. Since weβve been asked to estimate the derivative at π₯ is equal to negative 1.5 which weβll draw a tangent on π at π₯ is equal to negative 1.5. Negative 1.5 is here on our graph and we can see the corresponding point on π of π₯.

Now, we simply draw a tangent to π at this point. And this is what our tangent should look like. Now, our estimate tangent here is in fact a horizontal line. And because of this, we can say that the slope of our tangent must be equal to zero. This is because a slope is equal to the change in π¦ over the change in π₯. And we can see that as π₯ gets larger or smaller, the value of π¦ for this horizontal line will remain the same. Therefore, thereβs no change in π¦. And so, the change in π¦ over the change in π₯ will be equal to zero. This is true for any horizontal line. Now that weβve found the slope for our tangent, we can use this to estimate the derivative. We can say that the derivative of π at negative 1.5 is approximately zero.

Letβs now look at one final example for this video.

For the given graph, estimate π prime of 0.5.

We have been asked to estimate the derivative of π at 0.5. And weβve been given the graph of π. Since the derivative is the slope function, we simply need to estimate the slope of π at 0.5. And we can do this by drawing a tangent for π at 0.5. We can find the point on π of π₯, which corresponds to the π₯-value of 0.5. Then, we can draw a tangent to the graph at this point. We want to try and draw the tangent as long as possible so we can get an accurate value for its slope.

We can look at the end points of the tangent we have drawn, which are here and here. And the coordinates of these points are 2.6, five and negative five, negative five. Along with the fact that the slope of a straight line can be found by calculating the change in π¦ over the change in π₯, we obtain that the slope of our tangent is equal to five minus negative five over 2.6 minus negative five, which is equal to 10 over 7.6, which is also equal to 1.316 to three decimal places.

Now that weβve found an estimate for the slope of the tangent at the point 0.5, π of 0.5, we can use this estimate for the slope to estimate the derivative of π at 0.5 since the derivative is the slope function. We obtain that π prime of 0.5 is approximately 1.316. Now, the answer you get for this question may differ, since it depends on how we draw out our tangent. And this is why this is only an estimate for the derivative of π at 0.5, since itβs nearly impossible to draw the perfect tangent at this point. And therefore, the slope of our tangent will always be out from the actual derivative by a small amount. However, estimating the derivative using this method can be quite a useful tool, since we can still get roughly what the derivative should be without knowing the equation of π.

Now, we have covered a variety of examples of how we can estimate derivatives of functions, both numerically and graphically. Letβs recap some key points of the video.

Key Points

We can estimate the derivative of a function at a point numerically by finding the mean of the slope to the left and right of the point weβre trying to estimate the derivative. The formula is that π prime of π is approximately equal to π of π minus π of π over π minus π plus π of π minus π of π over π minus π all over two, where π is less than π and π is greater than π. We can estimate the derivative of a function at a point graphically by estimating the tangent to the graph at that point and finding the slope of the tangent.