Partial and Total Derivatives
What partial and total derivatives are and how to calculate them
What is a partial derivative?
A partial derivative of a function is the derivative of a multivariable function for a particular variable. For instance, if you have:
For a single variable, it is easy to calculate them, but there are two variables x and y. In this case, there isn't a single derivative. Instead, you have two derivatives for each variable.
How to calculate partial derivatives?
To calculate the derivative for each, you take one variable at a time and consider other variables as constants (meaning not taking a differentiation). If we apply the procedure to the above function, the partial derivatives become:
They are called "partial" derivatives because they are derivatives only for a particular variable.
What is a total derivative?
If partial derivatives are scattered puzzle pieces, the total derivative is combining all the partial derivatives and adding them together. To do this, you employ chain rules for each variable. For instance,
If we apply the chain rule:
1. Partial derivative against x:
2. Partial derivative against y:
sin(x) doesn't have y in it so we just need to consider the exponential term.
It is be re-written as
Then
Apply the chain rule, we get:
3. Partial derivative against z:
How to calculate the total derivative
Now calculating the total derivative against all three variables is just a matter of adding them together:
If we substitute all variables in terms of t, we get:
Voila!
FYI, here is how you can calculate partial derivatives online
Last updated