4.4.4 · D4Multivariable Calculus

Exercises — Clairaut's theorem — mixed partials are equal (under conditions)

3,008 words14 min readBack to topic

Quick reminder of the two symbols we lean on the whole way down:

The picture below is what all this means: a mixed partial is a twist of the surface, and Clairaut says the twist is the same whichever way you sneak up on it.

Figure — Clairaut's theorem — mixed partials are equal (under conditions)
Figure 1 — A saddle surface over the -plane. Walk East (blue) and the ground tilts; now drift North and watch that East-tilt rotate — that rotation is . The green path (North first, then East) measures the very same twisting of the corner. Clairaut: the two twists agree when the surface has no crease.


Level 1 — Recognition

L1.1 True or false, and say why: "For , we are guaranteed without computing either."

L1.2 In the symbol , which variable is differentiated first? And in the Leibniz form , which is first?

L1.3 State the one hypothesis that Clairaut's theorem requires, in your own words.

Recall Solution L1.1

True. is a polynomial. Every partial derivative of a polynomial is again a polynomial, and polynomials are continuous everywhere. So and are continuous on all of — i.e. is — Clairaut's hypothesis holds automatically — hence they must be equal. We didn't need the actual value to know they agree. (For the curious: , so ; and , so . ✅)

Recall Solution L1.2
  • : subscripts read left to right, so is differentiated first, then .
  • : in Leibniz notation the operator closest to acts first. Here that is , so is first — the same order as . The two notations agree; they just read in opposite directions.
Recall Solution L1.3

The mixed partials and must exist and be continuous on an open region containing the point (that is, is there). Continuity of the second mixed partials is the price of admission for swapping the order.


Level 2 — Application

L2.1 For , compute by differentiating first, then verify by computing .

L2.2 For , find both mixed partials and confirm they match.

L2.3 ("Pick the easy order.") For , you want the value of the mixed partial. Compute it using whichever order is algebraically cleaner, and state which order you chose and why.

Recall Solution L2.1

first. Hold fixed: Why the ? Chain rule: . Now differentiate in : Why the second term? Product rule on : derivative of is (giving ), plus times .

Check with first. , then ✅ Identical.

Recall Solution L2.2

, so , so ✅ Match. (The appears in both — the twist of the term is either way.)

Recall Solution L2.3

The two terms behave differently, so handle the payoff order term-by-term. The clean order is first for the piece (because kills the messy immediately), and either order is trivial for .

. Then Why this was easier: had we gone first, carries the through an extra step. Clairaut guarantees the same final answer, so we chose the order that avoids dragging around. Final answer:


Level 3 — Analysis

L3.1 For , compute , , and separately and confirm all three are equal. Explain why they must be, using Clairaut.

L3.2 A student claims and are "obviously the same by definition, no theorem needed." Explain precisely what Clairaut adds that a definition alone does not.

L3.3 Suppose you are told only that a function's Hessian matrix (the table of second partials) is symmetric at every point. What does that tell you about vs , and what smoothness condition guarantees it?

Recall Solution L3.1

Recall from the top of the page: each subscript letter = one differentiation in reading order. We work each string left to right, justifying every single step. (.)

(", then , then "):

  • . Why: is a constant factor here, and .
  • . Why: again is constant; .
  • . Why: the 's are gone, , times the .

(", then , then "):

  • . Why: same first step, constant.
  • . Why: now is the constant factor; , times .
  • . Why: constant; .

(", then , then "):

  • . Why: constant; , times .
  • . Why: constant; .
  • . Why: constant; .

All three give . ✅

Why they must match. is a polynomial, so every partial is continuous everywhere ( is , hence certainly ). Clairaut lets you swap any two adjacent differentiations (that's the two-variable theorem applied to or to a first derivative of ). By repeatedly swapping adjacent letters — like sorting — you can rearrange , , into one another. Therefore only the count of each variable (here: two 's, one ) matters, not the order.

Recall Solution L3.2

By definition, (differentiate in , then ) and (in , then ). These are two genuinely different computations — different limit processes, evaluated in different orders. Nothing in the definition forces them to give the same number. The counterexample at the origin (L5 below) shows they really can differ.

What Clairaut adds: an extra hypothesis (continuity of the mixed partials, i.e. ) under which those two different computations are proven to land on the same value. So it is a theorem with content, not a restatement of a definition.

Recall Solution L3.3

The Hessian Matrix is "Symmetric" means the off-diagonal entries are equal: — which is exactly Clairaut's conclusion. So a symmetric Hessian at every point is the statement "mixed partials agree everywhere." The condition that guarantees it: the second partials are continuous on the region (). Then Clairaut forces symmetry.


Level 4 — Synthesis

L4.1 (Link to exact ODEs.) A differential form is called exact when it equals for some potential , which forces and . Use Clairaut to derive the standard test . Then apply it to , : is the form exact?

L4.2 (Reverse the proof.) Recall the symmetric second difference from the parent proof: Compute explicitly for at , then divide by . What do you get, and how does it confirm for this ?

L4.3 Build a function whose mixed partial equals . (Reverse-engineer: integrate.)

Recall Solution L4.1

Deriving the exactness test. If the form is exact, and for a potential . Then If is , Clairaut gives , hence This is the necessary condition used in Exact Differential Equations — it is literally Clairaut wearing different clothes.

Apply it. . . They are equal, so the form is exactand since the domain here is all of (open and simply connected, no holes), a genuine potential really exists.

Recall Solution L4.2

For : , etc. At : Divide by : The parent proof showed limits to one way and the other. Here it is a constant , so both limits are regardless of order: Direct check: ; . ✅ The symmetric difference literally is the mixed partial for this simple .

Recall Solution L4.3

We want . Undo the " then " chain in reverse. First find an whose -derivative is : integrate with respect to , where is an arbitrary function of alone (it plays the role of the "constant of integration," but since we integrated in , anything with no survives as ). Take the simplest choice , giving . Now integrate that in : where is again arbitrary in (it vanishes under ). So the family of solutions is ; the simplest is . Why the arbitrary pieces matter: any leaves unchanged and hence unchanged, so the potential is not unique — this is exactly the non-uniqueness you meet when reconstructing potentials in Exact Differential Equations. Check: . ✅ (And — Clairaut agrees, as it must for this polynomial.)


Level 5 — Mastery

L5.1 (The counterexample, hands-on.) Let Show while , so Clairaut fails here — and identify exactly which hypothesis broke.

L5.2 Explain, using the figure below, why continuity of the mixed partial is the precise thing that fails in L5.1, connecting it back to the "unknown MVT points squeezing toward the origin" step of the parent proof.

Figure — Clairaut's theorem — mixed partials are equal (under conditions)
Figure 2 — Along the -axis the first partial (blue) falls with slope ; along the -axis (yellow) rises with slope . Those two slopes ARE the mixed partials and . They disagree at the shared red point (the origin) — the visual signature of a mixed partial that is not continuous there.

Recall Solution L5.1

We need first partials away from the origin, then evaluate second partials at the origin using difference quotients.

Step 1 — for . With , the quotient rule gives (after simplification) Its value on the -axis: put : for . Also (from the definition: is along the -axis, so its -slope at the origin is ).

Step 2 — , the change of in the -direction at the origin:

Step 3 — for , by symmetry ( is antisymmetric under ):

Step 4 — , the change of in the -direction at the origin:

Conclusion: . The mixed partials exist but are not continuous at the origin — the exact hypothesis Clairaut requires (the condition fails). So the theorem's continuity condition is genuinely necessary. ✅

Recall Solution L5.2

Look at Figure 2. Along the axes, climbs one way and climbs the other; approaching the origin from different directions makes the mixed partial's value head toward different numbers ( vs ). That is precisely discontinuity of the mixed partial at .

Recall the parent proof's finish: the MVT hands us unknown points that only squeeze toward , and we needed " at a nearby point " — that step is continuity. When continuity fails (as here), the squeezing points can approach along directions giving different limits, and the two orders no longer have to agree. The figure's clashing colored slopes on the two axes are the visual signature of that failure.


Recall One-line summary of the whole ladder

Recognise it (L1) → apply it both orders and pick the easy one (L2) → sort higher-derivative strings & read the Hessian (L3) → recognise it inside exactness tests and the proof's symmetric difference (L4) → and know the one function where it breaks, and why (L5): no continuity → no Clairaut.