← 2021 Paper 1
UPSC 2021 Maths Optional Paper 1 Q2b — Step-by-Step Solution
15 marks · Section A
Partial derivatives · Calculus · asked 8× in 13 yrs · Read the full method →
Question
f(x,y)=∣x2−y2∣. Find fxy(0,0) and fyx(0,0). Hence show fxy(0,0)=fyx(0,0).
Technique
Compute fx,fy on each region; evaluate at axes; take partial of partial via limit definition.
Solution
Setup. ∣x2−y2∣=x2−y2 if ∣x∣≥∣y∣, and y2−x2 if ∣x∣<∣y∣.
Step 1 — Compute fx everywhere
For ∣x∣>∣y∣: f=x2−y2, fx=2x.
For ∣x∣<∣y∣: f=y2−x2, fx=−2x.
At ∣x∣=∣y∣=0: f=0, but derivative may not exist (corner). Need to check at origin separately.
fx(0,0)=limh→0hf(h,0)−f(0,0)=limh→0h∣h2−0∣−0=limh→0hh2=limh→0h=0.
So fx(0,0)=0.
Similarly fy(0,0)=0.
Step 2 — fx(0,y) for y=0
For ∣y∣>0 and x=0 (so ∣x∣<∣y∣): f=y2−x2, so fx=−2x, fx(0,y)=0.
So fx(0,y)=0 for all y.
Step 3 — fxy(0,0)=∂yfx∣(0,0)=0
fxy(0,0)=limk→0kfx(0,k)−fx(0,0)=limk→0k0−0=0.
Step 4 — By symmetry, fyx(0,0)=0
f is symmetric in x,y (well, ∣x2−y2∣=∣y2−x2∣, so f(x,y)=f(y,x)). So fy(x,0) analogously = 0 for all x.
fyx(0,0)=limh→0hfy(h,0)−fy(0,0)=0.
Step 5 — Conclusion
Answer
fxy(0,0)=fyx(0,0)=0.