Step 1 — Build a symmetric second difference.
Fix step sizes h,k>0. Define
Δ(h,k)=f(a+h,b+k)−f(a+h,b)−f(a,b+k)+f(a,b).Why this step? This combination is the discrete analogue of a mixed second derivative. Notice it is perfectly symmetric: swapping h↔k and a↔b (i.e. swapping the roles of x and y) leaves Δ unchanged. That hidden symmetry is the whole trick.
Step 2 — Group it as an x-difference of a y-difference.
Let g(x)=f(x,b+k)−f(x,b). Then
Δ(h,k)=g(a+h)−g(a).Why this step? We've turned Δ into a difference of g in the x-direction, so we can apply the Mean Value Theorem in x.
Step 3 — Apply MVT in x.
By the MVT there is c1 between a and a+h with
g(a+h)−g(a)=hg′(c1)=h[fx(c1,b+k)−fx(c1,b)].Why this step?g′(x)=fx(x,b+k)−fx(x,b), and MVT converts a difference into a derivative times the step h.
Step 4 — Apply MVT again, now in y.
The bracket is a y-difference of fx(c1,⋅). By MVT there is d1 between b and b+k with
fx(c1,b+k)−fx(c1,b)=kfxy(c1,d1).
So
Δ(h,k)=hkfxy(c1,d1).Why this step? Differentiating fx w.r.t. y gives fxy — exactly the mixed partial we want.
Step 5 — Do Steps 2–4 in the other order.
Now let ϕ(y)=f(a+h,y)−f(a,y), so Δ(h,k)=ϕ(b+k)−ϕ(b). The sameΔ. Two MVTs (first in y, then in x) give, for some c2,d2,
Δ(h,k)=hkfyx(c2,d2).Why this step? The symmetry of Δ means we are free to peel it apart in either order.
Step 6 — Equate and take the limit.
Both expressions equal the same Δ, so dividing by hk:
fxy(c1,d1)=fyx(c2,d2).
As h,k→0, all four points (c1,d1),(c2,d2)→(a,b). Because fxy and fyx are continuous, both sides converge to their values at (a,b):
fxy(a,b)=fyx(a,b).Why continuity is essential: the points ci,di are unknown; we only know they squeeze toward (a,b). Continuity is what lets "value at a nearby point" become "value at (a,b)." Without it, the limit can fail — see the famous counterexample below.
Imagine a stretchy trampoline. Standing on it, ask: "If I walk East, how fast does the ground tilt?" That's an x-slope. Now ask "and as I shift North, how does that East-tilt change?" That's fxy — a twist. Clairaut says the twist you measure (East-then-North) is the same twist you'd measure North-then-East. It's like saying the corner of the trampoline is dented the same amount no matter which way you sneak up on it — as long as the trampoline is smooth with no sharp creases. If there's a pinch or crease (a point where the slopes jump), the two ways can disagree.
Dekho, Clairaut's theorem ek bahut hi pyaari aur kaam ki cheez hai. Jab tumhare paas do variable wala function f(x,y) hota hai, toh tum usko pehle x se differentiate kar sakte ho, phir y se — ya phir ulta, pehle y phir x. Theorem kehta hai: dono ka answer same aayega, yaani fxy=fyx. Bas ek condition hai — second mixed partials continuous honi chahiye us point ke aas-paas. Continuity hi entry ticket hai.
Intuition kya hai? Socho ek trampoline (surface) hai. fx matlab "East walk karte hue zameen kitni tilt hoti hai." Ab fxy matlab "jab main North shift karta hoon toh wo East-tilt kitna badalta hai" — ye ek twist (marod) hai. Clairaut kehta hai ki agar surface smooth hai (koi sharp crease nahi), toh twist East-phir-North napo ya North-phir-East, same niklega. Practical fayda: exam mein jis order mein algebra aasan ho, usi order mein differentiate karo — answer wahi rahega (Example 2 dekho).
Proof ka asli trick ek symmetric quantity Δ banana hai — ek rectangle ke chaaron corner ka combination. Ye Δx aur y mein bilkul symmetric hai. Phir Mean Value Theorem do baar lagao ek order mein toh fxy milta hai, dusre order mein toh fyx. Kyunki Δ ek hi hai, dono barabar. Limit lete waqt continuity use karke hum points ko exact (a,b) pe le jaate hain.
Aur haan, ye theorem hamesha sach nahi hota! Ek famous counterexample hai f=xy(x2−y2)/(x2+y2) jahan origin pe fxy=−1 par fyx=+1 — kyunki wahan mixed partials continuous nahi hain. Isliye yaad rakho: No continuity, no Clairaut. Yehi condition hi pura khel hai.