Section 11.3 Partial Derivatives
Subsection 11.3.1 Partial Derivatives for Functions of Two Variables
Consider the function z=f(x,y). Suppose we keep y=b fixed. In that case, we essentially obtain a function of a single variable, x, namely g(x)=f(x,b). By definition, the derivative of g(x) at x=a is g′(a)=limh→0g(a+h)−g(a)h. Introducing the notation fx to denote the partial derivative of f with respect to x, we thus have fx(a,b)=limh→0f(a+h,b)−f(a,b)h. Similarly, using fy to denote the partial derivative of f with respect to y, we have fy(a,b)=limh→0f(a,b+h)−f(a,b)h. Generalizing (by letting a and b vary), we have- To determine fx, treat y as a constant, and differentiate with respect to x.
- To determine fy, treat x as a constant, and differentiate with respect to y.
Example 11.3.1.
Treating \(y\) as a constant, and differentiating with respect to \(x\) gives $$ f_x(x,y) = 0 - 3x^2 - 0 = -3x^2, $$ and so \(f_x(1,1) = -3\text{.}\)
Treating \(x\) as a constant, and differentiating with respect to \(y\) gives $$ f_y(x,y) = 0 - 0 - 2y = -2y, $$ and so \(f_y(1,1) = -2\text{.}\)
Subsection 11.3.2 Additional Notation
Alternative notation is similar to Leibniz notation, but using the symbol ∂ instead of d. If z=f(x,y), we can writeExample 11.3.2.
Treating \(y\) as a constant, and differentiating with respect to \(x\) (keeping the chain rule in mind) gives
Treating \(x\) as a constant, and differentiating with respect to \(y\) (keeping the chain rule in mind) gives
Example 11.3.3.
Treating \(y\) as a constant, and differentiating with respect to \(x\) (keeping the product rule and the chain rule in mind) gives
Similarly (try it yourself!), we have $$ f_y(x,y) = x(x^2+y^2)e^{xy} + 2ye^{xy}. $$
Subsection 11.3.3 Checking Your Work: Partial Differentiation with Technology
On WolframAlpha, you can simply use thedifferentiate
command, but you need to indicate with respect to which variable you want to differentiate, for example differentiate sin(xy^2) with respect to x
.Subsection 11.3.4 Partial Derivatives of Functions of More Than Two Variables
The concept of the partial derivative extends naturally to functions of more than two variables. Formally, for a function of n variables, f(x1,x2,…,xn), we have fxi=∂f∂xi=limh→0f(x1,…,xi−1,xi+h,xi+1,…,xn)−f(x1,…,xi−1,xi,xi+1,…,xn)h. In practice, to determine fxi, treat x1,…,xi−1,xi+1,…,xn as constants, and differentiate with respect to xi.Example 11.3.4.
Treating \(y\) and \(z\) as constants, and differentiating with respect to \(x\) gives $$ f_x(x,y,z) = \frac{1}{xyz^2} \frac{\partial}{\partial x}(xyz^2) = \frac{yz^2}{xyz^2}. $$
Treating \(x\) and \(y\) as constants, and differentiating with respect to \(z\) gives $$ f_z(x,y,z) = \frac{1}{xyz^2} \frac{\partial}{\partial z}(xyz^2) = \frac{2xyz}{xyz^2}. $$
Subsection 11.3.5 Higher-Order Partial Derivatives
In general, for z=f(x,y), the partial derivatives fx and fy also are functions of x and y. We can differentiate each of these functions with respect to x and y to obtain (fx)x, (fx)y, (fy)x, and (fy)y. We introduce the following notation:Remark 11.3.5.
Note the order of the subscript xy and the order of ∂y ∂x in the denominator: fxy=∂2f∂y ∂x indicates differentiation with respect to x first, followed by differentiation with respect to y.Example 11.3.6.
For \(f_{xyz}\text{,}\) we could use the following steps (but other steps will lead to the same result): First,
Second,
Third,
For \(f_{yzz}\text{,}\) we could use the following steps (but other steps will lead to the same result): First,
Second,
Third,
Subsection 11.3.6 All Examples Collected in One Video (Optional)
In the following video, we work through all of the examples treated in this section.Subsection 11.3.7 Summary
- For f(x1,x2,…,xn), the partial derivative fxi=∂f∂xi is obtained by treating x1,…,xi−1,xi+1,…,xn as constants, and differentiating with respect to xi.
- Notation for partial derivatives of z=f(x,y):fx(x,y)=fx=∂f∂x=∂∂xf(x,y)=∂z∂x,fy(x,y)=fy=∂f∂y=∂∂yf(x,y)=∂z∂y.
- Notation for higher-order partial derivatives: fxy=∂2f∂y ∂x indicates differentiation with respect to x first, followed by differentiation with respect to y.
- In general (for continuous functions with continuous derivatives), the order of differentiation for higher-order partial derivatives does not matter. For example, fxxy=fxyx=fyxx.
Subsection 11.3.8 Don't Forget
Don't forget to return to eClass to complete the pre-class quiz.Subsection 11.3.9 Further Study
Remember that the notes presented above only serve as an introduction to the topic. Further study of the topic will be required. This includes working through the pre-class quizzes, reviewing the lecture notes, and diligently working through the homework problems. As you study, you should reflect on the following learning outcomes, and critically assess where you are on the path to achieving these learning outcomes:Learning Outcomes
- Calculate the partial derivatives (including higher-order partial derivatives) for a given function of several variables.
- Use correct notation for partial derivatives and partial differentiation.
- Interpret partial derivatives in terms of rates of change, slopes, and tangent lines.
Learning Outcome | Video | Textbook Section |
---|---|---|
1 | 11.3 | 9.2 |
2 | 11.3 | 9.2 |
3 | N/A | 9.2 |