← 2022 Paper 2

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

20 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 max/min of x2a4+y2b4+z2c4\dfrac{x^2}{a^4}+\dfrac{y^2}{b^4}+\dfrac{z^2}{c^4} subject to lx+my+nz=0lx+my+nz=0 and x2a2+y2b2+z2c2=1\dfrac{x^2}{a^2}+\dfrac{y^2}{b^2}+\dfrac{z^2}{c^2}=1. Interpret geometrically.

Technique

Two-constraint Lagrange multipliers; at critical points, f=μf=\mu (Lagrange multiplier); μ\mu satisfies an equation derived from the plane constraint.

Solution

Setup. Two constraints (plane + ellipsoid surface), so two multipliers. Maximize/minimize ff subject to g1=lx+my+nz=0g_1=lx+my+nz=0 and g2=x2/a2+y2/b2+z2/c21=0g_2=x^2/a^2+y^2/b^2+z^2/c^2-1=0.

Step 1 — Lagrangian

L=fλg1μg2L=f-\lambda g_1-\mu g_2.

L/x=2x/a4λl2μx/a2=02x(1/a4μ/a2)=λlx=λla42(1μa2)\partial L/\partial x=2x/a^4-\lambda l-2\mu x/a^2=0\Rightarrow 2x(1/a^4-\mu/a^2)=\lambda l\Rightarrow x=\dfrac{\lambda l a^4}{2(1-\mu a^2)}.

Similarly y=λmb42(1μb2)y=\dfrac{\lambda m b^4}{2(1-\mu b^2)}, z=λnc42(1μc2)z=\dfrac{\lambda n c^4}{2(1-\mu c^2)}.

Step 2 — Substitute into plane constraint g1=0g_1=0

lx+my+nz=0lx+my+nz=0:

λ2 ⁣[l2a41μa2+m2b41μb2+n2c41μc2]=0.\dfrac{\lambda}{2}\!\left[\dfrac{l^2 a^4}{1-\mu a^2}+\dfrac{m^2 b^4}{1-\mu b^2}+\dfrac{n^2 c^4}{1-\mu c^2}\right]=0.

Either λ=0\lambda=0 (trivial, gives x=y=z=0x=y=z=0 which violates g2=0g_2=0 unless a,b,c=0a,b,c=0), or the bracket is zero:

l2a41μa2+m2b41μb2+n2c41μc2=0.()\dfrac{l^2 a^4}{1-\mu a^2}+\dfrac{m^2 b^4}{1-\mu b^2}+\dfrac{n^2 c^4}{1-\mu c^2}=0.\qquad(\star)

Step 3 — Substitute into ellipsoid constraint g2=0g_2=0

Alternatively, observe: at the critical point,

x2a4+y2b4+z2c4=x2a21a2+y2b21b2+z2c21c2.\dfrac{x^2}{a^4}+\dfrac{y^2}{b^4}+\dfrac{z^2}{c^4}=\dfrac{x^2}{a^2}\cdot\dfrac{1}{a^2}+\dfrac{y^2}{b^2}\cdot\dfrac{1}{b^2}+\dfrac{z^2}{c^2}\cdot\dfrac{1}{c^2}.

From Step 1, x/a2=λla22(1μa2)x/a^2=\dfrac{\lambda l a^2}{2(1-\mu a^2)}. So x2a4a2=x2/a2=λ2l2a44(1μa2)2\dfrac{x^2}{a^4}\cdot a^2=x^2/a^2=\dfrac{\lambda^2 l^2 a^4}{4(1-\mu a^2)^2}.

Hmm, let me try a different approach: multiply the Lagrangian condition by xx (and similarly):

xL/x=0x\partial L/\partial x=0: 2x2/a4λlx2μx2/a2=02x^2/a^4-\lambda lx-2\mu x^2/a^2=0.

Summing over x,y,zx,y,z and using lx+my+nz=0lx+my+nz=0: 2f2μ1=02f-2\mu\cdot 1=0 (where f=x2/a4f=\sum x^2/a^4, and x2/a2=1\sum x^2/a^2=1).

So f=μf=\mu at the critical point.

This means the extremum value of ff equals the Lagrange multiplier μ\mu.

Step 4 — Determine μ\mu from ()(\star)

The equation ()(\star) is a cubic in 1/μ1/\mu (after clearing denominators). The two roots correspond to the max and min values.

Actually, multiplying ()(\star) by (1μa2)\prod(1-\mu a^2) etc. gives a cubic equation:

l2a4(1μb2)(1μc2)+m2b4(1μa2)(1μc2)+n2c4(1μa2)(1μb2)=0.l^2 a^4(1-\mu b^2)(1-\mu c^2)+m^2 b^4(1-\mu a^2)(1-\mu c^2)+n^2 c^4(1-\mu a^2)(1-\mu b^2)=0.

The roots μ1,μ2\mu_1,\mu_2 (and possibly μ3\mu_3) are candidate extrema. Two real roots typically; the larger is max, smaller is min.

Standard result: μmax\mu_{\max} and μmin\mu_{\min} are the two roots of a quadratic obtained by simplifying ()(\star).

Step 5 — Geometric interpretation

The plane lx+my+nz=0lx+my+nz=0 passes through the origin and cuts the ellipsoid in an ellipse. The function f=x2/a4+y2/b4+z2/c4f=x^2/a^4+y^2/b^4+z^2/c^4 measures (up to scaling) the inverse-square distance from the centre along the ellipsoid’s principal axes.

Geometric meaning: 1/f1/\sqrt f is the length of the semi-axis of the planar section’s ellipse. The max and min of ff correspond to the shortest and longest semi-axes of the elliptic section.

So the answer can be stated as:

Answer

  Extreme values μmax,min are roots of the quadratic from ();  1/μ are the semi-axes of the elliptic section.  \boxed{\;\text{Extreme values }\mu_{\max,\min}\text{ are roots of the quadratic from }(\star);\;1/\sqrt{\mu}\text{ are the semi-axes of the elliptic section.}\;}
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.