Basic Differentiation Rules

Differentiation is the process of finding a derivative or gradient function.
Given a function $f(x)$, we obtain $f'(x)$ by differentiating with respect to the variable $x$.
There are a number of rules associated with differentiation. These rules can be used to differentiate more complicated functions without having to resort to the sometimes lengthy method of first principles.
Note that the notations, $\dfrac{d}{dx}f(x)$ and $f'(x)$ are the same expressions for the derivatives.

Differentiating a constant

$f(x) = c$ then $f'(x) = 0$

Example 1

If $f(x)=5$, find $f'(x)$.

Differentiating $x^n$

$f(x) = x^n$ then $f'(x) = nx^{n-1}$

Example 2

If $f(x)=x^7$, find $f'(x)$.

Constant times a function

$f(x) = cu(x)$ then $f'(x) = cu'(x)$
Proof,
\( \begin{align} \displaystyle f'(x) &= \lim_{h \rightarrow 0} \dfrac{f(x+h)-f(x)}{h} \\ &= \lim_{h \rightarrow 0} \dfrac{cu(x+h)-cu(x)}{h} \\ &= \lim_{h \rightarrow 0} c \times \dfrac{u(x+h)-u(x)}{h} \\ &= c \lim_{h \rightarrow 0} \dfrac{u(x+h)-u(x)}{h} \\ &= cu'(x) \end{align} \)

Example 3

If $f(x)=3x^5$, find $f'(x)$.

Addition rule

$f(x) = u(x) + v(x)$ then $f'(x) = u'(x) + v'(x)$
Proof,
\( \begin{align} \displaystyle f'(x) &= \lim_{h \rightarrow 0} \dfrac{f(x+h)-f(x)}{h} \\ &= \lim_{h \rightarrow 0} \dfrac{u(x+h)+v(x+h) - (u(x)+v(x))}{h} \\ &= \lim_{h \rightarrow 0} \Bigg[\dfrac{u(x+h)-u(x)}{h} + \dfrac{v(x+h)-v(x)}{h}\Bigg] \\ &= \lim_{h \rightarrow 0} \dfrac{u(x+h)-u(x)}{h} + \lim_{h \rightarrow 0}\dfrac{v(x+h)-v(x)}{h} \\ &= u'(x) + v'(x) \end{align} \)

Example 4

If $f(x)=x^4+x^6$, find $f'(x)$.

Example 5

If $f(x)=\sqrt{x}$, find $f'(x)$.

Example 6

If $f(x)=\dfrac{1}{x^2}$, find $f'(x)$.

Example 7

If $f(x)=\dfrac{1}{\sqrt{x}}$, find $f'(x)$.

Example 8

If $f(x)=x\sqrt{x}$, find $f'(x)$.

Example 9

If $f(x)=\dfrac{2x-1}{x}$, find $f'(x)$.