Partial Derivatives I
Objectives
- Given a tabular function or contour plot, approximate the rate of change at a point with respect to each input variable.
- Describe the partial derivative as the instantaneous rate of change with respect to a single input.
- Compute partial derivatives by hand using derivative rules.
- Write and understand Leibniz (“fraction with curly d”) and subscript notation for partials.
1. Rates of Change from Tables and Contour Plots
Objective. Given a tabular function or contour plot, approximate the rate of change at a point with respect to each input variable.
With one input held constant, a row or column of a table is a function of the other input. Along a horizontal or vertical line across a contour plot, the output is also a function of one input.
Definition 1 (Average rate of change with respect to an input).
For a multivariable function , the average rate of change with respect to of over an -interval when is given by
For a multivariable function , the average rate of change with respect to of over a -interval when is given by
The two points and give no average rate of change with respect to , because changes from 0.5 to 1 along with . The definition requires the same value at both points.
To approximate the rate of change at a point, choose the input interval by these rules:
- Make the interval as small as the available information allows.
- Make the interval contain the input where the rate is approximated.
Side of the interval on a table. On a table, two intervals of the smallest width contain an input away from the table’s edges: one ending at it and one starting at it. The two intervals can give different estimates, as in Example 2. Every table example here uses the interval that starts at the input and runs toward larger inputs. Because the temperatures on the wind chill chart decrease from left to right, the interval that starts at F runs left to F. When a problem gives the interval, use the interval given.
Units. A rate of change carries the output units per unit of the chosen input. The rate of change of wind chill in F with respect to wind speed in mph is in F per mph.
The National Weather Service wind chill chart gives the wind chill in F for air temperature in F and wind speed in mph. The table reproduces part of the chart.
| Temperature (F) | |||||||
| (mph) | 20 | 15 | 10 | 5 | 0 | ||
| 5 | 13 | 7 | 1 | ||||
| 10 | 9 | 3 | |||||
| 15 | 6 | 0 | |||||
| 20 | 4 | ||||||
| 25 | 3 | ||||||
| 30 | 1 | ||||||
| 35 | 0 | ||||||
Example 1
At an air temperature of F, approximate the rate of change of wind chill with respect to wind speed between 10 and 15 mph.
ShowHide solution
By the definition of average rate of change with respect to an input, hold at 5. The average rate of change with respect to over is
Read and from the F column and substitute them into the formula:
At F, the wind chill decreases about F per mph of wind speed between 10 and 15 mph.
Example 2
Approximate the rate of change of wind chill with respect to air temperature when the temperature is F and the wind speed is 30 mph.
ShowHide solution
Hold at 30. The interval starts at and runs up to 0, the next temperature on the chart. Read both wind chills from the 30 mph row and substitute them as in Example 1:
At F and 30 mph, the wind chill increases about F per F of air temperature. The interval on the other side gives .
Contour plots. When no interval is given, estimate the rate of change at a point between two contours by these steps:
- Draw the line through the point along which only the chosen input changes: horizontal for , vertical for . Find the two crossing points, where that line crosses the nearest contour on each side of the point.
- Read the labels of the two contours as in section 2 of the Lesson 36 Notes. Take the change in output as the label at the crossing point with the larger input minus the label at the crossing point with the smaller input.
- Take the change in input as the larger input minus the smaller input at the two crossing points, and divide the change in output by it.
The sign of the rate comes from the order of the contour labels along the line. In each graph, is the elevation in meters at the map point , with increasing to the east, and the arrow runs east from the point.
Positive rate
The rate with respect to is positive, because the labels increase toward the east. The ground rises to the east.
Negative rate
The rate with respect to is negative, because the labels decrease toward the east. The ground falls to the east.
Zero rate
The rate with respect to is 0, because the arrow runs along the level 2 contour. The elevation stays at 2 meters to the east.
Values between contours. A point between two contours with different labels has a value between their labels. Estimate the value of at the point as in Example 5:
- Draw the horizontal or vertical line through the point, and find where it crosses the two contours.
- Find the fraction: the distance from the lower-labeled crossing to the point, divided by the distance from the lower-labeled crossing to the higher-labeled crossing.
- Go that same fraction of the way from the lower label to the higher label.
A point inside the innermost closed contour has a value beyond that contour’s label: above it when the labels increase toward the point, below it when they decrease.
When a problem gives the interval, estimate at each endpoint from the contours and use the average rate of change formula.
Example 3
Use the contour plot of
above to approximate the rate of change of with respect to at .
ShowHide solution
The point lies between the contours labeled 1 and 2.
Along the line , those contours cross at and , the ends of the green segment in the enlarged view. Divide the change in output between the two crossing points by the change in input:
At , the function increases about 3.6 per unit of .
Example 4
Use the contour plot of
above to approximate the rate of change of with respect to at .
ShowHide solution
The point lies between the contours labeled 3 and 4.
Along the line , those contours cross at and , the ends of the purple segment in the enlarged view. Divide as in Example 3:
At , the function increases about 3.1 per unit of .
Example 5
Use the contour plot of
above to approximate the average rate of change of with respect to over the interval when .
ShowHide solution
Estimate and from the contours, then substitute both into the formula for the average rate of change with respect to .
The point lies on the contour labeled 2, which gives . The point lies between the contours labeled 3 and 4, which cross the line at and , read in the enlarged view of Example 4. Find the fraction of the distance from the level 3 crossing to the level 4 crossing that lies between the level 3 crossing and the point:
Go the same fraction of the way from 3 to 4:
Substitute both values into the formula:
Over with , the function increases about 2.5 per unit of .
2. The Partial Derivative
Objective. Describe the partial derivative as the instantaneous rate of change with respect to a single input.
A partial derivative is an instantaneous rate of change with respect to a single input. Section 2 of the Lesson 25 Notes defines the instantaneous rate of change.
The left graph is the surface of . Fixing cuts the surface along the black curve, the graph of the one-input function , drawn alone on the right. The red line is tangent to that curve where , at the height . Its slope 3.25 is the partial derivative , defined next. This value is estimated in Example 6 and computed in Example 8.
Definition 2 (Partial derivative).
The partial derivative of with respect to when is the number approached by the average rates of change with respect to of when these rates are computed over smaller and smaller -intervals containing while is held constant. This first partial is denoted by .
The partial derivative of with respect to when is the number approached by the average rates of change with respect to of when these rates are computed over smaller and smaller -intervals containing while is held constant. This first partial is denoted by .
Geometrically, the partial derivative is the slope of the line tangent to the surface of at the point in the -direction. The partial derivative is the slope of the line tangent to the surface of at the point in the -direction.
The function has no partial derivative with respect to when . With held constant, for every positive number , its average rate of change with respect to over is , and over it is . The average rates from the two sides stay apart, and the definition requires them to approach one number.
Example 6
For the function
with , compute the average rate of change of with respect to over each interval, and use the results to estimate :
ShowHide solution
By the definition of the partial derivative, is the number that the average rates of change with respect to approach over smaller and smaller -intervals containing , with held constant. Every interval starts at . Evaluate there once, with :
Over , evaluate at the right endpoint and substitute both values into the formula for the average rate of change with respect to :
Over , do the same:
Over , do the same:
The average rates of change approach 3.25, which gives the estimate per unit of , with held at 0.5.
Example 7
A cylinder with radius centimeters and height centimeters has volume
cubic centimeters. With , compute the average rate of change of Vol with respect to over each interval, and use the results to estimate , the partial derivative of Vol with respect to at :
Describe as an instantaneous rate of change, with its units.
ShowHide solution
Every interval starts at . Evaluate Vol there once, with :
Over , evaluate Vol at the right endpoint and substitute both values:
Over , do the same:
Over , do the same:
The multiples of approach , which gives the estimate
The partial derivative is the instantaneous rate of change of volume with respect to radius. When the radius is 2 centimeters and the height is held at 5 centimeters, the volume is increasing at about 62.832 cubic centimeters per centimeter of radius.
3. Computing Partial Derivatives
Objective. Compute partial derivatives by hand using derivative rules.
The derivative rules for one input apply to each partial derivative. Computed at every point instead of one point , the partial derivatives are functions and .
- Find by differentiating with respect to while treating as a constant.
- Find by differentiating with respect to while treating as a constant.
The symbol stands for the partial derivative with respect to of the expression in the brackets. The notation is set out in full in section 4.
Constants. With respect to , a term with no in it differentiates to 0, and a factor with no in it is a constant multiple. In the term , for example, the factor is a constant multiple. The constant multiple rule then applies in place of the product rule: . The term alone is a constant: .
Example 8
Compute both first partial derivatives of the function below, then evaluate and :
ShowHide solution
Find by differentiating with respect to while treating as a constant. The factor is then a constant multiple:
Substitute and into :
Find by differentiating with respect to while treating as a constant. The factor is then a constant multiple, and the term is a constant:
Substitute and into :
The value matches the estimate of Example 6 and is the slope of the red tangent line in the section 2 figure.
Example 9
Compute both first partial derivatives:
ShowHide solution
With respect to , the factor is a constant multiple and the term is a constant:
With respect to , the factor is a constant multiple:
Example 10
Compute both first partial derivatives:
ShowHide solution
By the chain rule, the partial derivative of is multiplied by the partial derivative of its exponent. With respect to , the exponent has partial derivative :
With respect to , the exponent has partial derivative 9:
Example 11
Compute both first partial derivatives:
ShowHide solution
With respect to , both factors contain and the product rule applies. By the chain rule, the partial derivative of with respect to is multiplied by the partial derivative of with respect to , which is :
With respect to , the factor is a constant multiple. By the chain rule, the partial derivative of with respect to is multiplied by the partial derivative of with respect to , which is :
Example 12
Compute both first partial derivatives:
ShowHide solution
With respect to , the numerator and the denominator both contain and the quotient rule applies:
With respect to , the numerator is a constant multiple. Write as and differentiate by the chain rule:
4. Partial Derivative Notation
Objective. Write and understand Leibniz (“fraction with curly d”) and subscript notation for partials.
The symbol is the “curly d”, read “partial”. In both notations, the input that varies appears in the symbol.
| Partial derivative | Subscript | Leibniz |
| With respect to | ||
| With respect to | ||
| With respect to at |
The symbol is read “ sub ”, and is read “partial partial ”. The symbol names a new function, the partial derivative of with respect to .
As in the textbook, each function in the examples is assumed to have partial derivatives at the points used in the examples.
A function has one first partial derivative for each input, defined in the same way for a third input : the function has the three first partial derivatives , , and .
Example 13
Write the rate of change of wind chill with respect to wind speed at F and 30 mph in subscript and Leibniz notation, and approximate it from the chart in section 1.
ShowHide solution
For the wind chill , the rate of change with respect to wind speed at F and 30 mph is in subscript notation and in Leibniz notation. As in section 1, the wind speed interval starts at 30 mph and runs up to 35 mph, the next wind speed on the chart:
Therefore, at F and 30 mph the wind chill decreases about F per mph of wind speed.
Example 14
For the function
compute and write it in subscript notation.
ShowHide solution
Differentiate with respect to while treating as a constant:
Substitute and :
Found a mistake, a broken tool or something unclear? Report a problem