4.4.15 · D4 · HinglishMultivariable Calculus

ExercisesLagrange multipliers — one and two constraints

2,166 words10 min read↑ Read in English

4.4.15 · D4 · Maths › Multivariable Calculus › Lagrange multipliers — one and two constraints

Yahan har method ek parent result pe tika hai: Agar neeche koi symbol unfamiliar lage toh Lagrange multipliers — one and two constraints dekho. Yaad dilaane ke liye: (padho "grad f") partial slopes ka vector hai — yeh us direction mein point karta hai jisme sabse tezi se chadh'ta hai (Gradient and directional derivative). Constraint ek surface hai (2D mein ek curve), aur us surface ke perpendicular bahar nikalti hai (Tangent planes and normal vectors).


Level 1 — Recognition

Exercise 1.1

Bataya gaya hai: ko circle par maximize karo. Likho (a) constraint function , (b) dono gradients, (c) woh vector equation jo Lagrange demand karta hai. Solve mat karo.

Recall Solution

KYA karte hain: sirf words ko standard template mein translate karo. (a) Sab kuch ek side le jao: , aur constraint hai . (b) (constant — ek plane ke slopes kabhi nahi badalte) aur . (c) Lagrange ki condition: Yeh 3 equations hain (, , aur constraint) 3 unknowns mein. Is count ko pehchaanna hi L1 ka poora point hai.

Exercise 1.2

True ya false, har ek ke liye ek sentence: (a) Constrained maximum par hamesha hona chahiye. (b) constraint surface ke saath-saath point karta hai. (c) Number batata hai ki optimal value constraint ko relax karne par kaise respond karti hai.

Recall Solution

(a) False. Ek constraint par, usually nonzero hota hai; use surface se bahar point karna hota hai, ke parallel. set karna unconstrained rule hai (Unconstrained optimization — critical points). (b) False. surface ke perpendicular (normal) point karta hai, uske saath nahi. (c) True. shadow price hai (Dual problem and shadow prices).


Level 2 — Application

Exercise 2.1

Exercise 1.1 complete karo: par ka maximum dhundho.

Recall Solution

aur se hum ke terms mein coordinates solve karte hain: Divide kyun karte hain: dono component equations already de dete hain; hume bas ek aur relation chahiye ( ka), jo constraint supply karta hai. mein substitute karo: lo: . Tab . Doosra sign deta hai, (min). Max at . Sanity check: khud ki direction hai, radius-5 circle par scale ki gayi — plane exactly ke saath sabse tezi se chadh'ti hai, toh sabse ऊंचा point wahi hai jahan radius same direction mein point kare. ✔

Exercise 2.2

Plane par origin ke sabse paas ka point dhundho, aur minimum squared distance.

Recall Solution

minimize karo (squared distance — square root se aasaan, same minimizer) subject to . Componentwise: ; ; . Plane mein substitute karo: . Toh , aur . Minimum squared distance (distance ). Yeh min kyun hai max nahi: ek flat plane par, origin se distance ka koi upper bound nahi hota lekin ek single lowest point hota hai — perpendicular ka foot.


Level 3 — Analysis

Exercise 3.1

Circle par ko maximize aur minimize karo. Saare critical points dhundho aur har ek ko classify karo. (Woh degenerate cases dekho jahan koi component zero ho.)

Figure — Lagrange multipliers — one and two constraints
Recall Solution

, . Condition : Case A — : pehli equation deti hai. Tab doosri banti hai . Constraint: , toh . Points , . Case B — : doosri deti hai. Tab pehli banti hai . Constraint: , . Points , . Case C — aur : impossible, woh point circle par nahi hai. Toh koi degenerate solution miss nahi hoti. Classify: minimum at (figure mein red dots), maximum at (mint dots). Yeh exactly wahan baithe hain jahan ke ellipse-shaped level curves circle ko kiss karti hain (Level sets and contours) — tangency ka geometric chehra hai. ke sign par split karna kyun zaroori hai: agar tumne blindly se cancel kiya hota toh branch (jiske liye chahiye) khote ja lete. Har factor ke zero hone ko handle karna L3 ka analysis skill hai.

Exercise 3.2

(line ke saath move karti hai) ke liye, origin ka closest point rakhta hai (parent Example 2 se). Seedha verify karo ki aur sign interpret karo.

Recall Solution

Parent se, optimum par aur . Optimal value differentiate karo: . Indeed . ✔ Interpretation: jaise-jaise badhta hai line origin se door jaati hai, toh minimum squared distance badhta hai — ek positive matlab "constraint ko baahir ki taraf relax karne se baDa ho jaata hai." BaDa → steep sensitivity. Yeh shadow-price statement concretely bana ke dikhaya gaya hai.


Level 4 — Synthesis

Exercise 4.1

Paraboloid aur plane ke intersection par minimize karo (parent Example 3). Dono critical -values dhundho, batao kaun sa min hai aur kaun sa max of on the curve, aur minimum par do.

Figure — Lagrange multipliers — one and two constraints
Recall Solution

, , . Condition : Pehli do subtract karo: . Case : . (Case eqn 1 se force karta hai lekin eqn 3 se — contradiction, toh discard karo.) ke saath constraints: aur , hence , yaani Numerically ya . Phir :

  • ka minimum.
  • ka maximum. Do answers kyun: intersection ek closed loop hai jo neeche dip karta hai phir ऊंचा utha hai (figure dekho); ka ek lowest aur ek highest point hai us par. Dono Lagrange satisfy karte hain kyunki dono woh jagahein hain jahan , mein baithta hai. Min par multipliers (): aur se, ke saath, , toh aur — compute karo: .

Exercise 4.2

subject to ke saath maximize karo. (Answer interpret karo.)

Recall Solution

. . Toh . se: ; kyunki , . se: ; kyunki , . Hence . Constraint: . Toh , . Interpretation: fixed sum wale positive numbers ka product tab sabse baDa hota hai jab woh equal hon — yeh AM–GM inequality hai jo Lagrange se nikal rahi hai. Maximum .


Level 5 — Mastery

Exercise 5.1

Prove karo ki ek symmetric matrix ke liye, unit circle par quadratic form maximize karna ek eigenvalue problem lead karta hai, aur maximum value largest eigenvalue ke barabar hoti hai.

Recall Solution

Maano toh jahan . Tab aur, ke saath, . Lagrange demand karta hai , yaani Yeh exactly eigenvalue equation hai: constrained critical directions ke eigenvectors hain, aur eigenvalue hai. Aise point par value: . Toh unit circle par eigenvalue ke barabar hoti hai. ka maximum isliye largest eigenvalue hai, uske eigenvector par achieve hota hai; minimum hai. ∎ Yeh deep kyun hai: shadow-price meaning ( ki value) literal ho jaati hai, aur Lagrange ne abhi eigenvalues ki variational characterization derive kar di hai.

Exercise 5.2

Singular-point caveat ki mastery test karo. Consider karo minimize karna subject to (ek cusped curve). Kya Lagrange's equation cusp par extremum dhundh leta hai? Explain karo.

Recall Solution

, . par: . Lagrange maangta hai, yaani kisi bhi ke liye impossible. Toh algebra cusp par koi solution produce nahi karta, jabki curve genuinely wahan apna leftmost point (minimum of ) rakhta hai par. Conclusion: Lagrange yeh extremum miss kar jaata hai kyunki uska core assumption — , toh surface ka well-defined normal ho — ek singular point par fail ho jaata hai. Practice mein Fix: hamesha alag se woh points inspect karo jahan ho aur koi bhi boundaries hon, jaisa KKT conditions aur parent Mistake C warn karte hain.


Connections

  • Gradient and directional derivative — yahan har steepest-ascent vector hai.
  • Tangent planes and normal vectors — kyun surface normal hai (aur kyun L5.2 toD'ta hai).
  • Level sets and contours — Exercise 3.1 mein "kissing" tangency.
  • Unconstrained optimization — critical points limit aur L1 trap.
  • Dual problem and shadow prices — Exercise 3.2 mein reading.
  • KKT conditions — Exercise 5.2 ke caveat ko inequalities tak extend karta hai.