(adsbygoogle = window.adsbygoogle || []).push({}); 1. The problem statement, all variables and given/known dataCan a system have the total energy conserved but the hamiltonian not conserved?

2. Relevant equationsIf the partial of the lagrangian w.r.t time is zero, energy is conserved.

The hamiltonian is found by the usual method- get the generalized momentum from the lagrangian then plug each into the equation:let me skip typing it in latex. :yuck: Compare this to the total energy.

3. The attempt at a solutionI can work the equations and find L and H. It seems, conceptually, that anytime H does not equal the total energy, then energy is not conserved. I wonder if this always is so. Also, I know that H is not equal to E when the generalized coordinates depend on time. I also have worked problems where H does not equal E but H is conserved.

1. The problem statement, all variables and given/known data

2. Relevant equations

3. The attempt at a solution

**Physics Forums | Science Articles, Homework Help, Discussion**

Join Physics Forums Today!

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

# Homework Help: H and E

**Physics Forums | Science Articles, Homework Help, Discussion**