← 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,if y>0xy2,if y0.f(x,y)=\begin{cases}xy^2, & \text{if } y>0\\ -xy^2, & \text{if } y\le 0.\end{cases}

Determine which of fx(0,1)\dfrac{\partial f}{\partial x}(0,1) and fy(0,1)\dfrac{\partial f}{\partial y}(0,1) exists and which does not exist.

Technique

Partial derivatives via one-variable difference quotients; recognise that (0,1)(0,1) lies interior to a single branch.

Solution

Step 1 — Locate the point relative to the pieces

The point (0,1)(0,1) has y=1>0y=1>0, which is in the interior of the region {y>0}\{y>0\}. In a whole neighbourhood of (0,1)(0,1) (any disc of radius <1<1) we have y>0y>0, so there f(x,y)=xy2f(x,y)=xy^2 identically — the piecewise split at y=0y=0 is far away and irrelevant for derivatives at (0,1)(0,1).

Step 2 — fx(0,1)f_x(0,1) from the difference quotient

fx(0,1)=limh0f(0+h,1)f(0,1)h=limh0h120h=limh0hh=1.f_x(0,1)=\lim_{h\to0}\frac{f(0+h,1)-f(0,1)}{h}=\lim_{h\to0}\frac{h\cdot1^2-0}{h}=\lim_{h\to0}\frac{h}{h}=1.

So fx(0,1)f_x(0,1) exists and equals 11. (Consistently, x(xy2)=y2=1\partial_x(xy^2)=y^2=1 at (0,1)(0,1).)

Step 3 — fy(0,1)f_y(0,1) from the difference quotient

fy(0,1)=limk0f(0,1+k)f(0,1)k.f_y(0,1)=\lim_{k\to0}\frac{f(0,1+k)-f(0,1)}{k}.

For k<1|k|<1, 1+k>01+k>0, so f(0,1+k)=0(1+k)2=0f(0,1+k)=0\cdot(1+k)^2=0 and f(0,1)=0f(0,1)=0. Hence the quotient is 00k=0\frac{0-0}{k}=0 for all small kk, giving

fy(0,1)=0.f_y(0,1)=0.

So fy(0,1)f_y(0,1) also exists and equals 00. (Consistently, y(xy2)=2xy=0\partial_y(xy^2)=2xy=0 at x=0x=0.)

Step 4 — Conclusion

Answer

  Both fx(0,1)=1 and fy(0,1)=0 exist.  \boxed{\;\text{Both }f_x(0,1)=1\ \text{and}\ f_y(0,1)=0\ \text{exist.}\;}
We post more of this — worked solutions, CSAT trap breakdowns, guide chapters — a few times a week on Telegram. Free, no sign-in. Join

This solution is part of the Maths Coverage Map — 13 years, mapped. Get the take-away PDF free.