Secant and tangent lines look similar — both are straight lines drawn against a curve — but they answer fundamentally different questions, and the transition between them is how derivatives are born.
Definitions
- Secant line: a line that crosses the curve at two distinct points. It represents the average rate of change between those points.
- Tangent line: a line that touches the curve at exactly one point and matches the curve's direction there. It represents the instantaneous rate of change at that point.
Slopes
If is a function and are two x-values:
- Secant slope between and : .
- Tangent slope at : .
The tangent slope is the limit of secant slopes as the second point approaches the first. This limit is the derivative — the entire field of differential calculus is built on this transition.
Geometric pictures
Imagine zooming in on a smooth curve. A secant line through two nearby points looks like it almost touches the curve. As you slide the second point closer to the first, the secant rotates and approaches the tangent line.
This animation explains why "instantaneous rate of change" makes sense: it's the limit of average rates over shrinking windows.
Worked example
For :
- Secant slope from to : .
- Tangent slope at : .
The secant is steeper because it averages over an interval where the parabola is gaining slope; the tangent at captures the instantaneous slope before that gain.
Why this matters
- Mean Value Theorem: there's some point between and where — the tangent at is parallel to the secant.
- Numerical differentiation: for small , the secant slope approximates the tangent slope. This is how computers compute derivatives.
- Linear approximation: a tangent line at approximates near : . The basis of Taylor series, Newton's method, and gradient descent.
Common mistakes
- Calling the tangent line "the line that hits the curve once." A tangent line can cross the curve at additional points elsewhere — what defines it is matching the slope at the point of tangency, not single contact.
- Confusing "tangent" the line with "tangent" the trig function. They share a name from old constructions but are now separate concepts.
- Forgetting tangent slope is a derivative. If you can compute , you have the tangent slope — no limit definition needed.
Try it yourself
Use the Derivative Calculator to compute tangent slopes for any function. Pair with the Limit Calculator to see secant-to-tangent convergence numerically.
At a glance
| Feature | Secant Line | Tangent Line |
|---|---|---|
| Number of contact points | Two | One (at point of tangency) |
| Slope formula | $\frac{f(b)-f(a)}{b-a}$ | $f'(a)$ |
| Represents | Average rate of change | Instantaneous rate of change |
| Defined without calculus | Yes | No (requires limits) |
| Approximates other in the limit | Approaches tangent as 2nd pt → 1st | Limit of secant slopes |
Secant for average rate of change between two points; tangent for instantaneous rate at one point. The transition between them — taking the limit of secant slopes — is the definition of the derivative.