The Derivative and Tangent Lines
Derivatives answer a fundamental question: how fast is something changing at a specific instant? They give you the slope of a curve at any point, which turns out to be useful for analyzing motion, rates of change, and optimization problems. This section covers how derivatives are defined through limits and how they connect to tangent lines and velocity.
Tangent Line Concept
A tangent line is a straight line that just touches a curve at a single point (called the point of tangency) and matches the curve's direction at that point. Think of it as the best straight-line approximation of the curve right at that spot.
The slope of the tangent line tells you the rate of change of the curve at that point:
- Positive slope: the curve is increasing
- Negative slope: the curve is decreasing
- Zero slope: the curve has a horizontal tangent (a local max, min, or inflection point could be here)
The tangent line is closely related to the secant line, which passes through two points on the curve. As you slide those two points closer together, the secant line approaches the tangent line. That limiting process is exactly how we define the derivative.
Tangent Slope Calculation
To find the slope of the tangent line at a point , you take the limit of the difference quotient:
The difference quotient represents the average rate of change of over the interval . That's just the slope of the secant line through and .
As , the interval shrinks, the secant line rotates toward the tangent line, and the average rate of change becomes the instantaneous rate of change.
Derivative as a Limit
The derivative of a function at a point is formally defined as:
provided this limit exists. When you leave as a variable , you get the derivative function , which gives the instantaneous rate of change at any point in the domain.
Common notations for the derivative:
- Prime notation:
- Leibniz notation: or
Both mean the same thing. Leibniz notation is especially handy when you want to emphasize what variable you're differentiating with respect to.

Derivative at a Specific Point
To compute the derivative at a specific point, say :
-
Write out the difference quotient:
-
Substitute and using the function's formula, then simplify algebraically (factor, cancel the in the denominator, etc.)
-
Evaluate the limit as
The result is both the slope of the tangent line at and the instantaneous rate of change of at that point.
Continuity and Differentiability
Continuity is necessary but not sufficient for differentiability. If a function isn't continuous at a point, it can't be differentiable there. But a function can be continuous at a point and still fail to be differentiable.
Three common situations where continuity holds but differentiability fails:
- Sharp corners or cusps: the curve changes direction abruptly (e.g., at )
- Vertical tangent lines: the slope approaches
- Discontinuities: jumps, holes, or asymptotes automatically rule out differentiability
The key takeaway: differentiability implies continuity, but continuity does not imply differentiability.
Derivatives and Velocity

Velocity as Rate of Change
Velocity is the most natural real-world example of a derivative. If describes an object's position at time , then the derivative gives the instantaneous velocity at time .
- : the object is moving in the positive direction
- : the object is moving in the negative direction
- : the object is momentarily at rest
Average vs. Instantaneous Velocity
Average velocity measures displacement over a time interval:
This is the slope of the secant line on the position-time graph between and .
Instantaneous velocity is the limit of average velocity as the time interval shrinks to zero:
Notice the parallel: average velocity uses a secant line, instantaneous velocity uses a tangent line. The derivative bridges the two.
Derivative Estimation from Data
You won't always have a nice formula. Sometimes you'll need to estimate a derivative from a table or graph.
From a table:
-
Pick two points close to your point of interest: and
-
Compute the average rate of change:
-
For a better estimate, use points on both sides of your target and average the two slopes (this is called a central difference estimate)
For example, if you want and your table has values at , compute for a centered estimate.
From a graph:
- Sketch a tangent line to the curve at the point of interest
- Pick two clear points on that tangent line (use grid intersections when possible)
- Calculate rise over run between those two points to estimate the slope