Skip to main content

Welcome to a Grasp lesson

Create a free account to keep studying and create your own study path.

Lesson 16

The Derivative as a Limit of Difference Quotients

Recommended resources

Welcome to the first lesson in our module on derivatives. In the previous module, we developed a solid understanding of limits, including how to compute them algebraically and how they describe a function's behavior near a point or at infinity. You saw me preview that this tool—the limit—is the key to solving two foundational problems in calculus. This lesson brings that idea to fruition.

We will tackle the tangent problem (finding the slope of a curve at a single point) and the instantaneous velocity problem (finding the speed of an object at a single moment). You'll learn how these two seemingly different questions are solved by the same concept: the derivative. Our goal is to formally define the derivative of a function at a specific point as the limit of a difference quotient and use this definition to perform our first derivative calculations.

1. The Tangent and Velocity Problems

Imagine trying to find the slope of a curved line. To calculate a slope, you need two points. But at a specific point on a curve, you only have one. How can we find the slope of the tangent line—the line that just skims the curve at that single point?

Similarly, consider a rocket accelerating into space. Its speed is constantly changing. If you calculate its speed over a 10-second interval, you're only finding its average velocity. How can we determine its instantaneous velocity at the precise moment it passes 1,000 meters in altitude?

Both problems hinge on the same idea: we can start with an approximation using two points and then improve that approximation by moving the points infinitely close together. This process of "getting infinitely close" is exactly what limits are for.

The following video provides an excellent conceptual introduction to this idea using the rocket example. It illustrates how we move from a crude approximation (average velocity) to a precise answer (instantaneous velocity) by shrinking the interval between two points.

Intro to Derivatives, Limits & Tangent Lines in Calculus | Step-by-Step

This video from the Math and Science channel builds the intuition for why we need limits to find instantaneous rates of change.

Please watch the following segments: First, watch the introduction from the beginning to understand the difference between average and instantaneous velocity. Next, see how average velocity is represented by the slope of a line connecting two points on a graph from this section. Finally, observe how making the measurement interval smaller leads to a better approximation of the instantaneous velocity from this explanation.


2. From Secant Lines to the Tangent Line

As the video demonstrated, we can approximate the slope of the tangent line at a point by choosing a second point on the curve and calculating the slope of the line that passes through both. This is called a secant line.

This graph shows a curve \(y=f(x)\) with two points, \(P(x, f(x))\) and \(Q(x+h, f(x+h))\). The slope of the secant line passing through P and Q is an approximation of the tangent line's slope at P. As \(h\) approaches 0, Q slides along the curve toward P, and the secant line becomes the tangent line.

Let's formalize this. Suppose our point has coordinates . We can choose a second point nearby, with an x-coordinate of , where is some small, non-zero number. The coordinates of are .

The slope of the secant line , which we can call , is given by the standard slope formula "rise over run":

This expression, , is fundamental. It is called the difference quotient, and it represents the average rate of change of the function over the interval from to .

To get the exact slope of the tangent line at , we need to move the point infinitely close to . We do this by taking the limit as approaches 0.


3. The Definition of the Derivative

This limit, if it exists, gives us the slope of the tangent line and the instantaneous rate of change. We give it a special name: the derivative.

The following reading from a resource based on the Stewart textbook formally defines the tangent line and the derivative.

[PDF] 12 Limits: A Preview of Calculus

This text introduces the two equivalent limit forms for the slope of the tangent line and then provides the formal definition of a derivative at a point.

First, read the section The Tangent Problem to see how the slope of the secant line is expressed in two ways. Pay attention to both forms: one where x \to a and the more common one where h \to 0. Next, read the section titled Definition of a Derivative. This is the central definition of this lesson.

As you just read, we have two equivalent definitions for the derivative of a function at a number , denoted (read as "f prime of a"):

Definition of the Derivative at a Point

Both formulas calculate the same value. The first form, using , is generally more convenient for calculations. The value has two crucial interpretations:

  • Geometrically: is the slope of the tangent line to the graph of at the point .
  • Physically: is the instantaneous rate of change of with respect to when .

4. Calculating the Derivative

Now, let's put the definition into practice. Calculating a derivative using the definition means setting up the difference quotient and evaluating the resulting limit. This process typically involves some algebraic simplification to handle the indeterminate form that arises when you first try to substitute .

The video below demonstrates how to compute the derivative for a polynomial and a rational function using the definition.

Calculus 2.7 Derivatives and Rates of Change

Asher Roberts works through two examples of finding the derivative using the limit definition.

Watch these two key segments: First, see how to find the derivative of a rational function, y=3/x at the point (3,1). This example starts at this timestamp and requires simplifying a complex fraction. Next, watch the calculation for a general quadratic function, f(x) = x^2 - 8x + 9, at a generic point a. This example, from this segment, is a powerful demonstration of expanding, simplifying, and factoring out h.

Let's walk through the process for a new example: find the derivative of at .

  1. Write the definition:

  2. Substitute the function values:


    • So, the limit becomes:
  3. Simplify the numerator: First, expand the terms.

    Now, substitute these back into the numerator:

  4. Cancel : Our limit is now much simpler.

  5. Evaluate the limit: Now that we've cancelled the problematic in the denominator, we can substitute .

So, the derivative of at is 4. This means the slope of the tangent line to the parabola at the point is exactly 4.


Conclusion

In this lesson, we have formally defined the derivative, one of the most important concepts in all of calculus. You have connected the intuitive ideas of tangent lines and instantaneous velocity to a precise mathematical definition built upon the concept of the limit.

Key Takeaways:

  • The derivative of at , written , solves both the tangent line problem and the instantaneous rate of change problem.
  • The derivative is defined as the limit of the difference quotient:
  • Geometrically, is the slope of the tangent line to the graph of at .
  • Calculating the derivative from the definition requires setting up the limit and using algebraic techniques (like expanding, factoring, or using conjugates) to resolve the indeterminate form.

In the example from the video, you saw the derivative of calculated at a general point , which resulted in the expression . This suggests something powerful: what if we treat the point not as a fixed number, but as a variable? This would give us a new function that provides the slope at any point on the original curve. In our next lesson, we will explore this idea by defining the derivative as a function.