2.1.10 · D4 · HinglishAnalytical Mechanics

ExercisesConstraints using Lagrange multipliers

3,637 words17 min read↑ Read in English

2.1.10 · D4 · Physics › Analytical Mechanics › Constraints using Lagrange multipliers

Prerequisites jo tum open rakhna chahoge: Euler-Lagrange Equations, d'Alembert's Principle and Virtual Work, Generalized Coordinates and Degrees of Freedom, Holonomic vs Non-holonomic Constraints, Normal Force and Tension as Constraint Forces, KKT Conditions.


Level 1 — Recognition

Goal: method ke pieces ko bina heavy algebra ke pehchaano.

Exercise L1.1 — Gradient ko naam do

Recall Solution

(a) Sab kuch ek side le jao: . (b) , . (c) Vector line ke perpendicular (normal) hai. Yeh isliye matter karta hai kyunki ek rail/wire bead ko track ke side se dhakelta hai — kabhi along nahi. Isliye constraint force ke along point karni chahiye, aur exactly yahi deliver karta hai. (Check karo: line ki direction hai; dot product , confirm karta hai ki perpendicular hai.)

Exercise L1.2 — Equations gino

Recall Solution

Unknowns: coordinates plus multipliers = unknown functions of time. Equations: Lagrange equations (ek har coordinate ke liye) plus constraint equations = equations. Balanced: . ✓ Constraints extra multipliers ki "rent pay" karte hain.


Level 2 — Application

Goal: ek clean single-constraint system par recipe end-to-end chalao.

Exercise L2.1 — Horizontal rotating-free hoop par bead, normal force

Recall Solution

Horizontal plane ⇒ koi gravity term nahi. . -equation: . impose karo toh : . ke saath: . Interpretation: generalized radial force hai. Negative matlab yeh decreasing ki taraf point karta hai, yaani inward — hoop bead ko center ki taraf kheenchta hai. Iska magnitude exactly centripetal force hai. Method familiar reproduce karta hai jahan . ✓

Exercise L2.2 — Vertical hoop, derive karo phir pata karo bead kahan chhod deta hai

Recall Solution

(a) scratch se derive karo. Plane polar coordinates mein position height hai, isliye (yahan gravity ke against upward badhta hai, isliye potential mein hamare convention se plus aata hai). Toh Constraint hai, isliye , . Recipe ka -equation hai

\;\Rightarrow\; \frac{d}{dt}(m\dot r)-\big(mr\dot\theta^2-mg\sin\theta\big)=\lambda\cdot 1.$$ Isliye $m\ddot r-mr\dot\theta^2+mg\sin\theta=\lambda$. Ab — *aur sirf ab* — constraint $r=R\Rightarrow\dot r=\ddot r=0$ impose karo: $$-mR\dot\theta^2+mg\sin\theta=\lambda.$$ Physical normal force $N=\lambda\,\partial f/\partial r=\lambda\cdot 1=\lambda$ hai, isliye $$\boxed{N=mg\sin\theta-mR\dot\theta^2}.$$ **Sign convention check:** bilkul bottom par $\theta=-90^\circ$, $\sin\theta=-1$, milta hai $N=-mg-mR\dot\theta^2<0$; hamare convention mein $\lambda\partial f/\partial r$ negative matlab force *decreasing* $r$ ki taraf point karta hai (inward), yaani hoop bead ko center ki taraf dhakelta hai — correct, yahi ek floor-like surface karta hai. **(b)** Bead *inside* par press karta hai jab tak hoop inward push kar sakta hai, yaani jab tak $N$ (inward magnitude ke roop mein) available hai; jab required inward push reverse ho jaaye toh chhod deta hai. Top par $\theta=+90^\circ$, $\sin\theta=1$, critical case $N=0$ hai: $$N=mg(1)-mR\dot\theta^2_{\text{top}}=0\ \Rightarrow\ R\dot\theta^2_{\text{top}}=g\ \Rightarrow\ v_{\text{top}}^2=(R\dot\theta)^2=gR.$$ Energy conservation bottom ($y=-R$) se top ($y=+R$) tak, height gain $2R$: $$\tfrac12 v_0^2=\tfrac12 v_{\text{top}}^2+g(2R)=\tfrac12 gR+2gR=\tfrac52 gR.$$ $$\boxed{v_0=\sqrt{5gR}}.$$ $N=\lambda$ khud derive karna hi tha jo hamein "leaves the surface" condition $N=0$ directly likhne diya — multiplier method ka poora payoff yahi hai.

Level 3 — Analysis

Goal: multi-equation systems, physical force extract karo, signs check karo.

Exercise L3.1 — Incline par cylinder, friction as multiplier

Neeche di gayi figure hamare sign convention ko fix karti hai: slope ke neechay measure kiya jaata hai (amber arrow), isliye disk ka center mein move karta hai jab yeh descend karta hai; friction (cyan arrow) contact point par slope ke upar act karti hai, aur gravity along resolve hoti hai. Yeh picture dhyan mein rakho — neeche har sign isi se paḍha jaata hai.

Figure — Constraints using Lagrange multipliers
Recall Solution

-equation (): . …(i) -equation (): . …(ii)

Rolling constraint ko do baar differentiate kyun karein? Equations (i) aur (ii) mein do unknown accelerations plus unknown hain — teen unknowns, sirf do equations. Recipe ek teesra equation promise karti hai: constraint khud, . Lekin positions relate karta hai, jabki (i)–(ii) accelerations ke baare mein hain. Constraint ko same language mein bolane ke liye, isko time mein do baar differentiate karo: Yeh deta hai, woh missing teesra relation jo eliminate karne aur solve karne deta hai.

ko (ii) mein daalo: . (i) mein substitute karo: . ke saath, toh : (b) Friction magnitude . par physical friction hai, yaani direction mein = slope ke upar (descent oppose karte hue) — exactly figure mein cyan arrow.

Exercise L3.2 — Rigid rod par do beads (shared constraint)

Recall Solution

. . : . …(i) : . …(ii) Constraint do baar differentiate kiya: . (i)+(ii) add karo: (ii) se: . Interpretation: rod mein force hai. Bead 2 rod ke through force se forward drag hota hai, aur bead 1 rod ko apne par ke saath back kheenchte mahsoos karta hai. Isliye rod tension mein hai — rod applied force ka aadha second bead tak transmit karta hai, exactly wahi jo Newton do equal masses ke liye predict karta hai. .


Level 4 — Synthesis

Goal: constraints combine karo, degenerate/limiting cases, setups change karo.

Exercise L4.1 — Heavy pulley wali Atwood machine, saare limits

Figure geometry dikhata hai: (amber block) se neeche jaata hai jabki se upar jaata hai kyunki string inextensible hai, aur pulley of moment (white curved arrow) se ghoomta hai bina slip ke, constraint deta hai. Isko track karne ke liye use karo ki kaun sa mass kis taraf jaata hai.

Figure — Constraints using Lagrange multipliers
Recall Solution

Note karo ki already dono masses carry karta hai (string inextensible hai), isliye ko ek coordinate aur ke saath treat karo. . : . …(i) : . …(ii) Constraint do baar differentiate kiya (same reasoning as L3.1: eliminate karne ke liye hamen acceleration-level relation chahiye): , toh (ii) ⇒ . (i) mein daalo: . (b) : — classic Atwood result. ✓ Aur : ek massless pulley ko koi net torque nahi chahiye, isliye dono sides ke beech tension difference zero ho jaata hai. ✓ (c) : . Ek infinitely heavy pulley spin nahi ho sakta, isliye kuch bhi move nahi karta. System freeze ho jaata hai — degenerate limit sensibly behave karta hai. ✓

Exercise L4.2 — Jab constraint force switch off ho jaaye (degenerate case)

Recall Solution

Effective gravity kyun? Hum elevator ke apne (accelerating, non-inertial) frame mein solve karte hain, kyunki us frame mein constraint simply "block floor par rehta hai" hai fixed ke saath. Newton's laws as-is ek accelerating frame mein nahi holde; standard fix yeh hai ki har mass par ek fictitious force add karo. Frame downward se accelerate karta hai, isliye fictitious force upward magnitude ke saath point karta hai. Real gravity downward ke saath combine hokar, har mass ka net downward pull feel karta hai — yeh effective gravity hai. Yeh ek genuine derivation hai, assertion nahi: fictitious force + real gravity = effective gravity. up ke saath, effective-gravity potential hai (block ke rise karne par badhta hai), isliye -equation: . impose karo: (b) Contact ke liye chahiye. par (free fall), : multiplier zero ho jaata hai, matlab floor koi force se push nahi karta — block weightless hai aur float hone ki verge par hai. par block ko floor ko kheenchna pad jaata (), jo floor nahi kar sakta, isliye constraint break ho jaata hai aur ab valid nahi raha. Yeh exactly " ⇒ leaves the surface" logic hai. ✓


Level 5 — Mastery

Goal: gradient geometry, saare cases, aur interpretation ko joḍne wala full research-style problem.

Exercise L5.1 — Parabolic wire par bead, full multiplier aur "flying off" analysis

Figure parabola (cyan), uspar ek bead, aur constraint gradient (amber arrow) dikhata hai jo wire se off, normal direction mein point karta hai — woh ek hi direction jisme ek frictionless wire push kar sakti hai. Note karo ki gradient ek unit vector nahi hai: iska length vertex se door jaane par badhta hai, aur yahi wajah hai ki part (c) ko physical force paane ke liye ko se multiply karna padta hai.

Figure — Constraints using Lagrange multipliers
Recall Solution

Yahan upar point karta hai aur gravity neechay pull karti hai, isliye hamare convention se mein minus ke saath enter karta hai: Constraint ka gradient: .

(a) Multiplier equations:

  • : . …(i)
  • : . …(ii)

(b) Constraint do baar differentiate kiya (again acceleration level tak pahunchne ke liye, jaise L3.1 mein): (i) se: . (ii) se: . Yeh (i) mein substitute karo:

(c) paane ke liye back-substitute karo: Boxed use karke: , isliye

=m\cdot\dfrac{(k\dot x^2+g)(1+k^2x^2)-k^2x^2(g+k\dot x^2)}{1+k^2x^2}.$$ Numerator mein $k^2x^2$ terms cancel ho jaate hain, bachtaa hai $$\boxed{\lambda=\dfrac{m(g+k\dot x^2)}{1+k^2x^2}}.$$ **Normal force** magnitude $N=|\lambda|\cdot\|\nabla f\|=|\lambda|\sqrt{(kx)^2+1}=\dfrac{m(g+k\dot x^2)}{\sqrt{1+k^2x^2}}$ hai, kyunki *physical* force vector $\lambda\nabla f$ hai aur $\|\nabla f\|=\sqrt{k^2x^2+1}$. **Units:** $[k]=\text{m}^{-1}$ (kyunki $\tfrac12 kx^2$ ek length hai). Toh $k\dot x^2$ ke units $\text{m}^{-1}(\text{m/s})^2=\text{m/s}^2$ hain, $g$ se match karte hue. Isliye $m(g+k\dot x^2)$ $\text{kg}\cdot\text{m/s}^2=$ **newtons** hai, aur denominator dimensionless hai. $\lambda$ ek force hai. ✓ **(d)** Vertex $x=0$ par: $\lambda=\dfrac{m(g+k\dot x^2)}{1}=m(g+k\dot x^2)>0$. Zyada generally boxed $\lambda=\dfrac{m(g+k\dot x^2)}{1+k^2x^2}$ ka **numerator strictly positive** hai (dono $g>0$ aur $k\dot x^2\ge0$) aur **denominator strictly positive** hai har $x$ aur har $\dot x$ ke liye. Isliye $\lambda>0$ **hamesha**. Kyunki physical force $\lambda\nabla f$ hai aur $\nabla f$ bowl se bahar point karta hai, wire hamesha bead ko **inward/upward** press karti hai: bead concave-up parabola se **kabhi fly off nahi kar sakta**. Yeh complete flying-off analysis hai — ek formula, saare $x$ ke liye valid, $\dot x$ ke dono signs ke liye, aur degenerate vertex ke liye bhi. Hoop ke top se contrast karo, jahan corresponding $\lambda$ *zero tak pahunch sakta* hai aur bead nikal jaata hai; parabola ek bowl hai, isliye yeh nahi kar sakta.

Recap ladder

Recall Har level ka ek-line summary

L1 — constraint ke normal hai; equations = coordinates + multipliers. L2 — redundant coordinate rakho, differentiate karo, tabhi constraint impose karo; . L3 — physical force hai, sign sahit; friction/tension nikal aate hain. L4 — limits check karo; mein sign change matlab (one-sided) constraint break ho gayi. L5 — normal force magnitude hai, nahi; ek formula saare cases cover karta hai.