Before you begin
- Difference quotients, two-sided limits, and continuity.
Learning objectives
- Calculate a derivative from its defining limit.
- Construct a tangent line and interpret derivative units.
- Prove differentiability implies continuity and explain why the converse fails.
For the cart with position , the average velocity from to was . Both positive and negative increments approach the same value . We can now define the instantaneous velocity without assigning a meaning to division by zero: take the limit of the nonzero-interval average velocities.
For a function defined on an open interval containing , the derivative at is the finite limit
if it exists. An equivalent form uses and lets . Both formulations compare the output at the target with outputs at nearby inputs. We use a two-sided limit for interior differentiability. Endpoint derivatives, when useful, will be named one-sided derivatives.
A quadratic from the definition
Let . Expanding gives
Therefore . At , the function value is and derivative is . The tangent line has equation
A tangent is specified by its local limiting slope. It need not stay on one side of the curve or touch it at only one point. The tangent to at zero crosses the curve there.
Derivatives carry units
If measures temperature in degrees Celsius and measures hours, has units degrees Celsius per hour. A derivative of means temperature is locally decreasing at that rate; it does not mean the temperature is negative. If position is measured in metres and time in seconds, velocity has units metres per second and acceleration, the derivative of velocity, has units metres per second squared.
For on a specified time interval, . Positive velocity indicates motion in the positive coordinate direction. Speed is , so negative velocity is not negative speed. Later we will integrate speed to compute total distance.
Continuous does not mean differentiable
For at zero, the difference quotient is . It equals for negative and for positive . Thus the two-sided derivative does not exist even though . The graph has a corner.
The function at zero has quotient , which grows without bound. This is often described geometrically as a vertical tangent. It is not a finite derivative under our definition. A discontinuity also prevents differentiability, but a smooth-looking numerical plot is not proof that discontinuities or corners are absent.
Why differentiability forces continuity
Suppose exists and is finite. For ,
As , the first factor tends to zero and the second tends to . The product tends to zero. Hence , establishing continuity at . Finiteness of the derivative matters because the ordinary product limit law needs finite limits.
This proof gives a useful diagnostic: if continuity fails, a finite derivative cannot exist. Its converse remains false, as the absolute-value example shows. A theorem and its converse are separate claims.
The local linear model
Rearrange the defining quotient into
The derivative supplies a linear change, and the residual is small relative to the increment, not merely small in absolute size. For , , so . This relative-error statement distinguishes a tangent approximation from any arbitrary line passing through the point.
The secant laboratory displays exact formulas for the square, cube, and absolute-value functions. A finite list of small increments cannot prove a derivative. The associated algebra explains the limit; the table and graph help us inspect its consequences. For polynomials the program evaluates algebraically simplified quotients to avoid catastrophic subtraction at small increments.
Exercises
- Use the definition to differentiate at a general .
- Find the tangent to at .
- Use first principles to find the derivative of at .
- Show that the tangent to at zero crosses its graph.
- A temperature derivative is zero at noon. Must the temperature be zero? Must it remain constant afterward?
- Explain the different reasons that and lack a finite derivative at zero.
Worked solutions
- Expansion gives for nonzero , hence .
- The point is and slope , so .
- The quotient simplifies to , provided and . Its limit is .
- The derivative at zero is , so the tangent is the horizontal axis. Cubes have opposite signs on opposite sides of zero.
- Neither. The derivative describes an instantaneous rate, not the level or a future interval. For example, has derivative zero at without being constant.
- Absolute value has two distinct finite one-sided slopes; the cube root has a quotient unbounded in the positive direction. Neither gives the required finite two-sided limit.
From secants to a tangent
Choose a function and base input a. Change the signed increment h to compare the secant slope with the derivative. Inputs and outputs are dimensionless in this laboratory.
Solid teal: function. Dashed gold: secant. Dotted navy: tangent, when the finite derivative exists. The viewport adjusts to include both selected points.
For x² at a = 0, the secant slope is h, so both signed approaches tend to zero.
| h | f(a + h) | Secant slope |
|---|
The table illustrates exact algebraic models, not a general numerical proof of a derivative. At h = 0 the secant quotient is undefined. For |x| at zero, left and right slopes disagree. Without JavaScript, use the worked quotient calculations in the chapter.