← 2018 Paper 1
UPSC 2018 Maths Optional Paper 1 Q3b — Step-by-Step Solution
12 marks · Section A
Partial derivatives · Calculus · asked 8× in 13 yrs · Read the full method →
Question
Let
f(x,y)={xy2,−xy2,if y>0if y≤0.
Determine which of ∂x∂f(0,1) and ∂y∂f(0,1) exists and which does not exist.
Technique
Partial derivatives via one-variable difference quotients; recognise that (0,1) lies interior to a single branch.
Solution
Step 1 — Locate the point relative to the pieces
The point (0,1) has y=1>0, which is in the interior of the region {y>0}. In a whole neighbourhood of (0,1) (any disc of radius <1) we have y>0, so there f(x,y)=xy2 identically — the piecewise split at y=0 is far away and irrelevant for derivatives at (0,1).
Step 2 — fx(0,1) from the difference quotient
fx(0,1)=h→0limhf(0+h,1)−f(0,1)=h→0limhh⋅12−0=h→0limhh=1.
So fx(0,1) exists and equals 1. (Consistently, ∂x(xy2)=y2=1 at (0,1).)
Step 3 — fy(0,1) from the difference quotient
fy(0,1)=k→0limkf(0,1+k)−f(0,1).
For ∣k∣<1, 1+k>0, so f(0,1+k)=0⋅(1+k)2=0 and f(0,1)=0. Hence the quotient is k0−0=0 for all small k, giving
fy(0,1)=0.
So fy(0,1) also exists and equals 0. (Consistently, ∂y(xy2)=2xy=0 at x=0.)
Step 4 — Conclusion
Answer
Both fx(0,1)=1 and fy(0,1)=0 exist.