Does the Lagrangian Explicitly Involve Time in Hamiltonian Mechanics?

  • Context: Graduate 
  • Thread starter Thread starter astro2cosmos
  • Start date Start date
  • Tags Tags
    Function Lagrangian
Click For Summary

Discussion Overview

The discussion revolves around the role of time in the Lagrangian and Hamiltonian formulations of mechanics, specifically addressing whether the Lagrangian explicitly involves time in Hamiltonian mechanics. Participants explore the implications of time dependence in these formulations, examining theoretical and conceptual aspects.

Discussion Character

  • Technical explanation
  • Conceptual clarification
  • Debate/contested

Main Points Raised

  • Some participants assert that the Lagrangian is a function of generalized coordinates, their velocities, and time, questioning why the Hamiltonian does not explicitly include time.
  • Others argue that if the Lagrangian does not depend explicitly on time, the Hamiltonian coincides with the system's energy, but it can still be defined when the Lagrangian does depend on time.
  • A participant mentions that the Hamiltonian is generated from the Lagrangian through a Legendre transform and discusses the implications of treating additional variables.
  • Another participant provides a detailed mathematical formulation of the relationships between the Lagrangian and Hamiltonian, emphasizing the importance of keeping certain variables fixed during differentiation.
  • There is a question raised about the conditions under which the Lagrangian is independent of time, indicating a need for further exploration of this aspect.
  • One participant gives an example of a scenario where the Lagrangian explicitly depends on time, such as a bead sliding on a moving ring, suggesting that this indicates an open system with energy exchange.

Areas of Agreement / Disagreement

Participants express differing views on the explicit dependence of the Lagrangian on time and its implications for the Hamiltonian. No consensus is reached, and multiple competing perspectives remain throughout the discussion.

Contextual Notes

Some statements rely on specific conditions and assumptions regarding the systems being discussed, such as whether they are closed or open systems. The discussion includes unresolved mathematical steps and varying interpretations of the implications of time dependence.

astro2cosmos
Messages
71
Reaction score
0
Lagrangian is a function of ...

Since Lagrangian is a function of q, q dot & time, then why in describing the Hamiltonian (H), L does not involve time explicitly?
as H = (p*q dot) - L (q, q dot).
 
Physics news on Phys.org
It should. The crucial point is that, if the Lagrangian doesn't depend explicitly on time then the Hamiltonian coincides with the energy of the system. However, H is defined also when L explicitly depends on t.
 
astro2cosmos, where did you get that equation from? Formally, the Hamiltonian is generated from the Lagrangian by doing a Legendre transform (If you replacy only some of the generalized coordinates by their conjugate momentums, you get a Routh's function, by the way), see Arnol'd or, for a simpler treatment, Landau/Lifshitz; So what should prevent you from treating additional variables? What is true anyway, is

\frac{\partial \mathcal H}{\partial t} = \frac{\mathrm d \mathcal H}{\mathrm d t}.

Besides that, in a closed inertial system, time is homogenous.
 
Forgotten: For any parameter, including time, the following relation is true:

\left( \frac{\partial \mathcal H}{\partial \lambda} \right)_{p, q} = - \left( \frac{\partial \mathcal L}{\partial \lambda} \right)_{p, q}
 
The Lagrangian and the Hamiltonian both can also be explicitly time dependent. The Lagrangian is a function of q, \dot{q}, and (sometimes) of time. The Hamiltonian is the Legendre transformation of the Lagrangian wrt. \dot{q} vs. the canonical momentum
p=\frac{\partial L}{\partial \dot{q}},
i.e.,
H=p \cdot \dot{q}-L.
The total differential is
\mathrm{d} H=\mathrm{d}p \cdot \dot{q} + p \cdot \mathrm{d} \dot{q}-\mathrm{d} q \cdot \frac{\partial L}{\partial q}-\mathrm{d} \dot{q} \cdot \frac{\partial L}{\partial \dot{q}}-\mathrm{d} t \frac{\partial L}{\partial t}=p \cdot \mathrm{d} \dot{q}-\mathrm{d} q \cdot \frac{\partial L}{\partial q}-\mathrm{d} t \frac{\partial L}{\partial t}.
From this you read off that the "natural variables" for H are indeed q, p, and t, and that the following relations hold
\left (\frac{\partial H}{\partial p} \right)_{q,t}=\dot{q}, \quad \left (\frac{\partial H}{\partial q} \right)_{p,t}=-\left (\frac{\partial L}{\partial q} \right )_{\dot{q},t}, \quad \left (\frac{\partial H}{\partial t} \right )_{q,p}=-\left (\frac{\partial L}{\partial t} \right)_{q,\dot{q}}.
It is important to keep in mind that in the latter relations different variables are kept fixed when the partial derivative wrt. to the pertinent variable is taken on both sides of this equation! That's why I put the variables to be hold fixed in the different cases as subscipts of the parantheses around the partial derivative explicitly!
 
vanhees71 said:
The Lagrangian and the Hamiltonian both can also be explicitly time dependent. The Lagrangian is a function of q, \dot{q}, and (sometimes) of time. The Hamiltonian is the Legendre transformation of the Lagrangian wrt. \dot{q} vs. the canonical momentum
p=\frac{\partial L}{\partial \dot{q}},
i.e.,
H=p \cdot \dot{q}-L.
The total differential is
\mathrm{d} H=\mathrm{d}p \cdot \dot{q} + p \cdot \mathrm{d} \dot{q}-\mathrm{d} q \cdot \frac{\partial L}{\partial q}-\mathrm{d} \dot{q} \cdot \frac{\partial L}{\partial \dot{q}}-\mathrm{d} t \frac{\partial L}{\partial t}=p \cdot \mathrm{d} \dot{q}-\mathrm{d} q \cdot \frac{\partial L}{\partial q}-\mathrm{d} t \frac{\partial L}{\partial t}.
From this you read off that the "natural variables" for H are indeed q, p, and t, and that the following relations hold
\left (\frac{\partial H}{\partial p} \right)_{q,t}=\dot{q}, \quad \left (\frac{\partial H}{\partial q} \right)_{p,t}=-\left (\frac{\partial L}{\partial q} \right )_{\dot{q},t}, \quad \left (\frac{\partial H}{\partial t} \right )_{q,p}=-\left (\frac{\partial L}{\partial t} \right)_{q,\dot{q}}.
It is important to keep in mind that in the latter relations different variables are kept fixed when the partial derivative wrt. to the pertinent variable is taken on both sides of this equation! That's why I put the variables to be hold fixed in the different cases as subscipts of the parantheses around the partial derivative explicitly!

for what condition L is independent of time?
 
It depends on the problem. The Lagrangian may depend explicitly on time, for example, in a system where a bead is sliding on a moving ring or something. Which means that it is not a closed system because some other system exchanges energy with it. So no conservation of energy, which you can see from the equations about that the time derivative of the Hamiltonian doesn't vanish.

Greets
 

Similar threads

  • · Replies 3 ·
Replies
3
Views
4K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 19 ·
Replies
19
Views
5K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 32 ·
2
Replies
32
Views
2K
  • · Replies 4 ·
Replies
4
Views
4K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 1 ·
Replies
1
Views
1K
  • · Replies 21 ·
Replies
21
Views
2K