2.1.4 · D3 · Physics › Analytical Mechanics › Lagrangian L = T − V
Yeh page ek drill hai. Parent note ne tumhe machinery dikhaayi; yahan hum use har corner mein push karte hain — potential ke signs, curved coordinates, coupled coordinates, woh coordinates jo L mein dikhte bhi nahi, degenerate free particles, aur ek exam twist. Shuru karne se pehle, ek reminder ki har symbol ka kya matlab hai, kyunki hum kuch bhi trust pe earn nahi karenge.
Definition Woh vocabulary jo hum har line pe use karenge
q — ek generalized coordinate : koi bhi single number jo yeh pin down karne mein madad karta hai ki system kahan hai (ek length x , ek height y , ek angle θ ). Dekho Generalized Coordinates and Constraints .
q ˙ — generalized velocity : woh number per second kitni tezi se change hota hai. Dot ka matlab hai "uske neeche wali cheez ka time-derivative".
q ¨ — us coordinate ka acceleration (do dots = do time-derivatives).
T — kinetic energy , motion ki energy, hamesha 2 1 m v 2 hoti hai jahan v real speed hai.
V — potential energy , position ki energy (gravity mein height, spring mein stretch).
L = T − V — Lagrangian . Total energy nahi hai yeh.
Euler–Lagrange equation (engine, har coordinate ke liye ek):
d t d ∂ q ˙ ∂ L − ∂ q ∂ L = 0
Ise padho: "(L ki velocity mein slope) ke change ki rate, (L ki position mein slope) ke barabar hoti hai." Poori derivation Euler–Lagrange Equation mein hai.
∂ / ∂ q ˙ aur ∂ / ∂ q ka actually matlab kya hai
Ek partial derivative ∂ L / ∂ q ˙ poochhta hai: "agar main sirf q ˙ ko nudge karun aur baaki sab freeze kar dun, toh L kitna change hoga?" Curly ∂ (instead of d ) ek promise hai ki hum baaki variables ko still rakhte hain. L ke andar, position q aur velocity q ˙ ko independent knobs ki tarah treat kiya jaata hai — yeh ek sabse zyada miss hone wala idea hai, toh Example 4 mein isko dhyaan se dekho.
L = T − V ka har problem inhi cells mein se kisi ek mein aata hai. Neeche ke examples is tarah choose kiye gaye hain ki milke woh sab cover kar lein — koi bhi "tum khud figure out kar loge" wala nahi choraa gaya.
Cell
Kya cheez isko alag banati hai
Covered by
A. Straight-line, positive-slope V
V q ke saath badhta hai (chadhai) → restoring force neeche/peeche point karti hai
Ex 1
B. Straight-line, negative-slope V
V q ke saath ghatta hai (downhill push) → force aage point karti hai
Ex 2
C. Curved coordinate (T mein q hai)
T = 2 1 m ℓ 2 θ ˙ 2 — velocity term khud hi position pe depend karta hai
Ex 3
D. Two coupled coordinates
Do Euler–Lagrange equations jo ek doosre se baat karte hain
Ex 4
E. Cyclic (ignorable) coordinate
q L mein missing hai → ek conserved momentum milta hai
Ex 5
F. Degenerate / zero potential
V = 0 , free particle — limiting case
Ex 6
G. Sign-of-force stress test
Same spring, equilibrium ke dono taraf (positive AND negative x )
Ex 7
H. Real-world word problem + exam twist
Rotating hoop pe bead: ek constraint jo T mein add hoti hai
Ex 8
Worked example Ex 1 · Block frictionless ramp par chadh raha hai, incline
α
Mass m ka ek block ek ramp par slide karta hai jo horizontal se α angle par tilted hai. Maano s = distance slope ke upar measure kiya gaya hai. Iska equation of motion nikalo.
Forecast: s ¨ ka sign padhne se pehle guess karo. Gravity ise wapas neeche kheenchni chahiye, toh hum expect karte hain s ¨ < 0 (negative, matlab down-slope, acceleration). Yeh socha raho.
Figure — the incline triangle.
Ek blue slope jiska length s hai (hypotenuse) ek white horizontal base par uthta hai; laal dashed vertical leg height gained hai, s sin α ; green arc α mark karta hai aur green down-arrow gravity m g hai. Picture hi step 1 ka poora point hai — triangle se height padho.
Distance s chadh ke height gained s sin α hoti hai (figure mein laal vertical leg dekho — yeh right triangle ki opposite side hai jiska hypotenuse s hai).
Yeh step kyun? Potential energy sirf height ki parwah karti hai, aur sin α exactly "vertical rise per unit slope-distance" hai.
Energies likho: T = 2 1 m s ˙ 2 , V = m g s sin α .
Yeh step kyun? Parent recipe ke steps 2–3: chosen coordinate mein energies.
L = 2 1 m s ˙ 2 − m g s sin α banao.
Yeh step kyun? Lagrangian define hota hai T − V se; engine ke chew karne se pehle hume ise assemble karna hoga.
Velocity slope: ∂ s ˙ ∂ L = m s ˙ , phir iska time-derivative lo: d t d ( ∂ s ˙ ∂ L ) = d t d ( m s ˙ ) = m s ¨ .
Yeh step kyun? Yeh engine ka "d t d ∂ s ˙ ∂ L " wala aadha hissa hai — pehle velocity-slope, phir time mein uska change.
Position slope: ∂ s ∂ L = − m g sin α .
Yeh step kyun? Yeh engine ka doosra aadha hissa hai; sirf V mein s hai, aur iska slope s par push karne wali force ka (negative) hai.
Euler–Lagrange: dono halves ko d t d ∂ s ˙ ∂ L − ∂ s ∂ L = 0 mein daalo, milega m s ¨ − ( − m g sin α ) = 0 ⇒ s ¨ = − g sin α .
Yeh step kyun? Yeh engine khud hai — rate-of-velocity-slope ko position-slope ke barabar set karna exactly equation of motion hai.
Verify: Sign negative hai → forecast se match karta hai (wapas neeche slide karta hai). Limiting checks: α = 9 0 ∘ par (vertical wall of a ramp), s ¨ = − g — pure free fall. ✓ α = 0 par (flat table), s ¨ = 0 — koi push nahi, baith jaata hai. ✓ Units: g sin α m/s 2 mein hai. ✓
Worked example Ex 2 · Same ramp, coordinate
neeche slope measure kiya gaya
Ab maano d = distance slope ke neeche measure kiya gaya hai (positive matlab aur neeche). Yeh Cell B hai: jaise d badhta hai, height girti hai, toh V ki negative slope hai.
Forecast: block neeche jaate hue speed up karti hai, toh hum expect karte hain d ¨ > 0 (positive).
Starting point se upar height ab − d sin α hai (neeche jaana = negative height).
Yeh step kyun? Sign ke baare mein honest rehna hoga: neeche matlab lower potential.
T = 2 1 m d ˙ 2 , V = − m g d sin α , toh L = 2 1 m d ˙ 2 + m g d sin α .
Yeh step kyun? Negative V ke saath L = T − V ek plus ban jaata hai; yeh sign flip hi Ex 1 se poora fark hai.
Velocity half: ∂ d ˙ ∂ L = m d ˙ , phir d t d ( ∂ d ˙ ∂ L ) = d t d ( m d ˙ ) = m d ¨ .
Yeh step kyun? Hamesha wahi engine — velocity-slope, phir iska time-derivative.
Position half: ∂ d ∂ L = + m g sin α .
Yeh step kyun? + V contribution position-slope ko positive banata hai — forward push ka source.
EL: m d ¨ − m g sin α = 0 ⇒ d ¨ = + g sin α .
Yeh step kyun? Dono halves ko d t d ∂ d ˙ ∂ L − ∂ d ∂ L = 0 mein daalne se equation of motion milti hai.
Verify: Positive, forecast ke anusaar. Aur notice karo yeh Ex 1 jaisi exact same physics hai — coordinate ki direction flip karne se V ke slope ka sign flip hua, jisne acceleration ka sign flip kiya. Duniya nahi badlti; sirf hamaari bookkeeping badlti hai. Yahi reason hai ki Lagrangian coordinate-agnostic hota hai. Units: g sin α m/s 2 mein hai, ek acceleration. ✓
Worked example Ex 3 · Pendulum,
ℓ -dependence ke liye re-examined
Mass m ka bob ek rod par jo ℓ length ka hai, downward vertical se angle θ par. Yeh Cell C hai kyunki bob ki speed ℓ θ ˙ hai — length velocity ko multiply karti hai , toh T mein ℓ 2 aata hai.
Forecast: chhote swings spring jaisi lagni chahiye (θ ¨ ∝ − θ ); bade swings mein restoring pull slow honi chahiye (kyunki sin θ bend ho jaata hai).
Figure — pendulum geometry.
White pivot se yellow bob tak ek blue rod; green arc angle θ hai dotted vertical se; green tangent arrow bob ki speed ℓ θ ˙ hai (rod ke perpendicular); red dashed segment lowest point se upar uthi height hai, ℓ ( 1 − cos θ ) . Steps 1 aur 2 literally is picture se padhe jaate hain.
Bob ki speed = ℓ θ ˙ (arc-length rate: radius times angular rate — green tangent arrow dekho).
Yeh step kyun? T ke liye real speed chahiye, sirf θ ˙ nahi.
Lowest point se upar height = ℓ ( 1 − cos θ ) (figure mein laal gap).
Yeh step kyun? V ko actual height chahiye; ℓ ( 1 − cos θ ) yeh hai ki bob kitna utha hai.
T = 2 1 m ℓ 2 θ ˙ 2 , V = m g ℓ ( 1 − cos θ ) , L = 2 1 m ℓ 2 θ ˙ 2 − m g ℓ ( 1 − cos θ ) .
Yeh step kyun? L = T − V assemble karo; note karo θ ab T aur V dono mein aata hai — Cell C ka feature.
Velocity half: ∂ θ ˙ ∂ L = m ℓ 2 θ ˙ , phir d t d ( ∂ θ ˙ ∂ L ) = m ℓ 2 θ ¨ .
Yeh step kyun? Velocity-slope phir iska time-derivative — engine ka pehla half, ab ℓ 2 carry karte hue.
Position half: ∂ θ ∂ L = − m g ℓ sin θ (− m g ℓ ( 1 − cos θ ) ka derivative; sin is liye aata hai kyunki d θ d ( − cos θ ) = sin θ ; yahan T mein koi θ nahi toh sirf V contribute karta hai).
Yeh step kyun? Engine ka doosra half — restoring "torque per unit angle".
EL: m ℓ 2 θ ¨ + m g ℓ sin θ = 0 ⇒ θ ¨ = − ℓ g sin θ .
Yeh step kyun? Dono halves ko d t d ∂ θ ˙ ∂ L − ∂ θ ∂ L = 0 mein combine karo equation of motion paane ke liye.
Verify: Small-angle limit sin θ ≈ θ se θ ¨ = − ℓ g θ milta hai, simple harmonic with ω = g / ℓ . ✓ θ = 0 par (seedha neeche hanging): θ ¨ = 0 , ek equilibrium. ✓ θ = π par (seedha upar balanced): sin π = 0 toh θ ¨ = 0 bhi — ek unstable equilibrium, physically correct. ✓ Units: g / ℓ s − 2 mein hai, dimensionless sin θ se multiply ho ke → rad/s 2 . ✓
Worked example Ex 4 · Frictionless line par spring se jude do masses
Masses m each rail par positions x 1 aur x 2 par hain, spring constant k aur natural length ℓ 0 wali spring se jude hain. Do coordinates → do Euler–Lagrange equations.
Forecast: spring sirf stretch x 2 − x 1 ki parwah karti hai, toh dono equations mirror images honi chahiye jo masses ko ek doosre ki taraf ya door push karti hain.
T = 2 1 m x ˙ 1 2 + 2 1 m x ˙ 2 2 (har mass apni kinetic energy carry karta hai).
Yeh step kyun? Kinetic energy independent particles mein additive hoti hai.
Stretch = ( x 2 − x 1 ) − ℓ 0 , toh V = 2 1 k [ ( x 2 − x 1 ) − ℓ 0 ] 2 .
Yeh step kyun? Ek spring 2 1 k ( stretch ) 2 store karti hai, aur stretch relative separation minus natural length hota hai.
L = T − V .
Yeh step kyun? Lagrangian assemble karo; kyunki V mein x 1 aur x 2 dono milte hain, do coordinates couple ho jaayenge.
x 1 ke liye: velocity half ∂ x ˙ 1 ∂ L = m x ˙ 1 , phir d t d ( ∂ x ˙ 1 ∂ L ) = m x ¨ 1 ; position half ∂ x 1 ∂ L = + k [ ( x 2 − x 1 ) − ℓ 0 ] (chain rule; − x 1 ka inner derivative + deta hai).
Yeh step kyun? Yaad rakho q aur q ˙ independent hain — jab hum x 1 ke respect mein differentiate karte hain toh x ˙ 1 frozen rehta hai, toh sirf V position half mein contribute karta hai.
x 1 ke liye EL: m x ¨ 1 = k [ ( x 2 − x 1 ) − ℓ 0 ] .
Yeh step kyun? Engine d t d ∂ x ˙ 1 ∂ L − ∂ x 1 ∂ L = 0 mass-1 ki equation deta hai.
x 2 ke liye: identical steps velocity half m x ¨ 2 aur position half ∂ x 2 ∂ L = − k [ ( x 2 − x 1 ) − ℓ 0 ] dete hain, toh EL: m x ¨ 2 = − k [ ( x 2 − x 1 ) − ℓ 0 ] .
Yeh step kyun? Har coordinate ko apna khud ka Euler–Lagrange equation milta hai; yahan sign flip hota hai kyunki x 2 stretch mein + ke saath enter hota hai.
Verify: Dono equations add karo: m x ¨ 1 + m x ¨ 2 = 0 , toh center of mass accelerate nahi karta — momentum conserved, isolated pair ke liye correct. ✓ Subtract karo: r = x 2 − x 1 ke saath, m r ¨ = − 2 k ( r − ℓ 0 ) , natural length ke baare mein frequency ω = 2 k / m wala clean oscillator. ✓ Mirror symmetry confirmed. Units: k [( x 2 − x 1 ) − ℓ 0 ] ( N/m ) ( m ) = N hai, aur m x ¨ kg ⋅ m/s 2 = N hai — dono sides forces hain. ✓
Worked example Ex 5 · Free particle plane par, polar coordinates mein
Ek puck horizontal plane par freely slide karta hai (koi potential nahi). Polar coordinates ( r , ϕ ) mein, T = 2 1 m ( r ˙ 2 + r 2 ϕ ˙ 2 ) , V = 0 . Notice karo: ϕ L mein appear hi nahi karta , sirf ϕ ˙ karta hai. Aisa coordinate cyclic ya ignorable kehlaata hai.
Forecast: agar ϕ missing hai, toh iska Euler–Lagrange equation hume free mein ek conserved quantity dena chahiye — angular momentum.
L = 2 1 m ( r ˙ 2 + r 2 ϕ ˙ 2 ) .
Yeh step kyun? V = 0 ke saath L = T − V assemble karo; note karo ϕ khud absent hai — Cell E ka feature.
ϕ ke liye (velocity half): generalized momentum hai p ϕ = ∂ ϕ ˙ ∂ L = m r 2 ϕ ˙ . (Dekho Generalized Momentum and Conservation .)
Yeh step kyun? Yeh ∂ ϕ ˙ ∂ L hai, woh quantity jiska time-derivative engine track karta hai.
ϕ ke liye (position half): ∂ ϕ ∂ L = 0 kyunki ϕ literally kabhi appear hi nahi karta.
Yeh step kyun? Missing coordinate ka position-slope zero hota hai — yahi ise cyclic banata hai.
ϕ ke liye EL: d t d ( ∂ ϕ ˙ ∂ L ) − ∂ ϕ ∂ L = d t d ( m r 2 ϕ ˙ ) − 0 = 0 , isliye m r 2 ϕ ˙ = constant .
Yeh step kyun? Jab position-slope zero ho, toh engine kehta hai velocity-slope (momentum) conserved hai.
r ke liye (dono halves): ∂ r ˙ ∂ L = m r ˙ ⇒ d t d ( m r ˙ ) = m r ¨ ; aur ∂ r ∂ L = m r ϕ ˙ 2 . EL: m r ¨ − m r ϕ ˙ 2 = 0 ⇒ m r ¨ = m r ϕ ˙ 2 .
Yeh step kyun? Doosra coordinate abhi bhi apna full Euler–Lagrange equation leta hai — r -equation centrifugal term m r ϕ ˙ 2 carry karta hai.
Verify: m r 2 ϕ ˙ exactly ek particle ka angular momentum L z hai — conservation ek missing variable se drop out ho jaata hai, koi torque analysis ki zaroorat nahi. ✓ Radial equation m r ¨ = m r ϕ ˙ 2 jaana-pehchaana outward centrifugal effect hai. ✓ Units: p ϕ = m r 2 ϕ ˙ ke units kg ⋅ m 2 ⋅ s − 1 hain, angular momentum ka correct dimension. ✓
Worked example Ex 6 · 1D mein free particle — sabse simple limit
Koi forces nahi, koi potential nahi: V = 0 , T = 2 1 m x ˙ 2 . Yeh matrix ka degenerate end hai, sanity floor.
Forecast: kuch bhi push nahi karta, toh hum expect karte hain x ¨ = 0 — constant velocity, straight-line motion (Newton's first law).
L = 2 1 m x ˙ 2 .
Yeh step kyun? V = 0 ke saath L = T − V assemble karo; kuch subtract karna nahi.
Velocity half: ∂ x ˙ ∂ L = m x ˙ , phir d t d ( m x ˙ ) = m x ¨ .
Yeh step kyun? Velocity-slope phir iska time-derivative — engine ka pehla half.
Position half: ∂ x ∂ L = 0 (L mein koi x nahi).
Yeh step kyun? Koi potential nahi matlab koi position-slope nahi, toh x bhi cyclic hai.
EL: m x ¨ − 0 = 0 ⇒ x ¨ = 0.
Yeh step kyun? Zero position-slope wala engine zero acceleration force karta hai.
Verify: x yahan bhi cyclic hai, toh momentum p = m x ˙ conserved hai — constant velocity, exactly Newton's first law aur woh base case jis par poora framework reduce hona chahiye. ✓ Units: m x ¨ kg ⋅ m/s 2 = N hai; ise zero set karna kehta hai "zero net force". ✓ V = 0 generalization ke liye dekho Newton's Second Law aur yeh samajhne ke liye ki straight line stationary path kyun hai Principle of Least Action .
Worked example Ex 7 · Mass spring par,
x = 0 ke DONO sides check kiya gaya
L = 2 1 m x ˙ 2 − 2 1 k x 2 . Hum pehle se jaante hain EL equation m x ¨ + k x = 0 hai. Cell G ka point yeh confirm karna hai ki force sign har case mein restoring hai : x > 0 , x < 0 , aur x = 0 .
Forecast: acceleration hamesha x = 0 ki taraf wapas point karna chahiye.
EL equation m x ¨ = − k x se. Sign behaviour ko concrete aur hand-wave se pare banane ke liye, hum specific numbers daalte hain k = 4 N/m , m = 1 kg — yahan ek numeric example behtar hai kyunki pedagogical claim cases mein signs ke baare mein hai, aur koi cheez sign error ko numbers ke flip hote dekhe bina itni jaldi expose nahi karti.
Yeh step kyun? Clean numbers choose karna ek abstract "− k x " ko teen checkable arithmetic facts mein badal deta hai.
Case x = + 3 : x ¨ = − 4 ( 3 ) = − 12 — left kheencha (negative), origin ki taraf wapas. ✓
Yeh step kyun? Positive-displacement quadrant test karta hai.
Case x = − 3 : x ¨ = − 4 ( − 3 ) = + 12 — right push kiya (positive), origin ki taraf wapas. ✓
Yeh step kyun? Negative-displacement quadrant test karta hai — sign flip hona chahiye.
Case x = 0 : x ¨ = 0 — equilibrium par koi force nahi. ✓
Yeh step kyun? Degenerate point test karta hai taaki koi scenario na chhoota rahe.
Verify: Teeno cases mein sign ( x ¨ ) = − sign ( x ) , restoring force ki defining property. Frequency ω = k / m = 4/1 = 2 rad/s . ✓ Units: x ¨ m/s 2 mein aaya (N/m over kg times m ), aur ω s − 1 mein. ✓
Worked example Ex 8 · Fixed rate
Ω par spinning hoop par bead (the twist)
Mass m ka ek bead ek frictionless circular wire of radius R par slide karta hai. Hoop ko ek vertical diameter ke baare mein constant angular speed Ω par spin karne ke liye forced kiya gaya hai. Maano θ = hoop ke bottom se bead ka angle. Yeh exam twist hai: spin ek extra kinetic term inject karta hai aur ek effective potential create karta hai.
Forecast: slow spin mein bead bottom par baithna chahiye (θ = 0 ); zyada tez spin mein, centrifugal effects ek naya stable angle side par upar push karna chahiye.
Figure — bead on the spinning hoop.
Ek blue circle (the hoop) jisme white dotted vertical spin-axis hai; top par yellow arrow forced spin Ω hai; red dot angle θ par bead hai (green arc) bottom tak dotted radius se; yellow dashed segment bead ki axis se distance hai, R sin θ , yahi reason hai ki spin iske speed mein R sin θ Ω contribute karta hai.
Bead ki velocity ke do perpendicular pieces hain: wire ke along, speed R θ ˙ ; aur spin axis ke around, speed R sin θ ⋅ Ω (axis se uski distance R sin θ hai). Kyunki woh perpendicular hain, v 2 = R 2 θ ˙ 2 + R 2 sin 2 θ Ω 2 , toh
T = 2 1 m ( R 2 θ ˙ 2 + R 2 sin 2 θ Ω 2 ) .
Yeh step kyun? Forced spin ek constraint hai jo hamare coordinate mein work karta hai , toh yeh T mein land karta hai, V mein nahi; hum do perpendicular speeds ko Pythagoras se add karte hain.
Bottom se upar height = R ( 1 − cos θ ) , toh V = m g R ( 1 − cos θ ) .
Yeh step kyun? Gravity ek genuine potential hai; height exactly pendulum ki tarah padhi jaati hai.
L = 2 1 m R 2 θ ˙ 2 + 2 1 m R 2 Ω 2 sin 2 θ − m g R ( 1 − cos θ ) banao.
Yeh step kyun? L = T − V assemble karo; beech wala term spin ka gift hai aur ek negative potential ki tarah act karega.
Velocity half: ∂ θ ˙ ∂ L = m R 2 θ ˙ , phir d t d ( ∂ θ ˙ ∂ L ) = m R 2 θ ¨ .
Yeh step kyun? Ω -term mein koi θ ˙ nahi hai, toh velocity-slope plain pendulum jaisa hi hai.
Position half: ∂ θ ∂ L = m R 2 Ω 2 sin θ cos θ − m g R sin θ .
Yeh step kyun? Ab θ dono mein hai — spin-kinetic term aur V mein — toh dono position-slope mein contribute karte hain (chain rule on sin 2 θ gives 2 sin θ cos θ , 2 1 cancel ho jaata hai).
EL: m R 2 θ ¨ − ( m R 2 Ω 2 sin θ cos θ − m g R sin θ ) = 0 , toh
θ ¨ = Ω 2 sin θ cos θ − R g sin θ = sin θ ( Ω 2 cos θ − R g ) .
Yeh step kyun? Engine d t d ∂ θ ˙ ∂ L − ∂ θ ∂ L = 0 equation of motion deliver karta hai; equilibria expose karne ke liye sin θ factor karo.
Verify: Equilibria jahan θ ¨ = 0 : ya toh sin θ = 0 (bottom θ = 0 ) ya cos θ = R Ω 2 g . Woh doosra solution tabhi exist karta hai jab R Ω 2 g ≤ 1 , yaani jab Ω 2 ≥ R g — ek critical spin rate Ω c = g / R , exactly forecast. ✓ Ω c se neeche bracket Ω 2 cos θ − g / R < 0 θ = 0 ke paas hota hai, toh bottom stable hai. ✓ Units: Ω 2 aur g / R dono s − 2 mein hain, aur θ ¨ rad/s 2 mein aata hai. ✓
Recall Har naya problem kis cell mein hai? (answers cover karo)
Ek block hill se neeche slide karta hai, coordinate down-slope ::: Cell B — negative-slope potential.
Ek double pendulum ::: Cell D — coupled coordinates (do EL equations).
Ek planet freely orbit karta hai, angle coordinate ::: Cell E — cyclic coordinate, angular momentum conserved.
Koi forces nahi wala ek puck ::: Cell F — degenerate, V = 0 , constant velocity.
Driven pivot par ek pendulum ::: Cell H — constraint jo T mein add karti hai.
Mnemonic Woh workflow jo kabhi nahi badlta
"Speed it, Stack it, Slope it twice." Speed → T likho; Stack → V likho; Slope twice → ∂ / ∂ q ˙ phir d / d t , aur ∂ / ∂ q ; subtract karo; zero set karo.