Demystifier
Science Advisor
- 14,568
- 7,161
I find it hard to believe, because there is a general theorem telling that energy is conserved whenever the Hamiltonian does not have an explicit time dependence. In our case the Hamiltonian is essentiallymartinbn said:Erm, I did. And they don't cancel. Did you try it? Take two degrees of freedom with different k's and m's, then it is obvious that one term will cancel and the other will be left.
$$H=\frac{p_1^2}{2}+\frac{p_2^2}{2}-\alpha_1^2\frac{x_1^2}{2}-\alpha_2^2\frac{x_2^2}{2}$$
where ##\alpha_i^2=-\omega_i^2## are positive constants. Hence the Hamiltonian does not have an explicit time dependence so the theorem should apply. Indeed, since the Hamiltonian is diagonalized, i.e. there is no coupling between ##x_1## and ##x_2##, the Hamiltonian is simply
$$H=H_1+H_2$$
so each ##H_i## is conserved separately, as in the case of only one degree of freedom. Since this contradicts your result, can you present the essential steps of your calculation?
Anyway, here is mine calculation. The equations of motion (in the Newton form) are
$$\ddot{x}_i(t)=\alpha_i^2x_i(t)$$
so the general solution is
$$x_i(t)=c_{i+}e^{\alpha_i t}+c_{i-}e^{-\alpha_i t}$$
where ##c_{i\pm}## are arbitrary constants. Hence
$$x_i^2(t)=c_{i+}^2e^{2\alpha_i t}+c_{i-}^2e^{-2\alpha_i t}+c_{i+}c_{i-}$$
$$\dot{x}_i(t)=\alpha_i(c_{i+}e^{\alpha_i t}-c_{i-}e^{-\alpha_i t})$$
$$\dot{x}_i^2(t)=\alpha_i^2(c_{i+}^2e^{2\alpha_i t}+c_{i-}^2e^{-2\alpha_i t}-c_{i+}c_{i-})$$
Therefore
$$\dot{x}_i^2(t)-\alpha_i^2x_i^2(t)=-2\alpha_i^2c_{i+}c_{i-}$$
is time independent, so finally we have the energy
$$H=\sum_{i=1,2} \frac{1}{2}\left( \dot{x}_i^2(t)-\alpha_i^2x_i^2(t) \right) =-\sum_{i=1,2} \alpha_i^2c_{i+}c_{i-}$$
which is time independent, Q.E.D.
Last edited: