fluidistic
Gold Member
- 3,928
- 272
Homework Statement
Determine the Hamiltonian corresponding to the an-harmonic oscillator having the Lagrangian L(x,\dot x )=\frac{\dot x ^2}{2}-\frac{\omega ^2 x^2}{2}-\alpha x^3 + \beta x \dot x ^2.
Homework Equations
H(q,p,t)=\sum p_i \dot q _i -L.
p _i=\frac{\partial L}{\partial \dot q _i}.
The Attempt at a Solution
Using the equations in 2), I get p_x= \dot x +2 \beta x \dot x.
So that p_x ^2= \dot x ^2 (1+4 \beta x +4 \beta ^2 x^2).
Now if I can write the following function in function of only p, q and t then it would be the Hamiltonian, but I couldn't do it.
Here's the function: \dot x^2 \left ( \frac{1}{2} +\beta x \right ) +\omega ^2 \frac{x^2}{2}+\alpha x^3.
I see absolutely no way to get rid of the x's terms (or q in this case).
Any help is appreciated. Thanks!