Question #208220

Find the Hamiltonian and write the canonical equations of a harmonic oscillator, if its Lagrangian is L=(x ̇ 2 – ω2x2)




1
Expert's answer
2021-06-18T11:23:41-0400

Hamiltonian in terms of Lagrangian is H=pxLH = p \cdot x - L, where p=Lx˙=2x˙p = \frac{\partial L}{\partial{\dot x}} = 2 \dot{x}. HH is a function of p,xp, x.

Hence, H=2x˙x˙x˙2+ω2x2=x˙2+ω2x2=p24+ω2x2H = 2 \dot{x} \cdot \dot{x} - \dot{x}^2 + \omega^2 x^2 = \dot{x}^2 + \omega^2 x^2 = \frac{p^2}{4} + \omega^2 x^2.

Hamiltonian equations are x˙=Hp\dot{x} = \frac{\partial H}{\partial p}, p˙=Hx\dot{p} = - \frac{\partial H}{\partial x}.

Using Hamilton above: x˙=p2\dot{x} = \frac{p}{2}, p˙=2ω2x\dot{p} = -2 \omega^2 x.

Substituting p=2x˙p = 2 \dot{x} from the first equation into the second, obtain 2x¨=2ω2x2 \ddot{x} = - 2 \omega^2 x, or x¨+ω2x=0\ddot{x} + \omega^2 x = 0, which is the equation of motion of harmonic oscillator.


Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be the first!
LATEST TUTORIALS
APPROVED BY CLIENTS