The math optional, made finite. Daily Practice

Maxima and Minima of Multi-Variable Functions (Unconstrained)

At a Glance

Why This Chapter Matters

This atom appeared once in 2023 as a 15-mark Section B computation. UPSC asks you to locate all critical points of a function of two variables and classify each as a local maximum, local minimum, or saddle point using the second-derivative test. The procedure is completely systematic, making this a reliable marks-source if you prepare it. Note the critical distinction from P1-CA-14 (Lagrange multipliers): here there is no constraint — you are optimising over all of R2\mathbb{R}^2.

Minimum Theory

Critical Points

A function f(x,y)f(x, y) with continuous partial derivatives has a critical point at (a,b)(a, b) if

fx(a,b)=0andfy(a,b)=0.f_x(a,b) = 0 \quad \text{and} \quad f_y(a,b) = 0.

Every local extremum of a differentiable function is a critical point (necessary condition). Not every critical point is an extremum.

Second-Derivative Test (Hessian Criterion)

At a critical point (a,b)(a, b), compute the discriminant

D=fxx(a,b)fyy(a,b)[fxy(a,b)]2.D = f_{xx}(a,b)\, f_{yy}(a,b) - \bigl[f_{xy}(a,b)\bigr]^2.

ConditionClassification
D>0D > 0 and fxx>0f_{xx} > 0Local minimum
D>0D > 0 and fxx<0f_{xx} < 0Local maximum
D<0D < 0Saddle point
D=0D = 0Test inconclusive; higher-order analysis needed

Why DD?

D=detHD = \det H where H=(fxxfxyfxyfyy)H = \begin{pmatrix} f_{xx} & f_{xy} \\ f_{xy} & f_{yy} \end{pmatrix} is the Hessian matrix. D>0D > 0 means HH is definite (sign determined by fxxf_{xx}); D<0D < 0 means HH is indefinite (saddle).

Functions of Three or More Variables

For f(x,y,z)f(x, y, z): set all three first partials to zero. The Hessian is 3×33 \times 3; classify using Sylvester’s criterion (all leading principal minors positive \Rightarrow local min; alternating signs starting negative \Rightarrow local max; otherwise saddle or inconclusive). UPSC questions typically stay with two variables.

Question Archetypes

ArchetypeRecognition
find-and-classify-critical-points”Find all critical points of f(x,y)f(x,y) and determine their nature”

find-and-classify-critical-points (1 question; 2023)

Recognition Cues

Solution Template

  1. Compute fxf_x and fyf_y.
  2. Set fx=0f_x = 0 and fy=0f_y = 0; solve the system (often nonlinear — factor or substitute).
  3. List all critical points.
  4. For each: compute fxxf_{xx}, fyyf_{yy}, fxyf_{xy} at the point; evaluate D=fxxfyyfxy2D = f_{xx}f_{yy} - f_{xy}^2.
  5. Apply the classification table; state the conclusion.
  6. If D=0D = 0, state that the test is inconclusive and attempt a direct comparison f(a+h,b+k)f(a,b)f(a+h, b+k) - f(a,b) for small (h,k)(h,k).

Worked Example

2023 Paper 1, 2023-P1-Q4b (15 marks)

Find all the critical points of f(x,y)=x3+y33axyf(x, y) = x^3 + y^3 - 3axy (where a>0a > 0) and determine their nature.

Step 1. Compute first partial derivatives.

fx=3x23ay,fy=3y23ax.f_x = 3x^2 - 3ay, \qquad f_y = 3y^2 - 3ax.

Step 2. Set equal to zero.

x2=ay(1)x^2 = ay \quad \cdots (1) y2=ax(2)y^2 = ax \quad \cdots (2)

From (1): y=x2/ay = x^2/a. Substitute into (2):

(x2a)2=ax    x4a2=ax    x4=a3x    x(x3a3)=0.\left(\frac{x^2}{a}\right)^2 = ax \implies \frac{x^4}{a^2} = ax \implies x^4 = a^3 x \implies x(x^3 - a^3) = 0.

So x=0x = 0 or x=ax = a.

Step 3. Compute second partial derivatives.

fxx=6x,fyy=6y,fxy=3a.f_{xx} = 6x, \qquad f_{yy} = 6y, \qquad f_{xy} = -3a.

Step 4. Classify (0,0)(0, 0).

fxx(0,0)=0,fyy(0,0)=0,fxy(0,0)=3a.f_{xx}(0,0) = 0, \quad f_{yy}(0,0) = 0, \quad f_{xy}(0,0) = -3a. D=(0)(0)(3a)2=9a2<0(a>0).D = (0)(0) - (-3a)^2 = -9a^2 < 0 \quad (a > 0).

(0,0)(0, 0) is a saddle point.

Step 5. Classify (a,a)(a, a).

fxx(a,a)=6a,fyy(a,a)=6a,fxy(a,a)=3a.f_{xx}(a,a) = 6a, \quad f_{yy}(a,a) = 6a, \quad f_{xy}(a,a) = -3a. D=(6a)(6a)(3a)2=36a29a2=27a2>0.D = (6a)(6a) - (-3a)^2 = 36a^2 - 9a^2 = 27a^2 > 0.

Since D>0D > 0 and fxx=6a>0f_{xx} = 6a > 0, the point (a,a)(a, a) is a local minimum.

The local minimum value is f(a,a)=a3+a33aaa=2a33a3=a3f(a,a) = a^3 + a^3 - 3a \cdot a \cdot a = 2a^3 - 3a^3 = -a^3.

(0,0) is a saddle point;(a,a) is a local minimum with f(a,a)=a3.\boxed{(0,0) \text{ is a saddle point};\quad (a,a) \text{ is a local minimum with } f(a,a) = -a^3.}

Common Traps

Marks-Aware Writing

For a 15-mark computation:

Always state DD explicitly and cite its sign — this is the key step that earns the classification marks.

Practice Set

Only one historical question on this atom (shown above).

We've mapped all 13 years of this exam. Get new chapters, tools, and solutions as we release them — free.