Derivatives

How to differentiate

In this topic, we will look at many different rules for how to integrate different types of functions. In general, we can define differentiation as the following operation.

f(x)=xnf(x)=nxn1\begin{aligned} f(x) &= x^n \\\\ f'(x) &= nx^{n-1} \end{aligned}

Definition

The definition of the derivative of a fuction ff is given by:

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

This can be very useful and there is guaranteed to be a question in the exam where you need to use this so it is worth learning.

A function is said to be differentiable at a point aa if f(a)f'(a) exists. It might be a hint that a function isn’t differentiable if it is discontinuous or has asymptotes.

Standard derivatives

More of these are available on reference page 5 of the textbook.

Trigonometric derivatives

Chain rule

In a previous topic, we looked at composite functions. When you have a function that is the composite of two separate functions of xx.

f(x)=f(g(x))f(x)=f(g(x))g(x)\begin{aligned} f(x) &= f(g(x)) \\\\ f'(x) &= f'(g(x))g'(x) \end{aligned}

Product rule

This is for when you need to differentiate a function that is the product of two separate functions of xx.

f(x)=f(x)g(x)f(x)=f(x)g(x)+f(x)g(x)\begin{aligned} f(x) &= f(x)g(x) \\\\ f'(x) &= f'(x)g(x) + f(x)g'(x) \end{aligned}

Quotient rule

This is for when you need to differentiate a function that is the division of two separate functions of xx.

f(x)=f(x)g(x)f(x)=f(x)g(x)f(x)g(x)g(x)2\begin{aligned} f(x) &= \dfrac{f(x)}{g(x)} \\\\ \\\\ f'(x) &= \dfrac{f'(x)g(x) - f(x)g'(x)}{g(x)^2} \end{aligned}

Linearity of differentiation

ddx(f+g)=dfdx+dgdx\dfrac{d}{dx} (f + g) = \dfrac{df}{dx} + \dfrac{dg}{dx}

ddx(λf)=λdfdx\dfrac{d}{dx} (\lambda f) = \lambda \dfrac{df}{dx}

Higher derivatives

Differentiating a function f(x)f(x) gives us another function f(x)f'(x), but this function can also be differentiated. This gives us the second derivative f(x)f''(x). In theory, we can keep differentiating until we have a function that is no longer differentiable.

d2ydx2=f(x)=limh0f(x+h)f(x)h\dfrac{d^2y}{dx^2} = f''(x) = \displaystyle\lim_{h \to 0} \dfrac{f'(x + h) - f'(x)}{h}

Tangent lines

Linear approximation

f(x)f(a)+f(x)(xa)f(x) \approx f(a) + f'(x)(x-a)

Shape applications

This is essentially an application of chain rule where you will be given two functions ff and gg. Suppose ff is a function for the surface area of a shape in terms of gg and gg is a function of the radius in terms of tt. To calculate the rate of change of ff you need to differentiate ff in terms of tt.