Active Calculus · 10: Derivatives of Multivariable Functions

10.3: Second-Order Partial Derivatives

Motivating Questions
  • Given a function ff of two independent variables xx and y,y\text{,} how are the second-order partial derivatives of ff defined?
  • What do the second-order partial derivatives fxx,f_{xx}\text{,} fyy,f_{yy}\text{,} fxy,f_{xy}\text{,} and fyxf_{yx} of a function ff tell us about the function's behavior?

Recall that for a single-variable function f,f\text{,} the second derivative of ff is defined to be the derivative of the first derivative. That is, f′′(x)=ddx[f′(x)],f''(x) = \frac{d}{dx}[f'(x)]\text{,} which can be stated in terms of the limit definition of the derivative by writing

f′′(x)=lim⁡h→0f′(x+h)−f′(x)h. f''(x) = \lim_{h \to 0} \frac{f'(x+h) - f'(x)}{h}.

In what follows, we begin exploring the four different second-order partial derivatives of a function of two variables and seek to understand what these various derivatives tell us about the function's behavior.

Preview Activity 10.3.110.3.1

Once again, let's consider the function ff defined by f(x,y)=x2sin⁡(2y)32f(x,y) = \frac{x^2\sin(2y)}{32} that measures a projectile's range as a function of its initial speed xx and launch angle y.y\text{.} The graph of this function, including traces with x=150x=150 and y=0.6,y=0.6\text{,} is shown in Figure 10.3.110.3.1.

fig_10_2_trace_x_a-1.svgfig_10_2_trace_y_a-1.svg

Figure 10.3.110.3.1. The distance function with traces x=150x=150 and y=0.6.y=0.6\text{.}

a. Compute the partial derivative fx.f_x\text{.} Notice that fxf_x itself is a new function of xx and y,y\text{,} so we may now compute the partial derivatives of fx.f_x\text{.} Find the partial derivative fxx=(fx)xf_{xx} = (f_x)_x and show that fxx(150,0.6)≈0.058.f_{xx}(150,0.6) \approx 0.058\text{.}

b. Figure 10.3.210.3.2 shows the trace of ff with y=0.6y=0.6 with three tangent lines included. Explain how your result from part (a) of this preview activity is reflected in this figure.

fig_10_3_preview_xx.svg

Figure 10.3.210.3.2. The trace with y=0.6.y=0.6\text{.}

c. Determine the partial derivative fy,f_y\text{,} and then find the partial derivative fyy=(fy)y.f_{yy}=(f_y)_y\text{.} Evaluate fyy(150,0.6).f_{yy}(150, 0.6)\text{.}

fig_10_3_preview_yy.svg

Figure 10.3.310.3.3. More traces of the range function.

d. Figure 10.3.310.3.3 shows the trace f(150,y)f(150, y) and includes three tangent lines. Explain how the value of fyy(150,0.6)f_{yy}(150,0.6) is reflected in this figure.

e. Because fxf_x and fyf_y are each functions of both xx and y,y\text{,} they each have two partial derivatives. Not only can we compute fxx=(fx)x,f_{xx} = (f_x)_x\text{,} but also fxy=(fx)y;f_{xy} = (f_x)_y\text{;} likewise, in addition to fyy=(fy)y,f_{yy} = (f_y)_y\text{,} but also fyx=(fy)x.f_{yx} = (f_y)_x\text{.} For the range function f(x,y)=x2sin⁡(2y)32,f(x,y) = \frac{x^2\sin(2y)}{32}\text{,} use your earlier computations of fxf_x and fyf_y to now determine fxyf_{xy} and fyx.f_{yx}\text{.} Write one sentence to explain how you calculated these “mixed” partial derivatives.

A function ff of two independent variables xx and yy has two first order partial derivatives, fxf_x and fy.f_y\text{.} As we saw in Preview Activity 10.3.110.3.1, each of these first-order partial derivatives has two partial derivatives, giving a total of four second-order partial derivatives:

  • fxx=(fx)x=∂∂x(∂f∂x)=∂2f∂x2,f_{xx} = (f_x)_x = \frac{\partial}{\partial x} \left(\frac{\partial f}{\partial x}\right) = \frac{\partial^2 f}{\partial x^2}\text{,}
  • fyy=(fy)y=∂∂y(∂f∂y)=∂2f∂y2,f_{yy} = (f_y)_y=\frac{\partial}{\partial y} \left(\frac{\partial f}{\partial y}\right) = \frac{\partial^2 f}{\partial y^2}\text{,}
  • fxy=(fx)y=∂∂y(∂f∂x)=∂2f∂y∂x,f_{xy} = (f_x)_y=\frac{\partial}{\partial y} \left(\frac{\partial f}{\partial x}\right) = \frac{\partial^2 f}{\partial y \partial x}\text{,}
  • fyx=(fy)x=∂∂x(∂f∂y)=∂2f∂x∂y.f_{yx}=(f_y)_x=\frac{\partial}{\partial x} \left(\frac{\partial f}{\partial y}\right) = \frac{\partial^2 f}{\partial x \partial y}\text{.}

The first two are called unmixed second-order partial derivatives while the last two are called the mixed second-order partial derivatives.

One aspect of this notation can be a little confusing. The notation

∂2f∂y∂x=∂∂y(∂f∂x) \frac{\partial^2 f}{\partial y\partial x} = \frac{\partial}{\partial y}\left(\frac{\partial f}{\partial x}\right)

means that we first differentiate with respect to xx and then with respect to y;y\text{;} this can be expressed in the alternate notation fxy=(fx)y.f_{xy} = (f_x)_y\text{.} However, to find the second partial derivative

fyx=(fy)x f_{yx} = (f_y)_x

we first differentiate with respect to yy and then x.x\text{.} This means that

∂2f∂y∂x=fxy, and ∂2f∂x∂y=fyx. \frac{\partial^2 f}{\partial y\partial x} = f_{xy}, \ \mbox{and} \ \frac{\partial^2 f}{\partial x\partial y} = f_{yx}.

Be sure to note carefully the difference between Leibniz notation and subscript notation and the order in which xx and yy appear in each. In addition, remember that anytime we compute a partial derivative, we hold constant the variable(s) other than the one we are differentiating with respect to.

Activity 10.3.210.3.2

Find all second order partial derivatives of the following functions. For each partial derivative you calculate, state explicitly which variable is being held constant.

  1. f(x,y)=x2y3\displaystyle f(x,y) = x^2y^3
  2. f(x,y)=ycos⁡(x)\displaystyle f(x,y) = y\cos(x)
  3. g(s,t)=st3+s4\displaystyle g(s,t) = st^3 + s^4
  4. How many second order partial derivatives does the function hh defined by h(x,y,z)=9x9z−xyz9+9h(x,y,z) = 9x^9z-xyz^9 + 9 have? Find hxzh_{xz} and hzxh_{zx} (you do not need to find the other second order partial derivatives).

In Preview Activity 10.3.110.3.1 and Activity 10.3.210.3.2, you may have noticed that the mixed second-order partial derivatives are equal. This observation holds generally and is known as Clairaut's Theorem.

Clairaut's Theorem

Let ff be a function of several variables for which the partial derivatives fxyf_{xy} and fyxf_{yx} are continuous near the point (a,b).(a,b)\text{.} Then

fxy(a,b)=fyx(a,b). f_{xy}(a,b) = f_{yx}(a,b).

Interpreting the Second-Order Partial Derivatives

Recall from single variable calculus that the second derivative measures the instantaneous rate of change of the derivative. This observation is the key to understanding the meaning of the second-order partial derivatives.

fig_10_3_fxx_1.svgfig_10_3_fxx_2.svgfig_10_3_fxx_3.svg

Figure 10.3.410.3.4. The tangent lines to a trace with increasing x.x\text{.}

Furthermore, we remember that the second derivative of a function at a point provides us with information about the concavity of the function at that point. Since the unmixed second-order partial derivative fxxf_{xx} requires us to hold yy constant and differentiate twice with respect to x,x\text{,} we may simply view fxxf_{xx} as the second derivative of a trace of ff where yy is fixed. As such, fxxf_{xx} will measure the concavity of this trace.

Consider, for example, f(x,y)=sin⁡(x)e−y.f(x,y) = \sin(x) e^{-y}\text{.} Figure 10.3.410.3.4 shows the graph of this function along with the trace given by y=−1.5.y=-1.5\text{.} Also shown are three tangent lines to this trace, with increasing xx-values from left to right among the three plots in Figure 10.3.410.3.4.

That the slope of the tangent line is decreasing as xx increases is reflected, as it is in one-variable calculus, in the fact that the trace is concave down. Indeed, we see that fx(x,y)=cos⁡(x)e−yf_x(x,y)=\cos(x)e^{-y} and so fxx(x,y)=−sin⁡(x)e−y<0,f_{xx}(x,y)=-\sin(x)e^{-y} \lt 0\text{,} since e−y>0e^{-y} > 0 for all values of y,y\text{,} including y=−1.5.y = -1.5\text{.}

In the following activity, we further explore what second-order partial derivatives tell us about the geometric behavior of a surface.

Activity 10.3.310.3.3

We continue to consider the function ff defined by f(x,y)=sin⁡(x)e−y.f(x,y) = \sin(x) e^{-y}\text{.}

a. In Figure 10.3.510.3.5, we see the trace of f(x,y)=sin⁡(x)e−yf(x,y) = \sin(x) e^{-y} that has xx held constant with x=1.75.x = 1.75\text{.} We also see three different lines that are tangent to the trace of ff in the yy direction at values of yy that are increasing from left to right in the figure. Write a couple of sentences that describe whether the slope of the tangent lines to this curve increase or decrease as yy increases, and, after computing fyy(x,y),f_{yy}(x,y)\text{,} explain how this observation is related to the value of fyy(1.75,y).f_{yy}(1.75,y)\text{.} Be sure to address the notion of concavity in your response.(You need to be careful about the directions in which xx and yy are increasing.)

fig_10_3_fyy_1.svgfig_10_3_fyy_2.svgfig_10_3_fyy_3.svg

Figure 10.3.510.3.5. The tangent lines to a trace with increasing y.y\text{.}

b. In Figure 10.3.610.3.6, we start to think about the mixed partial derivative, fxy.f_{xy}\text{.} Here, we first hold yy constant to generate the first-order partial derivative fx,f_x\text{,} and then we hold xx constant to compute fxy.f_{xy}\text{.} This leads to first thinking about a trace with xx being constant, followed by slopes of tangent lines in the xx-direction that slide along the original trace. You might think of sliding your pencil down the trace with xx constant in a way that its slope indicates (fx)y(f_x)_y in order to further animate the three snapshots shown in the figure.

fig_10_3_fxy_1.svgfig_10_3_fxy_2.svgfig_10_3_fxy_3.svg

Figure 10.3.610.3.6. The trace of z=f(x,y)=sin⁡(x)e−yz = f(x,y) = \sin(x)e^{-y} with x=1.75,x = 1.75\text{,} along with tangent lines in the yy-direction at three different points.

Based on Figure 10.3.610.3.6, is fxy(1.75,−1.5)f_{xy}(1.75, -1.5) positive or negative? Why?

c. Determine the formula for fxy(x,y),f_{xy}(x,y)\text{,} and hence evaluate fxy(1.75,−1.5).f_{xy}(1.75, -1.5)\text{.} How does this value compare with your observations in (b)?

d. We know that fxx(1.75,−1.5)f_{xx}(1.75, -1.5) measures the concavity of the y=−1.5y = -1.5 trace, and that fyy(1.75,−1.5)f_{yy}(1.75, -1.5) measures the concavity of the x=1.75x = 1.75 trace. What do you think the quantity fxy(1.75,−1.5)f_{xy}(1.75, -1.5) measures?

e. On Figure 10.3.610.3.6, sketch the trace with y=−1.5,y = -1.5\text{,} and sketch three tangent lines whose slopes correspond to the value of fyx(x,−1.5)f_{yx}(x,-1.5) for three different values of x,x\text{,} the middle of which is x=−1.5.x = -1.5\text{.} Is fyx(1.75,−1.5)f_{yx}(1.75, -1.5) positive or negative? Why? What does fyx(1.75,−1.5)f_{yx}(1.75, -1.5) measure?

Just as with the first-order partial derivatives, we can approximate second-order partial derivatives in the situation where we have only partial information about the function.

Activity 10.3.410.3.4

As we saw in Activity 10.2.5, the wind chill w(v,T),w(v,T)\text{,} in degrees Fahrenheit, is a function of the wind speed, in miles per hour, and the air temperature, in degrees Fahrenheit. Some values of the wind chill are recorded in Table 10.3.110.3.1.

Table 10.3.110.3.1. Wind chill as a function of wind speed and temperature.

v\Tv \backslash T -30 -25 -20 -15 -10 -5 0 5 10 15 20
5 -46 -40 -34 -28 -22 -16 -11 -5 1 7 13
10 -53 -47 -41 -35 -28 -22 -16 -10 -4 3 9
15 -58 -51 -45 -39 -32 -26 -19 -13 -7 0 6
20 -61 -55 -48 -42 -35 -29 -22 -15 -9 -2 4
25 -64 -58 -51 -44 -37 -31 -24 -17 -11 -4 3
30 -67 -60 -53 -46 -39 -33 -26 -19 -12 -5 1
35 -69 -62 -55 -48 -41 -34 -27 -21 -14 -7 0
40 -71 -64 -57 -50 -43 -36 -29 -22 -15 -8 -1
  1. Estimate the partial derivatives wT(20,−15),w_{T}(20,-15)\text{,} wT(20,−10),w_{T}(20,-10)\text{,} and wT(20,−5).w_T(20,-5)\text{.} Use these results to estimate the second-order partial wTT(20,−10).w_{TT}(20, -10)\text{.}
  2. In a similar way, estimate the second-order partial wvv(20,−10).w_{vv}(20,-10)\text{.}
  3. Estimate the partial derivatives wT(20,−10),w_T(20,-10)\text{,} wT(25,−10),w_T(25,-10)\text{,} and wT(15,−10),w_T(15,-10)\text{,} and use your results to estimate the partial wTv(20,−10).w_{Tv}(20,-10)\text{.}
  4. In a similar way, estimate the partial derivative wvT(20,−10).w_{vT}(20,-10)\text{.}
  5. Write several sentences that explain what the values wTT(20,−10),w_{TT}(20, -10)\text{,} wvv(20,−10),w_{vv}(20,-10)\text{,} and wTv(20,−10)w_{Tv}(20,-10) indicate regarding the behavior of w(v,T).w(v,T)\text{.}

As we have found in Activities 10.3.310.3.3 and Activity 10.3.410.3.4, we may think of fxyf_{xy} as measuring the “twist” of the graph as we increase yy along a particular trace where xx is held constant. In the same way, fyxf_{yx} measures how the graph twists as we increase x.x\text{.} If we remember that Clairaut's theorem tells us that fxy=fyx,f_{xy} = f_{yx}\text{,} we see that the amount of twisting is the same in both directions. This twisting is perhaps more easily seen in Figure 10.3.710.3.7, which shows the graph of f(x,y)=−xy,f(x,y) = -xy\text{,} for which fxy=−1.f_{xy} = -1\text{.}

fig_10_3_ruled.svg

Figure 10.3.710.3.7. The graph of f(x,y)=−xy.f(x,y) = -xy\text{.}

Summary

  • There are four second-order partial derivatives of a function ff of two independent variables xx and y:y\text{:}
    fxx=(fx)x,fxy=(fx)y,fyx=(fy)x, and fyy=(fy)y. f_{xx} = (f_x)_x, f_{xy} = (f_x)_y, f_{yx} = (f_y)_x,\ \mbox{and} \ f_{yy} = (f_y)_y.
  • The unmixed second-order partial derivatives, fxxf_{xx} and fyy,f_{yy}\text{,} tell us about the concavity of the traces. The mixed second-order partial derivatives, fxyf_{xy} and fyx,f_{yx}\text{,} tell us how the graph of ff twists.

Credit and licence

This page titled 10.3: Second-Order Partial Derivatives was last modified on Wed, 09 Nov 2022 21:23:03 GMT and is shared under a CC BY-SA 4.0 license and was authored, remixed, and/or curated by Matthew Boelkins, David Austin, and Steven Schlicker ( ScholarWorks @Grand Valley State University ) via source content that was edited to the style and standards of the LibreTexts platform.

Source: https://math.libretexts.org/Bookshelves/Calculus/Active_Calculus_(Boelkins_et_al.)/10%3A_Derivatives_of_Multivariable_Functions/10.03%3A_Second-Order_Partial_Derivatives

Licence: CC BY-SA 4.0 (creativecommons.org/licenses/by-sa/4.0/). You may share and adapt it under the same licence, with this credit. WorldClass adapted the formatting only: the text is the authors', with interactive parts and links to other sites left out.

Build status · Flash Infinity AI™ is a trademark of AI-Flash Inc.. WorldClass is not affiliated with, approved or accredited by any exam board, curriculum provider or university unless a page says so.