1.9: Partial Derivatives
( \newcommand{\kernel}{\mathrm{null}\,}\)
Definition of a Partial Derivative
Let f(x,y) be a function of two variables. Then we define the partial derivatives as:
fx=∂f∂x=limh→0f(x+h,y)−f(x,y)h
fy=∂f∂y=limh→0f(x,y+h)−f(x,y)h
if these limits exist.
Algebraically, we can think of the partial derivative of a function with respect to x as the derivative of the function with y held constant. Geometrically, the derivative with respect to x at a point P represents the slope of the curve that passes through P whose projection onto the xy plane is a horizontal line (if you travel due East, how steep are you climbing?)
Let
f(x,y)=2x+3y
then
∂f∂=limh→0(2(x+h)+3y)−(2x+3y)h=limh→02x+2h+3y−2x−3yh=limh→02hh=2.
We also use the notation fx and fy for the partial derivatives with respect to x and y respectively.
Find fy for the function from the example above.
Finding Partial Derivatives the Easy Way
Since a partial derivative with respect to x is a derivative with the rest of the variables held constant, we can find the partial derivative by taking the regular derivative considering the rest of the variables as constants.
Let
f(x,y)=3xy2−2x2y
then
fx=3y2−4xy
and
fy=6xy−2x2.
Find both partial derivatives for
- f(x,y)=xysinx
- f(x,y)=x+yx−y.
Higher Order Partials
Just as with function of one variable, we can define second derivatives for functions of two variables. For functions of two variables, we have four types: fxx, fxy, fyx, and fyy.
Let
f(x,y)=yex
then
fx=yex
and
fy=ex.
Now taking the partials of each of these we get:
fxx=yexfxy=exandfyy=0.
Notice that
fx,y=fyx.
Let f(x,y) be a function with continuous second order derivatives, then
fxy=fyx.
Functions of More Than Two Variables
Suppose that
f(x,y,z)=xy−2yz
is a function of three variables, then we can define the partial derivatives in much the same way as we defined the partial derivatives for three variables.
We have
fx=yfy=x−2zandfz=−2y.
Suppose that a building has a door open during a snowy day. It can be shown that the equation
Ht=c2Hxx
models this situation where H is the heat of the room at the point x feet away from the door at time t. Show that
H=e−tcos(xc)
satisfies this differential equation.
Solution
We have
Ht=−e−tcos(xc)
Hx=−1ce−tsin(xc)
Hxx=−1c2e−tcos(xc).
So that
c2Hxx=−e−tcos(xc).
And the result follows.