← back to calculus

The Derivative

Active Calculus (CC BY-SA) · activecalculus.org

The derivative f'(a) is the slope of the tangent line at x = a. It is defined as the limit of the difference quotient: f'(a) = limh→0 [f(a+h) - f(a)] / h. If this limit exists, f is differentiable at a.

tangent secants (a, f(a)) secant slope → tangent slope as h → 0

The difference quotient

The slope of the secant line through (a, f(a)) and (a+h, f(a+h)) is [f(a+h) - f(a)] / h. As h shrinks to zero, this secant slope approaches the tangent slope. That limit is the derivative.

Scheme

Derivative as a function

We can compute f'(x) for every x, not just one point. The result is a new function. For f(x) = x², the derivative f'(x) = 2x. The derivative maps each input to the slope of f at that input.

Scheme

Differentiability

A function is differentiable at a if the limit exists. Differentiable implies continuous, but not the other way around. |x| is continuous at 0 but not differentiable: the left and right slopes disagree.

Scheme

Tangent line equation

The tangent line at x = a is y = f(a) + f'(a)(x - a). This is the best linear approximation to f near a. It is the foundation of linearization, Newton's method, and Taylor series.

Scheme

Notation reference

Math Scheme Meaning
f'(x)(f-prime x)Derivative of f at x
dy/dx(deriv f)Leibniz notation for derivative
[f(a+h)-f(a)]/h(diff-quotient h)Difference quotient
limh→0h = 0.00001Limit (approximated numerically)
Neighbors