← 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 ) = { x 2 − x y x 2 + 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} f ( x , y ) = ⎩ ⎨ ⎧ x 2 + y x 2 − x y , 0 , ( x , y ) = ( 0 , 0 ) ( x , y ) = ( 0 , 0 )
examine the continuity and differentiability.
Technique
Path test (y = t x 2 y=tx^2 y = t x 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 y requires y ≥ 0 y\ge 0 y ≥ 0 . We assume the function is defined on { ( x , y ) : y ≥ 0 } \{(x,y):y\ge 0\} {( x , y ) : y ≥ 0 } , i.e. the upper half-plane (including the x x x -axis). Continuity/differentiability questions are at the origin ( 0 , 0 ) (0,0) ( 0 , 0 ) .
Step 1 — Continuity at ( 0 , 0 ) (0,0) ( 0 , 0 )
Approach along the path y = t x 2 y=tx^2 y = t x 2 for t ≥ 0 t\ge 0 t ≥ 0 , x → 0 + x\to 0^+ x → 0 + (taking x > 0 x>0 x > 0 for clarity; x < 0 x<0 x < 0 similar):
f ( x , t x 2 ) = x 2 − x t x 2 x 2 + t x 2 = x 2 − x ⋅ ∣ x ∣ t x 2 ( 1 + t ) = x 2 − x 2 t x 2 ( 1 + t ) = 1 − t 1 + 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}. f ( x , t x 2 ) = x 2 + t x 2 x 2 − x t x 2 = x 2 ( 1 + t ) x 2 − x ⋅ ∣ x ∣ t = x 2 ( 1 + t ) x 2 − x 2 t = 1 + t 1 − t .
(Using t x 2 = ∣ x ∣ t \sqrt{tx^2}=|x|\sqrt t t x 2 = ∣ x ∣ t , and assuming x > 0 x>0 x > 0 so ∣ x ∣ = x |x|=x ∣ x ∣ = x .)
This limit depends on t t t :
t = 0 t=0 t = 0 : 1 1 1 .
t = 1 t=1 t = 1 : 0 0 0 .
t = 4 t=4 t = 4 : ( 1 − 2 ) / 5 = − 1 / 5 (1-2)/5=-1/5 ( 1 − 2 ) /5 = − 1/5 .
So f f f has different limits along different parabolic paths — the limit at ( 0 , 0 ) (0,0) ( 0 , 0 ) does not exist . Therefore f f f is not continuous at ( 0 , 0 ) (0,0) ( 0 , 0 ) .
(For x < 0 x<0 x < 0 : t x 2 = ∣ x ∣ t = − x t \sqrt{tx^2}=|x|\sqrt t=-x\sqrt t t x 2 = ∣ x ∣ t = − x t , so f = x 2 + x 2 t x 2 ( 1 + t ) = 1 + t 1 + t f=\dfrac{x^2+x^2\sqrt t}{x^2(1+t)}=\dfrac{1+\sqrt t}{1+t} f = x 2 ( 1 + t ) x 2 + x 2 t = 1 + t 1 + t , also depending on t t t . Different paths from the left also yield different limits.)
Step 2 — Differentiability at ( 0 , 0 ) (0,0) ( 0 , 0 ) — direct conclusion
Differentiability at a point requires continuity at that point. Since f f f is not continuous at ( 0 , 0 ) (0,0) ( 0 , 0 ) , f f f is not differentiable at ( 0 , 0 ) (0,0) ( 0 , 0 ) .
Step 3 — Partial derivatives at ( 0 , 0 ) (0,0) ( 0 , 0 ) (do they exist?)
For completeness, check whether f x ( 0 , 0 ) f_x(0,0) f x ( 0 , 0 ) and f y ( 0 , 0 ) f_y(0,0) f y ( 0 , 0 ) exist (they can exist even if f f f is discontinuous).
f x ( 0 , 0 ) = lim h → 0 f ( h , 0 ) − f ( 0 , 0 ) h = lim h → 0 h 2 − 0 h ⋅ ( h 2 + 0 ) = lim h → 0 1 h f_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} f x ( 0 , 0 ) = h → 0 lim h f ( h , 0 ) − f ( 0 , 0 ) = h → 0 lim h ⋅ ( h 2 + 0 ) h 2 − 0 = h → 0 lim h 1 , which does not exist .
Wait: f ( h , 0 ) = h 2 − h ⋅ 0 h 2 + 0 = h 2 h 2 = 1 f(h,0)=\dfrac{h^2-h\cdot 0}{h^2+0}=\dfrac{h^2}{h^2}=1 f ( h , 0 ) = h 2 + 0 h 2 − h ⋅ 0 = h 2 h 2 = 1 for h ≠ 0 h\ne 0 h = 0 .
So f x ( 0 , 0 ) = lim h → 0 1 − 0 h = lim h → 0 1 h = ± ∞ f_x(0,0)=\lim_{h\to 0}\dfrac{1-0}{h}=\lim_{h\to 0}\dfrac{1}{h}=\pm\infty f x ( 0 , 0 ) = lim h → 0 h 1 − 0 = lim h → 0 h 1 = ± ∞ — does not exist .
f y ( 0 , 0 ) = lim k → 0 + f ( 0 , k ) − 0 k f_y(0,0)=\displaystyle\lim_{k\to 0^+}\dfrac{f(0,k)-0}{k} f y ( 0 , 0 ) = k → 0 + lim k f ( 0 , k ) − 0 (one-sided since y ≥ 0 y\ge 0 y ≥ 0 ). f ( 0 , k ) = 0 − 0 0 + k = 0 f(0,k)=\dfrac{0-0}{0+k}=0 f ( 0 , k ) = 0 + k 0 − 0 = 0 for k > 0 k>0 k > 0 .
So f y ( 0 , 0 ) = lim k → 0 + 0 k = 0 f_y(0,0)=\lim_{k\to 0^+}\dfrac{0}{k}=0 f y ( 0 , 0 ) = lim k → 0 + k 0 = 0 . The partial f y f_y f y exists (and equals 0).
But f x f_x f x does not exist, confirming non-differentiability.
Conclusion
Answer
f is not continuous at ( 0 , 0 ) , hence not differentiable. Also f x ( 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.}\;} f is not continuous at ( 0 , 0 ) , hence not differentiable. Also f x ( 0 , 0 ) does not exist.