#Differentiation
With differentiation we jump into calculus. This onepager first presents the “classical” way of differentiation, then shows how to work with the rules.
#Differentiation
Calculate the derivative of the following function.
Basic definitions
A tangent to a curve is a straight line that only touches the curve at a single point and does not go through it.
The gradient of a function at a certain point is the gradient of the tangent at that point.
The derivative of a function is also a function which gives the gradient of f(x) at all points of its curve.
Differentiation is the process of finding the derivative of a function.
First principles
Since the derivative is the rate of change in the value of the function (i.e. in X) to change in the independent variable (i.e. in Y), we can use the following formula to calculate the derivative:
f’(x) is the derivative of f(x).
We can use this definition to find the derivative of simple polynomial functions. To understand how to use the formula, take a look at the worked examples.
The first principles is in the formula booklet.
Find the derivatives of the following function from first principles: .
First calculate f(x+h):
Substitute f(x+h) and f(x) into the formula:
Simplify: and cancel each other, therefore then we can divide both the top and bottom by h:
Then since h heads towards 0, we are free to let :
So the derivative of f(x) is f’(x)=2x.
Find the derivatives of the following function from first principles: .
First calculate f(x+h):
Substitute f(x+h) and f(x) into the formula:
Simplify: and , and , and cancel each other, then we can divide both the top and bottom by h
Then since h heads towards 0, we are free to let :
So the derivative of f(x) is f’(x)=2x+6.
Rules of differentiation
In practice the usual way to find derivatives is to use the rules.
Rules | Function | Derivative |
Power rule | ||
Multiplication by constant | ||
Sum rule |
(1) derivative of :
Example:
(2) If we differentiate , where is a constant, we get :
Example: We have , to find differentiate then multiply by .
The derivative of : .
So
(3) To differentiate a sum, we can differentiate its terms one at a time and then add up the results:
Example:
To find differentiate and separately and add up the results.
The derivative of and the derivative of , so: .
The derivatives of standard functions are in the formula booklet.
Find the derivative of the following function:
Differentiate each term separately then and add up the results.
Find the derivative of the following function: .
First use the laws of exponents to rewrite the function in the form :
Then use the differentiation formula:
Find the derivative of the following function: .
Differentiate each term separately then and add up the results.
Find the derivative of the following function: .
Differentiate each term separately then and add up the results.