Toolkit 63

Derivative

Tangent line to f(x) at x0 with slope f'(x0)

Definition

The derivative represents the slope of the tangent line:

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

For finding local maximum and minimum, consider:

f(x)=0f'(x)=0
Local maximum, local minimum, and saddle point on a curve

Basic derivative rules

(c)=0(c)'=0
(xn)=nxn1(x^n)'=n\,x^{n-1}
(cf(x))=cf(x)(cf(x))'=c\,f'(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)'=n\,x^{n-1}
(un)=nun1u(u^n)'=n\,u^{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^2 x
(cotx)=(1+cot2x)(\cot x)'=-(1+\cot^2 x)

If:

f(x)>0  f(x) increasesf'(x)>0\ \Rightarrow\ f(x)\ \text{increases}
f(x)<0  f(x) decreasesf'(x)<0\ \Rightarrow\ f(x)\ \text{decreases}
Sign of derivative around local maximum and local minimum