UPSC 2023 Maths Optional Paper 2 Q2b — 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
Using the method of Lagrange’s multipliers, find the minimum and maximum distances of the point P(2,6,3) from the sphere x2+y2+z2=4.
Technique
Lagrange multipliers; the critical points turn out to be the two intersections of the line OP with the sphere.
Solution
Strategy. Minimise/maximise the squared distance f(x,y,z)=(x−2)2+(y−6)2+(z−3)2 subject to g(x,y,z)=x2+y2+z2−4=0. Squaring is monotone on non-negative reals, so extremising f extremises the actual distance.
Step 1 — Lagrange system.
∇f=λ∇g gives
2(x−2)=2λx,2(y−6)=2λy,2(z−3)=2λz,
i.e.
(1−λ)x=2,(1−λ)y=6,(1−λ)z=3.(∗)
Note λ=1 (otherwise the LHS of (∗) vanishes but the RHS doesn’t), so