← 2021 Paper 2

UPSC 2021 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 stationary values of x2+y2+z2x^2+y^2+z^2 subject to ax2+by2+cz2=1ax^2+by^2+cz^2=1 and lx+my+nz=0lx+my+nz=0. Interpret geometrically.

Technique

Two-constraint Lagrange; "r2=λr^2=\lambda" via the standard scaling argument; stationary values satisfy a quadratic from the plane condition.

Solution

Setup. Two constraints — Lagrange multipliers with two multipliers λ,μ\lambda,\mu.

L=x2+y2+z2λ(ax2+by2+cz21)μ(lx+my+nz)L=x^2+y^2+z^2-\lambda(ax^2+by^2+cz^2-1)-\mu(lx+my+nz).

Step 1 — Stationary conditions

L/x=2x2λaxμl=02x(1λa)=μlx=μl2(1λa)\partial L/\partial x=2x-2\lambda ax-\mu l=0\Rightarrow 2x(1-\lambda a)=\mu l\Rightarrow x=\dfrac{\mu l}{2(1-\lambda a)}.

Similarly y=μm2(1λb)y=\dfrac{\mu m}{2(1-\lambda b)}, z=μn2(1λc)z=\dfrac{\mu n}{2(1-\lambda c)}.

Step 2 — Apply plane constraint lx+my+nz=0lx+my+nz=0

μ2 ⁣[l21λa+m21λb+n21λc]=0\dfrac{\mu}{2}\!\left[\dfrac{l^2}{1-\lambda a}+\dfrac{m^2}{1-\lambda b}+\dfrac{n^2}{1-\lambda c}\right]=0.

Either μ=0\mu=0 (trivial, gives x=y=z=0x=y=z=0, fails ellipsoid constraint), or

l21λa+m21λb+n21λc=0.()\dfrac{l^2}{1-\lambda a}+\dfrac{m^2}{1-\lambda b}+\dfrac{n^2}{1-\lambda c}=0.\qquad(\star)

This is a quadratic in λ\lambda (after clearing denominators). The two roots λ1,λ2\lambda_1,\lambda_2 are the candidate stationary values.

Step 3 — Identify λ=r2\lambda=r^2 at stationary points

Multiply each Lagrange equation by the variable and sum:

x2x=λ2axx+μlx\sum x\cdot 2x=\lambda\sum 2ax\cdot x+\mu\sum lx:

2x2=2λax2+μlx2\sum x^2=2\lambda\sum ax^2+\mu\sum lx.

Use ellipsoid: ax2=1\sum ax^2=1. Use plane: lx=0\sum lx=0.

2r2=2λ+02r^2=2\lambda+0, where r2=x2+y2+z2r^2=x^2+y^2+z^2.

So λ=r2\lambda=r^2 at stationary points.

Step 4 — Stationary values

Stationary value of r2=λr^2=\lambda, where λ\lambda is a root of ()(\star).

So the two stationary values r12,r22r_1^2,r_2^2 are the two roots of (the quadratic from clearing denominators in) ()(\star).

Answer

  Stationary values of r2 are roots of l21λa+m21λb+n21λc=0.  \boxed{\;\text{Stationary values of }r^2\text{ are roots of }\dfrac{l^2}{1-\lambda a}+\dfrac{m^2}{1-\lambda b}+\dfrac{n^2}{1-\lambda c}=0.\;}
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.