Ek frictionless surface par slide karta particle jahan L=21mq˙2−mgq (mass gravity ke against upar jaata hai, q = height). H nikalo aur confirm karo ki yeh energy ke barabar hai.
Recall Solution
Momentum:p=∂L/∂q˙=mq˙.
Invert:q˙=p/m. (Ab hum isse har q˙ hatane ke liye use karenge.)Assemble (substitute karne se pehle, q˙ visible rakho):
H=pq˙−L=pq˙−(21mq˙2−mgq).Substituteq˙=p/m har jagah — pehla q˙ ban jaata hai p/m, aur 21mq˙2 ban jaata hai 21m(p/m)2=p2/(2m):
H=p⋅mp−21m(mp)2+mgq=mp2−2mp2+mgq=2mp2+mgq.
Yeh substitution valid hai kyunki q˙=p/m identically hold karta hai jab hum p define karte hain; koi leftover velocities nahi hain, isliye H=H(q,p) as required.
Yahan T=p2/2m (q˙ mein quadratic hai) aur V=mgq (velocity-independent hai), isliye H=T+V=E. ✓
Pendulum H=2mℓ2pθ2−mgℓcosθ ke liye, Hamilton's equations use karke equation of motion recover karo, aur Lagrangian result mℓ2θ¨=−mgℓsinθ se check karo.
Recall Solution
θ˙=∂pθ∂H=mℓ2pθ,p˙θ=−∂θ∂H=−mgℓsinθ.
Pehle ko differentiate karo: pθ=mℓ2θ˙⇒p˙θ=mℓ2θ¨. Doosre ke barabar set karo:
mℓ2θ¨=−mgℓsinθ.
Yeh exactly Lagrangian equation of motion hai. ✓ Dono first-order Hamilton equations saath milke ek second-order Euler–Lagrange equation ke equivalent hain.
Explicitly dikhao ki agar H mein explicit time dependence nahi hai, to H motion ke saath conserved hai, yaani dtdH=0.
Recall Solution
H(q,p,t) ka total time derivative:
dtdH=∑i∂qi∂Hq˙i+∑i∂pi∂Hp˙i+∂t∂H.
Hamilton's equations q˙i=∂H/∂pi aur p˙i=−∂H/∂qi insert karo:
dtdH=∑i∂qi∂H∂pi∂H−∑i∂pi∂H∂qi∂H+∂t∂H=∂t∂H.
Dono sums term by term cancel ho jaate hain. Isliye agar ∂H/∂t=0 ho, to dH/dt=0 — H conserved hai. Yeh Conservation Laws & Noether's Theorem ka Hamiltonian face hai.
Ek relativistic-flavoured Lagrangian L=−mc21−x˙2/c2. p nikalo, use invert karo, aur dikhao ki H=1−x˙2/c2mc2, phir H ko p ke terms mein express karo.
Recall Solution
Momentum:p=∂x˙∂L=−mc2⋅1−x˙2/c2−x˙/c2=1−x˙2/c2mx˙.Assemble (invert karne se pehle, structure dekhne ke liye):
H=px˙−L=1−x˙2/c2mx˙2+mc21−x˙2/c2.
Common denominator 1−x˙2/c2 pe laao:
H=1−x˙2/c2mx˙2+mc2(1−x˙2/c2)=1−x˙2/c2mx˙2+mc2−mx˙2=1−x˙2/c2mc2.p ke terms mein:p1−x˙2/c2=mx˙ se, algebra se x˙2=p2+m2c2p2c2 milta hai, isliye 1−x˙2/c2=p2+m2c2mc aur
H=p2c2+m2c4
— famous relativistic energy. Isliye L (velocity ka function) ko Legendre-transform karke H (momentum ka function) banana itna powerful hai: momentum energy ka natural variable hai.
1D mein ek charged particle jiska velocity-dependent Lagrangian hai L=21mx˙2+eAx˙−eφ, jahan A aur φ constants hain. p nikalo, use invert karo, aur dikhao ki H=2m(p−eA)2+eφ. Kya H, T+V ke barabar hai?
Recall Solution
Momentum:p=∂L/∂x˙=mx˙+eA. Notice: momentum mx˙ nahi hai! Iske saath extra eA term hai.
Invert:x˙=mp−eA.
Assemble:H=px˙−L=px˙−21mx˙2−eAx˙+eφ=(p−eA)x˙−21mx˙2+eφ.
Lekin (p−eA)=mx˙, isliye (p−eA)x˙=mx˙2:
H=mx˙2−21mx˙2+eφ=21mx˙2+eφ=2m(p−eA)2+eφ.Kya H=T+V hai? Numerically H=21mx˙2+eφ=T+eφ. Kinetic energy sahi aayi, lekin canonical momentum p=mx˙+eA, kinetic momentum mx˙ se alag hai. Isliye H ka energy value to hai, lekin p mein express karne par yeh tell-tale (p−eA)2 structure carry karta hai. Yahi electromagnetic Hamiltonians ka seed hai.
Do ideas combine karo: ek 1D oscillator ka H=2mp2+21kx2 hai. Poisson bracket{x,H} aur {p,H} compute karo aur confirm karo ki yeh Hamilton's equations reproduce karte hain. (Yaad karo {f,g}=∂x∂f∂p∂g−∂p∂f∂x∂g.)
Recall Solution
{x,H}=∂x∂x∂p∂H−∂p∂x∂x∂H=1⋅mp−0=mp=x˙.✓{p,H}=∂x∂p∂p∂H−∂p∂p∂x∂H=0−1⋅kx=−kx=p˙.✓
Dono f˙={f,H} se match karte hain, jo Phase Space mein equations of motion ka Poisson-bracket form hai.
Mass m ka ek bead frictionlessly ek straight wire par slide karta hai jo horizontal plane mein fixed angular velocity ω se rotate kar raha hai. r wire ke saath distance ho. Tab L=21mr˙2+21mr2ω2 (V=0).
(i) H(r,pr) nikalo. (ii) Total energy E=T+V nikalo. (iii) Dikhao ki H=E aur gap quantify karo. (iv) Kya H conserved hai?
Neeche ka figure dono physical set-up (left) aur punchline (right) dikhata hai: jaise bead bade r ki taraf move karta hai, curves H(r) aur E(r) alag ho jaate hain, aur red double-arrow exactly woh gap mr2ω2 hai jo hum part (iii) mein compute karte hain. Pehle left panel padho taaki r, ω aur bead samajh aaye; phir right panel ko "same momentum pr, do alag bookkeeping quantities" ke roop mein padho.
Recall Solution
(i) Momentum:pr=∂L/∂r˙=mr˙⇒r˙=pr/m.
Assemble karo aur r˙=pr/m substitute karo: H=prr˙−L=mpr2−(2mpr2+21mr2ω2)=2mpr2−21mr2ω2.(ii) Energy:E=T+V=21mr˙2+21mr2ω2=2mpr2+21mr2ω2 (r˙=pr/m use karte hue; yaad karo V=0).
(iii) Gap:H−E=(−21mr2ω2)−(+21mr2ω2)=−mr2ω2=0.
Isliye H=E−mr2ω2. Yeh exactly figure ke right panel mein vertical red gap hai. Kyun fail hota hai: constraint ϕ=ωttime-dependent hai, isliye Tr˙ mein pure homogeneous quadratic nahi hai — iska ek r˙-independent "centrifugal" piece 21mr2ω2 hai. Euler's theorem (jo ∑piq˙i=2T deta) poore T par laagu nahi hota.
(iv) Conserved?L mein koi explicit t nahi hai (ω constant hai, r variable hai), isliye ∂L/∂t=0⇒∂H/∂t=0⇒Hconserved hai. Ek conserved quantity jo energy nahi hai.
L=21mx˙2−21mω2x2+bxx˙ ke liye (b constant hai), H(x,p) nikalo. Phir decide karo: kya H conserved hai? Kya H=T+V hai?
Recall Solution
Momentum:p=∂L/∂x˙=mx˙+bx⇒x˙=mp−bx.
Assemble:H=px˙−L=px˙−21mx˙2+21mω2x2−bxx˙=(p−bx)x˙−21mx˙2+21mω2x2.
Kyunki (p−bx)=mx˙ hai, (p−bx)x˙=mx˙2 milta hai, isliye
H=mx˙2−21mx˙2+21mω2x2=21mx˙2+21mω2x2=2m(p−bx)2+21mω2x2.Conserved?∂L/∂t=0 (koi explicit t nahi), isliye H conserved hai. ✓
H=T+V? Value hai 21mx˙2+21mω2x2=T+V — haan, numerically H=E yahan. bxx˙ term ek total time derivative hai (dtd(21bx2)), isliye yeh canonical momentum ko bx se shift karta hai lekin energy nahi badalta. Ek subtle case: momentum disguised hai, phir bhi H=E hold karta hai.
Lagrangian L=bxx˙−21kx2 consider karo, jo velocity x˙ mein linear hai (koi x˙2 term hi nahi). b,k constants hain.
(i) Hessian W=∂2L/∂x˙2 compute karo aur dikhao ki Legendre transform degenerate hai.
(ii) p build karne ki koshish karo aur use invert karo — kya problem aata hai?
(iii) H=px˙−L kya evaluate hota hai, aur yeh singular Lagrangian ka fingerprint kyun hai?
Recall Solution
(i) Hessian:∂x˙∂L=bx, jo x˙contain nahi karta. Isliye
W=∂x˙2∂2L=0.
Kyunki detW=0 hai, recipe ki warning ka non-degeneracy condition fail ho jaata hai. Yeh ek singular (degenerate) Lagrangian hai.
(ii) Kya problem aata hai: momentum hai p=bx. Notice karo ki yeh sirf x par depend karta hai, x˙ par nahi — isliye hum isse x˙ ke liye solve nahi kar sakte. x˙ ki har value ek hi momentum bx deti hai. Recipe ka step 2 (x˙(x,p) paane ke liye p invert karo) impossible hai. Iski jagah hum ek constraint paate hain: p−bx=0 identically hold karna chahiye. Velocity undetermined reh jaati hai.
(iii) Hamiltonian:H=px˙−L=px˙−bxx˙+21kx2=(p−bx)x˙+21kx2.
Constraint surface p=bx par, bracket (p−bx) vanish ho jaata hai, isliye
H=21kx2.
Velocity x˙completely disappear ho gayi — lekin isliye nahi ki humne use substitute kiya; yeh isliye drop out hua kyunki iska coefficient (p−bx) zero hone par forced hai. Yeh singular system ka fingerprint hai: x˙ kabhi bhi p ke terms mein expressible nahi hota, aur dynamics clean invertible H(x,p) ki jagah constraints se govern hoti hai. (Aisi systems ko systematically handle karna Dirac's constraint theory hai.) Isko page ke har doosre problem se compare karo, jahan W=m=0 tha aur inversion hamesha succeed ki.