Multivariable CalculusPartial Derivatives4 of 5
Partial Derivatives · 4

Higher-Order Partial Derivatives

First partial derivatives give the slope of a surface f(x,y)f(x, y) in the x\htmlClass{lc-blue}{x} and y\htmlClass{lc-orange}{y} directions, and because those slopes change from point to point, we can differentiate a second time to see how the slopes themselves change.

1

Bending and Twist: The Four Second Partials

A second partial derivative measures how the x\htmlClass{lc-blue}{x}-slope or the y\htmlClass{lc-orange}{y}-slope of a surface changes as you take a step in either the x\htmlClass{lc-blue}{x} (East-West) or y\htmlClass{lc-orange}{y} (North-South) direction, giving four possible combinations.

Bending and Twist: The Four Second Partials
x  East\htmlClass{lc-blue}{x}\;\htmlClass{lc-mute}{\text{East}}
North  y\htmlClass{lc-mute}{\text{North}}\;\htmlClass{lc-orange}{y}
f(x,y)f(x, y)

Following the x\htmlClass{lc-blue}{x}-slope along a single East-West slice shows how that slice bends up or down, while following that same x\htmlClass{lc-blue}{x}-slope across neighboring slices to the North shows how the surface twists.

Stepping East–West follows the bend of a single East–West slice, while stepping North–South shows the East-slope twisting from one slice to the next.
2

Computing and Writing Second Partials

Now let's find all four second partial derivatives of

f(x,y)\displaystyle f(x, y) =x2y3+5x4\displaystyle = x^2y^3 + 5x^4
Computing and Writing Second Partials
f(x,y)=x2y3+5x4f(x, y) = x^2y^3 + 5x^4
x\htmlClass{lc-blue}{x}
??
y\htmlClass{lc-orange}{y}
??
x\htmlClass{lc-blue}{x}
??
y\htmlClass{lc-orange}{y}
??
x\htmlClass{lc-blue}{x}
??
y\htmlClass{lc-orange}{y}
??
x\htmlClass{lc-blue}{x}
y\htmlClass{lc-orange}{y}
x\htmlClass{lc-blue}{x}
y\htmlClass{lc-orange}{y}
x\htmlClass{lc-blue}{x}
y\htmlClass{lc-orange}{y}
f(x,y)=x2y3+5x4f(x, y) = x^2y^3 + 5x^4
fxf_{\htmlClass{lc-blue}{x}}
2xy3+20x32xy^3 + 20x^3
fyf_{\htmlClass{lc-orange}{y}}
3x2y23x^2y^2
fxxf_{\htmlClass{lc-blue}{xx}}
2y3+60x22y^3 + 60x^2
fxyf_{\htmlClass{lc-blue}{x}\htmlClass{lc-orange}{y}}
6xy26xy^2
fyxf_{\htmlClass{lc-orange}{y}\htmlClass{lc-blue}{x}}
6xy26xy^2
fyyf_{\htmlClass{lc-orange}{yy}}
6x2y6x^2y
pure\text{pure}
(bending)\text{(bending)}
pure\text{pure}
(bending)\text{(bending)}
mixed\text{mixed}
(twist)\text{(twist)}
Text solution
First partial derivativesDifferentiate f(x,y)=x2y3+5x4f(x, y) = x^2y^3 + 5x^4 once with respect to x\htmlClass{lc-blue}{x} (holding yy constant) and once with respect to y\htmlClass{lc-orange}{y} (holding xx constant, so 5x4\dropterm{5x^4} drops to 0\dropterm{0}).
fx=∂f∂x=2xy3+20x3fy=∂f∂y=3x2y2\displaystyle \begin{aligned}f_{\htmlClass{lc-blue}{x}} &= \frac{\partial f}{\partial \htmlClass{lc-blue}{x}} = 2xy^3 + 20x^3 \\[4pt] f_{\htmlClass{lc-orange}{y}} &= \frac{\partial f}{\partial \htmlClass{lc-orange}{y}} = 3x^2y^2\end{aligned}
Branch from fxf_{\htmlClass{lc-blue}{x}}Differentiate 2xy3+20x32xy^3 + 20x^3 with respect to x\htmlClass{lc-blue}{x} (holding yy constant) and with respect to y\htmlClass{lc-orange}{y} (holding xx constant).
fxx=∂2f∂x2=2y3+60x2⏟pure (bending in x)fxy=∂2f∂y ∂x=6xy2⏟mixed (twist)\displaystyle \begin{aligned}&\underbrace{f_{\htmlClass{lc-blue}{xx}} = \frac{\partial^2 f}{\partial \htmlClass{lc-blue}{x}^2} = 2y^3 + 60x^2}_{\text{pure (bending in } \htmlClass{lc-blue}{x}\text{)}} \\[4pt] &\underbrace{f_{\htmlClass{lc-blue}{x}\htmlClass{lc-orange}{y}} = \frac{\partial^2 f}{\partial \htmlClass{lc-orange}{y}\,\partial \htmlClass{lc-blue}{x}} = 6xy^2}_{\text{mixed (twist)}}\end{aligned}
Branch from fyf_{\htmlClass{lc-orange}{y}}Differentiate 3x2y23x^2y^2 with respect to x\htmlClass{lc-blue}{x} (holding yy constant) and with respect to y\htmlClass{lc-orange}{y} (holding xx constant).
fyx=∂2f∂x ∂y=6xy2⏟mixed (twist)fyy=∂2f∂y2=6x2y⏟pure (bending in y)\displaystyle \begin{aligned}&\underbrace{f_{\htmlClass{lc-orange}{y}\htmlClass{lc-blue}{x}} = \frac{\partial^2 f}{\partial \htmlClass{lc-blue}{x}\,\partial \htmlClass{lc-orange}{y}} = 6xy^2}_{\text{mixed (twist)}} \\[4pt] &\underbrace{f_{\htmlClass{lc-orange}{yy}} = \frac{\partial^2 f}{\partial \htmlClass{lc-orange}{y}^2} = 6x^2y}_{\text{pure (bending in } \htmlClass{lc-orange}{y}\text{)}}\end{aligned}

Notice that the two notations write the steps in opposite directions because fraction notation puts each new derivative on the left:

fxy\displaystyle f_{\htmlClass{lc-blue}{x}\htmlClass{lc-orange}{y}} =∂∂y ⁣(∂f∂x)\displaystyle = \frac{\partial}{\partial \htmlClass{lc-orange}{y}}\!\left(\frac{\partial f}{\partial \htmlClass{lc-blue}{x}}\right) =∂2f∂y ∂x\displaystyle = \frac{\partial^2 f}{\partial \htmlClass{lc-orange}{y}\,\partial \htmlClass{lc-blue}{x}}

Subscripts read left-to-right, while the denominator of a fraction derivative reads right-to-left.

3

Why Mixed Partials Match: Clairaut's Theorem

In the tree above, both middle branches came out to 6xy26xy^2. By Clairaut's Theorem, on any smooth surface (where the second partial derivatives are continuous, with no sharp creases or jumps), the two mixed partial derivatives are always equal:

fxy\displaystyle f_{\htmlClass{lc-blue}{x}\htmlClass{lc-orange}{y}} =fyx(∂2f∂y ∂x=∂2f∂x ∂y)\displaystyle = f_{\htmlClass{lc-orange}{y}\htmlClass{lc-blue}{x}} \qquad \left(\frac{\partial^2 f}{\partial \htmlClass{lc-orange}{y}\,\partial \htmlClass{lc-blue}{x}} = \frac{\partial^2 f}{\partial \htmlClass{lc-blue}{x}\,\partial \htmlClass{lc-orange}{y}}\right)
Why Mixed Partials Match: Clairaut's Theorem
fxy=?fyxf_{\htmlClass{lc-blue}{x}\htmlClass{lc-orange}{y}} \overset{?}{=} f_{\htmlClass{lc-orange}{y}\htmlClass{lc-blue}{x}}
x  East\htmlClass{lc-blue}{x}\;\htmlClass{lc-mute}{\text{East}}
y  North\htmlClass{lc-orange}{y}\;\htmlClass{lc-mute}{\text{North}}
1010
1212
1515
2020
+2\htmlClass{lc-blue}{+2}
+5\htmlClass{lc-blue}{+5}
+5\htmlClass{lc-orange}{+5}
+8\htmlClass{lc-orange}{+8}
1010
1212
1515
2020
x  East\htmlClass{lc-blue}{x}\;\htmlClass{lc-mute}{\text{East}}
y  North\htmlClass{lc-orange}{y}\;\htmlClass{lc-mute}{\text{North}}

Whether you check how the x\htmlClass{lc-blue}{x}-change grows from South to North or how the y\htmlClass{lc-orange}{y}-change grows from West to East, you end up subtracting the exact same four corner heights, just in a different order:

Change in x-change going North (y):(20−15)−(12−10)=20−15−12+10=+3Change in y-change going East (x):(20−12)−(15−10)=20−12−15+10=+3\displaystyle \begin{aligned} &\text{Change in } \htmlClass{lc-blue}{x}\text{-change going North } (\htmlClass{lc-orange}{y}): \\ &\quad \xchange{(20 - 15)} - \xchange{(12 - 10)} \\ &\qquad = 20 - 15 - 12 + 10 = \mixchange{+3} \\[8pt] &\text{Change in } \htmlClass{lc-orange}{y}\text{-change going East } (\htmlClass{lc-blue}{x}): \\ &\quad \ychange{(20 - 12)} - \ychange{(15 - 10)} \\ &\qquad = 20 - 12 - 15 + 10 = \mixchange{+3} \end{aligned}
On the four-corner patch, how much the West-to-East slope grows going North always equals how much the South-to-North slope grows going East, for any corner heights.
4

Avoiding Hard Derivatives by Swapping Order

Clairaut's Theorem gives you a built-in way to check your work whenever you compute all four second partials, and it also lets you skip complicated derivatives. Suppose we want to find

fyxforf(x,y)\displaystyle f_{\htmlClass{lc-orange}{y}\htmlClass{lc-blue}{x}} \quad \text{for} \quad f(x, y) =xcos⁡(y)+ey3sin⁡(y)\displaystyle = x\cos(y) + \dropterm{e^{y^3\sin(y)}}
Dodging Hard Derivatives by Swapping Order
f(x,y)\displaystyle f(x, y) =xcos⁡(y)+ey3sin⁡(y)\displaystyle = x\cos(y) + \dropterm{e^{y^3\sin(y)}}
fyx\displaystyle f_{\htmlClass{lc-orange}{y}\htmlClass{lc-blue}{x}} =  ?\displaystyle = \;?
Text solution
Swap the derivative orderBecause ff is made of smooth functions, use Clairaut's Theorem to take the x\htmlClass{lc-blue}{x}-derivative before the y\htmlClass{lc-orange}{y}-derivative.
fyx\displaystyle f_{\htmlClass{lc-orange}{y}\htmlClass{lc-blue}{x}} =fxy\displaystyle = f_{\htmlClass{lc-blue}{x}\htmlClass{lc-orange}{y}}
Differentiate with respect to x\htmlClass{lc-blue}{x} firstWith yy held constant, the entire ey3sin⁡(y)\dropterm{e^{y^3\sin(y)}} term has no xx in it, so it is a constant and drops to 0\dropterm{0} right away.
fx\displaystyle f_{\htmlClass{lc-blue}{x}} =cos⁡(y)+0⏟ey3sin⁡(y) has no x\displaystyle = \cos(y) + \underbrace{\dropterm{0}}_{\dropterm{e^{y^3\sin(y)}} \text{ has no } \htmlClass{lc-blue}{x}} =cos⁡(y)\displaystyle = \cos(y)
Differentiate with respect to y\htmlClass{lc-orange}{y}Take the y\htmlClass{lc-orange}{y}-derivative of the remaining term.
fxy\displaystyle f_{\htmlClass{lc-blue}{x}\htmlClass{lc-orange}{y}} =−sin⁡(y)\displaystyle = -\sin(y)

So fyx=−sin⁡(y)f_{\htmlClass{lc-orange}{y}\htmlClass{lc-blue}{x}} = -\sin(y), without ever using the product or chain rule on ey3sin⁡(y)\dropterm{e^{y^3\sin(y)}}.

5

Higher-Order Partials and Three Variables

We can keep branching to third or fourth derivatives, or add a third variable z\htmlClass{lc-green}{z} so the tree splits into three branches at every step. Suppose we need to find the third-order mixed partial

fzyx=∂3f∂x ∂y ∂zforf(x,y,z)=x2yez+y4ln⁡(z2+1)\displaystyle \begin{gathered}f_{\htmlClass{lc-green}{z}\htmlClass{lc-orange}{y}\htmlClass{lc-blue}{x}} = \frac{\partial^3 f}{\partial \htmlClass{lc-blue}{x}\,\partial \htmlClass{lc-orange}{y}\,\partial \htmlClass{lc-green}{z}} \\ \text{for} \quad f(x, y, z) = x^2ye^z + \dropterm{y^4\ln(z^2 + 1)}\end{gathered}
Higher-Order Partials and Three Variables
f(x,y)=x2y3+5x4f(x, y) = x^2y^3 + 5x^4
x\htmlClass{lc-blue}{x}
fxf_{\htmlClass{lc-blue}{x}}
2xy3+20x32xy^3 + 20x^3
y\htmlClass{lc-orange}{y}
fxyf_{\htmlClass{lc-blue}{x}\htmlClass{lc-orange}{y}}
6xy26xy^2
y\htmlClass{lc-orange}{y}
??

On our earlier two-variable function f(x,y)=x2y3+5x4f(x, y) = x^2y^3 + 5x^4, taking one more y\htmlClass{lc-orange}{y}-derivative of fxy=6xy2f_{\htmlClass{lc-blue}{x}\htmlClass{lc-orange}{y}} = 6xy^2 gives a third partial derivative, and swapping steps shows that any order with one x\htmlClass{lc-blue}{x} and two y\htmlClass{lc-orange}{y}'s gives the same result:

fxyy\displaystyle f_{\htmlClass{lc-blue}{x}\htmlClass{lc-orange}{yy}} =fyxy\displaystyle = f_{\htmlClass{lc-orange}{y}\htmlClass{lc-blue}{x}\htmlClass{lc-orange}{y}} =fyyx\displaystyle = f_{\htmlClass{lc-orange}{yy}\htmlClass{lc-blue}{x}} =∂3f∂y2 ∂x\displaystyle = \frac{\partial^3 f}{\partial \htmlClass{lc-orange}{y}^2\,\partial \htmlClass{lc-blue}{x}} =12xy\displaystyle = 12xy

The same reordering works across three variables in f(x,y,z)=x2yez+y4ln⁡(z2+1)f(x, y, z) = x^2ye^z + \dropterm{y^4\ln(z^2 + 1)}.

Text solution
Reorder the variablesPut x\htmlClass{lc-blue}{x} first so you do not have to differentiate y4ln⁡(z2+1)\dropterm{y^4\ln(z^2 + 1)} with respect to z\htmlClass{lc-green}{z} and y\htmlClass{lc-orange}{y}.
fzyx\displaystyle f_{\htmlClass{lc-green}{z}\htmlClass{lc-orange}{y}\htmlClass{lc-blue}{x}} =fxyz\displaystyle = f_{\htmlClass{lc-blue}{x}\htmlClass{lc-orange}{y}\htmlClass{lc-green}{z}}
Differentiate with respect to x\htmlClass{lc-blue}{x} (holding yy and zz constant)The second term has no x\htmlClass{lc-blue}{x} in it and drops to 0\dropterm{0} right away.
fx\displaystyle f_{\htmlClass{lc-blue}{x}} =2xyez+0⏟y4ln⁡(z2+1) has no x\displaystyle = 2xye^z + \underbrace{\dropterm{0}}_{\dropterm{y^4\ln(z^2 + 1)} \text{ has no } \htmlClass{lc-blue}{x}} =2xyez\displaystyle = 2xye^z
Differentiate with respect to y\htmlClass{lc-orange}{y} (holding xx and zz constant)Differentiate yy while 2xez2xe^z stays constant.
fxy\displaystyle f_{\htmlClass{lc-blue}{x}\htmlClass{lc-orange}{y}} =2xez\displaystyle = 2xe^z
Differentiate with respect to z\htmlClass{lc-green}{z} (holding xx and yy constant)Differentiate eze^z while 2x2x stays constant.
fxyz\displaystyle f_{\htmlClass{lc-blue}{x}\htmlClass{lc-orange}{y}\htmlClass{lc-green}{z}} =2xez\displaystyle = 2xe^z

So ∂3f∂x ∂y ∂z=2xez\frac{\partial^3 f}{\partial \htmlClass{lc-blue}{x}\,\partial \htmlClass{lc-orange}{y}\,\partial \htmlClass{lc-green}{z}} = 2xe^z.

Summary

At every step of a higher-order partial derivative, you differentiate with respect to one variable while holding all the others constant. Pure partials like fxx=∂2f∂x2f_{\htmlClass{lc-blue}{xx}} = \frac{\partial^2 f}{\partial \htmlClass{lc-blue}{x}^2} step twice in the same direction to measure how a single slice bends, while mixed partials step in one direction and then the other to measure how the surface twists. Always read the order starting from the variable closest to ff: in both fxyf_{\htmlClass{lc-blue}{x}\htmlClass{lc-orange}{y}} and ∂2f∂y ∂x\frac{\partial^2 f}{\partial \htmlClass{lc-orange}{y}\,\partial \htmlClass{lc-blue}{x}}, x\htmlClass{lc-blue}{x} is closest to ff, so x\htmlClass{lc-blue}{x} goes first and y\htmlClass{lc-orange}{y} goes second.

When a function is smooth (its partial derivatives are continuous), Clairaut's Theorem guarantees that mixed partials match regardless of order:

fxy\displaystyle f_{\htmlClass{lc-blue}{x}\htmlClass{lc-orange}{y}} =fyx\displaystyle = f_{\htmlClass{lc-orange}{y}\htmlClass{lc-blue}{x}}

and for higher orders, only the total count of each variable matters (fxyy=fyxy=fyyx)(f_{\htmlClass{lc-blue}{x}\htmlClass{lc-orange}{yy}} = f_{\htmlClass{lc-orange}{y}\htmlClass{lc-blue}{x}\htmlClass{lc-orange}{y}} = f_{\htmlClass{lc-orange}{yy}\htmlClass{lc-blue}{x}}). Before you start differentiating a mixed partial, look at the variables you need and check whether one of them is missing from the hardest term:

Swap when the first variable hits a complicated term that a later variable would drop to 0\dropterm{0}

for fyxf_{\htmlClass{lc-orange}{y}\htmlClass{lc-blue}{x}} of xcos⁡(y)+ey3sin⁡(y)x\cos(y) + \dropterm{e^{y^3\sin(y)}}, switch to fxyf_{\htmlClass{lc-blue}{x}\htmlClass{lc-orange}{y}} so the x\htmlClass{lc-blue}{x}-derivative immediately sends ey3sin⁡(y)→0\dropterm{e^{y^3\sin(y)}} \to \dropterm{0}.

Keep the given order when the first variable already drops the complicated term to 0\dropterm{0} (or for a pure partial)

if you are asked for ∂2f∂y ∂x\frac{\partial^2 f}{\partial \htmlClass{lc-orange}{y}\,\partial \htmlClass{lc-blue}{x}} on xcos⁡(y)+ey3sin⁡(y)x\cos(y) + \dropterm{e^{y^3\sin(y)}}, x\htmlClass{lc-blue}{x} is already the first step, and on a pure partial like fyyf_{\htmlClass{lc-orange}{yy}} there is no other variable to swap in.

6

Practice

1

Find all four second partial derivatives (fxx(f_{xx}, fxyf_{xy}, fyxf_{yx}, and fyy)f_{yy}) of f(x,y)=3x3y4−2y5f(x, y) = 3x^3y^4 - 2y^5.

Find the two first partial derivatives fxf_x (holding yy constant) and fyf_y (holding xx constant) first, then take the xx-derivative and yy-derivative of each one.

First take the x\htmlClass{lc-blue}{x}- and y\htmlClass{lc-orange}{y}-derivatives of f(x,y)=3x3y4−2y5f(x, y) = 3x^3y^4 - 2y^5:
fx=9x2y4fy=12x3y3−10y4\displaystyle \begin{aligned}f_{\htmlClass{lc-blue}{x}} &= 9x^2y^4 \\ f_{\htmlClass{lc-orange}{y}} &= 12x^3y^3 - 10y^4\end{aligned}
(Watch out: when finding fxf_{\htmlClass{lc-blue}{x}}, −2y5\dropterm{-2y^5} has no xx in it so it drops to 0\dropterm{0}; differentiating it as −10y4-10y^4 gives fx=9x2y4−10y4f_{\htmlClass{lc-blue}{x}} = 9x^2y^4 - 10y^4 and leads to fxy=36x2y3−40y3f_{\htmlClass{lc-blue}{x}\htmlClass{lc-orange}{y}} = 36x^2y^3 - 40y^3, which you can catch right away because it does not match fyxf_{\htmlClass{lc-orange}{y}\htmlClass{lc-blue}{x}}.)
Differentiating each branch with respect to x\htmlClass{lc-blue}{x} and y\htmlClass{lc-orange}{y} gives:
fxx=18xy4,fxy=36x2y3,fyx=36x2y3,fyy=36x3y2−40y3\displaystyle \begin{aligned}f_{\htmlClass{lc-blue}{xx}} &= 18xy^4, \\ f_{\htmlClass{lc-blue}{x}\htmlClass{lc-orange}{y}} &= 36x^2y^3, \\ f_{\htmlClass{lc-orange}{y}\htmlClass{lc-blue}{x}} &= 36x^2y^3, \\ f_{\htmlClass{lc-orange}{yy}} &= 36x^3y^2 - 40y^3\end{aligned}
2

On a smooth hill z=f(x,y)z = f(x, y) where xx goes East and yy goes North, which partial derivative measures how the East-slope changes as you step North, and does it measure bending or twist? On a unit square with corner heights f(0,0)=4f(0, 0) = 4, f(1,0)=9f(1, 0) = 9, f(0,1)=6f(0, 1) = 6, and f(1,1)=15f(1, 1) = 15, what is this change in the East-change, and how does it compare to the change in the North-change as you step East?

Ask which slope you are looking at first and which direction you step second. On the square, find the East-changes along the bottom edge (y=0)(y = 0) and top edge (y=1)(y = 1) first, then find how much that East-change grows from bottom to top.

Looking at the East-slope first (fx)(f_{\htmlClass{lc-blue}{x}}) and stepping North second (y)(\htmlClass{lc-orange}{y}) is fxyf_{\htmlClass{lc-blue}{x}\htmlClass{lc-orange}{y}} (or ∂2f∂y ∂x\frac{\partial^2 f}{\partial \htmlClass{lc-orange}{y}\,\partial \htmlClass{lc-blue}{x}}), which measures twist. (Watch out in fraction notation: reading the denominator left-to-right writes ∂2f∂x ∂y\frac{\partial^2 f}{\partial x\,\partial y} by mistake, which puts yy closest to ff instead of xx.)
On the unit square, the x\htmlClass{lc-blue}{x}-change grows from 9−4=+5\xchange{9 - 4 = +5} along the bottom edge to 15−6=+9\xchange{15 - 6 = +9} along the top edge, so stepping North changes it by 9−5=+4\xchange{9} - \xchange{5} = \mixchange{+4}. (Be careful to subtract the bottom change from the top change rather than adding 9+5=14\xchange{9} + \xchange{5} = 14.) Stepping East, the y\htmlClass{lc-orange}{y}-change grows from 6−4=+2\ychange{6 - 4 = +2} along the left edge to 15−9=+6\ychange{15 - 9 = +6} along the right edge, which is the exact same change of +4\mixchange{+4}.
3

Find ∂2f∂y ∂x\frac{\partial^2 f}{\partial y\,\partial x} for f(x,y)=y2sin⁡(x)+ex3cos⁡(x)f(x, y) = y^2\sin(x) + e^{x^3\cos(x)}.

Look at the second term ex3cos⁡(x)e^{x^3\cos(x)}. Which variable is missing from it, and what order lets you differentiate with respect to that variable first?

Reading the denominator right-to-left, ∂2f∂y ∂x\frac{\partial^2 f}{\partial \htmlClass{lc-orange}{y}\,\partial \htmlClass{lc-blue}{x}} asks for the x\htmlClass{lc-blue}{x}-derivative first (fxy)(f_{\htmlClass{lc-blue}{x}\htmlClass{lc-orange}{y}}), which would make you differentiate ex3cos⁡(x)\dropterm{e^{x^3\cos(x)}}. By Clairaut's Theorem, swap to fyxf_{\htmlClass{lc-orange}{y}\htmlClass{lc-blue}{x}} and take the y\htmlClass{lc-orange}{y}-derivative first so ex3cos⁡(x)\dropterm{e^{x^3\cos(x)}} drops to 0\dropterm{0}:
fy\displaystyle f_{\htmlClass{lc-orange}{y}} =2ysin⁡(x)\displaystyle = 2y\sin(x)
Now take the x\htmlClass{lc-blue}{x}-derivative (holding 2y2y constant):
(Watch out: don't stop at 2ysin⁡(x)2y\sin(x) after the first step, and remember that the derivative of sin⁡(x)\sin(x) is +cos⁡(x)+\cos(x), not −cos⁡(x)-\cos(x), which would give −2ycos⁡(x)-2y\cos(x).)
∂2f∂y ∂x\displaystyle \frac{\partial^2 f}{\partial \htmlClass{lc-orange}{y}\,\partial \htmlClass{lc-blue}{x}} =2ycos⁡(x)\displaystyle = 2y\cos(x)
4

Find fxxyf_{xxy} for f(x,y)=x4y+x3ln⁡(x2+1)f(x, y) = x^4y + x^3\ln(x^2 + 1).

You need two xx-derivatives and one yy-derivative in total. Which one should go first so you never have to differentiate x3ln⁡(x2+1)x^3\ln(x^2 + 1)?

By Clairaut's Theorem, reorder fxxyf_{\htmlClass{lc-blue}{xx}\htmlClass{lc-orange}{y}} to fyxxf_{\htmlClass{lc-orange}{y}\htmlClass{lc-blue}{xx}}. Taking the y\htmlClass{lc-orange}{y}-derivative first makes x3ln⁡(x2+1)\dropterm{x^3\ln(x^2 + 1)} drop to 0\dropterm{0} right away:
fy\displaystyle f_{\htmlClass{lc-orange}{y}} =x4\displaystyle = x^4
Now differentiate twice with respect to x\htmlClass{lc-blue}{x}:
fyx\displaystyle f_{\htmlClass{lc-orange}{y}\htmlClass{lc-blue}{x}} =4x3\displaystyle = 4x^3
(Watch out: fxxyf_{\htmlClass{lc-blue}{xx}\htmlClass{lc-orange}{y}} has two xx's in the subscript, so don't stop after a single xx-derivative at 4x34x^3.)
fxxy\displaystyle f_{\htmlClass{lc-blue}{xx}\htmlClass{lc-orange}{y}} =12x2\displaystyle = 12x^2
5

Find ∂3f∂x ∂y ∂z\frac{\partial^3 f}{\partial x\,\partial y\,\partial z} for f(x,y,z)=x2y3ez+y4cos⁡(z3)+x5ln⁡(y2+1)f(x, y, z) = x^2y^3e^z + y^4\cos(z^3) + x^5\ln(y^2 + 1).

You need one derivative with respect to each of xx, yy, and zz. Check which variable is missing from y4cos⁡(z3)y^4\cos(z^3), and then which of the remaining two variables is missing from x5ln⁡(y2+1)x^5\ln(y^2 + 1).

Reorder fzyxf_{\htmlClass{lc-green}{z}\htmlClass{lc-orange}{y}\htmlClass{lc-blue}{x}} into fxzyf_{\htmlClass{lc-blue}{x}\htmlClass{lc-green}{z}\htmlClass{lc-orange}{y}} so each complicated term drops to 00 before you ever have to differentiate it. First take the x\htmlClass{lc-blue}{x}-derivative to drop y4cos⁡(z3)\dropterm{y^4\cos(z^3)} to 0\dropterm{0}:
fx\displaystyle f_{\htmlClass{lc-blue}{x}} =2xy3ez+5x4ln⁡(y2+1)\displaystyle = 2xy^3e^z + \dropterm{5x^4\ln(y^2 + 1)}
Next take the z\htmlClass{lc-green}{z}-derivative to drop 5x4ln⁡(y2+1)\dropterm{5x^4\ln(y^2 + 1)} to 0\dropterm{0}:
(Watch out: if you take the yy-derivative second instead of zz, you have to differentiate 5x4ln⁡(y2+1)\dropterm{5x^4\ln(y^2 + 1)} into 10x4yy2+1\dropterm{\frac{10x^4y}{y^2 + 1}} only for the zz-derivative to send it to 0\dropterm{0} on the next step; also remember that with xx and yy held constant, the zz-derivative of eze^z is eze^z, not zez−1ze^{z-1}, which would give 6xy2zez−16xy^2ze^{z-1}.)
fxz\displaystyle f_{\htmlClass{lc-blue}{x}\htmlClass{lc-green}{z}} =2xy3ez\displaystyle = 2xy^3e^z
Finally, take the y\htmlClass{lc-orange}{y}-derivative:
∂3f∂x ∂y ∂z\displaystyle \frac{\partial^3 f}{\partial \htmlClass{lc-blue}{x}\,\partial \htmlClass{lc-orange}{y}\,\partial \htmlClass{lc-green}{z}} =6xy2ez\displaystyle = 6xy^2e^z