3.1 Introduction to the Derivative
3.1.1 From Secants to Tangents
We recall the Tangent Line Problem back in Section 2.2.1. Consider a sufficiently well-behaved function . We wish to determine the slope of its graph at a precise point .
Because it takes two points to define a line, we artificially construct a second point nearby: . The line passing through and is termed a secant line. Its slope is given by the standard “rise over run”:
Imagine looking at a smooth curve under a microscope. As you increase the magnification around the point , the curve appears flatter and flatter. This local linearity is the essence of differential calculus. By letting , the point slides along the curve toward . The secant line gradually pivots and converges to the ultimate geometric object of our desire: the tangent line.
We invoke the magic of limits. As vanishes, the secant slope gracefully approximates the tangent slope:
One we know the tangent slope , finding the equation of the tangent line to the graph of at the point is a trivial exercise in algebra. We simply use the point-slope form:
The limit of the difference quotient in (3.1) has many physical meanings and applications that go well beyond the initial geometric intuition of a tangent line. It represents the instantaneous rate of change of any given quantity: velocity, marginal cost, or the flow of heat, etc. This versatility is what motivated Definition 3.1.1.
Let be a function and be a real number. If the limit
converges to some real number , we say is differentiable at with derivative . We denote this by
If the limit does not exist—including the case where is not even in —then we leave undefined and say is not differentiable at . Furthermore, if is differentiable at any point in an open interval , we say is differentiable on .
Calculus suffers from an abundance of historical notation. For the derivative, one might encounter:
Each has its pros and cons depending on the tradition of the subject. The clearest notation, completely free of ambiguities, would technically require the concept of a directional derivative, but we shall leave that for a future chapter on multivariable mathematics. For our immediate needs, the Lagrange notation and the Leibniz notation will serve us well.
There are several equivalent ways to write the limit (3.4) in Definition 3.1.1. For example, if we use the substitution , then we can write the derivative as:
provided the limit exists. Alternatively, if we let the moving point , we can recast the formulation as:
which sometimes offers algebraic simplifications depending on the function.
Let us compute the derivatives of a few basic functions directly from the definition.
Let , where is a constant. Let be any real number.
So, for any real number . Geometrically, this is obvious: a horizontal line has zero slope.
Let , and let be a real number.
So, for any real number . Again, perfectly aligned with our understanding that the line has a slope of .
Now let us increase the complexity slightly and observe the algebra required to resolve the indeterminate form .
Let , and let be a real number. We proceed via the limit definition:
Provided (which is strictly true under the limit operation), we can cancel the terms:
So, .
Application. Let us find the tangent line to the graph of at the coordinate .
Using the point-slope form (3.3):
3.1.2 The Derivative as a Function
In the previous examples, given a real number , if is differentiable at , we mapped the value . Thus, the derivative can itself be viewed as a function from to .
Since it is a function in its own right, we usually revert to the standard independent variable . For instance, in Example 3.1.6 where , we write:
Thus, both and are functions of mapping from . This raises a subtle question:
Do we always have ?
The answer is a resounding No. The operation of differentiation is delicate; it requires a certain smoothness that the original function may lack. As a result, taking a derivative can brutally shear away points from the function’s domain. In general, we only have the subset relation .
Here is a counterexample. Consider the absolute value function . Obviously, . Let us rewrite as a piecewise function:
The calculation in Example 3.1.5 shows that on and on (notice the open intervals here; why do we use open intervals but not closed intervals?) this tells us that at the very least, we have:
But what happens at ? Let us check rigorously. We must evaluate:
At this point, it is clear that we need to know the sign of to evaluate the absolute value. So we must split the limit into one-sided limits:
Because the right-hand limit () and the left-hand limit () disagree, the two-sided limit does not exist.
Consequently, is not differentiable at . We conclude that
which is a strict subset of .
The graph of has a kink at , which prevents the function to be differentiable at 0.
When we define differentiability of a function on an interval in Definition 3.1.1, we require is open (i.e., is of the form ). Why?
Can we ever have be a strict subset of ?
Exercise for the reader: Ponder this question. By
definition, can one evaluate a difference quotient at if
does not even exist? Those questions about domains will come back
when you study power series in Calculus II.
We conclude this section with a few exercises to build your computational muscle and geometric intuition.
Find the derivative of .
Find the tangent line at of the function .
Suppose and are two differentiable functions on and for all real number . Can we conclude that for all real number ?