Lagrangian with generalized positions

In summary, Douglas Clide writes that the Hamiltonian does not equal the total energy of a system if there is a velocity term outside the kinetic term.
  • #1
Heidi
418
40
TL;DR Summary
dependence on generalized velocities
Hi Pfs
When instead of the variables x,x',t the lagrangiean depends on the trandformed variables q,q',t , time may be explicit in this lagrangian and q' (the velocity of q) may appear outside. I am looking for a toy model in which tine is not explicit in L but where the velocities appear somhere else than in the kinetic term.
i would then calculate the conjugated momentum and the hamilttonian (is it consrrained?)
thanks
 
Physics news on Phys.org
  • #2
In most textbook applications time is not explicit in ##L##. The most simple example is a particle in some external potential,
$$L=T-V=\frac{m}{2} \dot{\vec{x}}^2 -V(\vec{x}),$$
where ##\vec{x}## can be expressed in arbitrary generalized coordinates ##q=(q^i)##, ##\vec{x}=\vec{x}(q)##.
 
  • #3
yes but here there is no velocity dependence in V.
 
  • #4
Heidi said:
Summary:: dependence on generalized velocities

where the velocities appear somhere else than in the kinetic term
I am not sure exactly what you are looking for here. For example, in rotating coordinates the Lagrangian would be $$L=\frac{1}{2}m \dot r^2 + \frac{1}{2}m r^2 \dot \theta^2 +\frac{1}{2}m r^2 \omega^2 +m r^2 \dot \theta \omega - V$$ Would you consider any of those to be velocities somewhere else than in the kinetic term, and if not then why not?
 
  • #5
my quesstion comes from this sentence that i read:
Note that Jacobi’s generalized energy and the Hamiltonian do not equal the total energy E. However, in the special case where the transformation is scleronomic, then T1 = T0 = 0 and if the potential energy U does not depend explicitly of the velocities of the q variables then the generalized energy (Hamiltonian) equals the total energy, that is, H = E Recognition of the relation between the Hamiltonian and the total energy facilitates determining the equations of motion.

So i am looking to a counter exemple where the velocity appear in the potential energy U.
 
  • #6
So why don’t you just write ##L=T(q,\dot q)-U(q,\dot q)##
 
  • #7
Heidi said:
yes but here there is no velocity dependence in V.
An example for a Lagrangian, where in the interaction term is a velocity is that for the motion in an electromagnetic field with a potential and vector potential ##\Phi## and ##\vec{A}##,
$$L=\frac{m}{2} \dot{\vec{x}}^2 -q \Phi + \frac{q}{c} \vec{v} \cdot \vec{A}.$$
If the potentials are also explicitly time-dependent that's an example for an explicitly time-dependent Lagrangian.
 
  • Like
Likes Heidi and Dale
  • #8
can we say then that the corresponding hamilton H does not equal the total energy of the system (time does not appear explicily in the hamiltonian but v appear out side the kiniétic term)?
 
  • #9
In this case you get the total energy for the case of static fields, i.e., for ##\vec{A}=\vec{A}(\vec{x})## and ##\Phi=\Phi(\vec{x})##, which is
$$H=\frac{m}{2} \dot{\vec{x}}^2 + q \Phi(\vec{x}).$$
Note that the magnetic part of the Lorentz force is ##\vec{F}_B=q/c \vec{v} \times \vec{B}##, i.e., it doesn't do any work on the charged particle, and then you also have a conserved energy, and it's the conserved quantity due to time-translation invariance and thus called "energy" by definition (Noether's theorem).

For the general case of time dependent fields the Hamiltonian has no direct physical interpretation since it is gauge dependent and also isn't conserved.
 
  • #10
So here we have a static field with a velocity term outside the kinetic term but where H = E. so H = E do not need no velocity in the potential term. is it correct?
What i would like to get is a model where there time is not explicit and velocities in the potential term but where H does not equal the total energy.
 
  • #11
I think that for the Hamiltonian to not equal the energy requires explicit time, no?
 
  • Like
Likes PhDeezNutz
  • #12
Here i call total energy the sum of kinetic and potential energy of the particle(s) = T + U
take the simple Lagrancien L = m/2 v^2 - U(x)
we first calculate the momentum = dL/dv = mv and get the Hamiltonian pv - L = T + U. no problem.
let us take another Lagrangian where time is not explicit:
L = m/2 v^2 - U(x,v)
the momentum dL/dv = mv - dU/dv
and the Hamiltonian is T + U - v dU/dv
(the derivatives are partial)
so H does not equal the total energy in this case.
is there a physical system with such a Lagrangian?
 
  • #13
But for a particle in a static electromagnetic field ##H## is the total energy. Of course, it's not ##T+U##, because the magnetic forces don't "do work on the particle".
 
  • #14
i found the sentence in this book
did i misanderstand what Douglas Clide wrote in section 7?
 
  • #15
What i call here total energy is the energy of the particles in an external field, not the energy of particles plus fields. and it is something concrete . that i can store in batteries to use later not a mathematical object. if i get H = T + U + another thing, cans i use that 3rd thing in real life?
 
  • #16
That's what I'm also talking about. The total energy of a particle in a static electromagnetic field is
$$E=\frac{m}{2} \dot{\vec{x}}^2+q \Phi(\vec{x}).$$
The important point of course is that the Hamiltonian is this expression expressed in terms of canonical momenta,
$$\vec{p}_{\text{can}}=\frac{\partial L}{\partial \dot{\vec{x}}}=m \dot{\vec{x}} + \frac{q}{c} \vec{A},$$
and thus
$$\hat{H}=\frac{1}{2m} \left (\vec{p}_{\text{can}}-\frac{q}{c} \vec{A} \right)^2 +q \Phi(\vec{x}).$$
The canonical momentum in this case is a gauge dependent quantity and thus not the physical momentum of the particle!
 
  • Like
Likes Heidi
  • #17
thank you,
so the we have an example of Hamiltonian where time is not explicit and wherer H does not give immediately the physical energy of the particle but it contains information about the motion of the charged particle in the field.
 
  • #18
No ##H## does give the total energy of the particle in this case. At least if you define energy as the conservation law resulting via Noether's theorem from time-translation symmetry, and this is a symmetry if the Lagrangian is not explicitly time-dependent.

For time-dependent electromagnetic fields, I don't think that ##H## has a physical meaning at all. If you take into account the closed system of all charges and the em. field, of course you can define an energy via Noether's theorem, and this energy (mechanical + field energy) will be conserved.
 
  • #19
there is a notation problem
E is the total energy ot the particle and we have H = E + 2 termq conrainig A
what do you mean when you say that H gives the total energy of the particle? with or without these two terms?
 
  • #20
No we have
$$L=\frac{m}{2} \dot{\vec{x}}^2 -q \Phi + \frac{q}{c} \dot{\vec{x}} \cdot \vec{A},$$
from which the canonical momentum is
$$\vec{p}_{\text{can}} = \frac{\partial L}{\partial \dot{\vec{x}}} =m \dot{\vec{x}}+ \frac{q}{c} \vec{A}.$$
Now
$$H=\vec{p}_{\text{can}} \cdot \dot{\vec{x}} - L = \frac{m}{2} \dot{\vec{x}}^2 + q \Phi=E.$$
To derive the correct equations of motion from the canonical equations with the Hamiltonian, you have to express the Hamiltonian as a function of ##\vec{x}## and ##\vec{p}_{\text{can}}## to get
$$H=\frac{1}{2m} \left (\dot{\vec{p}}_{\text{can}}^2-\frac{q}{c} \vec{A} \right)^2+ q \Phi.$$
 
  • Like
Likes Heidi
  • #21
vanhees71 said:
H does give the total energy of the particle in this case. At least if you define energy as the conservation law resulting via Noether's theorem from time-translation symmetry, and this is a symmetry if the Lagrangian is not explicitly time-dependent.
Yes, that is my understanding too. I would always consider the conserved quantity to be the energy, even if it is not T+V
 
  • Like
Likes Heidi and vanhees71
  • #22
I agree with you, Vanhees71.
All that is fine but may be too fine. i explain:
the Hamiltonian pv - L is perfect with the quadratic term in velocity.
having the kinetic term , pv gives it twice and you subtract if . you get it unchanged from the lagrangian to the hamiltonian.
take the magnetic term vA which do not increase the energy of the particle. pv let in unchanged vA -> A -> vA
and in pv - L it cancels...
in my first post i was looking for cases in which things do not work so fine (if they exist) may be with velocities appearing in powers greater than 2 or in other functions or v.
my initial question arised when i read a sentence written by Feynman in his thesis. it was about cases where the hamiltonian formalism is problematic. i'll try to find what he wrote exactly.

Edit: I found what it was about. In the Wheeler Feynman absorber theory there was an action but no hamiltonian describing the physical process.
 
Last edited:
  • #23
I'm still not sure, what you are after. An example, where the Lagrangian has not much in common with the kinetic and "potential" energy is the motion of a relativistic particle in an electromagnetic field. Here the Lagrangian (in the (1+3)-formalism with coordinate time of a Lorentzian reference frame as independent paraemter) reads
$$L=-m c^2 \sqrt{1-\vec{\dot{x}}^2/c^2}-q \Phi + \dot{\vec{x}} \cdot \vec{A}/c.$$
Then you have
$$\vec{p} = m \gamma \dot{\vec{x}}+\frac{q}{c} \dot{\vec{x}} \quad \text{with} \quad \gamma=\frac{1}{\sqrt{1-\dot{\vec{x}}^2/c^2}}.$$
Then
$$H=\vec{p}_{\text{can}} \cdot \dot{\vec{x}}-L = m c^2 \gamma + q \Phi.$$
In the case of static fields, where ##\Phi=\Phi(\vec{x})## and ##\vec{A}=\vec{A}(\vec{x})##, that's the total energy of the particle. Of course, again you have to express ##H## in terms of the canonical momenta and ##\vec{x}##:
$$H=c \sqrt{m^2 c^2 + (\vec{p}-q \vec{A}/c)^2}+q \Phi.$$
Of course to derive the equations of motion both the Lagrangian and the Hamiltonian formulation lead to the correct equations also in the case of time-dependent fields, but in this case of time-dependent fields, I'd not interpret ##H## as the "total energy". [Italics edited in view of #24]
 
Last edited:
  • Like
Likes Dale
  • #24
vanhees71 said:
I'd not interpret H as the "total energy".
Not even in the case of static fields where H is the Noether conserved quantity from time symmetry?
 
  • Like
Likes vanhees71
  • #25
No, then it's fine. I referred to my final remark on the general case of time-dependent fields only. I'll edit this sentence to make that clear.
 
  • Like
Likes Dale
  • #26
vanhees71 said:
No, then it's fine. I referred to my final remark on the general case of time-dependent fields only. I'll edit this sentence to make that clear.
Thanks, I thought that is what you meant.
 
  • #27
Does the Legendre trasformation of the Lagrangian of a system always give an hamiltonian with the correct value of the energy of a system?
i ask this one more time because there are constrained hamiltonians that do not give the energy. but maybe they do not come from a single lagrangian.
Are there systems (i think of the feynman's absorber) which are not described by hamiltonians?
 
  • #28
As my example shows there are sometimes situations, where the Hamiltonian is not even an observable. In the case of a time-dependent electromagnetic field, it's gauge-dependent and thus not observable.
 
  • #29
And in the case of time independence?
 
  • #30
Then I'd call ##H## the total energy of the particle, because then it's the conserved quantity related to the conserved quantity from time-translation invariance in the sense of Noether's theorem.
 
  • Like
Likes Dale
  • #31
vanhees71 said:
Then I'd call ##H## the total energy of the particle, because then it's the conserved quantity related to the conserved quantity from time-translation invariance in the sense of Noether's theorem.
I would also. To me, the only reason that we are interested in energy is because it is conserved. So if there is a conserved quantity and a non-conserved quantity that both have claim to being "energy" then I will always pick the conserved one.
 
  • Like
Likes vanhees71
  • #32
And when there is no hamiltonian at all to describe the system is there still a notion of energy?

i read this:
The Hamiltonian method describes and keeps track of the state of the system of particles and fields at a given time. In the new theory, there are no field variables, and every radiative process depends on contributions from the future as well as from the past! One is forced to view the entire process from start to finish. The only existing classical approach of this kind for particles makes use of the principle of least action, and Feynman’s thesis project was to develop and generalize this approach so that it could be used to formulate the Wheeler–Feynman theory (a theory possessing an action, but without a Hamiltonian). If successful, he should then try to find a method to quantize the new theory.
 
  • #33
Well, the Feynman-Wheeler absorber theory was not that an success. Particularly there has never been found a way to quantize it. A very nice treatment of various theories on radiation, including the absorber theory (modulo some typos) can be found in

A. O. Barut, Electrodynamics and classical theory of fields and particles, Dover Publications (1980)
 
  • Like
Likes Heidi

FAQ: Lagrangian with generalized positions

1. What is the Lagrangian with generalized positions?

The Lagrangian with generalized positions is a mathematical function that describes the dynamics of a physical system in terms of generalized coordinates, rather than the traditional Cartesian coordinates. It is a key concept in classical mechanics and is used to derive the equations of motion for a system.

2. How is the Lagrangian with generalized positions different from the traditional Lagrangian?

The traditional Lagrangian is written in terms of Cartesian coordinates, while the Lagrangian with generalized positions is written in terms of generalized coordinates, which can be any set of independent coordinates that fully describe the system. This allows for a more flexible and efficient way to describe the dynamics of a system.

3. What are some examples of generalized coordinates?

Examples of generalized coordinates include polar coordinates, spherical coordinates, and curvilinear coordinates. These coordinates are often used to describe the motion of objects in rotational or curved systems, where Cartesian coordinates may not be the most appropriate choice.

4. How is the Lagrangian with generalized positions used in physics?

The Lagrangian with generalized positions is used in physics to describe the motion of a system and to derive the equations of motion. It is particularly useful in systems with complex geometries or constraints, where traditional methods may be difficult to apply. It is also used in the field of quantum mechanics to describe the dynamics of particles.

5. Can the Lagrangian with generalized positions be used in any type of system?

Yes, the Lagrangian with generalized positions can be used in any type of system, as long as the system can be described by a set of generalized coordinates. It is a general mathematical framework that can be applied to a wide range of physical systems, from simple mechanical systems to more complex systems in fields such as electromagnetism and fluid mechanics.

Back
Top