Lagrange multipliers — one and two constraints
4.4.15· Maths › Multivariable Calculus
YE KAAM KYUN KARTA HAI? (Scratch se derivation)
KIYA CHAHIYE HUMEIN: ko maximize/minimize karna jab surface pe rehne ke liye forced ho.
Step 1 — Constraint ke saath move karne ke baare mein socho. Maano koi bhi smooth curve hai jo constraint surface ke andar rehti hai, toh sabhi ke liye. Constrained extremum point pe, value ka ek ordinary extremum hona chahiye, toh
Ye step kyun? Constraint surface pe hum free nahi hain — hum sirf un curves pe travel kar sakte hain jo surface mein rehti hain. Constrained max simply restricted function ka ordinary max hai.
Step 2 — Chain rule apply karo.
Ye surface ki har tangent direction ke liye hold karta hai. Toh sabhi tangent directions ke orthogonal hai — yaani constraint surface ke normal hai.
Step 3 — Lekin bhi surface ke normal hai. differentiate karo: , toh bhi normal hai. Ek hi surface ke normal do vectors (one-dim normal space) parallel hone chahiye:
Do constraints
Ab point ko dono aur satisfy karne chahiye. Geometrically feasible set do surfaces ka intersection curve hai.
Do multipliers kyun? Us intersection curve ke saath, allowed tangent direction dono aur ke perpendicular honi chahiye. Extremum pe , toh ka ke along koi component nahi — matlab , aur se spanned plane mein lie karta hai:
Worked Example 1 — One constraint (ek classic)
maximize karo subject to (unit circle pe point).
, . set karo:
- (kyun: pehla component)
- (kyun: doosra component)
Multiply karo: . Agar , toh , . se ke saath: . Constraint mein plug karo: , .
Max value at . Kyun accept karein: check karo se aata hai, (min hai).
Worked Example 2 — Distance / shadow-price meaning
Line pe origin se closest point. minimize karo, .
⟹ ⟹ . Constraint: , . . meaning check karo: ke saath, , toh , aur indeed . ✔ Multiplier sensitivity ke barabar hai.
Worked Example 3 — Two constraints
maximize karo circle pe jo plane ... ruko, ye degenerate hai. Use karo: minimize karo subject to (paraboloid) aur (plane).
, , . :
Pehle do se: ⟹ (agar ). Constraints: aur ⟹ ⟹ ⟹ . Do roots kyun: curve neeche jaata hai phir upar; ek min hai, ek max hai ka curve pe.
Recall Feynman: 12-saal ke bacche ko samjhao
Socho tum ek bounded hilly field mein chal rahe ho aur tumhe fence path pe rehte hue highest spot chahiye. Chalte raho; jab tak ground tumhari walking direction mein upar jaata hai, chalte raho. Tum high point pe ruk jaate ho jab slope sirf fence ke across sideways jaata hai, tumhare path ke along nahi. "Path ke sideways" exactly yahi hai " fence ke across point karta hai" = fence ke normal ke parallel. Do fences cross karte hain toh tum sirf wahan khade ho sakte ho jahan wo cross karein, aur do pulls balance karte ho — wahi do multipliers hain.
Flashcards
What condition does Lagrange's method impose at a constrained extremum (one constraint)?
Geometric meaning of ?
Why is normal to the surface ?
Interpretation of the multiplier ?
Condition with TWO constraints?
Why two multipliers for two constraints?
How many equations/unknowns for with two constraints?
A case where Lagrange can MISS an extremum?
Max of on ?
Connections
- Gradient and directional derivative — kyun steepest ascent deta hai.
- Tangent planes and normal vectors — surface normal ke roop mein.
- Unconstrained optimization — critical points — / no-constraint limit.
- KKT conditions — inequality-constraint generalization.
- Level sets and contours — optimum pe level curves ki tangency.
- Dual problem and shadow prices — ka economic meaning.