← 2017 Paper 1

UPSC 2017 Maths Optional Paper 1 Q3c — Step-by-Step Solution

15 marks · Section A

Partial derivatives · Calculus · asked 8× in 13 yrs · Read the full method →

Question

If

f(x,y)={xy(x2y2)x2+y2,(x,y)(0,0)0,(x,y)=(0,0),f(x,y)=\begin{cases}\dfrac{xy(x^2-y^2)}{x^2+y^2}, & (x,y)\ne(0,0)\\ 0, & (x,y)=(0,0),\end{cases}

calculate 2fxy\dfrac{\partial^2 f}{\partial x\partial y} and 2fyx\dfrac{\partial^2 f}{\partial y\partial x} at (0,0)(0,0).

Technique

Compute fx(0,y)f_x(0,y) and fy(x,0)f_y(x,0) from the first-difference quotients, then differentiate those one-variable functions to get the mixed partials at the origin.

Solution

This is the classic example where fxy(0,0)fyx(0,0)f_{xy}(0,0)\ne f_{yx}(0,0), so Schwarz/Clairaut symmetry fails. We must use the difference-quotient definitions of the partials at the origin, not blind differentiation.

Step 1 — First partials on the punctured plane

For (x,y)(0,0)(x,y)\ne(0,0), differentiating f=xy(x2y2)x2+y2f=\dfrac{xy(x^2-y^2)}{x^2+y^2}:

fx(x,y)=y(x4+4x2y2y4)(x2+y2)2,fy(x,y)=x(x44x2y2y4)(x2+y2)2.f_x(x,y)=\frac{y(x^4+4x^2y^2-y^4)}{(x^2+y^2)^2},\qquad f_y(x,y)=\frac{x(x^4-4x^2y^2-y^4)}{(x^2+y^2)^2}.

Step 2 — Partials along the axes (from the definition)

f(x,0)=0f(x,0)=0 and f(0,y)=0f(0,y)=0, so along the axes ff vanishes. Using the limit definitions:

fx(0,y)=limh0f(h,y)f(0,y)h=limh01hhy(h2y2)h2+y2=y(y2)y2=y(y0),f_x(0,y)=\lim_{h\to0}\frac{f(h,y)-f(0,y)}{h}=\lim_{h\to0}\frac{1}{h}\cdot\frac{hy(h^2-y^2)}{h^2+y^2}=\frac{y(-y^2)}{y^2}=-y\quad(y\ne0),

and fx(0,0)=0f_x(0,0)=0, so fx(0,y)=yf_x(0,y)=-y for all yy. Similarly

fy(x,0)=limk0f(x,k)f(x,0)k=limk01kxk(x2k2)x2+k2=xx2x2=xfor all x.f_y(x,0)=\lim_{k\to0}\frac{f(x,k)-f(x,0)}{k}=\lim_{k\to0}\frac1k\cdot\frac{xk(x^2-k^2)}{x^2+k^2}=\frac{x\cdot x^2}{x^2}=x\quad\text{for all }x.

Step 3 — Mixed partials at the origin

2fxy(0,0)=y[fx](0,0)=limk0fx(0,k)fx(0,0)k=limk0k0k=1.\frac{\partial^2 f}{\partial x\,\partial y}(0,0)=\frac{\partial}{\partial y}\Big[f_x\Big]_{(0,0)} =\lim_{k\to0}\frac{f_x(0,k)-f_x(0,0)}{k}=\lim_{k\to0}\frac{-k-0}{k}=-1. 2fyx(0,0)=x[fy](0,0)=limh0fy(h,0)fy(0,0)h=limh0h0h=+1.\frac{\partial^2 f}{\partial y\,\partial x}(0,0)=\frac{\partial}{\partial x}\Big[f_y\Big]_{(0,0)} =\lim_{h\to0}\frac{f_y(h,0)-f_y(0,0)}{h}=\lim_{h\to0}\frac{h-0}{h}=+1.

Answer

  2fxy(0,0)=1,2fyx(0,0)=+1.  \boxed{\;\frac{\partial^2 f}{\partial x\,\partial y}(0,0)=-1,\qquad \frac{\partial^2 f}{\partial y\,\partial x}(0,0)=+1.\;}
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.