- #71
WannabeNewton
Science Advisor
- 5,844
- 552
Ah but in this case the Hamiltonian would have to be the total energy. This can be seen as follows: let ##r_{\alpha}## be the cartesian coordinates and ##q_{\alpha}## the generalized coordinates so that ##r_{\alpha} = r_{\alpha}(q_{1},...,q_{n})## i.e. there is no explicit time dependence. ##\dot{r_{\alpha}} = \frac{\partial r_{\alpha}}{\partial q_{\beta}}\dot{q_{\beta}}## (implied summation over the ##\beta##'s) hence ##T = \frac{1}{2}\sum _{\alpha}m_{\alpha}\frac{\partial r_{\alpha}}{\partial q_{\beta}}\frac{\partial r_{\alpha}}{\partial q_{\gamma}}\dot{q_{\beta}}\dot{q_{\gamma}}##. Defining ## T^{\beta \gamma} = \sum _{\alpha}m_{\alpha}\frac{\partial r_{\alpha}}{\partial q_{\beta}}\frac{\partial r_{\alpha}}{\partial q_{\gamma}}## for convenience, we have that ##p^{\beta} = \frac{\partial \mathcal{L}}{\partial \dot{q}_{\beta}} = \frac{1}{2}(T^{\beta\gamma}\dot{q}_{\gamma} + T^{\gamma\beta}\dot{q_{\gamma}}) = T^{\beta\gamma}\dot{q}_{\gamma}## (here I have used symmetry of ##T^{\beta\gamma}##). Therefore we see that ##p^{\beta}\dot{q}_{\beta} = 2T## thus ##\mathcal{H} = 2T - \mathcal{L} = 2T - (T - U)) = T + U##.physwizard said:okay, let me just add that i would like an example where the relation between the generalized coordinates and cartesian coordinates does not have an explicit time dependence.
EDIT: BTW I forgot to mention that this only works for Lagrangians that can be written in the form ##\mathcal{L} = T - U##
Last edited: