The math optional, made finite. Daily Practice

← 2013 Paper 1

UPSC Maths 2013 Paper 1 Q3a — Solution

20 marks · Section A

Question

Using Lagrange’s multiplier method, find the shortest distance between the line y=102xy=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+y10=02x+y-10=0 is 2x+y105\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+y10)2subject tog(x,y)=x24+y291=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+y10)(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+y10k=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 k0k\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+y10=165+9510=25510=510=5k=2x+y-10=\dfrac{16}{5}+\dfrac{9}{5}-10=\dfrac{25}{5}-10=5-10=-5.

Distance =k5=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=1659510=510=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=102xy=10-2x into the ellipse equation:

x24+(102x)29=1    9x2+4(102x)2=36    25x2160x+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 =16024(25)(364)=2560036400=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've mapped all 13 years of this exam. Get new solutions, tools, and guides as we release them — free.