4.4.15 · D1 · HinglishMultivariable Calculus

FoundationsLagrange multipliers — one and two constraints

2,184 words10 min read↑ Read in English

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

Is page pe koi assumption nahi hai. padhne se pehle, tumhe yeh jaanna zaroori hai ki har squiggle kya hai aur kaisa dikhta hai. Hum unhe ek-ek karke, ek ke upar doosra, banate hain.


1. Points, functions, aur "ek landscape"

Picture: graph paper pe ek dot (2D) ya ek room mein floating (3D). Bas itna hi.

Picture: ko floor position ke upar ek hill ki altitude samjho. Har floor spot ko ek height milti hai. Yahi woh "landscape" hai jiska hum baar baar zikr karte hain.

Topic ko yeh kyun chahiye: poora game hai " ko jitna ho sake bada ya chhota karo." Agar value assign karne wala function hi nahi hoga toh optimize karne ke liye kuch hoga hi nahi.

Figure — Lagrange multipliers — one and two constraints

2. Level sets — hill ko bina 3D ke padhna

Ek 3D hill ke andar khadhe rehna draw karna mushkil hai. Toh hum use flatten karte hain.

Picture: ek hilltop ke around rings. Har ring hai "exactly 500 m wali saari jagahein," agla ring "exactly 600 m," aur aise aage. Rings paas paas = steep; rings door door = gentle.

Topic ko yeh kyun chahiye: parent page ka climax yeh hai ki optimum pe constraint path, ke ek level curve ke saath tangent hoti hai. Jab tak level curve kya hoti hai yeh nahi pata, yeh nahi dikh sakta. Dekho Level sets and contours.

Figure — Lagrange multipliers — one and two constraints

3. Gradient — steepest climb ka arrow

Yeh star symbol hai.

Yeh tool kyun, plain derivative kyun nahi? Plain derivatives ek input ke liye hoti hain. Hamara landscape kai inputs wala hai; partial derivative hamen alag alag poochne deti hai "is ek direction mein change ki rate kya hai," jo hum phir bundle karte hain.

Do baatein jo tumhe sirf padhni nahi, feel karni hain:

  1. steepest ascent ki direction mein point karta hai — seedha uphill. Iski length batati hai kitna steep hai.
  2. us point ke through level curve ke perpendicular hai. (Uphill, rings ke 90° across hai, kabhi unke saath nahi.)

Topic ko yeh kyun chahiye: literally hai "kaunsi taraf sabse tezi se badhta hai aur kitni tezi se." Optimization ka matlab hai us increase ko allowed directions mein khatam karna. Poori detail Gradient and directional derivative mein hai.

Figure — Lagrange multipliers — one and two constraints

4. Constraints — woh fence jis pe rehna zaroori hai

Picture: hill ke floor pe ek fence khinchi hui. Tum sirf fence pe chal sakte ho. ke saath ka matlab hai "radius 1 ke circle pe raho."

Topic ko yeh kyun chahiye: "constrained optimization" = fence pe sabse acchi height, kahin bhi sabse acchi height nahi. Fence hi poora reason hai kyun ordinary calculus (wahan dhundho jahan ) kaafi nahi hai.


5. Tangent aur normal — "path ke saath" vs "path ke across"

Yeh kehne ke liye ki " path ke saath badhna band kar deta hai," humein do directions clearly alag karne hain.

Picture: fence pe khade ho. "Fence ke saath aage" = tangent . "Sideways fence ke upar step karo" = normal . Details: Tangent planes and normal vectors.

Figure — Lagrange multipliers — one and two constraints

Topic ko yeh kyun chahiye: poori derivation yeh hai "best point pe, mein koi tangent part nahi hota — woh poori tarah normal ke saath rehta hai." Yeh sentence tab tak meaningless hai jab tak tangent aur normal clearly define na ho jaayein.


6. Dot product — "along" ko precisely measure karna

Yeh tool kyun, koi aur kyun nahi? Hum baar baar poochte hain "kya ka path direction ke saath koi component hai?" Dot product precisely hai "kitna , ki taraf point karta hai." Ise zero set karna kehta hai "bilkul nahi." Isliye parent ka Step 2 hai .


7. Chain rule — chalte waqt height kaise change hoti hai

Topic ko yeh kyun chahiye: yeh bridge hai. " path ke saath change karna band kar deta hai" hai ; chain rule ise mein badal deti hai, jo dot product padhta hai as " har tangent." Yahi woh tarika hai jisse hum conclude karte hain ki normal hona chahiye.


8. Multiplier — "kitna parallel" ke liye ek single knob

Picture: aur do arrows hain jo optimum pe planted hain, ek hi line pe lie karte hain. hai "kitne milake ek banta hai" — unki lengths ka ratio (ek sign ke saath agar woh opposite taraf point karein).

  • : aur ek hi taraf point karte hain.
  • : woh opposite taraf point karte hain (phir bhi ek hi line).
  • : — constraint koi kaam nahi kar raha; yeh ek unconstrained critical point hai. Dekho Unconstrained optimization — critical points.

Topic ko yeh kyun chahiye: yeh geometric statement "parallel" ko ek solvable equation mein convert karta hai. Aur, jaise Dual problem and shadow prices dikhata hai, measure karta hai ki fence ko nudge karne se best value kitni improve hoti hai.


9. Do constraints — doosra multiplier kyun aata hai

Do fences aur ke saath, tum sirf wahan khade ho sakte ho jahan woh cross karti hain: intersection curve. Us single curve ke saath ek tangent hoti hai, lekin do normals aur poora "sideways" plane span karte hain. mein koi along-curve part na ho, iske liye usse us plane mein rehna hoga — dono normals ka blend: Doosra scalar doosra multiplier hai — ek fence ke liye ek knob. Yeh KKT conditions mein inequality versions se aage connect karta hai.


Prerequisite map

Point x = list of coordinates

Function f gives a height

Level sets show the hill flat

Partial derivative one axis slope

Gradient grad f steepest climb arrow

Constraint g = 0 the fence

Tangent along and Normal across

Dot product measures along

Chain rule d dt f = grad f dot r prime

Parallel arrows give lambda

Two fences add mu

Lagrange multipliers


Equipment checklist

Khud ko test karo — parent derivation padhne se pehle har sawaal ka jawab dena aana chahiye.

Bold kya represent karta hai?
Ek poora point, yaani coordinates ya ki list ek saath.
ko picture mein kya samjha jaata hai?
Floor position ke upar ek hill ki height.
ka level set / contour kya hota hai?
Saare points jo ek value share karte hain — topographic map pe ek ring.
Partial derivative kya measure karta hai?
kitni tezi se change hoti hai jab sirf ko nudge karo aur baaki ko freeze karo.
kya hai, aur do baatein jo feel karni hain?
Stacked partials; yeh steepest uphill ki taraf point karta hai aur level curve ke perpendicular hai.
kya describe karta hai?
Fence/constraint surface — sirf wahi points jahan rehne ki permission hai.
Fence pe tangent aur normal mein farq?
Tangent path ke saath chalta hai (); normal seedha across jaata hai ().
Dot product kab zero hota hai?
Tab aur sirf tab jab aur perpendicular hain.
Path ke saath height ke liye chain rule batao.
.
geometrically kya kehta hai?
Do arrows parallel hain; hai kitne milake ek banta hai.
, , ka kya matlab hai?
Same direction, opposite direction, aur unconstrained critical point ().
Doosri constraint ke liye doosra multiplier kyun chahiye?
Do fences do normals deti hain jo ek plane span karti hain; ko blend hona chahiye.