The WHY: if you ever need to ask "when does the bead fly off the hoop?" or "what is the tension?", the embedded method can't answer it directly. The multiplier method can.
Why this isn't just "each bracket = 0": if the qk were independent, each δqk is free, so each bracket vanishes — the ordinary Euler–Lagrange equations. But under a constraint f(q,t)=0, the δqk are not independent. Taking the variation of the constraint at fixed time:
\delta f = \sum_{k}\frac{\partial f}{\partial q_k}\,\delta q_k = 0. \tag{2}
So (1) must hold only for those δq obeying (2). We can't set each bracket to zero yet.
Multiply (2) by an as-yet-unknown function λ(t) and add to (1):
∑k(dtd∂q˙k∂L−∂qk∂L−λ∂qk∂f)δqk=0.
Now choose λ to kill the bracket of the one dependent coordinate. The remaining δqk are independent, so every bracket must vanish:
For m constraints fa=0 you sum: the RHS becomes ∑a=1mλa∂fa/∂qk.
Setup: A particle of mass m slides on the inside of a vertical hoop of radius R (polar coords r,θ). Constraint: f=r−R=0. Find the normal forceN from the hoop.
Lagrangian in plane polar:
L=21m(r˙2+r2θ˙2)−mgrsinθ.
Why polar? Because the constraint is simply r=R, making ∂f/∂r=1, ∂f/∂θ=0 — clean.
r-equation:dtd(mr˙)−mrθ˙2+mgsinθ=λ⋅1.Why this step? The RHS uses ∂f/∂r=1.
Apply constraint r=R⇒r˙=0,r¨=0:
−mRθ˙2+mgsinθ=λ.
Why this is the answer:λ=∂L-imbalance along r = the radial constraint force. So
N=λ=mgsinθ−mRθ˙2.
The bead leaves the hoop when N=0, i.e. mgsinθ=mRθ˙2. That question was unanswerable with the embedded method — this is the payoff.
Setup: Disk of radius a, moment I, mass over a pulley etc. Simplify to: a mass m hangs from a string wound on a cylinder. Let x = mass drop, ϕ = cylinder rotation. Constraint of "no slipping":
f=x−aϕ=0.
L=21mx˙2+21Iϕ˙2+mgx.
x-equation:∂f/∂x=1m\ddot x - mg = \lambda. \tag{i}ϕ-equation:∂f/∂ϕ=−aI\ddot\phi = -a\lambda. \tag{ii}
Why these? RHS is λ∂f/∂q.
Constraint: x¨=aϕ¨⇒ϕ¨=x¨/a. Substitute (ii):
aIax¨=−aλ⇒λ=−a2Ix¨.
Plug into (i):
mx¨−mg=−a2Ix¨⇒x¨=m+I/a2mg.
And the tension is its constraint force magnitude:
T=∣λ∣=a2Ix¨=m+I/a2mg(I/a2).Why T=∣λ∣:λ∂f/∂x=λ is the generalized force on x from the string = −T (string pulls up). Sign just tracks direction.
Constraint (rolling, no slip): f=x−Rθ=0. With L=21Mx˙2+21Iθ˙2+Mgxsinα:
x: Mx¨−Mgsinα=λ
θ: Iθ¨=−Rλ
Same algebra: λ=−ffriction. Solid sphere I=52MR2 gives x¨=75gsinα and friction ∣λ∣=72Mgsinα. The multiplier is the static friction force.
Recall Feynman: explain to a 12-year-old
Imagine you're rolling a marble inside a bowl. The bowl pushes the marble to keep it on the surface — that's the "constraint force." Usually in physics we're lazy and just say "the marble stays on the bowl," and we never figure out how hard the bowl pushes. The Lagrange-multiplier trick is like adding a tiny honest helper numberλ to our equations whose only job is to tell us how hard the bowl is pushing at every moment. When that push drops to zero, the marble jumps off the surface!
Dekho, Lagrangian mechanics mein do raaste hote hain constraints handle karne ke. Pehla — "embedded" — jahan hum smart coordinates choose karke constraint ko hata dete hain. Isme equations simple ho jaate hain, lekin ek nuksaan hai: jo constraint force thi (tension, normal force, friction), woh equations se gayab ho jaati hai. Agar tumhe pata karna ho ki "bead hoop se kab udd jaayegi?" ya "rassi mein tension kitna hai?", toh ye method jawab nahi de sakta.
Yahaan Lagrange multiplierλ aata hai. Hum constraint ko hatate nahi, balki use rakhte hain aur ek unknown number λ add kar dete hain. Derivation d'Alembert principle se aati hai: constraint ki wajah se virtual displacements δq independent nahi hote (δf=0 unko jodta hai). Isliye hum directly har bracket ko zero nahi kar sakte. Trick: λ ko aise choose karo ki dependent coordinate ka bracket cancel ho jaaye. Result milta hai: dtd∂q˙k∂L−∂qk∂L=λ∂qk∂f, aur saath mein constraint f=0.
Sabse important baat — λ ka physical matlab: λ∂f/∂qk exactly woh generalized constraint force hai. Gradient ∇f hamesha constraint surface ke perpendicular point karta hai — bilkul wahi direction jahaan normal force lagti hai. Toh λ uss force ka magnitude scale hai. Hoop wale example mein N=mgsinθ−mRθ˙2, aur jab N=0 ho jaata hai tabhi bead udd jaati hai.
Count yaad rakho: n coordinates + 1 multiplier = n EL equations + 1 constraint equation. Sab balanced. Galti mat karna — agar tumne coordinate pehle hi eliminate kar diya, toh ∂f/∂q=0 ho jaayega aur λ ka koi matlab nahi rahega. Isliye jab constraint force chahiye, redundant coordinate rakho. Mnemonic: "Gradient times lambda gives the push."