Given a function \(f\) of the independent variables \(x\) and \(y\text{,}\) what do the first-order partial derivatives \(\frac{\partial
f}{\partial x}\) and \(\frac{\partial f}{\partial y}\) tell us about \(f\text{?}\)
The derivative plays a central role in first semester calculus because it provides important information about a function. Thinking graphically, for instance, the derivative at a point tells us the slope of the tangent line to the graph at that point. In addition, the derivative at a point also provides the instantaneous rate of change of the function with respect to changes in the independent variable.
Now that we are investigating functions of two or more variables, we can still ask how fast the function is changing, though we have to be careful about what we mean. Thinking graphically again, we can try to measure how steep the graph of the function is in a particular direction. Alternatively, we may want to know how fast a functionβs output changes in response to a change in one of the inputs. Over the next few sections, we will develop tools for addressing issues such as these. Preview ActivityΒ 10.2.1 explores some issues with what we will come to call partial derivatives.
Suppose the interest rate is fixed at \(3\%\text{.}\) Express \(M\) as a function \(f\) of \(t\) alone using \(r=0.03\text{.}\) That is, let \(f(t) = M(0.03, t)\text{.}\) Sketch the graph of \(f\) on the left of FigureΒ 10.2.1. Explain the meaning of the function \(f\text{.}\)
Find the instantaneous rate of change \(f'(4)\) and state the units on this quantity. What information does \(f'(4)\) tell us about our car loan? What information does \(f'(4)\) tell us about the graph you sketched in (b)?
Express \(M\) as a function of \(r\) alone, using a fixed time of \(t=4\text{.}\) That is, let \(g(r) = M(r, 4)\text{.}\) Sketch the graph of \(g\) on the right of FigureΒ 10.2.1. Explain the meaning of the function \(g\text{.}\)
Find the instantaneous rate of change \(g'(0.03)\) and state the units on this quantity. What information does \(g'(0.03)\) tell us about our car loan? What information does \(g'(0.03)\) tell us about the graph you sketched in (d)?
In SectionΒ 9.1, we studied the behavior of a function of two or more variables by considering the traces of the function. Recall that in one example, we considered the function \(f\) defined by
which measures the range, or horizontal distance, in feet, traveled by a projectile launched with an initial speed of \(x\) feet per second at an angle \(y\) radians to the horizontal. The graph of this function is given again on the left in FigureΒ 10.2.2. Moreover, if we fix the angle \(y = 0.6\text{,}\) we may view the trace \(f(x,0.6)\) as a function of \(x\) alone, as seen at right in FigureΒ 10.2.2.
Since the trace is a one-variable function, we may consider its derivative just as we did in the first semester of calculus. With \(y=0.6\text{,}\) we have
\begin{equation*}
\frac{d}{dx}[f(x,0.6)]|_{x=150} = \frac{\sin(1.2)}{16}150 \approx
8.74~\mbox{feet per feet per second} ,
\end{equation*}
which gives the slope of the tangent line shown on the right of FigureΒ 10.2.2. Thinking of this derivative as an instantaneous rate of change implies that if we increase the initial speed of the projectile by one foot per second, we expect the horizontal distance traveled to increase by approximately 8.74 feet if we hold the launch angle constant at \(0.6\) radians.
By holding \(y\) fixed and differentiating with respect to \(x\text{,}\) we obtain the first-order partial derivative of \(f\) with respect to \(x\). Denoting this partial derivative as \(f_x\text{,}\) we have seen that
Once again, the derivative gives the slope of the tangent line shown on the right in FigureΒ 10.2.3. Thinking of the derivative as an instantaneous rate of change, we expect that the range of the projectile increases by 509.5 feet for every radian we increase the launch angle \(y\) if we keep the initial speed of the projectile constant at 150 feet per second.
By holding \(x\) fixed and differentiating with respect to \(y\text{,}\) we obtain the first-order partial derivative of \(f\) with respect to \(y\). As before, we denote this partial derivative as \(f_y\) and write
As with the partial derivative with respect to \(x\text{,}\) we may express this quantity more generally at an arbitrary point \((a,b)\text{.}\) To recap, we have now arrived at the formal definition of the first-order partial derivatives of a function of two variables.
Write the trace \(f(x,2)\) at the fixed value \(y=2\text{.}\) On the left side of FigureΒ 10.2.5, draw the graph of the trace with \(y=2\) around the point where \(x=1\text{,}\) indicating the scale and labels on the axes. Also, sketch the tangent line at the point \(x=1\text{.}\)
Figure10.2.5.Traces of \(f(x,y) = \frac{xy^2}{x+1}\text{.}\)
Write the trace \(f(1,y)\) at the fixed value \(x=1\text{.}\) On the right side of FigureΒ 10.2.5, draw the graph of the trace with \(x=1\) indicating the scale and labels on the axes. Also, sketch the tangent line at the point \(y=2\text{.}\)
As these examples show, each partial derivative at a point arises as the derivative of a one-variable function defined by fixing one of the coordinates. In addition, we may consider each partial derivative as defining a new function of the point \((x,y)\text{,}\) just as the derivative \(f'(x)\) defines a new function of \(x\) in single-variable calculus. Due to the connection between one-variable derivatives and partial derivatives, we will often use Leibniz-style notation to denote partial derivatives by writing
\begin{equation*}
\frac{\partial f}{\partial x}(a, b) = f_x(a,b),
\
\mbox{and}
\
\frac{\partial f}{\partial y}(a, b) = f_y(a,b).
\end{equation*}
To see the contrast between how we calculate single variable derivatives and partial derivatives, and the difference between the notations \(\frac{d}{dx}[ \ ]\) and \(\frac{\partial}{\partial x}[ \ ]\text{,}\) observe that
Thus, computing partial derivatives is straightforward: we use the standard rules of single variable calculus, but do so while holding one (or more) of the variables constant.
Subsection10.2.2Interpretations of First-Order Partial Derivatives
Recall that the derivative of a single variable function has a geometric interpretation as the slope of the line tangent to the graph at a given point. Similarly, we have seen that the partial derivatives measure the slope of a line tangent to a trace of a function of two variables as shown in FigureΒ 10.2.6.
Now we consider the first-order partial derivatives in context. Recall that the difference quotient \(\frac{f(a+h)-f(a)}{h}\) for a function \(f\) of a single variable \(x\) at a point where \(x=a\) tells us the average rate of change of \(f\) over the interval \([a,a+h]\text{,}\) while the derivative \(f'(a)\) tells us the instantaneous rate of change of \(f\) at \(x=a\text{.}\) We can use these same concepts to explain the meanings of the partial derivatives in context.
Here \(C\) is the speed of sound in meters/second, \(T\) is the temperature in degrees Celsius, \(S\) is the salinity in grams/liter of water, and \(D\) is the depth below the ocean surface in meters.
State the units in which each of the partial derivatives, \(C_T\text{,}\)\(C_S\) and \(C_D\text{,}\) are expressed and explain the physical meaning of each.
Evaluate each of the three partial derivatives at the point where \(T=10\text{,}\)\(S=35\) and \(D=100\text{.}\) What does the sign of each partial derivatives tell us about the behavior of the function \(C\) at the point \((10,35, 100)\text{?}\)
Subsection10.2.3Using tables and contours to estimate partial derivatives
Remember that functions of two variables are often represented as either a table of data or a contour plot. In single variable calculus, we saw how we can use the difference quotient to approximate derivatives if, instead of an algebraic formula, we only know the value of the function at a few points. The same idea applies to partial derivatives.
The wind chill, as frequently reported, is a measure of how cold it feels outside when the wind is blowing. In TableΒ 10.2.7, the wind chill \(w\text{,}\) measured in degrees Fahrenheit, is a function of the wind speed \(v\text{,}\) measured in miles per hour, and the ambient air temperature \(T\text{,}\) also measured in degrees Fahrenheit. We thus view \(w\) as being of the form \(w = w(v, T)\text{.}\)
Estimate the partial derivative \(w_v(20,-10)\text{.}\) What are the units on this quantity and what does it mean? (Recall that we can estimate a partial derivative of a single variable function \(f\) using the symmetric difference quotient \(\frac{f(x+h)-f(x-h)}{2h}\) for small values of \(h\text{.}\) A partial derivative is a derivative of an appropriate trace.)
Use your results to estimate the wind chill \(w(18, -10)\text{.}\) (Recall from single variable calculus that for a function \(f\) of \(x\text{,}\)\(f(x+h) \approx f(x) + hf'(x)\text{.}\))
Shown below in FigureΒ 10.2.8 is a contour plot of a function \(f\text{.}\) The values of the function on a few of the contours are indicated to the left of the figure.
Estimate the partial derivative \(f_x(-2,-1)\text{.}\) (Hint: How can you find values of \(f\) that are of the form \(f(-2+h)\) and \(f(-2-h)\) so that you can use a symmetric difference quotient?)
Suppose you have a different function \(g\text{,}\) and you know that \(g(2,2) =
4\text{,}\)\(g_x(2,2) > 0\text{,}\) and \(g_y(2,2) > 0\text{.}\) Using this information, sketch a possibility for the contour \(g(x,y)=4\) passing through \((2,2)\) on the left side of FigureΒ 10.2.9. Then include possible contours \(g(x,y) = 3\) and \(g(x,y) = 5\text{.}\)
Figure10.2.9.Plots for contours of \(g\) and \(h\text{.}\)
Suppose you have yet another function \(h\text{,}\) and you know that \(h(2,2) =
4\text{,}\)\(h_x(2,2) \lt 0\text{,}\) and \(h_y(2,2) > 0\text{.}\) Using this information, sketch a possible contour \(h(x,y)=4\) passing through \((2,2)\) on the right side of FigureΒ 10.2.9. Then include possible contours \(h(x,y) = 3\) and \(h(x,y) = 5\text{.}\)
If \(f=f(x,y)\) is a function of two variables, there are two first order partial derivatives of \(f\text{:}\) the partial derivative of \(f\) with respect to \(x\text{,}\)
The partial derivative \(f_x(a,b)\) tells us the instantaneous rate of change of \(f\) with respect to \(x\) at \((x,y) = (a,b)\) when \(y\) is fixed at \(b\text{.}\) Geometrically, the partial derivative \(f_x(a,b)\) tells us the slope of the line tangent to the \(y=b\) trace of the function \(f\) at the point \((a,b,f(a,b))\text{.}\)
The partial derivative \(f_y(a,b)\) tells us the instantaneous rate of change of \(f\) with respect to \(y\) at \((x,y) = (a,b)\) when \(x\) is fixed at \(a\text{.}\) Geometrically, the partial derivative \(f_y(a,b)\) tells us the slope of the line tangent to the \(x=a\) trace of the function \(f\) at the point \((a,b,f(a,b))\text{.}\)
Suppose that \(f(x,y)\) is a smooth function and that its partial derivatives have the values, \(f_x(5, -5) = 5\) and \(f_y(5, -5) =
3\text{.}\) Given that \(f(5, -5) = 0\text{,}\) use this information to estimate the value of \(f(6, -4)\text{.}\) Note this is analogous to finding the tangent line approximation to a function of one variable. In fancy terms, it is the first Taylor approximation.
The gas law for a fixed mass \(m\) of an ideal gas at absolute temperature \(T\text{,}\) pressure \(P\text{,}\) and volume \(V\) is \(PV = mRT\text{,}\) where \(R\) is the gas constant.
Determine the sign of \(f_x\) and \(f_y\) at each indicated point using the contour diagram of \(f\) shown below. (The point \(P\) is that in the first quadrant, at a positive \(x\) and \(y\) value; \(Q\) through \(T\) are located clockwise from \(P\text{,}\) so that \(Q\) is at a positive \(x\) value and negative \(y\text{,}\) etc.)
Your monthly car payment in dollars is \(P = f(P_0,t,r)\text{,}\) where $\(P_0\) is the amount you borrowed, \(t\) is the number of months it takes to pay off the loan, and \(r\) percent is the interest rate.
(For this problem, write our your units in full, writing dollars for $, months for months, percent for %, etc. Note that fractional units generally have a plural numerator and singular denominator.)
(For this problem, write our your units in full, writing dollars for $, months for months, percent for %, etc. Note that fractional units generally have a plural numerator and singular denominator.)
An experiment to measure the toxicity of formaldehyde yielded the data in the table below. The values show the percent, \(P=f(t,c)\text{,}\) of rats surviving an exposure to formaldehyde at a concentration of \(c\) (in parts per million, ppm) after \(t\) months.
An airport can be cleared of fog by heating the air. The amount of heat required depends on the air temperature and the wetness of the fog. The figure below shows the heat \(H(T,w)\) required (in calories per cubic meter of fog) as a function of the temperature \(T\) (in degrees Celsius) and the water content \(w\) (in grams per cubic meter of fog). Note that this figure is not a contour diagram, but shows cross-sections of \(H\) with \(w\) fixed at \(0.1\text{,}\)\(0.2\text{,}\)\(0.3\text{,}\) and \(0.4\text{.}\)
The Heat Index, \(I\text{,}\) (measured in apparent degrees F) is a function of the actual temperature \(T\) outside (in degrees F) and the relative humidity \(H\) (measured as a percentage). A portion of the table which gives values for this function, \(I=I(T,H)\text{,}\) is reproduced in TableΒ 10.2.10.
State the limit definition of the value \(I_T(94,75)\text{.}\) Then, estimate \(I_T(94,75)\text{,}\) and write one complete sentence that carefully explains the meaning of this value, including its units.
State the limit definition of the value \(I_H(94,75)\text{.}\) Then, estimate \(I_H(94,75)\text{,}\) and write one complete sentence that carefully explains the meaning of this value, including its units.
Suppose you are given that \(I_T(92,80) = 3.75\) and \(I_H(92,80) = 0.8\text{.}\) Estimate the values of \(I(91,80)\) and \(I(92,78)\text{.}\) Explain how the partial derivatives are relevant to your thinking.
On a certain day, at 1 p.m. the temperature is 92 degrees and the relative humidity is 85%. At 3 p.m., the temperature is 96 degrees and the relative humidity 75%. What is the average rate of change of the heat index over this time period, and what are the units on your answer? Write a sentence to explain your thinking.
Let \(f(x,y) = \frac{1}{2}xy^2\) represent the kinetic energy in Joules of an object of mass \(x\) in kilograms with velocity \(y\) in meters per second. Let \((a,b)\) be the point \((4,5)\) in the domain of \(f\text{.}\)
Often we are given certain graphical information about a function instead of a rule. We can use that information to approximate partial derivatives. For example, suppose that we are given a contour plot of the kinetic energy function (as in FigureΒ 10.2.11) instead of a formula. Use this contour plot to approximate \(f_x(4,5)\) and \(f_y(4,5)\) as best you can. Compare to your calculations from earlier parts of this exercise.
Figure10.2.11.The graph of \(f(x,y) = \frac{1}{2}xy^2\text{.}\)
Assume that temperature is measured in degrees Celsius and that \(x\) and \(y\) are each measured in inches. (Note: At no point in the following questions should you expand the denominator of \(C(x,y)\text{.}\))
Determine \(\frac{\partial C}{\partial x}|_{(x,y)}\) and \(\frac{\partial C}{\partial y}|_{(x,y)}\text{.}\)
If an ant is on the metal plate, standing at the point \((2,3)\text{,}\) and starts walking in the direction parallel to the positive \(y\) axis, at what rate will the temperature the ant is experiencing change? Explain, and include appropriate units.
If an ant is walking along the line \(y = 3\) in the positive \(x\) direction, at what instantaneous rate will the temperature the ant is experiencing change when the ant passes the point \((1,3)\text{?}\)
Now suppose the ant is stationed at the point \((6,3)\) and walks in a straight line towards the point \((2,0)\text{.}\) Determine the average rate of change in temperature (per unit distance traveled) the ant encounters in moving between these two points. Explain your reasoning carefully. What are the units on your answer?
Determine the equation of the plane that passes through the point \((2,1,f(2,1))\) whose normal vector is orthogonal to the direction vectors of the two lines found in (b) and (c).
Use a graphing utility to plot both the surface \(z = 8 - x^2 - 3y^2\) and the plane from (e) near the point \((2,1)\text{.}\) What is the relationship between the surface and the plane?
Recall from single variable calculus that, given the derivative of a single variable function and an initial condition, we can integrate to find the original function. We can sometimes use the same process for functions of more than one variable. For example, suppose that a function \(f\) satisfies \(f_x(x,y) = \cos(y)e^x+2x+y^2\text{,}\)\(f_y(x,y) = -\sin(y)e^x+2xy+3\text{,}\) and \(f(0,0) = 5\text{.}\)
Find all possible functions \(f\) of \(x\) and \(y\) such that \(f_x(x,y) = \cos(y)e^x+2x+y^2\text{.}\) Your function will have both \(x\) and \(y\) as independent variables and may also contain summands that are functions of \(y\) alone.