← 2019 Paper 2

UPSC 2019 Maths Optional Paper 2 Q1b — Step-by-Step Solution

10 marks · Section A

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

Question

Show that the function

f(x,y)={x2y2xy,(x,y)(1,1),(1,1)0,(x,y)=(1,1),(1,1)f(x,y)=\begin{cases}\dfrac{x^2-y^2}{x-y}, & (x,y)\ne(1,-1),(1,1)\\[2mm] 0, & (x,y)=(1,1),(1,-1)\end{cases}

is continuous and differentiable at (1,1)(1,-1).

Technique

Factor x2y2=(xy)(x+y)x^2-y^2=(x-y)(x+y) to reveal a removable form; on a neighbourhood off the diagonal ff is the polynomial x+yx+y; verify the differentiability definition (zero remainder).

Solution

Step 1 — Simplify the defining expression

For (x,y)(1,1),(1,1)(x,y)\ne(1,1),(1,-1) (in particular wherever xyx\ne y),

x2y2xy=(xy)(x+y)xy=x+y.\frac{x^2-y^2}{x-y}=\frac{(x-y)(x+y)}{x-y}=x+y.

So away from the diagonal x=yx=y the function equals the polynomial x+yx+y. The point of interest is (1,1)(1,-1), where xyx\ne y, so on a full neighbourhood of (1,1)(1,-1) (which avoids the line x=yx=y since 111\ne-1) we have f(x,y)=x+yf(x,y)=x+y except possibly at the single prescribed point (1,1)(1,-1) itself, where f=0f=0.

Step 2 — Continuity at (1,1)(1,-1)

As (x,y)(1,1)(x,y)\to(1,-1) through points with xyx\ne y,

lim(x,y)(1,1)f(x,y)=lim(x,y)(1,1)(x+y)=1+(1)=0.\lim_{(x,y)\to(1,-1)} f(x,y)=\lim_{(x,y)\to(1,-1)}(x+y)=1+(-1)=0.

The defined value is f(1,1)=0f(1,-1)=0. Limit equals value, so ff is continuous at (1,1)(1,-1).

(The point (1,1)(1,1) lies on the diagonal and far from (1,1)(1,-1), so it does not interfere; a punctured neighbourhood of (1,1)(1,-1) contains no point of the line x=yx=y.)

Step 3 — Differentiability at (1,1)(1,-1)

A function of two variables is differentiable at a=(1,1)\mathbf a=(1,-1) if there is a linear map (the gradient) L=(A,B)L=(A,B) with

f(a+h)f(a)(Ah1+Bh2)=o(h)as h0.f(\mathbf a+\mathbf h)-f(\mathbf a)-(A h_1+B h_2)=o(\|\mathbf h\|)\quad\text{as }\mathbf h\to\mathbf 0.

On the punctured neighbourhood, f(1+h1,1+h2)=(1+h1)+(1+h2)=h1+h2f(1+h_1,\,-1+h_2)=(1+h_1)+(-1+h_2)=h_1+h_2, and f(1,1)=0f(1,-1)=0. Take A=B=1A=B=1 (so L(h)=h1+h2L(\mathbf h)=h_1+h_2):

f(a+h)f(a)(h1+h2)=(h1+h2)0(h1+h2)=0=o(h).f(\mathbf a+\mathbf h)-f(\mathbf a)-(h_1+h_2)=(h_1+h_2)-0-(h_1+h_2)=0=o(\|\mathbf h\|).

The remainder is identically 00, hence trivially o(h)o(\|\mathbf h\|). Therefore ff is differentiable at (1,1)(1,-1) with

Answer

  fx(1,1)=1,fy(1,1)=1,df=dx+dy.  \boxed{\;f_x(1,-1)=1,\qquad f_y(1,-1)=1,\qquad df=dx+dy.\;}
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.