Derivative

Lesson · Intermediate

Calculus

Derivative as the slope of the tangent line

Definition

The derivative represents the slope of the tangent line:

f′(x0)=lim⁡h→0f(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)′=nxn−1 (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)′=nxn−1 (x^n)'=nx^{n-1}
(un)′=nun−1u′ (u^n)'=nu^{n-1}u'
(ex)′=ex (e^x)'=e^x
(ln⁡x)′=1x (\ln x)'=\frac{1}{x}
(sin⁡x)′=cos⁡x (\sin x)'=\cos x
(cos⁡x)′=−sin⁡x (\cos x)'=-\sin x
(tan⁡x)′=1+tan⁡2x (\tan x)'=1+\tan^2x
(cot⁡x)′=−(1+cot⁡2x) (\cot x)'=-(1+\cot^2x)

If:

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