Skip to main content
Mathematics LibreTexts

3.7: Partial Derivatives (Exercises)

  • Page ID
    20219
  • \( \newcommand{\vecs}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \)

    \( \newcommand{\vecd}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash {#1}}} \)

    \( \newcommand{\id}{\mathrm{id}}\) \( \newcommand{\Span}{\mathrm{span}}\)

    ( \newcommand{\kernel}{\mathrm{null}\,}\) \( \newcommand{\range}{\mathrm{range}\,}\)

    \( \newcommand{\RealPart}{\mathrm{Re}}\) \( \newcommand{\ImaginaryPart}{\mathrm{Im}}\)

    \( \newcommand{\Argument}{\mathrm{Arg}}\) \( \newcommand{\norm}[1]{\| #1 \|}\)

    \( \newcommand{\inner}[2]{\langle #1, #2 \rangle}\)

    \( \newcommand{\Span}{\mathrm{span}}\)

    \( \newcommand{\id}{\mathrm{id}}\)

    \( \newcommand{\Span}{\mathrm{span}}\)

    \( \newcommand{\kernel}{\mathrm{null}\,}\)

    \( \newcommand{\range}{\mathrm{range}\,}\)

    \( \newcommand{\RealPart}{\mathrm{Re}}\)

    \( \newcommand{\ImaginaryPart}{\mathrm{Im}}\)

    \( \newcommand{\Argument}{\mathrm{Arg}}\)

    \( \newcommand{\norm}[1]{\| #1 \|}\)

    \( \newcommand{\inner}[2]{\langle #1, #2 \rangle}\)

    \( \newcommand{\Span}{\mathrm{span}}\) \( \newcommand{\AA}{\unicode[.8,0]{x212B}}\)

    \( \newcommand{\vectorA}[1]{\vec{#1}}      % arrow\)

    \( \newcommand{\vectorAt}[1]{\vec{\text{#1}}}      % arrow\)

    \( \newcommand{\vectorB}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \)

    \( \newcommand{\vectorC}[1]{\textbf{#1}} \)

    \( \newcommand{\vectorD}[1]{\overrightarrow{#1}} \)

    \( \newcommand{\vectorDt}[1]{\overrightarrow{\text{#1}}} \)

    \( \newcommand{\vectE}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash{\mathbf {#1}}}} \)

    \( \newcommand{\vecs}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \)

    \( \newcommand{\vecd}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash {#1}}} \)

    \(\newcommand{\avec}{\mathbf a}\) \(\newcommand{\bvec}{\mathbf b}\) \(\newcommand{\cvec}{\mathbf c}\) \(\newcommand{\dvec}{\mathbf d}\) \(\newcommand{\dtil}{\widetilde{\mathbf d}}\) \(\newcommand{\evec}{\mathbf e}\) \(\newcommand{\fvec}{\mathbf f}\) \(\newcommand{\nvec}{\mathbf n}\) \(\newcommand{\pvec}{\mathbf p}\) \(\newcommand{\qvec}{\mathbf q}\) \(\newcommand{\svec}{\mathbf s}\) \(\newcommand{\tvec}{\mathbf t}\) \(\newcommand{\uvec}{\mathbf u}\) \(\newcommand{\vvec}{\mathbf v}\) \(\newcommand{\wvec}{\mathbf w}\) \(\newcommand{\xvec}{\mathbf x}\) \(\newcommand{\yvec}{\mathbf y}\) \(\newcommand{\zvec}{\mathbf z}\) \(\newcommand{\rvec}{\mathbf r}\) \(\newcommand{\mvec}{\mathbf m}\) \(\newcommand{\zerovec}{\mathbf 0}\) \(\newcommand{\onevec}{\mathbf 1}\) \(\newcommand{\real}{\mathbb R}\) \(\newcommand{\twovec}[2]{\left[\begin{array}{r}#1 \\ #2 \end{array}\right]}\) \(\newcommand{\ctwovec}[2]{\left[\begin{array}{c}#1 \\ #2 \end{array}\right]}\) \(\newcommand{\threevec}[3]{\left[\begin{array}{r}#1 \\ #2 \\ #3 \end{array}\right]}\) \(\newcommand{\cthreevec}[3]{\left[\begin{array}{c}#1 \\ #2 \\ #3 \end{array}\right]}\) \(\newcommand{\fourvec}[4]{\left[\begin{array}{r}#1 \\ #2 \\ #3 \\ #4 \end{array}\right]}\) \(\newcommand{\cfourvec}[4]{\left[\begin{array}{c}#1 \\ #2 \\ #3 \\ #4 \end{array}\right]}\) \(\newcommand{\fivevec}[5]{\left[\begin{array}{r}#1 \\ #2 \\ #3 \\ #4 \\ #5 \\ \end{array}\right]}\) \(\newcommand{\cfivevec}[5]{\left[\begin{array}{c}#1 \\ #2 \\ #3 \\ #4 \\ #5 \\ \end{array}\right]}\) \(\newcommand{\mattwo}[4]{\left[\begin{array}{rr}#1 \amp #2 \\ #3 \amp #4 \\ \end{array}\right]}\) \(\newcommand{\laspan}[1]{\text{Span}\{#1\}}\) \(\newcommand{\bcal}{\cal B}\) \(\newcommand{\ccal}{\cal C}\) \(\newcommand{\scal}{\cal S}\) \(\newcommand{\wcal}{\cal W}\) \(\newcommand{\ecal}{\cal E}\) \(\newcommand{\coords}[2]{\left\{#1\right\}_{#2}}\) \(\newcommand{\gray}[1]{\color{gray}{#1}}\) \(\newcommand{\lgray}[1]{\color{lightgray}{#1}}\) \(\newcommand{\rank}{\operatorname{rank}}\) \(\newcommand{\row}{\text{Row}}\) \(\newcommand{\col}{\text{Col}}\) \(\renewcommand{\row}{\text{Row}}\) \(\newcommand{\nul}{\text{Nul}}\) \(\newcommand{\var}{\text{Var}}\) \(\newcommand{\corr}{\text{corr}}\) \(\newcommand{\len}[1]{\left|#1\right|}\) \(\newcommand{\bbar}{\overline{\bvec}}\) \(\newcommand{\bhat}{\widehat{\bvec}}\) \(\newcommand{\bperp}{\bvec^\perp}\) \(\newcommand{\xhat}{\widehat{\xvec}}\) \(\newcommand{\vhat}{\widehat{\vvec}}\) \(\newcommand{\uhat}{\widehat{\uvec}}\) \(\newcommand{\what}{\widehat{\wvec}}\) \(\newcommand{\Sighat}{\widehat{\Sigma}}\) \(\newcommand{\lt}{<}\) \(\newcommand{\gt}{>}\) \(\newcommand{\amp}{&}\) \(\definecolor{fillinmathshade}{gray}{0.9}\)

    In the following exercise, calculate the partial derivative using the limit definitions only.

    1) \(\dfrac{∂z}{∂y}\) for \( z=x^2−3xy+y^2\)

    Answer
    \(\dfrac{∂z}{∂y}=−3x+2y\)

    For exercises 2 - 5, calculate the sign of the partial derivative using the graph of the surface.

    Surface plot of a paraboloid that is concave up and has its vertex at the origin

    2) \( f_x(1,1)\)

    3) \( f_x(−1,1)\)

    Answer
    The sign is negative.

    4) \( f_y(1,1)\)

    5) \( f_x(0,0)\)

    Answer
    The partial derivative is zero at the origin.

    In exercises 6 - 16, calculate the requested partial derivatives.

    6) \( \dfrac{∂z}{∂x}\) for \( z=\sin(3x)\cos(3y)\)

    7) \( \dfrac{∂z}{∂y}\) for \( z=\sin(3x)\cos(3y)\)

    Answer
    \( \dfrac{∂z}{∂y}=−3\sin(3x)\sin(3y)\)

    8) \( \dfrac{∂z}{∂x}\) and \( \dfrac{∂z}{∂y}\) for \( z=x^8e^3y\)

    9) \( \dfrac{∂z}{∂x}\) and \( \dfrac{∂z}{∂y}\) for \( z=\ln(x^6+y^4)\)

    Answer
    \( \dfrac{∂z}{∂x}=\frac{6x^5}{x^6+y^4};\quad \dfrac{∂z}{∂y}=\frac{4y^3}{x^6+y^4}\)

    10) Find \( f_y(x,y)\) for \( f(x,y)=e^{xy}\cos(x)\sin(y).\)

    11) Let \( z=e^{xy}.\) Find \( \dfrac{∂z}{∂x}\) and \( \dfrac{∂z}{∂y}\).

    Answer
    \( \dfrac{∂z}{∂x}=ye^{xy};\quad \dfrac{∂z}{∂y}=xe^{xy}\)

    12) Let \( z=\ln(\frac{x}{y})\). Find \( \dfrac{∂z}{∂x}\) and \( \dfrac{∂z}{∂y}\).

    13) Let \( z=\tan(2x−y).\) Find \( \dfrac{∂z}{∂x}\) and \( \dfrac{∂z}{∂y}\).

    Answer
    \( \dfrac{∂z}{∂x}=2\sec^2(2x−y),\quad \dfrac{∂z}{∂y}=−\sec^2(2x−y)\)

    14) Let \( z=\sinh(2x+3y).\) Find \( \dfrac{∂z}{∂x}\) and \( \dfrac{∂z}{∂y}\).

    15) Let \( f(x,y)=\arctan(\frac{y}{x}).\) Evaluate \( f_x(2,−2)\) and \( f_y(2,−2)\).

    Answer
    \( f_x(2,−2)=\frac{1}{4}=f_y(2,−2)\)

    16) Let \( f(x,y)=\dfrac{xy}{x−y}.\) Find \( f_x(2,−2)\) and \( f_y(2,−2).\)

    17) Find \( \dfrac{∂z}{∂x}\) at \( (0,1)\) for \( z=e^{−x}cos(y)\).

    Answer
    \( \dfrac{∂z}{∂x}=−\cos(1)\)

    18) Given \( f(x,y,z)=x^3yz^2,\) find \( \dfrac{∂^2f}{∂x∂y}\) and \( f_z(1,1,1).\)

    19) Given \( f(x,y,z)=2\sin(x+y),\) find \( f_x(0,\frac{π}{2},−4)\), \(f_y(0,\frac{π}{2},−4)\), and \( f_z(0,\frac{π}{2},−4)\).

    Answer
    \( f_x(x,y,z)=0,\quad f_y(x,y,z)=0,\quad f_z(x,y,z)=0\)

    20) The area of a parallelogram with adjacent side lengths that are \( a\) and \( b\), and in which the angle between these two sides is \( θ\), is given by the function \( A(a,b,θ)=ba\sin(θ).\)Find the rate of change of the area of the parallelogram with respect to the following:

    a. Side \(a\)

    b. Side \(b\)

    c. Angle \(θ\)

    21) Express the volume of a right circular cylinder as a function of two variables:

    a. its radius \( r\) and its height \( h\).

    b. Show that the rate of change of the volume of the cylinder with respect to its radius is the product of its circumference multiplied by its height.

    c. Show that the rate of change of the volume of the cylinder with respect to its height is equal to the area of the circular base.

    Answer
    \( a. V(r,h)=πr^2h\)
    \( b. \dfrac{∂V}{∂r}=2πrh\)
    \( c. \dfrac{∂V}{∂h}=πr^2\)

    22) Calculate \( \dfrac{∂w}{∂z}\) for \( w=z\sin(xy^2+2z).\)

    In exercises 23 - 39, find the indicated higher-order partial derivatives.

    23) \( f_{xy}(x,y)\) for \( f(x,y)=\ln(x−y)\)

    Answer
    \( f_{xy}(x,y)=\frac{1}{(x−y)^2}\)

    24) \( f_{yx}(x,y)\) for \( f(x, y)=\ln(x−y)\)

    25) Let \( z=x^2+3xy+2y^2.\) Find \( \dfrac{∂^2z}{∂x^2}\) and \( \dfrac{∂^2z}{∂y^2}\).

    Answer
    \( \dfrac{∂^2z}{∂x^2}=2,\quad \dfrac{∂^2z}{∂y^2}=4\)

    26) Given \( z=e^x\tan y\), find \( \dfrac{∂^2z}{∂x∂y}\) and \( \dfrac{∂^2z}{∂y∂x}\).

    27) Given \( f(x,y,z)=xyz,\) find \( f_{xyy}(x,y,z),\, f_{yxy}(x,y,z),\) and \( f_{yyx}(x,y,z)\).

    Answer
    \( f_{xyy}(x,y,z)=f_{yxy}(x,y,z)=f_{yyx}(x,y,z)=0\)

    28) Given \( f(x,y,z)=e^{−2x}\sin(z^2y),\) show that \( f_{xyy}(x,y,z)=f_{yxy}(x,y,z)\).

    29) Show that \( z=\frac{1}{2}(e^y−e^{−y})\sin x\) is a solution of the differential equation \( \dfrac{∂^2z}{∂x^2}+\dfrac{∂^2z}{∂y^2}=0.\)

    Answer
    \( \dfrac{d^2z}{dx^2}=−\frac{1}{2}(e^y−e^{−y})\sin x\)
    \( \dfrac{d^2z}{dy^2}=\frac{1}{2}(e^y−e^{−y})\sin x\)
    \( \dfrac{d^2z}{dx^2}+\dfrac{d^2z}{dy^2}=0\)

    30) Find \( f_{xx}(x,y)\) for \( f(x,y)=\frac{4x^2}{y}+\frac{y^2}{2x}.\)

    31) Let \( f(x,y,z)=x^2y^3z−3xy^2z^3+5x^2z−y^3z.\) Find \( f_{xyz}.\)

    Answer
    \( f_{xyz}(x,y,z)=6y^2x−18yz^2\)

    32) Let \( F(x,y,z)=x^3yz^2−2x^2yz+3xz−2y^3z.\) Find \( F_{xyz}(x,y,z)\).

    33) Given \( f(x,y)=x^2+x−3xy+y^3−5,\) find all points at which \( f_x(x,y)=f_y(x,y)=0\) simultaneously.

    Answer
    \( (\frac{1}{4},\frac{1}{2}),\quad (1,1)\)

    34) Given \( f(x,y)=2x^2+2xy+y^2+2x−3,\) find all points at which \( \dfrac{∂f}{∂x}=0\) and \( \dfrac{∂f}{∂y}=0\) simultaneously.

    35) Given \( f(x,y)=y^3−3yx^2−3y^2−3x^2+1\), find all points on \( f\) at which \( f_x(x, y)=f_y(x, y)=0\) simultaneously.

    Answer
    \( (0,0),\quad (0,2),\quad (\sqrt{3},−1), \quad (−\sqrt{3},−1)\)

    36) Given \( f(x,y)=15x^3−3xy+15y^3,\) find all points at which \( f_x(x,y)=f_y(x,y)=0\) simultaneously.

    37) Show that \( z=e^x\sin y\) satisfies the equation \( \dfrac{∂^2z}{∂x^2}+\dfrac{∂^2z}{∂y^2}=0.\)

    Answer
    \( \dfrac{∂^2z}{∂x^2}+\dfrac{∂^2z}{∂y^2}=e^x\sin y−e^x\sin y=0\)

    38) Show that \( f(x,y)=\ln(x^2+y^2)\) solves Laplace’s equation \( \dfrac{∂^2z}{∂x^2}+\dfrac{∂^2z}{∂y^2}=0.\)

    39) Show that \( z=e^{−t}\cos(\frac{x}{c})\) satisfies the heat equation \( \dfrac{∂z}{∂t}=−e^{−t}\cos(\frac{x}{c}).\)

    Answer
    \( c^2\dfrac{∂^2z}{∂x^2}=e^{−t}\cos(\frac{x}{c})\)

    40) Find \(\displaystyle \lim_{Δx→0}\frac{f(x+Δx)−f(x,y)}{Δx}\) for \( f(x,y)=−7x−2xy+7y.\)

    41) Find \(\displaystyle \lim_{Δy→0}\frac{f(x,y+Δy)−f(x,y)}{Δy}\) for \( f(x,y)=−7x−2xy+7y.\)

    Answer
    \( \dfrac{∂f}{∂y}=−2x+7\)

    42) Find \(\displaystyle \lim_{Δx→0}\frac{Δf}{Δx}=\lim_{Δx→0}\frac{f(x+Δx,y)−f(x,y)}{Δx}\) for \( f(x,y)=x^2y^2+xy+y.\)

    43) Find \(\displaystyle \lim_{Δx→0}\frac{Δf}{Δx}=\lim_{Δx→0}\frac{f(x+Δx,y)−f(x,y)}{Δx}\) for \( f(x,y)=\sin(xy).\)

    Answer
    \( \dfrac{∂f}{∂x}=y\cos xy\)

    44) The function \( P(T,V)=\dfrac{nRT}{V}\) gives the pressure at a point in a gas as a function of temperature \( T\) and volume \( V\). The letters \( n\) and \( R\) are constants. Find \( \dfrac{∂P}{∂V}\) and \( \dfrac{∂P}{∂T}\), and explain what these quantities represent.

    45) The equation for heat flow in the \( xy\)-plane is \( \dfrac{∂f}{∂t}=\dfrac{∂^2f}{∂x^2}+\dfrac{∂^2f}{∂y^2}\). Show that \( f(x,y,t)=e^{−2t}\sin x\sin y\) is a solution.

    46) The basic wave equation is \( f_{tt}=f_{xx}.\) Verify that \( f(x,t)=\sin(x+t)\) and \( f(x,t)=\sin(x−t)\) are solutions.

    47) The law of cosines can be thought of as a function of three variables. Let \( x,y,\) and \( θ\) be two sides of any triangle where the angle \( θ\) is the included angle between the two sides. Then, \( F(x,y,θ)=x^2+y^2−2xy\cos θ\) gives the square of the third side of the triangle. Find \( \dfrac{∂F}{∂θ}\) and \( \dfrac{∂F}{∂x}\) when \( x=2,\,y=3,\) and \( θ=\frac{π}{6}.\)

    Answer
    \( \dfrac{∂F}{∂θ}=6,\quad \dfrac{∂F}{∂x}=4−3\sqrt{3}\)

    48) Suppose the sides of a rectangle are changing with respect to time. The first side is changing at a rate of \( 2\)in./sec whereas the second side is changing at the rate of \( 4\) in/sec. How fast is the diagonal of the rectangle changing when the first side measures \( 16\) in. and the second side measures \( 20\) in.? (Round answer to three decimal places.)

    49) A Cobb-Douglas production function is \( f(x,y)=200x^{0.7}y^{0.3},\) where \( x\) and \( y\) represent the amount of labor and capital available. Let \( x=500\) and \( y=1000.\) Find \( \dfrac{∂f}{∂x}\) and \( \dfrac{∂f}{∂y}\) at these values, which represent the marginal productivity of labor and capital, respectively.

    Answer
    \( \dfrac{∂f}{∂x}\) at \( (500,1000)=172.36, \quad \dfrac{∂f}{∂y}\) at \( (500,1000)=36.93\)

    50) The apparent temperature index is a measure of how the temperature feels, and it is based on two variables: \( h\), which is relative humidity, and \( t\), which is the air temperature.

    \( A=0.885t−22.4h+1.20th−0.544.\) Find \( \dfrac{∂A}{∂t}\) and \( \dfrac{∂A}{∂h}\) when \( t=20°F\) and \( h=0.90.\)

     


    3.7: Partial Derivatives (Exercises) is shared under a CC BY-NC-SA license and was authored, remixed, and/or curated by LibreTexts.