← 2014 Paper 1

UPSC 2014 Maths Optional Paper 1 Q3b — Step-by-Step Solution

20 marks · Section A

Lagrange's method of multipliers (constrained extrema) · Calculus · asked 8× in 13 yrs · Read the full method →

Question

Find the maximum or minimum values of x2+y2+z2x^{2}+y^{2}+z^{2} subject to the conditions ax2+by2+cz2=1ax^{2}+by^{2}+cz^{2}=1 and lx+my+nz=0lx+my+nz=0. Interpret the result geometrically.

Technique

Two-constraint Lagrange multipliers; trick of multiplying by the variable to identify λ=r2\lambda=r^{2}; resulting determinantal equation.

Solution

Strategy. Two constraints ⇒ Lagrangian with two multipliers λ,μ\lambda,\mu. Derive the standard determinantal equation for the extreme values.

Step 1 — Lagrange equations

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).

Setting partial derivatives to zero:

2x2aλxμl=0    x(1aλ)=μl2.()2x-2a\lambda x-\mu l=0\;\Longrightarrow\;x(1-a\lambda)=\frac{\mu l}{2}.\tag{$\ast$}

Similarly y(1bλ)=μm/2y(1-b\lambda)=\mu m/2, z(1cλ)=μn/2z(1-c\lambda)=\mu n/2.

Step 2 — Identify λ=r2\lambda=r^{2}

Multiply each equation in (\ast) by the corresponding variable and sum:

ixi2(1(coefi)λ)=μ2i(coefi)xi.\sum_{i}x_i^{2}(1-(\text{coef}_i)\lambda)=\frac{\mu}{2}\sum_{i}(\text{coef}_i)x_i.

Concretely:

(x2+y2+z2)λ(ax2+by2+cz2)=μ2(lx+my+nz).(x^{2}+y^{2}+z^{2})-\lambda(ax^{2}+by^{2}+cz^{2})=\frac{\mu}{2}(lx+my+nz).

Substitute the constraints ax2+by2+cz2=1ax^{2}+by^{2}+cz^{2}=1 and lx+my+nz=0lx+my+nz=0:

r2λ=0    λ=r2, where r2=x2+y2+z2 at the critical point.r^{2}-\lambda=0\;\Longrightarrow\;\boxed{\lambda=r^{2},\text{ where }r^{2}=x^{2}+y^{2}+z^{2}\text{ at the critical point}.}

So the Lagrange multiplier equals the squared distance at the extremum.

Step 3 — Determinantal equation for r2r^{2}

From (\ast), x=μl2(1ar2)x=\dfrac{\mu l}{2(1-ar^{2})} (assuming 1ar201-ar^{2}\ne 0), etc. Substitute into the plane equation lx+my+nz=0lx+my+nz=0:

μl22(1ar2)+μm22(1br2)+μn22(1cr2)=0.\frac{\mu l^{2}}{2(1-ar^{2})}+\frac{\mu m^{2}}{2(1-br^{2})}+\frac{\mu n^{2}}{2(1-cr^{2})}=0.

If μ0\mu\ne 0:

  l21ar2+m21br2+n21cr2=0.  \boxed{\;\dfrac{l^{2}}{1-ar^{2}}+\dfrac{m^{2}}{1-br^{2}}+\dfrac{n^{2}}{1-cr^{2}}=0.\;}

This is the determinantal equation in r2r^{2}. Clearing denominators yields

l2(1br2)(1cr2)+m2(1ar2)(1cr2)+n2(1ar2)(1br2)=0,l^{2}(1-br^{2})(1-cr^{2})+m^{2}(1-ar^{2})(1-cr^{2})+n^{2}(1-ar^{2})(1-br^{2})=0,

a quadratic in r2r^{2}. Its two roots r12r_1^{2} and r22r_2^{2} are the squared maximum and minimum distances from the origin.

Step 4 — Geometric interpretation

The constraint surface Σ:ax2+by2+cz2=1\Sigma:\,ax^{2}+by^{2}+cz^{2}=1 is an ellipsoid centred at origin with semi-axes 1/a,1/b,1/c1/\sqrt a,\,1/\sqrt b,\,1/\sqrt c along the coordinate axes.

The plane π:lx+my+nz=0\pi:\,lx+my+nz=0 passes through origin and cuts Σ\Sigma in an ellipse (the central section of the ellipsoid by π\pi).

Geometric meaning of r2r^{2}: r=x2+y2+z2r=\sqrt{x^{2}+y^{2}+z^{2}} is the distance from origin to a point on this ellipse. The maximum and minimum values r1,r2r_1, r_2 are therefore the semi-major and semi-minor axis lengths of the elliptical section.

Answer

  r1 and r2 are the semi-axes of the elliptical section of the ellipsoid by the plane.  \boxed{\;r_1\text{ and }r_2\text{ are the semi-axes of the elliptical section of the ellipsoid by the plane.}\;}
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.