Derivatives

The instantaneous rate of change of a function — defined as the limit of the difference quotient and interpreted as the slope of a tangent line.

Derivative as slope of the tangent line — f(x) = x²
-2-10120123456f(x) = x²tangenta = 1.00f′(1.00) = 2.00
a = 1.002

Slope of tangent at x = a equals f′(a) = 2a

Definition

The derivative of a function ff at a point xx is the instantaneous rate of change of ff at that point. Geometrically, it is the slope of the tangent line to the graph of ff at (x,f(x))(x, f(x)).

It is defined as a limit:

f(x)=limh0f(x+h)f(x)hf'(x) = \lim_{h \to 0} \frac{f(x + h) - f(x)}{h}

This expression is the slope of the secant line through (x,f(x))(x, f(x)) and (x+h,f(x+h))(x+h, f(x+h)) as hh shrinks to zero.

Notation: f(x)f'(x), dfdx\dfrac{df}{dx}, ddx[f(x)]\dfrac{d}{dx}[f(x)], and f˙\dot{f} (in physics) all mean the same thing.

Derivative of x²

Find the derivative of f(x)=x2f(x) = x^2.

f(x)=limh0(x+h)2x2h=limh02xh+h2h=limh0(2x+h)=2xf'(x) = \lim_{h \to 0} \frac{(x+h)^2 - x^2}{h} = \lim_{h \to 0} \frac{2xh + h^2}{h} = \lim_{h \to 0}(2x + h) = 2x

So ddx[x2]=2x\frac{d}{dx}[x^2] = 2x. At x=3x = 3, the tangent line has slope 66.

Slope of the tangent

Find the slope of the tangent to f(x)=x3f(x) = x^3 at x=2x = 2.

Related concepts