← 2022 Paper 2
UPSC 2022 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 max/min of x 2 a 4 + y 2 b 4 + z 2 c 4 \dfrac{x^2}{a^4}+\dfrac{y^2}{b^4}+\dfrac{z^2}{c^4} a 4 x 2 + b 4 y 2 + c 4 z 2 subject to l x + m y + n z = 0 lx+my+nz=0 l x + m y + n z = 0 and x 2 a 2 + y 2 b 2 + z 2 c 2 = 1 \dfrac{x^2}{a^2}+\dfrac{y^2}{b^2}+\dfrac{z^2}{c^2}=1 a 2 x 2 + b 2 y 2 + c 2 z 2 = 1 . Interpret geometrically.
Technique
Two-constraint Lagrange multipliers; at critical points, f = μ f=\mu f = μ (Lagrange multiplier); μ \mu μ satisfies an equation derived from the plane constraint.
Solution
Setup. Two constraints (plane + ellipsoid surface), so two multipliers. Maximize/minimize f f f subject to g 1 = l x + m y + n z = 0 g_1=lx+my+nz=0 g 1 = l x + m y + n z = 0 and g 2 = x 2 / a 2 + y 2 / b 2 + z 2 / c 2 − 1 = 0 g_2=x^2/a^2+y^2/b^2+z^2/c^2-1=0 g 2 = x 2 / a 2 + y 2 / b 2 + z 2 / c 2 − 1 = 0 .
Step 1 — Lagrangian
L = f − λ g 1 − μ g 2 L=f-\lambda g_1-\mu g_2 L = f − λ g 1 − μ g 2 .
∂ L / ∂ x = 2 x / a 4 − λ l − 2 μ x / a 2 = 0 ⇒ 2 x ( 1 / a 4 − μ / a 2 ) = λ l ⇒ x = λ l a 4 2 ( 1 − μ a 2 ) \partial L/\partial x=2x/a^4-\lambda l-2\mu x/a^2=0\Rightarrow 2x(1/a^4-\mu/a^2)=\lambda l\Rightarrow x=\dfrac{\lambda l a^4}{2(1-\mu a^2)} ∂ L / ∂ x = 2 x / a 4 − λ l − 2 μx / a 2 = 0 ⇒ 2 x ( 1/ a 4 − μ / a 2 ) = λ l ⇒ x = 2 ( 1 − μ a 2 ) λ l a 4 .
Similarly y = λ m b 4 2 ( 1 − μ b 2 ) y=\dfrac{\lambda m b^4}{2(1-\mu b^2)} y = 2 ( 1 − μ b 2 ) λm b 4 , z = λ n c 4 2 ( 1 − μ c 2 ) z=\dfrac{\lambda n c^4}{2(1-\mu c^2)} z = 2 ( 1 − μ c 2 ) λn c 4 .
Step 2 — Substitute into plane constraint g 1 = 0 g_1=0 g 1 = 0
l x + m y + n z = 0 lx+my+nz=0 l x + m y + n z = 0 :
λ 2 [ l 2 a 4 1 − μ a 2 + m 2 b 4 1 − μ b 2 + n 2 c 4 1 − μ c 2 ] = 0. \dfrac{\lambda}{2}\!\left[\dfrac{l^2 a^4}{1-\mu a^2}+\dfrac{m^2 b^4}{1-\mu b^2}+\dfrac{n^2 c^4}{1-\mu c^2}\right]=0. 2 λ [ 1 − μ a 2 l 2 a 4 + 1 − μ b 2 m 2 b 4 + 1 − μ c 2 n 2 c 4 ] = 0.
Either λ = 0 \lambda=0 λ = 0 (trivial, gives x = y = z = 0 x=y=z=0 x = y = z = 0 which violates g 2 = 0 g_2=0 g 2 = 0 unless a , b , c = 0 a,b,c=0 a , b , c = 0 ), or the bracket is zero:
l 2 a 4 1 − μ a 2 + m 2 b 4 1 − μ b 2 + n 2 c 4 1 − μ c 2 = 0. ( ⋆ ) \dfrac{l^2 a^4}{1-\mu a^2}+\dfrac{m^2 b^4}{1-\mu b^2}+\dfrac{n^2 c^4}{1-\mu c^2}=0.\qquad(\star) 1 − μ a 2 l 2 a 4 + 1 − μ b 2 m 2 b 4 + 1 − μ c 2 n 2 c 4 = 0. ( ⋆ )
Step 3 — Substitute into ellipsoid constraint g 2 = 0 g_2=0 g 2 = 0
Alternatively, observe: at the critical point,
x 2 a 4 + y 2 b 4 + z 2 c 4 = x 2 a 2 ⋅ 1 a 2 + y 2 b 2 ⋅ 1 b 2 + z 2 c 2 ⋅ 1 c 2 . \dfrac{x^2}{a^4}+\dfrac{y^2}{b^4}+\dfrac{z^2}{c^4}=\dfrac{x^2}{a^2}\cdot\dfrac{1}{a^2}+\dfrac{y^2}{b^2}\cdot\dfrac{1}{b^2}+\dfrac{z^2}{c^2}\cdot\dfrac{1}{c^2}. a 4 x 2 + b 4 y 2 + c 4 z 2 = a 2 x 2 ⋅ a 2 1 + b 2 y 2 ⋅ b 2 1 + c 2 z 2 ⋅ c 2 1 .
From Step 1, x / a 2 = λ l a 2 2 ( 1 − μ a 2 ) x/a^2=\dfrac{\lambda l a^2}{2(1-\mu a^2)} x / a 2 = 2 ( 1 − μ a 2 ) λ l a 2 . So x 2 a 4 ⋅ a 2 = x 2 / a 2 = λ 2 l 2 a 4 4 ( 1 − μ a 2 ) 2 \dfrac{x^2}{a^4}\cdot a^2=x^2/a^2=\dfrac{\lambda^2 l^2 a^4}{4(1-\mu a^2)^2} a 4 x 2 ⋅ a 2 = x 2 / a 2 = 4 ( 1 − μ a 2 ) 2 λ 2 l 2 a 4 .
Hmm, let me try a different approach: multiply the Lagrangian condition by x x x (and similarly):
x ∂ L / ∂ x = 0 x\partial L/\partial x=0 x ∂ L / ∂ x = 0 : 2 x 2 / a 4 − λ l x − 2 μ x 2 / a 2 = 0 2x^2/a^4-\lambda lx-2\mu x^2/a^2=0 2 x 2 / a 4 − λ l x − 2 μ x 2 / a 2 = 0 .
Summing over x , y , z x,y,z x , y , z and using l x + m y + n z = 0 lx+my+nz=0 l x + m y + n z = 0 :
2 f − 2 μ ⋅ 1 = 0 2f-2\mu\cdot 1=0 2 f − 2 μ ⋅ 1 = 0 (where f = ∑ x 2 / a 4 f=\sum x^2/a^4 f = ∑ x 2 / a 4 , and ∑ x 2 / a 2 = 1 \sum x^2/a^2=1 ∑ x 2 / a 2 = 1 ).
So f = μ f=\mu f = μ at the critical point.
This means the extremum value of f f f equals the Lagrange multiplier μ \mu μ .
Step 4 — Determine μ \mu μ from ( ⋆ ) (\star) ( ⋆ )
The equation ( ⋆ ) (\star) ( ⋆ ) is a cubic in 1 / μ 1/\mu 1/ μ (after clearing denominators). The two roots correspond to the max and min values.
Actually, multiplying ( ⋆ ) (\star) ( ⋆ ) by ∏ ( 1 − μ a 2 ) \prod(1-\mu a^2) ∏ ( 1 − μ a 2 ) etc. gives a cubic equation:
l 2 a 4 ( 1 − μ b 2 ) ( 1 − μ c 2 ) + m 2 b 4 ( 1 − μ a 2 ) ( 1 − μ c 2 ) + n 2 c 4 ( 1 − μ a 2 ) ( 1 − μ b 2 ) = 0. l^2 a^4(1-\mu b^2)(1-\mu c^2)+m^2 b^4(1-\mu a^2)(1-\mu c^2)+n^2 c^4(1-\mu a^2)(1-\mu b^2)=0. l 2 a 4 ( 1 − μ b 2 ) ( 1 − μ c 2 ) + m 2 b 4 ( 1 − μ a 2 ) ( 1 − μ c 2 ) + n 2 c 4 ( 1 − μ a 2 ) ( 1 − μ b 2 ) = 0.
The roots μ 1 , μ 2 \mu_1,\mu_2 μ 1 , μ 2 (and possibly μ 3 \mu_3 μ 3 ) are candidate extrema. Two real roots typically; the larger is max, smaller is min.
Standard result: μ max \mu_{\max} μ m a x and μ min \mu_{\min} μ m i n are the two roots of a quadratic obtained by simplifying ( ⋆ ) (\star) ( ⋆ ) .
Step 5 — Geometric interpretation
The plane l x + m y + n z = 0 lx+my+nz=0 l x + m y + n z = 0 passes through the origin and cuts the ellipsoid in an ellipse. The function f = x 2 / a 4 + y 2 / b 4 + z 2 / c 4 f=x^2/a^4+y^2/b^4+z^2/c^4 f = x 2 / a 4 + y 2 / b 4 + z 2 / c 4 measures (up to scaling) the inverse-square distance from the centre along the ellipsoid’s principal axes.
Geometric meaning: 1 / f 1/\sqrt f 1/ f is the length of the semi-axis of the planar section’s ellipse. The max and min of f f f correspond to the shortest and longest semi-axes of the elliptic section.
So the answer can be stated as:
Max value of f f f = 1 / ( shortest semi-axis ) 2 1/(\text{shortest semi-axis})^2 1/ ( shortest semi-axis ) 2 of the elliptic section.
Min value of f f f = 1 / ( longest semi-axis ) 2 1/(\text{longest semi-axis})^2 1/ ( longest semi-axis ) 2 .
Answer
Extreme values μ max , min are roots of the quadratic from ( ⋆ ) ; 1 / μ are the semi-axes of the elliptic section. \boxed{\;\text{Extreme values }\mu_{\max,\min}\text{ are roots of the quadratic from }(\star);\;1/\sqrt{\mu}\text{ are the semi-axes of the elliptic section.}\;} Extreme values μ m a x , m i n are roots of the quadratic from ( ⋆ ) ; 1/ μ are the semi-axes of the elliptic section.