Classical Hamiltonian: Energy Conservation?

AI Thread Summary
The discussion centers on the conservation of energy in classical Hamiltonian mechanics, specifically when the Hamiltonian H does not explicitly depend on time. It is established that if H is time-independent, the Poisson bracket {H, H} equals zero, indicating energy conservation despite the time dependence of generalized coordinates p and q. Conversely, if H explicitly depends on time, the Poisson bracket does not equal zero, leading to non-conservation of energy. The participants also clarify the sign convention in the definition of the Poisson bracket, noting that it can vary, which affects the interpretation of the equations. Overall, the key takeaway is that the explicit time dependence of H is crucial for determining energy conservation in this framework.
KFC
Messages
477
Reaction score
4
If the classical Hamiltonian is define as

H = f(q, p)

p, q is generalized coordinates and they are time-dependent. But H does not explicitly depend on time. Can I conclude that the energy is conserved (even q, p are time-dependent implicitly)? Namely, if no matter if p, q are time-dependent or not, if H does not contains t explicitly, I find that the Poisson bracket

\left\{H, H\right\} \equiv 0

so the energy is conserved, right?

But what about if H explicitly depend on time? According to the definition of Poisson bracket, \left\{H, H\right\} \neq 0 ?
 
Last edited:
Physics news on Phys.org
Short answer is YES!

Long answer. Once the hamiltonian is defined the the time evolution of any quantity is given by:

\frac{d}{dt}F = [[H,F]] + \frac{\partial}{\partial t}F
where [[ ]] is the Poisson bracket and the partial derivative applies to explicit time dependence. Since:
[[H,H]] = 0
and there is no explicit time dependence you get:
\frac{d H}{dt} = 0

Expand this in terms of p and q time dependence and you'll get a relationship which becomes the Jacobi identity when you introduce Hamilton's equations.
 
jambaugh said:
Short answer is YES!

Long answer. Once the hamiltonian is defined the the time evolution of any quantity is given by:

\frac{d}{dt}F = [[H,F]] + \frac{\partial}{\partial t}F
where [[ ]] is the Poisson bracket and the partial derivative applies to explicit time dependence. Since:
[[H,H]] = 0
and there is no explicit time dependence you get:
\frac{d H}{dt} = 0

Expand this in terms of p and q time dependence and you'll get a relationship which becomes the Jacobi identity when you introduce Hamilton's equations.

Thank you so much. I look up the evolution relation in some textbook, but it reads

\frac{d}{dt}F = [[F,H]] + \frac{\partial}{\partial t}F

I wonder if I should exchange F, H in poisson bracket?
 
Last edited:
KFC said:
Thank you so much. I look up the evolution relation in some textbook, but it reads

\frac{d}{dt}F = [[F,H]] + \frac{\partial}{\partial t}F

I wonder if [[F, H]] = [[H, F]] ?

No actually [[F,H]] = - [[H,F]]

But there is a convention choice which is not quite uniform in the sign of the Poisson bracket. Its a matter of whether you define:

[[A,B]] = \frac{\partial A}{\partial p}\frac{\partial B}{\partial q}-\frac{\partial B}{\partial p}\frac{\partial A}{\partial q}
vs.
[[A,B]] = \frac{\partial A}{\partial q}\frac{\partial B}{\partial p}-\frac{\partial B}{\partial q}\frac{\partial A}{\partial p}
(note p and q are reversed.)

To conform with your reference reverse my Poisson brackets. (I recommend you stick to convention and do this.)

I prefer to (buck convention and) reverse the sign/order so that for canonical conjugate variables U and V:

\frac{d}{dV} F = [[U,F]]

This fits better with the conventions for generators in Lie algebras.
 
jambaugh said:
No actually [[F,H]] = - [[H,F]]

But there is a convention choice which is not quite uniform in the sign of the Poisson bracket. Its a matter of whether you define:

[[A,B]] = \frac{\partial A}{\partial p}\frac{\partial B}{\partial q}-\frac{\partial B}{\partial p}\frac{\partial A}{\partial q}
vs.
[[A,B]] = \frac{\partial A}{\partial q}\frac{\partial B}{\partial p}-\frac{\partial B}{\partial q}\frac{\partial A}{\partial p}
(note p and q are reversed.)

To conform with your reference reverse my Poisson brackets. (I recommend you stick to convention and do this.)

I prefer to (buck convention and) reverse the sign/order so that for canonical conjugate variables U and V:

\frac{d}{dV} F = [[U,F]]

This fits better with the conventions for generators in Lie algebras.

Got u. Thanks a lot. X'mas
 
Thread 'Gauss' law seems to imply instantaneous electric field propagation'
Imagine a charged sphere at the origin connected through an open switch to a vertical grounded wire. We wish to find an expression for the horizontal component of the electric field at a distance ##\mathbf{r}## from the sphere as it discharges. By using the Lorenz gauge condition: $$\nabla \cdot \mathbf{A} + \frac{1}{c^2}\frac{\partial \phi}{\partial t}=0\tag{1}$$ we find the following retarded solutions to the Maxwell equations If we assume that...
Maxwell’s equations imply the following wave equation for the electric field $$\nabla^2\mathbf{E}-\frac{1}{c^2}\frac{\partial^2\mathbf{E}}{\partial t^2} = \frac{1}{\varepsilon_0}\nabla\rho+\mu_0\frac{\partial\mathbf J}{\partial t}.\tag{1}$$ I wonder if eqn.##(1)## can be split into the following transverse part $$\nabla^2\mathbf{E}_T-\frac{1}{c^2}\frac{\partial^2\mathbf{E}_T}{\partial t^2} = \mu_0\frac{\partial\mathbf{J}_T}{\partial t}\tag{2}$$ and longitudinal part...
Thread 'Recovering Hamilton's Equations from Poisson brackets'
The issue : Let me start by copying and pasting the relevant passage from the text, thanks to modern day methods of computing. The trouble is, in equation (4.79), it completely ignores the partial derivative of ##q_i## with respect to time, i.e. it puts ##\partial q_i/\partial t=0##. But ##q_i## is a dynamical variable of ##t##, or ##q_i(t)##. In the derivation of Hamilton's equations from the Hamiltonian, viz. ##H = p_i \dot q_i-L##, nowhere did we assume that ##\partial q_i/\partial...
Back
Top