Worked examples — Hamilton's equations of motion
2.1.12 · D3· Physics › Analytical Mechanics › Hamilton's equations of motion
Examples se pehle, notation ka ek reminder taaki kuch bhi unexplained na rahe:
Scenario matrix
Neeche har worked example uss cell ke saath tagged hai jo wo cover karta hai. Matrix un situations ke types ko name karti hai jinse Hamilton ki machine ko survive karna hai.
| Cell | Scenario class | Kya galat ho sakta hai / kya special hai |
|---|---|---|
| C1 | Simple positive potential, | Baseline: kya Newton wapas aata hai? |
| C2 | Sign of the force flips (unstable / repulsive) | Kya har region mein sign sahi karta hai? |
| C3 | Degenerate: free particle, | Zero force — kya constant hai, kya motion straight hai? |
| C4 | Angular coordinate (pendulum), nonlinear | ek angle hai; ke units ajeeb hain |
| C5 | Velocity-dependent (charge in a field) | — "just use " wala trap |
| C6 | Time-dependent / rotating frame | chahe conserved ho |
| C7 | Limiting behaviour (, large energy) | Kya formulas limits mein gracefully degrade karte hain? |
| C8 | Real-world word problem | Words → → → motion translate karo |
| C9 | Exam twist: given , reverse-engineer | Kya tum Legendre transform ulta chala sakte ho? |
Example 1 — Baseline: gravity mein girta hua mass [C1] [C8]
- Momentum. . Yeh step kyun? woh variable hai jo ki jagah lega; hume bhi invert karna hai.
- Hamiltonian. . Yeh step kyun? substitute karne se har khatam ho jaata hai; jo bachta hai woh sirf ka function hai. Yahan (gravity ki stored energy) hai aur yeh ki tarah padhta hai.
- Canonical equations. , aur . Yeh step kyun? Yeh machine ke do rules hain; doosra kehta hai ki "push" ek steady rate pe decrease hoti hai.
- Acceleration recover karo. . Yeh step kyun? ko differentiate karke daalne se do first-order equations wapas ek Newton equation ban jaati hain.
Example 2 — Sign flip: repulsive (inverted) spring [C2]
- Equations padhna. , . Yeh step kyun? Hume minus rule literally apply karna hai — do minus signs (ek rule se, ek se) milke plus bante hain.
- Case . : momentum aur positive hota jaata hai, bead aur right push hoti hai. Yeh step kyun? Hum sign region-by-region check karte hain kyunki sign error sirf ek region mein reveal hogi.
- Case . : momentum aur negative hota jaata hai, bead aur left push hoti hai. Yeh step kyun? Dono regions baahir push karte hain — origin unstable hai, exactly wahi jo ek inverted potential ko karna chahiye.
- Case , . aur dono: ek fixed point, lekin ek unstable wala (koi bhi nudge grow karta hai). Yeh step kyun? Degenerate equilibrium ko classify karna zaroori hai; yahan exponential growth deta hai, oscillation nahi.
Neeche ki figure is potential ko ek hilltop ki tarah draw karti hai. Amber arrows dekho: woh curve pe chaar sample points pe baithe hain aur hamesha centre se door point karte hain — hone pe leftward, hone pe rightward. Yahi ka geometric matlab hai ki iski sign jaisi hai. Amber dot top pe unstable fixed point mark karta hai: perfectly balanced, lekin zarraa sa slip bead ko dono taraf slide kara deta hai.

Example 3 — Degenerate case: free particle [C3]
- Hamiltonian. , toh (pure kinetic, kyunki matlab kahin bhi koi stored energy nahi). Yeh step kyun? set karna sabse clean test hai ki machine "kuch nahi hota" wala case handle kar sakti hai ya nahi.
- Equations. , . Yeh step kyun? mein hai hi nahi, toh — momentum exactly conserved hai.
- Solve karo. , isliye constant, isliye . Yeh step kyun? Constant velocity, straight line — yeh Newton ka first law formalism se nikalta hai.
- Phase-space picture. Point ek horizontal line ke saath move karta hai, speed se right drift karta hua. Yeh step kyun? Trajectory picture karte hain taaki closed SHO ellipse ki degenerate limit dekh sakein: jaise restoring force hoti hai, ellipse flat line mein khul jaata hai (Example 7 mein exactly is limit pe wapas aayenge).
Example 4 — Angular coordinate: pendulum [C4]
- Angular momentum. . Yeh step kyun? Ek angle ka conjugate linear momentum nahi hota — yeh angular momentum hota hai (units ). Invert karo: .
- Hamiltonian. . Yeh step kyun? Potential energy hai ( pe lowest). substitute karne se sirf mein reh jaata hai.
- Equations. , . Yeh step kyun? Doosra, pehle ke saath combine karke deta hai — exact nonlinear pendulum.
- Small-angle reduction. ke liye, , toh — SHO with . Yeh step kyun? Hum check karte hain ki nonlinear pendulum us harmonic oscillator pe degrade hota hai jis par hume already trust hai, yeh parent ke Example B se jodta hai. (SHO ka actual limiting behaviour — aur large energy — alag se Example 7 mein dissect kiya gaya hai.)
Example 5 — Trap: charge in a magnetic field, [C5]
- Momentum — surprise. . Yeh step kyun? Velocity term contributes . Toh ; "canonical" momentum "kinetic" momentum se differ karta hai.
- Sahi invert karo. . Yeh step kyun? Hume actual ke liye solve karna hai, reuse nahi karna. Yahi is cell ka poora point hai.
- Hamiltonian. . Simplify karo: . Yeh step kyun? Sahi substitute karke expand karne par linear pieces cancel ho jaate hain, shifted momentum ke saath kinetic energy bachti hai — exactly electromagnetism mein ka structure.
- Equations. ✓ (step 2 se match), aur ( mein koi nahi). Yeh step kyun? conserved hai, lekin note karo ki actually move karta hai — physical velocity, canonical momentum nahi, jo tum measure karoge.
Example 6 — conserved lekin : rotating wire pe bead [C6]
- Momentum. . Yeh step kyun? Sirf velocity part mein appear karta hai, toh ordinary radial momentum hai; invert karo .
- Hamiltonian. . Yeh step kyun? Notice karo term pe minus — Legendre transform ne iski sign flip kar di. Isliye woh sum nahi hai jo tum expect karte.
- Kya conserved hai? mein explicit nahi hai (motor speed constant hai), toh . Conserved. Yeh step kyun? Conservation sirf explicit time ki absence pe depend karta hai, jo yahan holds karta hai.
- Kya hai? True kinetic energy hai (dono radial aur rotational parts), aur koi potential nahi toh . Lekin , toh : yeh se differ karte hain. Yeh step kyun? Hume dono quantities directly compare karni hain. Yeh full rotational term se differ karte hain. Toh ek conserved quantity hai jo energy nahi hai — yeh cell C6 ka flagship hai. Jab bhi hoga difference nonzero hoga; sirf axis pe yeh momentarily agree karte hain.
Example 7 — SHO orbit ka limiting behaviour [C7]
- Ellipse equation. Yahan genuinely holds karta hai (quadratic kinetic energy, time-independent — Example 6 se contrast karo). set karo: . Yeh step kyun? conserved hai (parent §3), toh orbit ke ek level curve pe lie karta hai; aur kyunki yahan hai, woh curve constant physical energy ki curve hai — ek ellipse.
- Semi-axes. mein: set karo . mein: set karo . Yeh step kyun? Axis intercepts yeh poochhne se milte hain ki "ellipse har axis ko kahan cross karta hai?" — -axis pe momentum momentarily zero hota hai (turning point, sari energy potential hai), -axis pe position zero hota hai (sari energy kinetic hai). Woh crossing points hi semi-axis lengths hain.
- Enclosed area. Ellipse ka area . Yeh step kyun? Yeh parent ka confirm karta hai — action, quantization ka hint.
- Limit (weak spring). jab fixed rehta hai; area . Ellipse horizontally stretch hota jaata hai jab tak Example 3 ki free-particle line nahi ban jaata. Yeh step kyun? Restoring force hatana free particle recover karna chahiye; yeh check C7 ko C3 se jodta hai aur confirm karta hai ki formula sensibly degrade hota hai.
- Limit (large energy). Dono semi-axes ki tarah grow karte hain, toh ellipse same shape rakhta hai (aspect ratio energy-independent hai) lekin size mein blow up karta hai; area linearly grow karta hai, . Yeh step kyun? Large-energy behaviour model ke sensible hone ke liye bounded/self-similar hona chahiye — koi shape distortion nahi aata, toh SHO har energy pe well-behaved hai.
- Limit (collapse). Dono axes ; ellipse origin pe fixed point tak shrink ho jaata hai — bead permanently rest pe. Yeh step kyun? Vanishing limit check karna degenerate rest state confirm karta hai, Example 2 ki unstable/stable fixed-point discussion ke saath loop close karta hai.

Example 8 — Real-world word problem: rocket sled on a spring bumper [C1] [C8]
- Words ko mein translate karo. Kinetic , elastic potential , toh . Yeh step kyun? Word problem pehle Lagrangian banana chahiye; machine ka wahi ek entry point hai.
- Momentum & Hamiltonian. ; . Yeh step kyun? mein build karne se equations directly padh sakte hain; yahan (Example 1-type, scleronomic).
- Equations & frequency. , , toh , yaani , jo deta hai. Yeh step kyun? eliminate karne se Newton wapas aata hai aur angular frequency identify hoti hai.
Example 9 — Exam twist: Legendre transform ulta chalao [C9]
- se nikalo. . Yeh step kyun? Inverse Legendre transform same pairing use karta hai; hum ise ke terms mein ke liye solve karte hain.
- apply karo. . Yeh step kyun? Legendre transform apna hi inverse hai (sign convention tak): with re-expressed ke through.
- Simplify karo. . Yeh step kyun? Hum exactly wahi Lagrangian recover karte hain jo expected tha — kinetic minus potential , yaani — yeh round trip confirm karta hai.
Recall Coverage check — kya humne har cell hit kiya?
C1 → Ex 1, 8 · C2 → Ex 2 · C3 → Ex 3 · C4 → Ex 4 · C5 → Ex 5 · C6 → Ex 6 · C7 → Ex 7 · C8 → Ex 1, 8 · C9 → Ex 9. Matrix ki har cell kam se kam ek standalone worked example se covered hai.
Active-Recall
Lagrangian kaise define hota hai?
Example 5 mein kyun tha?
Rotating-wire bead (Ex 6) mein kyun hai?
Energy wale SHO orbit ka phase-space area kya hai?
hone par SHO ellipse ka kya hota hai?
hone par SHO ellipse ka kya hota hai?
Inverted potential ke liye, kya origin stable hai?
Ek mass on a spring ki oscillation frequency (Ex 8)?
se reverse-engineer kaise karein?
Related: Legendre Transform · Phase Space and Liouville's Theorem · Lagrangian Mechanics · Poisson Brackets · Canonical Transformations