To determine how a function of several variables behaves when we change only one variable, we assign finite values to the other variables and allow only this variable to vary. In this case, the function becomes a function of a single variable. For example, consider a function , and assign to a (finite) fixed value of . The result, , is a function of only . The curve formed by the intersection of the surface and the plane represents the graph of (see Fig. 1). Now we can differentiate like a function of a single variable. What we obtain is called the partial derivative of with respect to at :
To emphasize that we first held fixed at and then we differentiated with respect to at , we use a “curved dee” instead of the regular letter , and denote the above limit by .
 |
Figure 1: section of . |
From single variable calculus, we remember that the derivative is the slope of the tangent line. Here, the partial derivative of with respect to is the tangent of the angle between the curve and a line parallel to the -axis at the point . That is, is the slope of the surface at in the direction.
In a similar way, we can hold constant at and make a function of alone, the derivative of which is the partial derivative of with respect to at and is given by:
is slope the slope of the surface at in the direction. See Fig. 2.
 |
Figure 2: section of |
If we let vary in the domain of and find the partial derivatives at all points, the partial derivatives become two functions of and :
Definition 1: If , the first partial derivatives of with respect to the variables and are two functions and given by:
provided the limits exist.
- Other common notations of partial derivatives are
- Other common notations, specially in physics and mechanics, are or . Comma or prime is used to emphasize that is not a subscript.
- If is a function of and , the first partial derivatives of with respect to , and are:
- In general, if is a function of several variables, we can similarly define its partial derivatives by:
- To calculate , we differentiate with respect to in a regular way and deal with the other variables as if they are constants.
- To indicate that a partial derivative of has been evaluated at , we write:
In the above notations we can replace with .
Examples
Example 1
If , find and .
Solution
To calculate we think of as a constant and differentiate with respect to as the only variable. Similarly to find , we regard as a constant and differentiate with respect to as the only variable. Therefore:
Example 2
If , find and .
Example 3
If , find and .
Solution
Finding partial derivatives in this example might look intimidating at first look. But if we remember what a partial derivative means, we can use the techniques for functions of single variable:
To calculate , let regarding as a fixed number. Using chain rule, we will have
Recall that . Because , we can write
Similarly by defining , and using chain rule, we will obtain
Solution
Method (a): First we hold fixed at . Then we differentiate with respect to y and then plug in that:
Method (b): First we calculate similar to previous examples and then plug and in that:
Example 5
Find and , if is given by .
Solution
To calculate , we plug in , and call the resulting function :
Because is not equal to , is not continuous at and consequently it is not differentiable at . Therefore does not exist.
Similarly to calculate , we plug in , which results in a constant function . Therefore
.
Solution
To calculate we plug , and find a function of alone:
Similarly for we plug and find
where is a function of single variable. We note that is continuous at because . Also
Because and are not equal, is not differentiable at . Therefore, does not exist. Graph of is shown in Fig. 3.
 |
Figure 3 |
Example 6
Find the slopes in the -direction and the -direction of the surface given by
at the point
Solution
Recall that the slopes in the x-direction and the y-direction are and . Therefore, we need to calculate and .
Thus, the slope of the surface at (1, 2, 4) in the -direction and the -direction are: