Derivative

Lesson · Intermediate

Calculus

Derivative as the slope of the tangent line

Definition

The derivative represents the slope of the tangent line:

f(x0)=limh0f(x0+h)f(x0)h f'(x_0)=\lim_{h\to0}\frac{f(x_0+h)-f(x_0)}{h}

For finding local maximum and minimum, consider:

f(x)=0orf(x) does not exist f'(x)=0 \qquad\text{or}\qquad f'(x)\text{ does not exist}
Local maxima, local minimum, and saddle point

Basic derivative rules

(c)=0 (c)'=0
(xn)=nxn1 (x^n)'=nx^{n-1}
(cf(x))=cf(x) (cf(x))'=cf'(x)
(f(x)+g(x))=f(x)+g(x) (f(x)+g(x))'=f'(x)+g'(x)
(f(x)g(x))=f(x)g(x)+f(x)g(x) (f(x)g(x))'=f'(x)g(x)+f(x)g'(x)
(f(x)g(x))=f(x)g(x)f(x)g(x)g(x)2 \left(\frac{f(x)}{g(x)}\right)' = \frac{f'(x)g(x)-f(x)g'(x)}{g(x)^2}

Chain Rule

(f(g(x)))=f(g(x))g(x) (f(g(x)))'=f'(g(x))\cdot g'(x)

Common derivatives

(xn)=nxn1 (x^n)'=nx^{n-1}
(un)=nun1u (u^n)'=nu^{n-1}u'
(ex)=ex (e^x)'=e^x
(lnx)=1x (\ln x)'=\frac{1}{x}
(sinx)=cosx (\sin x)'=\cos x
(cosx)=sinx (\cos x)'=-\sin x
(tanx)=1+tan2x (\tan x)'=1+\tan^2x
(cotx)=(1+cot2x) (\cot x)'=-(1+\cot^2x)

If:

f(x)>0f(x) increases f'(x)>0 \quad\Rightarrow\quad f(x)\text{ increases}
f(x)<0f(x) decreases f'(x)<0 \quad\Rightarrow\quad f(x)\text{ decreases}
Sign of the derivative around local extrema