First principle of calculus
A secant line is a straight line that connects two points on a curve. A tangent line is a straight line that “just touches” the curve at a single point.
The slope of the secant line gives us the average rate of change of the function on the interval between the two points. The slope of the tangent line gives us the instantaneous rate of change.
Finding the slope of the secant line is easy:
We can generalize this to give us the average rate on the interval [, ] for any function with
but what about the tangent line? We could draw it with a ruler and pick two points that is passes through, but this method is tedious and inaccurate. No, instead we can use our newly-acquired limit skills.
The key thing to realize here is that the secant line and the tangent line are related. A tangent line is just a secant line whose interval happens to be very, very small—infinitesimal, to be exact (this means indefinitely small). In other words, the slope of the tangent line at is equal to the slope of the secant line on the interval [, ] as approaches zero:
This is the first principle of calculus. As with most other things, graphing will help us understand it:
As we move the second point closer to the first point, thereby making approach zero, the slope of the secant line will converge on the slope of the tangent line at .
Suppose we want to find the slope of the tangent line at 3 on . We simply plug it into our first principle of calculus, giving us
which simplifies to
therefore the instantaneous rate of change at is 6.