← 2015 Paper 1

UPSC 2015 Maths Optional Paper 1 Q4d — Step-by-Step Solution

12 marks · Section A

Functions of two/three variables: limits, continuity · Calculus · asked 4× in 13 yrs · Read the full method →

Question

For the function

f(x,y)={x2xyx2+y,(x,y)(0,0)0,(x,y)=(0,0)f(x,y)=\begin{cases}\dfrac{x^2-x\sqrt y}{x^2+y}, & (x,y)\ne(0,0)\\[4pt] 0, & (x,y)=(0,0)\end{cases}

examine the continuity and differentiability.

Technique

Path test (y=tx2y=tx^2) to expose direction-dependent limit; conclude discontinuity; non-continuity ⇒ non-differentiability; partial-derivative check for completeness.

Solution

Note on domain. The expression y\sqrt y requires y0y\ge 0. We assume the function is defined on {(x,y):y0}\{(x,y):y\ge 0\}, i.e. the upper half-plane (including the xx-axis). Continuity/differentiability questions are at the origin (0,0)(0,0).

Step 1 — Continuity at (0,0)(0,0)

Approach along the path y=tx2y=tx^2 for t0t\ge 0, x0+x\to 0^+ (taking x>0x>0 for clarity; x<0x<0 similar):

f(x,tx2)=x2xtx2x2+tx2=x2xxtx2(1+t)=x2x2tx2(1+t)=1t1+t.f(x,tx^2)=\dfrac{x^2-x\sqrt{tx^2}}{x^2+tx^2}=\dfrac{x^2-x\cdot|x|\sqrt{t}}{x^2(1+t)}=\dfrac{x^2-x^2\sqrt{t}}{x^2(1+t)}=\dfrac{1-\sqrt t}{1+t}.

(Using tx2=xt\sqrt{tx^2}=|x|\sqrt t, and assuming x>0x>0 so x=x|x|=x.)

This limit depends on tt:

So ff has different limits along different parabolic paths — the limit at (0,0)(0,0) does not exist. Therefore ff is not continuous at (0,0)(0,0).

(For x<0x<0: tx2=xt=xt\sqrt{tx^2}=|x|\sqrt t=-x\sqrt t, so f=x2+x2tx2(1+t)=1+t1+tf=\dfrac{x^2+x^2\sqrt t}{x^2(1+t)}=\dfrac{1+\sqrt t}{1+t}, also depending on tt. Different paths from the left also yield different limits.)

Step 2 — Differentiability at (0,0)(0,0) — direct conclusion

Differentiability at a point requires continuity at that point. Since ff is not continuous at (0,0)(0,0), ff is not differentiable at (0,0)(0,0).

Step 3 — Partial derivatives at (0,0)(0,0) (do they exist?)

For completeness, check whether fx(0,0)f_x(0,0) and fy(0,0)f_y(0,0) exist (they can exist even if ff is discontinuous).

fx(0,0)=limh0f(h,0)f(0,0)h=limh0h20h(h2+0)=limh01hf_x(0,0)=\displaystyle\lim_{h\to 0}\dfrac{f(h,0)-f(0,0)}{h}=\lim_{h\to 0}\dfrac{h^2-0}{h\cdot(h^2+0)}=\lim_{h\to 0}\dfrac{1}{h}, which does not exist.

Wait: f(h,0)=h2h0h2+0=h2h2=1f(h,0)=\dfrac{h^2-h\cdot 0}{h^2+0}=\dfrac{h^2}{h^2}=1 for h0h\ne 0.

So fx(0,0)=limh010h=limh01h=±f_x(0,0)=\lim_{h\to 0}\dfrac{1-0}{h}=\lim_{h\to 0}\dfrac{1}{h}=\pm\inftydoes not exist.

fy(0,0)=limk0+f(0,k)0kf_y(0,0)=\displaystyle\lim_{k\to 0^+}\dfrac{f(0,k)-0}{k} (one-sided since y0y\ge 0). f(0,k)=000+k=0f(0,k)=\dfrac{0-0}{0+k}=0 for k>0k>0.

So fy(0,0)=limk0+0k=0f_y(0,0)=\lim_{k\to 0^+}\dfrac{0}{k}=0. The partial fyf_y exists (and equals 0).

But fxf_x does not exist, confirming non-differentiability.

Conclusion

Answer

  f is not continuous at (0,0), hence not differentiable. Also fx(0,0) does not exist.  \boxed{\;f\text{ is not continuous at }(0,0),\text{ hence not differentiable. Also }f_x(0,0)\text{ does not 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.