Partial Derivatives
Partial Derivatives
Since the real world is so complicated, we want to extend our calculus ideas to functions of
several variables.
The inputs are ordered pairs, (x, y). The outputs are real numbers. The domain of a
function is the set of all possible inputs (ordered pairs); the range is the set of all possible
outputs (real numbers).
We will often now call the familiar y = f(x) a function of one variable.
Example 1
The cost of renting a car depends on how many days you keep it and how far you drive.
Represent this using a function.
Let d = the number of days you rent the car, and m = the number of miles you drive. Then the
cost of the car rental C(d, m) is a function of two variables.
This chapter is (c) 2013. It was remixed by David Lippman from Shana Calaway's remix of Contemporary Calculus
by Dale Hoffman. It is licensed under the Creative Commons Attribution license.
Chapter 4 Functions of Two Variables Applied Calculus 262
Of course, everything here works the same way if we’re trying to find the partial
derivative with respect to y – just think of y as your only variable and act as if x is
constant.
The idea of a partial derivative works perfectly well for a function of several variables –
you focus on one variable to be THE variable and act as if all the other variables are
constants.
Example 1
Here is a contour diagram for a function
g(x,y). Use the diagram to answer the
following questions:
a. Estimate g x (3,5) and g y (3,5)
b. Where on this diagram is g x greatest?
Where is g y greatest?
Estimate g y (3,5) the same way, but moving on the vertical line. Using the next point up, we
∆g 0.7 − 0.6
get the average rate of change = = = .125 . Using the next point down, we get
∆y 5.8 − 5
∆g 0.5 − 0.6
= = .2 . Taking their average, we estimate g y (3,5) ≅ .1625 .
∆y 4.5 − 5
Example 2
Cold temperatures feel colder when the wind is blowing. Windchill is the perceived
temperature, and it depends on both the actual temperature and the wind speed – a function of
two variables! You can read more about windchill at http://www.nws.noaa.gov/om/windchill/.
Below is a table (courtesy of the National Weather Service) that shows the perceived
temperature for various temperatures and windspeeds. Note that they also include the formula,
but for this example we'll use the information in the table.
a. What is the perceived temperature when the actual temperature is 25˚F and the wind is
blowing at 15 miles per hour?
b. Suppose the actual temperature is 25˚F. Use information from the table to describe how the
perceived temperature would change if the wind speed increased from 15 miles per hour?
Chapter 4 Functions of Two Variables Applied Calculus 264
b. This is a question about a partial derivative. We’re holding the temperature (T) fixed at 25˚F,
and asking what happens as wind speed (V) increases from 15 miles per hour. We’re thinking
of V as the only variable, so we want WindChillV = WV when T = 25 and V = 15. We’ll find
the average rate of change by looking in the column where T = 25 and letting V increase, and
use that to approximate the partial derivative.
∆W 11 − 13
WV ≅ = = −0.4
∆V 20 − 15
What are the units? W is measured in ˚F and V is measured in mph, so the units here are
˚F/mph. And that lets us describe what happens:
The perceived temperature would decrease by about .4˚F for each mph increase in wind speed.
Example 3
Find f x and f y at the points (0, 0) and (1, 1) if f (x, y ) = x 2 − 4 xy + 4 y 2
f x (0,0) = 0 and f y (0,0 ) = 0 ; this tells us that the cross sections parallel to the x- and y- axes are
both flat at (0,0).
f x (1,1) = −2 and f y (1,1) = 4 ; this tells us that above the point (1, 1), the surface decreases if you
move to more positive x values and increases if you move to more positive y values.
Example 4
∂f ∂f e x+ y
Find and if f ( x, y ) = 3 + y (ln y )
∂x ∂y y +y
∂f
means x is our only variable, we’re thinking of y as a constant. Then we’ll just find the
∂x
ordinary derivative. From x’s point of view, this is an exponential function, divided by a
constant, with a constant added. The constant pulls out in front, the derivative of the
exponential function is the same thing, and we need to use the chain rule, so we multiply by the
derivative of that exponent (which is just 1):
∂f 1
= 3 e x+ y
∂x y + y
∂f
means that we’re thinking of y as the variable, acting as if x is constant. From y’s point of
∂y
view, f is a quotient plus a product – we’ll need the quotient rule and the product rule:
∂f ( )( ) − ( )( )
= + ( )( ) + ( )( )
∂y ( )2
=
(e (1))(y
x+ y 3
) ( )(
+ y − e x+ y 3 y 2 + 1 ) + (1)(ln y ) + ( y ) 1
y
(y + y )
3 2
Example 5
1
Find f z if f ( x, y, z , w) = 35 x 2 w − + yz 2
z
f z means we act as if z is our only variable, so we’ll act as if all the other variables (x, y and w)
are constants and take the ordinary derivative.
1
f z ( x, y, z , w) = 2 + 2 yz
z