The Role of Hamiltonian Time Dependence in Energy Conservation

In summary: in terms of the lab frame coordinates x,y, and using the equation of motion gives\frac{d}{dt}r = -kx^2+vy^2which becomes\frac{d}{dt}r = -kx^2+vy^2orr = (-kx,y)...
  • #1
Wminus
173
29
Hi. Say we have found a hamiltonian ##H## for some system.

So I know that if ##\frac{\partial H }{\partial t} \neq 0## then obviously the energy of the system is not conserved.

But if ##\frac{\partial H }{\partial t} = 0##, is the energy always conserved? Or do we need to find that ##\frac{d H }{dt} = 0## to know for sure?
 
Physics news on Phys.org
  • #2
Hamiltonian gives the energy of a system.
Let's discuss the case of pure states (where we have quantum states that can be written as vectors ## | \psi \rangle ##).
Conservation of energy means that the (expectation value of) amount of energy does not change in time, i.e. ## \mathrm{d} \langle \psi | \hat{H} | \psi \rangle /\mathrm{d}t= 0##.
You can write down the time evolution of the expectation value of an operator as:
$$ \frac{\mathrm{d}}{\mathrm{d}t} \langle \psi | \hat{A} | \psi \rangle = \frac{i}{\hbar} \langle \psi | \big[ \hat{A},\hat{H} \big] | \psi \rangle + \partial_t \langle \psi | \hat{A} | \psi \rangle $$
so for Hamiltonian the time-derivatives are equal, ## \mathrm{d}\langle \psi | \hat{H} | \psi \rangle /\mathrm{d}t= \partial_t \langle \hat{H} \rangle ##. This means that if ## \partial_t \hat{H}= 0##, the expectation value of energy is a constant, which means that energy is conserved.
When your states are pure, you have a isolated system (with no particle or energy flow). Then again, when your Hamiltonian describes an isolated system, I believe it can always be written in so called Schrödinger picture, where it is constant in time. Conversely, when your Hamiltonian depends on time, some external forces are doing work on your system.
Did this help at all?

Edit: I just realized that you were talking about classical systems. Well, there's a similar equation for the time-evolution of functions in phase space for classical systems. In these, the commutator ## [A,B]## is replaced by Poisson brackets ## \{ A,B\} ## . But it gives out the same result:
$$ \frac{\mathrm{d}H}{\mathrm{d}t}= \partial_t H + \{ H,H \}= \partial_t H.$$
So indeed, ## \partial_t H= 0 ## should suffice.
 
Last edited:
  • Like
Likes Wminus
  • #3
terra said:
Hamiltonian gives the energy of a system.
More probably in MQ, but in general this statement is false. There are simple example in classical mechanics where H is not the energy of the system, as you probably already know.
One example: A straight pipe is in constant angular rotation around an axis passing through its centre. A ball of mass m is inside the pipe and can move through it without friction but is connected to the pipe's centre with a spring of constant k. The lagrange function L is Ek - V (kinetic minus potential energy) while the Hamiltonian is (@L/@r') r' - L, wher r is the coordinate of the ball (displacement fron the pipe's centre) and r' is its time derivative.

--
lightarrow
 
Last edited:
  • #4
lightarrow said:
More probably in MQ, but in general this statement is false. There are simple example in classical mechanics where H is not the energy of the system, as you probably already know.
True, thanks for the correction (as you can see, at first I talked about quantum systems). I've heard this before, but I must admit I haven't thought about it that much.
In your example the idea is to get the equation of motion for the ball in pipe's rest frame? The pipe doesn't rotate in its rest frame, so one doesn't include the ball's rotational energy (assuming the ball can only move forward or backward inside the pipe) and as such, H is not the total energy of the ball in that frame? (In quantum mechanics, the analogue is maybe the transformation from Schrödinger picture into interaction picture.) Based on your example it seems like the choice of coordinates determines whether H is the total energy or not?
 
  • #5
terra said:
True, thanks for the correction (as you can see, at first I talked about quantum systems). I've heard this before, but I must admit I haven't thought about it that much.
In your example the idea is to get the equation of motion for the ball in pipe's rest frame? The pipe doesn't rotate in its rest frame, so one doesn't include the ball's rotational energy (assuming the ball can only move forward or backward inside the pipe) and as such, H is not the total energy of the ball in that frame? (In quantum mechanics, the analogue is maybe the transformation from Schrödinger picture into interaction picture.) Based on your example it seems like the choice of coordinates determines whether H is the total energy or not?
No, the idea is to get everything in the lab frame. Now I hope you will forgive me for not using latex but I'm not expert.
In the lab frame:
V = potential energy = 1/2 k r2 where r, as said, is the coordinate distance from the centre, directed from the centre outwards (assuming a spring with zero length at rest).
Writing the position vector r = (x,y) = (r cos(ωt),r sin(ωt)), ω = angular speed, constant, you easily find
|r'|2, where r' = dr/dt, and then kinetic energy which results as: Ek = 1/2 m (r'2 + r2ω2).
At this point you can write the lagrange function:

L = Ek - V = 1/2 m (r'2 + r2ω2) - 1/2 k r2.

As you see we have one degree of freedom only in this system. The lagrange equation is:
@L/@r = (d/dt)(@L/@r') --> m r ω2 - k r = (d/dt)(m r') = mr'' -->

r'' = r ω2 - (k/m) r. I will use this last equation to evaluate the time variation of energy and of the hamiltonian.

By definition, the hamiltonian is: H = Σi piq'i - L

where pi = @L/@q'i; q'i = dqi/dt

Here we have: H = p r' - L = @L/@r' - L = 1/2 m (r'2 - r2ω2) + 1/2 k r2

Now the energy. By definition it's: E = Ek + V = 1/2 m (r'2 + r2ω2) + 1/2 k r2

You see that H is different from E because of the sign of the term r2ω2.
But this is not the only thing. The best part is that H is conserved, but energy is not!

dH/dt = 1/2 m (2r' r'' - 2r r' ω2) + k r r' = (now I use the result of the lagrange equation to write r'') =

= m r'(r ω2 - (k/m) r) - m r r' ω2 + k r r' = 0

dE/dt = m r'(r ω2 - (k/m) r) + m r r' ω2 + k r r' = 2m r r' ω2 ≠ 0.

As homework for you (if you want to do it, of course...): what happens in the pipe's rest frame? E and H are still different? E is conserved or not in that frame?

--
lightarrow
 
Last edited:
  • Like
Likes terra
  • #6
Wminus said:
Hi. Say we have found a hamiltonian ##H## for some system.

So I know that if ##\frac{\partial H }{\partial t} \neq 0## then obviously the energy of the system is not conserved.

But if ##\frac{\partial H }{\partial t} = 0##, is the energy always conserved? Or do we need to find that ##\frac{d H }{dt} = 0## to know for sure?
At least if the system is holonomic, ##\frac{d H }{dt} = \frac{\partial H }{\partial t}##, so if the second is zero, it's zero even the first.
But concerning energy, is another story, as I wrote in my previous post (because H is not always total energy).

--
lightarrow
 
  • #7
lightarrow said:
You see that H is different from E because of the sign of the term r2ω2.
But this is not the only thing. The best part is that H is conserved, but energy is not!
I see. Thank you for explaining (and apologies for my slow replies). I see that energy and Hamiltonian coincide in the rotating frame, and are both conserved in that frame.
About when ## H## is and isn't energy (in a classical system). One can write down the following.
## H= p_i \dot{q}_i - L## and ## E= T + V##, where ##L= T - V ## and ## p_i= \partial L/ \partial q_i ##.

The kinetic energy of a single, non-relativistic object: ##T= 1/2 \, m \dot{q}^2 + 1/2 \, I \omega^2 ##.
The potential energy for an object could generally be a function ## V= V(t,...,q_i,...,\dot{q}_i,...) ##.
Then $$ H= \frac{1}{2} m \dot{q}_i^2 - \frac{1}{2} I \omega^2 + \frac{\partial V}{\partial \dot{q}_i} \dot{q}_i + V(q_i,\dot{q}_i).$$

Well. If the force acting on the object is conservative, ## \boldsymbol{F}= \boldsymbol{F}(\boldsymbol{q})## so that ##V= V (\boldsymbol{q})## and third term drops out. Moreover, if the body has no total angular momentum, to me it seems energy and Hamiltonian should coincide. (This was for one body and in non-relativistic case.) At least the orbital angular momentum of a body can be forgotten with a specific choice of coordinates.
What do you think?

Also,
lightarrow said:
At least if the system is holonomic, ##\frac{d H }{dt} = \frac{\partial H }{\partial t}##, so if the second is zero, it's zero even the first.
I can't see how holonomy affects the situation i.e. what happens to the form of time-evolution (see my first reply) if there are non-holonomic (non-integrable, that don't reduce number of degrees of freedom) constraints?
 
Last edited:
  • #8
terra said:
I see. Thank you for explaining (and apologies for my slow replies). I see that energy and Hamiltonian coincide in the rotating frame, and are both conserved in that frame.
About when ## H## is and isn't energy (in a classical system). One can write down the following.
## H= p_i \dot{q}_i - L## and ## E= T + V##, where ##L= T - V ## and ## p_i= \partial L/ \partial q_i ##.
You forgot a point on q_i, it's ## p_i= \partial L/ \partial \dot{q}_i ## but it's clear you wanted to write it.
The kinetic energy of a single, non-relativistic object: ##T= 1/2 \, m \dot{q}^2 + 1/2 \, I \omega^2 ##.
The potential energy for an object could generally be a function ## V= V(t,...,q_i,...,\dot{q}_i,...) ##.
Then $$ H= \frac{1}{2} m \dot{q}_i^2 - \frac{1}{2} I \omega^2 + \frac{\partial V}{\partial \dot{q}_i} \dot{q}_i + V(q_i,\dot{q}_i).$$

Well. If the force acting on the object is conservative, ## \boldsymbol{F}= \boldsymbol{F}(\boldsymbol{q})## so that ##V= V (\boldsymbol{q})## and third term drops out. Moreover, if the body has no total angular momentum, to me it seems energy and Hamiltonian should coincide. (This was for one body and in non-relativistic case.) At least the orbital angular momentum of a body can be forgotten with a specific choice of coordinates.
What do you think?
Ok. However, in rotating or, in general, non inertial frames, you have to introduce inertial forces and so inertial potential energies (ex. centrifugal potentials in rotating frames).
I can't see how holonomy affects the situation i.e. what happens to the form of time-evolution (see my first reply) if there are non-holonomic (non-integrable, that don't reduce number of degrees of freedom) constraints?
Yes, I think you are right :smile:
 
  • Like
Likes terra

Related to The Role of Hamiltonian Time Dependence in Energy Conservation

1. What is Hamiltonian time dependence?

Hamiltonian time dependence refers to the changes in a system's Hamiltonian over time. The Hamiltonian is a mathematical function that describes the total energy of a system, including both its kinetic and potential energy. When the Hamiltonian is time-dependent, it means that the energy of the system is changing over time, which can affect the system's behavior and evolution.

2. How does Hamiltonian time dependence affect the behavior of a system?

Hamiltonian time dependence can affect the behavior of a system in various ways. It can lead to the system's energy levels changing over time, which can cause the system to undergo transitions from one state to another. It can also cause the system to exhibit oscillatory behavior or chaotic behavior, depending on the specific form of the time-dependent Hamiltonian.

3. What are some examples of systems with Hamiltonian time dependence?

Many physical systems exhibit Hamiltonian time dependence, such as simple harmonic oscillators, pendulums, and quantum systems. In these systems, the Hamiltonian can change due to external forces acting on the system, changes in boundary conditions, or the presence of time-varying potentials.

4. How is Hamiltonian time dependence related to the concept of energy conservation?

The Hamiltonian is a key element in the principle of energy conservation. Since the Hamiltonian describes the total energy of a system, its time dependence directly affects the system's energy conservation. In systems with time-independent Hamiltonians, energy is conserved. However, in systems with time-dependent Hamiltonians, energy can be exchanged with the environment, leading to non-conservation of energy.

5. Can Hamiltonian time dependence be controlled or manipulated?

Yes, Hamiltonian time dependence can be controlled and manipulated in certain systems. For example, in quantum mechanics, the Hamiltonian can be manipulated through external fields such as lasers, which can be used to control the evolution of quantum systems. This manipulation of the Hamiltonian allows for the precise control of the system's behavior and can be used in applications such as quantum computing and quantum information processing.

Similar threads

Replies
1
Views
965
Replies
7
Views
787
Replies
0
Views
225
  • Classical Physics
Replies
1
Views
616
Replies
7
Views
818
Replies
2
Views
3K
Replies
19
Views
1K
Replies
27
Views
2K
  • Classical Physics
Replies
1
Views
516
  • Classical Physics
Replies
1
Views
1K
Back
Top