Concepts and Vocabulary
True or False To find the partial derivative \(f_{y}(x,y) ,\) differentiate \(f\) with respect to \(x\) while treating \(y\) as if it were a constant.
Multiple Choice The partial derivative \(f_{x}(x_{0},y_{0})\) equals the slope of the tangent line to the curve of intersection of the surface \(z=f(x,y)\) and the plane [(a) \(x=x_{0},\) (b) \(y=y_{0},\) (c) \(z=z_{0},\) (d) \(x+y+z=0\)] at the point \((x_{0},y_{0},f(x_{0},y_{0}) )\) on the surface.
True or False \(f_{x}(x,y)\) equals the rate of change of \(f\) in the direction of the positive \(x\)-axis.
The two second-order partial derivatives \(\dfrac{\partial ^{2}z}{\partial x\partial y}\) and \(\dfrac{\partial ^{2}z}{\partial y\partial x}\) are called ____ partials.
True or False If \(f(x,y)=x\;\cos\;y,\) then \(f_{x}(x,y)=\) \(f_{y}(x,y)\).
For a function \(w=f(x,y,z)\) of three variables, to find the partial derivative \(f_{y}(x,y,z)\), treat the variables ____ and ____ as constants, and differentiate \(f\) with respect to ____.
Skill Building
In Problems 7–14, find \(f_{x}(x,y)\) and \(f_{y}(x,y)\).
\(f(x,y)=x^{2}y+6y^{2}\)
\(f(x,y)=3x^{2}+6xy^{3}\)
\(f(x,y)=\dfrac{x-y}{x+y}\)
\(f(x,y)=\dfrac{x+y}{y^{2}}\)
\(f(x,y)=e^{y}\cos x+e^{x}\sin y\)
\(f(x,y)=x^{2}\cos y+y^{2}\sin x\)
\(f(x,y) =x^{2}e^{xy}\)
\(f(x,y)=\cos (x^{2}y^{3})\)
In Problems 15–20, find \(\dfrac{\partial z}{\partial x}\) and \(\dfrac{\partial z}{\partial y}\).
\(z= f(x,y)=\tan ^{-1}\dfrac{y}{x}\)
\(z=f(x,y)=\sin ^{2}(2xy)\)
\(z=f(x,y) =\sin ( e^{x^{2}y})\)
\(z=f(x, y)=\sin [ \ln\;(x^{2}+y^{2})]\)
\(z=f(x, y)=e^{( x^{2}+y^{2})^{1.2}}\)
\(z=f(x,y)=\ln\;\sqrt{x^{2}+y^{2}}\)
In Problems 21–26, find the second-order partial derivatives \(f_{xx},\;f_{xy},\;f_{yx}\), and \(f_{yy}\). Check to verify that \(f_{xy}=f_{yx}\).
\(f(x,y)=6x^{2}-8xy+9y^{2}\)
\(f(x,y)=(2x+3y) ( 3x-2y)\)
\(f(x,y)=\ln\;(x^{3}+y^{2})\)
\(f(x,y)=e^{2x+3y}\)
\(f(x,y)=\cos (x^{2}y^{3})\)
\(f(x,y)=\sin ^{2}(xy)\)
In Problems 27–34, find \(f_{x}(x,y,z)\), \(f_{y}(x,y,z)\), and \(f_{z}(x,y,z)\).
\(f(x,y,z)=xy+yz+xz\)
\(f(x,y,z)=xe^{y}+ye^{z}+ze^{x}\)
\(f(x,y,z)=xy\;\sin\;z-yz\sin\;x\)
\(f(x,y,z)=\dfrac{1}{\sqrt{x^{2}+y^{2}+z^{2}}}\)
\(f(x,y,z)=z\;\tan ^{-1}\dfrac{y}{x}\)
\(f(x,y,z)=\tan ^{-1}\dfrac{xy}{z}\)
838
\(f(x,y,z)=\sin [\ln\;(x^{2}+y^{2}+z^{2})]\)
\(f(x,y,z)=e^{x^{2}+y^{2}}\ln\;z\)
In Problems 35 and 36, use the definition of a partial derivative to find \(f_{x} \hbox{(0, 0)}\) and \(f_{y} \hbox{(0, 0)}\).
\( f(x,y)=\left\{ \begin{array}{@{}c@{\quad}c@{\quad}c} \dfrac{x^{3}+y^{3}}{x^{2}+y^{2}} & \hbox{if} & (x,y)\neq (0,0)\\ 0 & \hbox{if} & (x,y)=(0,0) \end{array} \right.\)
\(f(x,y)=\left\{ \begin{array}{@{}c@{\quad}c@{\quad}c} \dfrac{x^{2}y^{2}}{x^{2}+4y^{3}} & \hbox{if} & (x,y)\neq (0,0)\\ 0 & \hbox{if} & (x,y)=(0,0) \end{array} \right.\)
In Problems 37–42, find symmetric equations of the tangent line to the curve of intersection of each surface with the given plane at the indicated point.
\(z=x^{2}+y^{2}\) and \(y=2\) at \((1,2,5)\)
\(z=x^{2}-y^{2}\) and \(x=3\) at \((3,1,8)\)
\(z=\sqrt{1-x^{2}-y^{2}}\) and \(x=0\) at \(\left( 0,\dfrac{1}{2}, \dfrac{\sqrt{3}}{2}\right)\)
\(z=\sqrt{16-x^{2}-y^{2}}\) and \(y=2\) at \(( \sqrt{3},2,3)\)
\(z=\sqrt{x^{2}+y^{2}}\) and \(x=4\) at \(( 4,2,2\sqrt{5})\)
\(z=e^{x}\ln\;y\) and \(y=e\) at \((0,e,1)\)
Find the rate of change of \(z=\ln\;\sqrt{x^{2}+y^{2}}\) at \((3,4,\ln\;5)\),
Find the rate of change of \(z=e^{y}\sin x\) at \(\left( \dfrac{\pi }{3},0,\dfrac{\sqrt{3}}{2}\right)\! ,\)
Applications and Extensions
Temperature Distribution The temperature distribution \(T\) (in degrees Celsius) of a heated plate at a point \((x,y)\) in the \(xy\)-plane is modeled by \[ T=T(x,y)=\left( \frac{100}{\ln\;2}\right)\;\ln\;(x^{2}+y^{2}) \qquad 1\leq x^{2}+y^{2}\leq 9 \]
Temperature Distribution The temperature distribution (in degrees Celsius) of a heated plate at a point \((x,y)\) in the \(xy\)-plane is modeled by \( T=T(x,y)=\dfrac{100}{\sqrt{x^{2}+y^{2}}}\), \(1\leq x^2 + y^2\leq 9\).
Thermodynamics The Ideal Gas Law \(PV=nrT\) is used to describe the relationship between pressure \(P\), volume \(V\), and temperature \(T\) of a confined gas, where \(n\) is the number of moles of the gas and \(r\) is the universal gas constant. Show that \[ \dfrac{\partial V}{\partial T}\cdot \dfrac{\partial T}{\partial P}\cdot \dfrac{\partial P}{\partial V}=-1 \]
Thermodynamics The volume \(V\) of a fixed amount of gas varies directly with the temperature \(T\) and inversely with the pressure \(P\). That is, \(V=k\dfrac{T}{P},\) where \(k>0\) is a constant.
Economics The data used to develop the Cobb–Douglas productivity model included capital input \(K\) and labor input \(L\) for each year during the period 1899–1922. Using the model \(P=aK^{b}L^{1-b}\) and multiple regression techniques, Cobb and Douglas determined that manufacturing productivity was represented by the function \[ P=1.014651K^{0.254124}L^{0.745876}\approx 1.01K^{0.25}L^{0.75} \]
Economics The function \[ z=f(x,y,r)=\frac{1+(1-x)y}{1+r}-1 \]
describes the net gain or loss of money invested, where \(x=\) annual marginal tax rate, \(y=\) annual effective yield on an investment, and \(r=\) annual inflation rate.
839
Economics Let \(w=2x^{1/2}y^{1/3}z^{1/6}\) be a production function that depends on three inputs: \(x,\) \(y,\) and \(z\). Find the marginal productivity with respect to \(x,\) the marginal productivity with respect to \(y,\) and the marginal productivity with respect to \(z.\)
Speed of Sound The speed \(v\) of sound in a gas depends on the pressure \(p\) and density \(d\) of the gas and is modeled by the formula \( v(p,d)=k\sqrt{\dfrac{p}{d}}\), where \(k\) is some constant. Find the rate of change of speed with respect to \(p\) and with respect to \(d\).
Vibrating Strings Suppose a vibrating string is governed by the equation \(f(x,t)=2\cos ( 5t) \sin x\), where \(x\) is the horizontal distance of a point on the string, \(t\) is time, and \(f(x,t)\) is the displacement. Show that \(\dfrac{\partial ^{2}f}{\partial t^{2}}=25\dfrac{ \partial ^{2}f}{\partial x^{2}}\) at all points \((x,t)\).
Temperature Distribution Suppose a thin metal rod extends along the \(x\)-axis from \(x=0\) to \(x=20\), and for each \(x\), where \(0\leq x\leq 20\), the temperature \(T\) of the rod at time \(t\geq 0\) and position \(x\) is \(T(t,x)=40e^{-\lambda t}\sin \dfrac{\pi x}{20}\), where \(\lambda >0\) is a constant.
Find \(\dfrac{\partial x}{\partial r}, \dfrac{\partial x}{\partial \theta }, \dfrac{\partial y}{\partial r}\), and \(\dfrac{\partial y}{\partial \theta }\) if \(x=r\cos \theta\) and \(y=r\;\sin \theta\).
Find \(\dfrac{\partial r}{\partial x}, \dfrac{\partial \theta }{\partial x}, \dfrac{\partial r}{\partial y}\), and \(\dfrac{\partial \theta }{\partial y}\)
if \(r=\sqrt{x^{2}+y^{2}}\) and \(\theta =\tan^{-1}\dfrac{y}{x},\) \(x\neq 0.\)
Show that \(\dfrac{\partial u}{\partial x}=\dfrac{\partial v}{\partial y}\) and \(\dfrac{\partial u}{\partial y}=-\dfrac{\partial v}{\partial x}\) for \(u=e^{x}\cos y\) and \(v=e^{x}\sin y\).
Show that \(\dfrac{\partial u}{\partial x}=\dfrac{\partial v}{\partial y}\) and \(\dfrac{\partial u}{\partial y}=-\dfrac{\partial v}{\partial x}\) for \(u=\ln\;\sqrt{x^{2}+y^{2}}\) and \(v=\tan ^{-1}\dfrac{y}{x}\).
If \(u=x^{2}+4y^{2}\), show that \(x\dfrac{\partial u}{\partial x}+y\dfrac{\partial u}{\partial y}=2u\).
If \(u=xy^{2}\), show that \(x\dfrac{\partial u}{\partial x}+y \dfrac{\partial u}{\partial y}=3u\).
If \(w=x^{2}+y^{2}-3yz\), show that \(x\dfrac{\partial w}{\partial x}+y\dfrac{\partial w}{\partial y}+z\dfrac{\partial w}{\partial z}=2w\).
If \(w=\dfrac{xz+y^{2}}{yz}\), show that \(x\dfrac{\partial w}{\partial x}+y\dfrac{\partial w}{\partial y}+z\dfrac{\partial w}{\partial z}=0\).
If \(z=\cos (x+y)+\cos (x-y)\), show that \(\dfrac{\partial ^{2}z}{\partial x^{2}}-\dfrac{\partial ^{2}z}{\partial y^{2}}=0\).
If \(z=\sin (x-y)+\ln\;(x+y)\), show that \(\dfrac{\partial ^{2}z}{\partial x^{2}}=\dfrac{\partial ^{2}z}{\partial y^{2}}\).
Show that \(u=e^{-\alpha ^{2}t}\sin \left( \alpha x\right)\) satisfies the equation \(\dfrac{\partial u}{\partial t}=\dfrac{\partial ^{2}u}{\partial x^{2}}\) for all values of the constant \(\alpha\).
Laplace’s Equation A function \(z=f(x,y)\) that obeys the partial differential equation \(\dfrac{\partial ^{2}z}{\partial x^{2}}+\dfrac{\partial ^{2}z}{\partial y^{2}}=0\) is called a harmonic function.* In Problems 68–71, show that each function is a harmonic function.
\(z=\ln\;\sqrt{x^{2}+y^{2}}\)
\(z=e^{ax}\sin ( ay)\)
\(z=\tan ^{-1}\dfrac{y}{x}\)
\(z=e^{ax}\cos ( ay)\)
Harmonic Functions Suppose \(u(x,y)\) and \(v(x,y)\) have continuous second-order partial derivatives, \(u_{x}=v_{y}\) and \(u_{y}=-v_{x}\). Show that \(u\) and \(v\) are harmonic functions.
Harmonic Functions If \(u=z\tan ^{-1}\dfrac{x}{y}\), show that \[ \dfrac{\partial ^{2}u}{\partial x^{2}}+\dfrac{\partial ^{2}u}{\partial y^{2}} +\dfrac{\partial ^{2}u}{\partial z^{2}}=0. \]
Harmonic Functions Show that \(f(x,y,z)=(x^{2}+y^{2}+z^{2})^{-1/2}\) satisfies the three-dimensional Laplace equation \[ f_{xx}+f_{yy}+f_{zz}=0 \]
Let \(f(x,y)=\left\{ \begin{array}{@{}c@{\quad}c@{\quad}c} \dfrac{xy^{3}}{x^{2}+y^{2}} & \hbox{if} & (x,y)\neq (0,0) \\ 0 & \hbox{if} & (x,y)=(0,0) \end{array} \right.\)
Let \(f(x,y)=\left\{ \begin{array}{@{}c@{\quad}c@{\quad}c} \dfrac{xy(x^{2}-y^{2})}{x^{2}+y^{2}} & \hbox{if} & (x,y)\neq (0,0) \\ 0 & \hbox{if} & (x,y)=(0,0) \end{array} \right.\)
Show that:
If you are told that \(f\) is a function of two variables whose partial derivatives are \(f_{x}(x,y)=3x-y\) and \(f_{y}(x,y)=x-3y\), should you believe it? Explain.
*Laplace’s equation is important in many applications including fluid dynamics, heat, elasticity, and electricity.
840
Show that there is no function \(z=f(x,y)\) for which \(f_{x}(x,y)=2x-y\) and \(f_{y}(x, y)=x-2y\).
Use the definition of a partial derivative to show that the function \(z=\sqrt{x^{2}+y^{2}}\) does not have partial derivatives at \((0,0)\). By discussing the graph of the function, give a geometric reason why this should be so.
If \(z=f(x,y)=4x^{2}+9y^{2}-12\), interpret \(f_{x}\left( 1,-\dfrac{1}{3}\right)\) and \(f_{y}\left( 1,-\dfrac{1}{3}\right)\) geometrically.
Show that \(xf_{x}+yf_{y}+zf_{z}=0\) for \(f(x,y,z)= e^{x/y}+e^{y/z}+e^{z/x}\).
Find \(a\) in terms of \(b\) and \(c\) so that \(f(t,x,y)= e^{at}\sin\;(bx)\;\cos\;(cy)\) satisfies \(f_{t}=f_{xx}+f_{yy}\).
Wave Equation Show that \(f(x,t)=\cos (x+ct)\) satisfies the one-dimensional wave equation \(f_{tt}=c^{2}f_{xx}\), where \(c\) is a constant.
Find \(f_{x}\) and \(f_{y}\) if \(f(x, y)=\int_{x}^{y}\ln\;(\cos\;\sqrt{t})\ dt\).
Find \(\dfrac{\partial a}{\partial b}\), \(\dfrac{\partial a}{\partial c}\), and \(\dfrac{\partial a}{\partial A}\) for the Law of Cosines: \(a^{2}=b^{2}+c^{2}-2bc\;\cos\;A\).
If \(x=r\cos\;\theta\) and \(y=r\sin\;\theta\), show that \[ \begin{equation*} \left\vert \begin{array}{c@{\quad}c} \dfrac{\partial x}{\partial r} & \dfrac{\partial x}{\partial \theta } \\ \dfrac{\partial y}{\partial r} & \dfrac{\partial y}{\partial \theta } \end{array} \right\vert =r \qquad\hbox{and}\qquad \left\vert \begin{array}{c@{\quad}c} \dfrac{\partial r}{\partial x} & \dfrac{\partial r}{\partial y} \\ \dfrac{\partial \theta }{\partial x} & \dfrac{\partial \theta }{\partial y} \end{array} \right\vert =\frac{1}{r} \end{equation*} \]
Challenge Problems
In Problems 87 and 88, find \(f_{x}\) and \(f_{y}\).
\(f(x,y) =x^{y}\)
\(f(x,y)=x^{2x+3y}\)
In Problems 89–92, find \(f_{x}, f_{y}\), and \(f_{z}\).
\(f(x,y,z)=x^{y+z}\)
\(f(x,y,z)=x^{yz}\)
\(f(x,y,z)=(x+y)^{z}\)
\(f(x,y,z)=(xy) ^{z}\)
Find \(f_{x}\) and \(f_{y}\) at \((0,0)\) if \[ f(x, y)=\left\{ \begin{array}{@{}c@{\quad}c@{\quad}c} e^{-1/(x^{2}+y^{2})} & \hbox{if} & (x,y)\neq (0,0)\\ 0 & \hbox{if} & (x,y)=(0,0) \end{array} \right. \]
Find \(f_{x},\) \(f_{y},\) \(f_{xx},\) \(f_{yy}\), and \(f_{xy}\) for \(f(x,y)=(xy)^{xy}\). What is the domain of \(f\)?
Show that the following function has first partial derivatives at all points in the plane: \[ f(x,y)=\left\{ \begin{array}{@{}c@{\quad}c@{\quad}c} \dfrac{x^{3}-y^{3}}{x^{2}+y^{2}} & \hbox{if} & (x,y)\neq (0,0)\\ 0 & \hbox{if} & (x,y)=(0,0) \end{array} \right. \]
Laplace’s Equation in Polar Coordinates Show that the function \(f(r,\theta )=r^{n}\sin ( n\theta )\) satisfies the Laplace equation \[ f_{r\,r}+\dfrac{1}{r}\,f_{r}+\dfrac{1}{r^{2}}\,f_{\theta \,\theta }=0 \]
Let \(u=r^{m}\cos ( m\theta )\). Show that \[ \dfrac{\partial ^{2}u}{\partial r^{2}}+\dfrac{1}{r^{2}}\left( \dfrac{ \partial ^{2}u}{\partial \theta ^{2}}\right) +\dfrac{1}{r}\left(\dfrac{ \partial u}{\partial r}\right) = 0\;{\rm for\;all}\;m. \]
Consider two coordinate systems as given in the figure.