The rules of differentiation
In the previous lesson we talked about differentiation in general; just as a reminder, it is a word that means “computation of a derivative”, the same way multiplication means “computation of a product” .
Calculating the derivative of a function is quite easy if you know the rules of differentiation, which I will explain in a way as accurate and understandable as possible. I know it’s frustrating when you really are into something but the information given is not sufficient or not clear enough. I’ve been through it!
Linearity (addition and subtraction rule):
the derivative of the sum or the difference of two functions, f(x) and g(x) (with respect to x) is the same as the derivative of the first function plus/minus the derivative of the second.
Remember to use the brackets if you want to calculate the derivative of the sum or difference of more functions, otherwise the derivative will be that of the function next to the d/dx symbol:
means that the derivative of f(x) is added to or subtracted by another function g(x) and the other way around. It’s exactly the same as 5*(4+7), which is not the same as 5*4+7 or 5+4*7.
The derivative of a constant is equal to 0; whatever is not a function of the variable of differentiation is a constant.
Ad you can see, f(t) is not a function of the variable of differentiation x. Keep in mind though that
So, for example
because a is a constant.
Constant product rule:
The derivative of a constant (that we defined above) multiplied by a function (of the variable of differentiation) is equal to the constant times the derivative of the function.
The derivative of the product of two functions, f(x) and g(x), is equal to the derivative of the first function multiplied by the second plus the derivative of the second function multiplied by the first.
Remember that the derivative is of the whole product only if the product is inside the brackets, otherwise the derivative will be of the function next to the d/dx. So,
means “derivative of f(x) multiplied by g(x) and the other way around.
The derivative of a quotient of two functions is equal to the derivative of the first function multiplied by the second minus the derivative of the second function times the first, ALL over the square of the second function.
The derivative of a function raised to the n-power is equal to n times the function raised to the n-1 power.
For example, let f(x) = x². The derivative will be
The derivative of the reciprocal of a function is the negative of the derivative of that function over that function squared. So many of’s, right? Let me make this more clear:
The derivative of an exponential function, which is e (Neplero’s number) raised to a function, is equal to the derivative of that function times the exponential function.
For example, the derivative of e^x is the derivative of x (which is 1, from the power rule), times the function itself, e^x; the result will be 1*e^x=e^x. Another example:
This rule is valid for any other constant base; the difference is that the derivative of the exponential function is equal to the derivative of the function at the exponent times the natural logarithm (logarithm in base e) times the exponential function itself. The order doesn’t really matter.
This rule is used to calculate the derivative on nested function, like f(g(x)), f(g(z(x))) and so on. For now, let’s talk about the first case. We’ll talk about that in another post.
For example, consider the function
it is made of two functions, the function sine and the function x². The function sine is f(x) = sin(x), the other is g(x) = x². The x² is inside sin(x). To calculate the derivative of this nested function, w(x), we need to calculate the derivative of sin(x) which is cos(x) ( we will see it in the next post, where I will talk about the fundamental derivatives), and the derivative of x², which is 2x, from the power rule. So we have:
I really hope this lesson is clear, if you have any doubt don’t hesitate to leave a comment! Now you should be ready to learn the fundamental derivatives, with which you will be able to calculate ANY derivative. Stay tuned!
Support my site!
I put all of my efforts to make this site as good as possible. If you would like, you can help my site grow with a small donation! I would really appreciate it.