"

Section 3.3 Partial Derivatives

3.3 Partial Derivatives

In this section, we learn what does it mean for taking derivative of a function of two variables. Recall that the first derivative of a function f(x) at x=a is defined as

f(a)=limxaf(x)f(a)xa=limh0f(a+h)f(a)h

if f(x) is differentiable at x=a. For a function of two variables, we use similar definition. The big difference is that we approach the limit at one path at a time for two dimensional space. Hence we define the derivative of a function with two variables with respect to two different directions (paths). 

 

Definition

Let f(x,y) be a function of two variables, x and y. The partial derivative of f(x,y) with respect to x at (a,b) is 

fx(a,b)=limxaf(x,b)f(a,b)xa=limh0f(a+h,b)f(a,b)h

if the limit exists. This definition means that we take derivative of f(x,y) along the path of y=b. The partial derivative of f(x,y) with respect to y at (a,b) is 

fy(a,b)=limybf(a,y)f(a,b)yb=limh0f(a,b+h)f(a,b)h

if the limit exists. This definition means that we take derivative of f(x,y) along the path of x=a. 

 

Example 1: Find fx(1,2) and fy(1,2) where f(x,y)=x2yxy2+2x+y+3.

 

 

 

Exercise 1: Find fx(2,1) and fy(2,1) where f(x,y)=2xy2+xyx+2y1.

 

 

 

Recall in calculus I, if a function, f(x) is differentiable over at an interval I, we can define the derivative function, f(x) as 

f(x)=limh0f(x+h)f(x)h=Δfx.

We do this for a function f(x,y) of two variables.

 

Definition: Let f(x,y) be a function of two variables, x and y. The partial derivative function of f(x,y) with respect to x is 

fx(x,y)=limh0f(x+h,y)f(x,y)h=fx

if the limit exists. This definition means that we take derivative of f(x,y) along the path parallel to the x-axis. We treat y-variable as a constant and we differentiate f(x,y) with respect to x. The partial derivative function of f(x,y) with respect to y is 

fy(x,y)=limh0f(x,y+h)f(x,y)h=fy

if the limit exists. This definition means that we take derivative of f(x,y) along the path parallel to the y-axis. We treat x-variable as a constant and we differentiate f(x,y) with respect to y. 

 

Example 2: Find fx(x,y) and fy(x,y) where f(x,y)=x2yxy2+xy+2x2y+2.

 

 

 

Exercise 2: Find fx(x,y) and fy(x,y) where f(x,y)=2x2y+xy23xy2x+y23. 

 

 

 

Example 3: Find fx(x,y) and fy(x,y) where f(x,y)=(x2+xy2+y2)3. Then find fx(1,1).

 

 

 

Exercise 3: Find fx(x,y) and fy(x,y) where f(x,y)=(x3+x2yy3)4. Then find fy(1,1).

 

 

 

Recall in calculus I, the first derivative of a function at x=a gives the slope of tangent of the function at x=a. For two variable function, we have a very similar meaning. The partial derivative of f(x,y) with respect to x at (x,y)=(a,b) is the slope of tangent of the curve(trace) that is the intersection of the surface f(x,y) and y=b. Similarly, The partial derivative of f(x,y) with respect to y at (x,y)=(a,b) is the slope of tangent of the curve(trace) that is the intersection of the surface f(x,y) and x=a. 

 

 

 

 

 

 

 

Example 4: Find fx(0,π) and fy(0,π) where f(x,y)=sin(x2y+2y).

 

 

 

Exercise 4: Find fx(π2,0) and fy(π2,0) where f(x,y)=cos(xy2x).

 

 

 

Definition: Let f(x1,x2,,xn) be a function of n variables. The partial derivative function of f(x1,,xn) with respect to xi is 

fxi(x1,,xn)=limh0f(x1,,xi+h,,xn)f(x1,,xi,,xn)h=fxi

if the limit exists. This definition means that we take derivative of f(x1,x2,,xn) along the path parallel to the xi-axis. We treat variables other than xi as constants and we differentiate f(x1,x2,,xn) with respect to xi. 

 

 

 

Example 5: Find fx(x,y,z), fy(x,y,z) and fz(x,y,z) where f(x,y,z)=ex2y+yz.

 

 

 

Exercise 5: Find fx(x,y,z), fy(x,y,z) and fz(x,y,z) where f(x,y,z)=exz+xy.

 

 

 

Recall in calculus I, we are able to find the second derivative of a function f(x) by taking derivative of the first derivative, f(x). At here, we have the similar approach.

 

Definition: Let f(x1,x2,,xn) be a function of n variables. The second partial derivative function of f(x1,,xn) with respect to xi then xj is 

fxixj(x1,,xn)=fxixj=xj(fxi).

 

Example 6: Find fxy(x,y,z), fyx(x,y,z) and fyz(x,y,z) where f(x,y,z)=ex2y+yz.

 

 

 

Exercise 6: Find fxy(x,y,z), fyx(x,y,z) and fxz(x,y,z) where f(x,y,z)=exz+xy.

 

 

 

Theorem:(Clairaut’s Theorem)

Suppose that f(x,y) is defined on an open disk D that contains the point (a,b). If the functions fxy and fyx are continuous on D, then fxy=fyx.

 

 

 

Remark: Higher partial derivative can also be defined and we have fxyz=fxzy=fyxz=fzyx=fyzx=fzxy.

 

Example 7: Find fyzx(x,y,z), and fyyx(x,y,z) where f(x,y,z)=ex+tan(yz).

 

 

 

Exercise 7: Find fxyz(x,y,z), and fyzz(x,y,z) where f(x,y,z)=ez+sin(xy).

 

 

 

Example 8: Find fy(x,y), and fx(x,y) where f(x,y)=yx.

 

 

 

Example 9: Use implicit differentiation to find zx and zy where ez=xyz.

 

 

 

Group work:

1. Find fy(x,y), and fx(x,y) where f(x,y)=xy.

 

2. Use implicit differentiation to find zx and zy where sin(x)=xyz2.

 

3. Find fyzx(x,y,z), and fyyx(x,y,z) where f(x,y,z)=ex+tan(yz).

 

4. Find fxyz(x,y,z), and fyzz(x,y,z) where f(x,y,z)=z2yx+sin1(xy).

 

5. Use implicit differentiation to find zx and zy where eyz=cos(xy).

License

Multivariable Calculus Copyright © by Kuei-Nuan Lin. All Rights Reserved.