Rasalhague
- 1,383
- 2
I've just encountered the terms Hamiltonian and Lagrangian. I've read that the Hamiltonian is the total energy H = T + U, while the Lagrangian L = T - U, where T is kinetic energy, and U potential energy. In the case of Newtonian gravitational potential energy,
U = -G\frac{Mm}{r}.
So am I right in thinking that, in this case,
H = \frac{1}{2}mv^{2} - G\frac{Mm}{r}
and
L = \frac{1}{2}mv^{2} + G\frac{Mm}{r} ?
That's to say, is the sign of the potential significant, rather than just the absolute value?
U = -G\frac{Mm}{r}.
So am I right in thinking that, in this case,
H = \frac{1}{2}mv^{2} - G\frac{Mm}{r}
and
L = \frac{1}{2}mv^{2} + G\frac{Mm}{r} ?
That's to say, is the sign of the potential significant, rather than just the absolute value?