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 r
2 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' = d
r/dt, and then kinetic energy which results as: Ek = 1/2 m (r'
2 + r
2ω
2).
At this point you can write the lagrange function:
L = Ek - V = 1/2 m (r'
2 + r
2ω
2) - 1/2 k r
2.
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 p
iq'
i - L
where p
i = @L/@q'
i; q'
i = dq
i/dt
Here we have: H = p r' - L = @L/@r' - L = 1/2 m (r'
2 - r
2ω
2) + 1/2 k r
2
Now the energy. By definition it's: E = Ek + V = 1/2 m (r'
2 + r
2ω
2) + 1/2 k r
2
You see that H is different from E because of the sign of the term r
2ω
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