Skip to content

Higher-order partial derivatives

Differentiate the slopes of the hill again to get the four second partials, read them as bends of the traces, use Clairaut's theorem to swap the order of the mixed ones, and test Laplace's and the wave equation.

It opens on

At 2 east on the hill the east slope is −4, but one unit farther east it is −6. The slope itself changes as you move; how fast does it change?

Why it matters

How a slope changes decides whether a spot is a hilltop, a bowl or a pass, and many laws of nature, from steady heat to waves, are equations about second partials.

Good to know first

  • Partial derivatives: fx and fy are the slopes of the east and north traces, found by holding the other variable fixed

Step by step

  1. The four second partials

    Compute fxx, fxy, fyx and fyy, and read fxx, fyy and fxy as bends of the traces and a change of slope.

    For the hill fx = −2x + y and fy = x − 4y, so fxx = −2, fxy = 1, fyx = 1 and fyy = −4.

    A common mix-up

    fxx means (fx)².

    In fact: fxx means differentiate in x twice: at (2, 0), fx = −4 so (fx)² = 16, but fxx = −2.

  2. Swapping the order

    Compute mixed partials in either order, state Clairaut's theorem with its condition, and use it to pick the easier order.

    A second landscape of height f = x³y²: fx = 3x²y², holding y fixed, and then fxy = 6x²y.

    A common mix-up

    Mixed partials are always equal.

    In fact: They are equal when continuous around the point; the origin example has fxy = −1 and fyx = 1.

  3. Laplace's and the wave equation

    Test whether a function is harmonic and whether it solves the wave equation by computing second partials.

    For u = x² − y², uxx = 2 and uyy = −2, so the saddle's two traces bend by opposite amounts and uxx + uyy = 0.

    A common mix-up

    Harmonic means each second partial is 0.

    In fact: u = x² − y² has uxx = 2 and uyy = −2, which cancel.

Try it

Find fxx and fxy for f = x²y + 3xy².Answer

fxx = 2y and fxy = 2x + 6y

Hint: fx = 2xy + 3y²

Find fxy for f = x ey².Answer

2y ey²

Hint: fx = ey²

Is u = x³ − 3xy² harmonic?Answer

Yes: uxx = 6x and uyy = −6x sum to 0

Hint: ux = 3x² − 3y² and uy = −6xy

At (2, 0) the east slope is fx = −4; at (3, 0) it is −6. Does the east slope stay the same as you move?Answer

No, it changes with position.

For the hill table's fxy and fyx a student gets 1 and 3. What do you conclude?Answer

An arithmetic slip, since polynomials have continuous second partials.

Higher-order partial derivatives

30 minutes every month. No card.