The derivative as the slope of a graph is standard fare, and it’s important for visualizing calculus.
I – Introduction
II – Trigonometry
III – Differentiation Rules 1
IV – Graphs, Tangents, Derivatives
The Derivative as Slope
Let’s look at the graph of .
If we take a point on this graph, for example (2,4), the y-value is the square of the x-value.
If look at a nearby point, those values have changed by and respectively. We can visualize those changes like this:
and are supposed to represent tiny changes, so we better bring the points in close to each other and zoom in. Any reasonable curve looks like a straight line when you zoom in on it enough, including this one. As far as these nearby points are concerned, is a line, and they are on it. That line is called the tangent line. Here it is:
The value of is the derivative of y with respect to x, but in this context it is also called the slope of the tangent line. So, the derivative of a function at a certain point is the slope of the tangent line that point.
If we zoom back out again, eventually the graph of no longer looks like a line; we can see its curvature. The tangent line tracks the graph for a while, but eventually diverges. The red line shown below is the tangent line to the parabola. The derivative of with respect to x is 2x, so the slope of this tangent line through (2,4) is . To find the equation for tangent line itself, we choose the line with the specified slope that goes through the point. That would be .
Elementary geometry tells us that the tangent to a circle is perpendicular to the radius. Let’s combine this fact with some calculus.
If we have a circle at the origin, the slope to a point (x,y) on the circle is y/x.
The circle is given by . Applying to both sides gives (because ). This simplifies to
Which is the slope of the tangent line.
Since this is perpendicular to a line of slope y/x, we see that perpendicular lines have negative-reciprocal slopes, a fact familiar from algebra.
If you want to estimate the square root of a number , a good way is take a guess , then average with . For example, to find the square root of 37, guess that it’s 6, then take the average of 6 and 37/6.
The actual answer is about 6.0828. It’s close. To get closer, iterate.
The actual answer, with more accuracy, is 6.08276253. So we’ve got 7 decimal places of accuracy after two iterations of guessing.
Calculus shows us where this comes from. We are estimating . That is a zero of . So we plot (here, ).
We don’t know where the zero is, but we know that is near the zero. So we draw the tangent line to the graph at . This tangent is .
The tangent line tracks the parabola quite closely for the very short from the point to wherever the zero is. So closely that we can’t even see the difference there. Zoom in near the point (6,-1).
Now we see that the tangent line is a very good approximation to the parabola near the zero, so we can approximate the zero using the zero of the tangent line instead of the zero of the parabola. The zero of the tangent line is given by
This is our first new guess for the zero of the parabola. It’s off, but only by a tiny bit, as this even-more-zoomed picture shows. We’ve zoomed in so closely that the original point (6,-1) is no longer visible.
From here, we can iterate the process by drawing a new tangent line like this:
We’ve zoomed in even closer. The red line is the tangent that gave us our first improved guess of 6.0833. Next, we drew a new tangent (purple) to the graph (blue) at the location of the improved guess to get a second improved guess, which is again so close we can’t even see the difference on this picture, despite zooming in three times already.
This general idea of estimating the zeroes of a function by guessing, drawing tangents, and finding a zero of the tangent, is called Newton’s method.
- Graph and find the places where the tangent line slices through the graph, rather than lying completely above or below it near the point of tangency. What is unique about the derivative at these points? (Answer: the derivative is at a local minimum or maximum (i.e. the graph is steepest) when the tangent line slices through)
- Find the slope of the tangent line to a point (x,y) on the ellipse via calculus. Find it again by starting with the unit circle , for which you already know the slope of the tangent, and making appropriate substitutions for and . (Answer: )
- In this post, we found that is tangent to at . Confirm this without calculus by noting that there are many lines through (2,4), all with different slopes. The thing that singles out the tangent line is that it only intersects the parabola once. Any line through (2,4) with a shallower slope than the tanget will intersect the parabola at (2,4), but intersect again somewhere off to the left. Any line with a steeper slope will have a second intersection to the right. Use algebra to write down the equation for a line passing through (2,4) with unknown slope, and set its y-value equal to x^2 to find the intersections with the parabola. What slope does the line need to have so that there is only one such intersection?
- Do the previous exercise over for a circle (i.e. use algebra to find the tangent line to a circle)
- For any point outside a circle, there are two tangents to the circle that pass through the point. When are these tangents perpendicular? (Answer: When the point is on a circle with the same center and radius as much)
- Newton’s method of estimating zeroes gave the same numerical answer for the zero of as the algorithm for estimating square roots gave for . Show that this is always the case (i.e. perform Newton’s method on with a tangent at some point , and show that the new guess generated is the same as that given in the algorithm).
- Use Newton’s method to estimate to four decimal places (Answer: 3.0366).