← 2013 Paper 1

UPSC 2013 Maths Optional Paper 1 Q3a — Step-by-Step Solution

20 marks · Section A

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

Question

Using Lagrange’s multiplier method, find the shortest distance between the line y=10−2xy=10-2x and the ellipse x24+y29=1\dfrac{x^{2}}{4}+\dfrac{y^{2}}{9}=1.

Technique

Lagrange multipliers minimising (linear functional)2(\text{linear functional})^{2} on the ellipse; the two critical points are antipodal under the gradient direction.

Solution

Strategy. The distance from a point (x,y)(x,y) to the line 2x+y−10=02x+y-10=0 is ∣2x+y−10∣5\dfrac{|2x+y-10|}{\sqrt{5}}. Minimise the squared distance (no square root needed) over the ellipse.

Step 1 — Set up Lagrange

Minimise

f(x,y)=(2x+y−10)2subject tog(x,y)=x24+y29−1=0.f(x,y)=(2x+y-10)^{2}\qquad\text{subject to}\qquad g(x,y)=\dfrac{x^{2}}{4}+\dfrac{y^{2}}{9}-1=0. ∇f=2(2x+y−10) (2,1),∇g= ⁣(x2,  2y9).\nabla f=2(2x+y-10)\,(2,1),\quad \nabla g=\!\left(\dfrac{x}{2},\;\dfrac{2y}{9}\right).

Let k=2x+y−10k=2x+y-10. The Lagrange equations ∇f=λ∇g\nabla f=\lambda\nabla g are

4k=λx2,2k=2λy9,4k=\dfrac{\lambda x}{2},\qquad 2k=\dfrac{2\lambda y}{9},

which rearrange to

λx=8k,λy=9k.(∗)\lambda x=8k,\qquad\lambda y=9k.\tag{$\ast$}

If k=0k=0 then (x,y)(x,y) lies on the line and on the ellipse — but the line does not meet the ellipse (Step 4 verifies this), so k≠0k\ne 0. Hence λ≠0\lambda\ne 0, and we can solve (∗)(\ast) for x,yx,y:

x=8kλ,y=9kλ.x=\dfrac{8k}{\lambda},\qquad y=\dfrac{9k}{\lambda}.

Step 2 — Use the constraint

x24+y29=64k24λ2+81k29λ2=16k2+9k2λ2=25k2λ2=1  ⟹  λ=±5k.\dfrac{x^{2}}{4}+\dfrac{y^{2}}{9}=\dfrac{64k^{2}}{4\lambda^{2}}+\dfrac{81k^{2}}{9\lambda^{2}}=\dfrac{16k^{2}+9k^{2}}{\lambda^{2}}=\dfrac{25k^{2}}{\lambda^{2}}=1\;\Longrightarrow\;\lambda=\pm 5k.

Step 3 — Two critical points

Case λ=5k\lambda=5k: x=8k5k=85,  y=9k5k=95x=\dfrac{8k}{5k}=\dfrac{8}{5},\;y=\dfrac{9k}{5k}=\dfrac{9}{5}.

Then k=2x+y−10=165+95−10=255−10=5−10=−5k=2x+y-10=\dfrac{16}{5}+\dfrac{9}{5}-10=\dfrac{25}{5}-10=5-10=-5.

Distance =∣k∣5=55=5=\dfrac{|k|}{\sqrt 5}=\dfrac{5}{\sqrt 5}=\sqrt 5.

Case λ=−5k\lambda=-5k: x=−85,  y=−95x=-\dfrac{8}{5},\;y=-\dfrac{9}{5}.

Then k=−165−95−10=−5−10=−15k=-\dfrac{16}{5}-\dfrac{9}{5}-10=-5-10=-15.

Distance =155=35=\dfrac{15}{\sqrt 5}=3\sqrt 5.

The minimum is 5\sqrt 5 at (85,95)\bigl(\dfrac{8}{5},\dfrac{9}{5}\bigr); the maximum is 353\sqrt 5 at (−85,−95)\bigl(-\dfrac{8}{5},-\dfrac{9}{5}\bigr) (the antipodal point on the ellipse — same direction in the gradient sense, opposite physical location).

Step 4 — Verify line and ellipse don’t meet

Substituting y=10−2xy=10-2x into the ellipse equation:

x24+(10−2x)29=1  ⟹  9x2+4(10−2x)2=36  ⟹  25x2−160x+364=0.\dfrac{x^{2}}{4}+\dfrac{(10-2x)^{2}}{9}=1\;\Longrightarrow\;9x^{2}+4(10-2x)^{2}=36\;\Longrightarrow\;25x^{2}-160x+364=0.

Discriminant =1602−4(25)(364)=25600−36400=−10800<0=160^{2}-4(25)(364)=25600-36400=-10800<0. No real intersection ✓ — so the minimum distance is strictly positive, consistent with 5>0\sqrt 5>0.

Step 5 — Conclude

Answer

  Shortest distance=5,  at  (85,95)  on the ellipse.  \boxed{\;\text{Shortest distance}=\sqrt 5,\;\text{at}\;\Bigl(\dfrac{8}{5},\dfrac{9}{5}\Bigr)\;\text{on the ellipse.}\;}
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 — 14 years, mapped. Get the take-away PDF free.