Partial derivative examples
Example 1
Let . Calculate .
Solution: To calculate , we simply view as being a fixed number and calculate the ordinary derivative with respect to . The first time you do this, it might be easiest to set , where is a constant, to remind you that you should treat as though it were number rather than a variable. Then, the partial derivative is the same as the ordinary derivative of the function . Using the rules for ordinary differentiation, we know that
Now, we remember that and substitute back in to conclude that
Example 2
For the same , calculate .
Solution: This time, we’ll just calculate the derivative with respect to directly without replacing with a constant. We just have to remember to treat like a constant and use the rules for ordinary differentiation. We don’t touch the and only differentiate the factor to calculate that
Example 3
For the same , calculate .
Solution: From example 1, we know that . To evaluate this partial derivative at the point , we just substitute the respective values for and :
Example 4
For
calculate .
Solution: Although this initially looks hard, it’s really any easy problem. The ugly term does not depend on , so in calculating partial derivative with respect to , we treat it as a constant. The derivative of a constant is zero, so that term drops out. The derivative is just the derivative of the last term with respect to , which is
Substituting in the values , we obtain the final answer