← 2016 Paper 2

UPSC 2016 Maths Optional Paper 2 Q3b — Step-by-Step Solution

15 marks · Section A

Maxima and minima of multi-variable functions (analytic criteria) · Real Analysis · asked 5× in 13 yrs · Read the full method →

Question

Find the relative maximum and minimum values of the function f(x,y)=x4+y42x2+4xy2y2f(x,y)=x^4+y^4-2x^2+4xy-2y^2.

Technique

f=0\nabla f=0 (adding the equations gives y=xy=-x); Hessian test D=fxxfyyfxy2D=f_{xx}f_{yy}-f_{xy}^2; direct line-slices to resolve the degenerate D=0D=0 case at the origin.

Solution

Find critical points (f=0\nabla f=0), then classify with the second-derivative (Hessian) test using D=fxxfyyfxy2D=f_{xx}f_{yy}-f_{xy}^2. Where D=0D=0 the test is inconclusive and we examine ff directly.

Step 1 — First-order conditions

fx=4x34x+4y=0,fy=4y3+4x4y=0.f_x=4x^3-4x+4y=0,\qquad f_y=4y^3+4x-4y=0.

Divide by 44:

x3x+y=0,y3+xy=0.x^3-x+y=0,\qquad y^3+x-y=0.

Add the two equations: x3+y3=0y=xx^3+y^3=0\Rightarrow y=-x (real cube roots). Substitute y=xy=-x into the first: x3xx=0x32x=0x(x22)=0x^3-x-x=0\Rightarrow x^3-2x=0\Rightarrow x(x^2-2)=0, so x=0, ±2x=0,\ \pm\sqrt2. With y=xy=-x:

(0,0),(2,2),(2,2).(0,0),\qquad(\sqrt2,-\sqrt2),\qquad(-\sqrt2,\sqrt2).

Step 2 — Second derivatives and the discriminant

fxx=12x24,fyy=12y24,fxy=4.f_{xx}=12x^2-4,\qquad f_{yy}=12y^2-4,\qquad f_{xy}=4. D=fxxfyyfxy2=(12x24)(12y24)16.D=f_{xx}f_{yy}-f_{xy}^2=(12x^2-4)(12y^2-4)-16.

At (2,2)(\sqrt2,-\sqrt2): fxx=1224=20f_{xx}=12\cdot2-4=20, fyy=20f_{yy}=20, so D=202016=384>0D=20\cdot20-16=384>0 and fxx=20>0f_{xx}=20>0\Rightarrow relative minimum.

At (2,2)(-\sqrt2,\sqrt2): identical, D=384>0D=384>0, fxx=20>0f_{xx}=20>0\Rightarrow relative minimum.

At (0,0)(0,0): fxx=4f_{xx}=-4, fyy=4f_{yy}=-4, D=(4)(4)16=1616=0D=(-4)(-4)-16=16-16=0\Rightarrow test inconclusive.

Step 3 — Resolve (0,0)(0,0) directly

Examine ff along two lines through the origin:

Since ff takes both signs in every neighborhood of (0,0)(0,0) (where f=0f=0), the origin is a saddle point — neither a max nor a min.

Step 4 — Extreme values

At the two minima,

f(±2,2)=(2)4+(2)42(2)2+4(2)(2)2(2)2=4+4484=8.f(\pm\sqrt2,\mp\sqrt2)=(\sqrt2)^4+(\sqrt2)^4-2(\sqrt2)^2+4(\sqrt2)(-\sqrt2)-2(\sqrt2)^2=4+4-4-8-4=-8.

Answer

  Relative minima f=8 at (2,2) and (2,2);(0,0) is a saddle (no relative max/min).  \boxed{\;\text{Relative minima }f=-8\ \text{at}\ (\sqrt2,-\sqrt2)\ \text{and}\ (-\sqrt2,\sqrt2);\quad (0,0)\ \text{is a saddle (no relative max/min).}\;}
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.