Why is the Hamiltonian constructed from the Lagrangian?

  • Context: Graduate 
  • Thread starter Thread starter dipole
  • Start date Start date
  • Tags Tags
    Hamiltonian Lagrangian
Click For Summary

Discussion Overview

The discussion centers on the relationship between the Lagrangian and Hamiltonian formulations of mechanics, specifically why the Hamiltonian is typically constructed from the Lagrangian through a Legendre transform. Participants explore the implications of starting with the Lagrangian versus constructing the Hamiltonian directly, touching on concepts from classical mechanics and symplectic geometry.

Discussion Character

  • Exploratory
  • Technical explanation
  • Conceptual clarification
  • Debate/contested

Main Points Raised

  • Some participants suggest that constructing the Hamiltonian directly is possible, particularly in quantum mechanics, but it is less common in classical mechanics due to the Lagrangian being easier to formulate.
  • Others argue that the Lagrangian is fundamentally simpler as it is defined as the difference between kinetic and potential energy, while the Hamiltonian can be more complex and is not always simply the sum of these energies.
  • One participant highlights that the relationship between velocity and momentum can be complicated, especially in the presence of external fields, making the Lagrangian approach more straightforward for deriving momentum expressions.
  • A later reply introduces the idea of an equivalent formalism that uses the Hamiltonian, suggesting that it can also be a valid starting point, although it may require more effort compared to the Lagrangian approach.

Areas of Agreement / Disagreement

Participants express differing views on whether it is preferable to start with the Lagrangian or the Hamiltonian. While some see advantages in the Lagrangian approach, others point out that the Hamiltonian can also be a viable starting point, indicating that the discussion remains unresolved regarding the best approach.

Contextual Notes

Participants note that the complexity of the relationship between generalized coordinates and momenta can influence the choice of starting point in mechanics. Additionally, the discussion touches on the role of symplectic geometry in understanding Hamiltonian mechanics, which may require additional work compared to Lagrangian methods.

dipole
Messages
553
Reaction score
149
I understand how to use Hamiltonian mechanics, but I never understood why you construct the Hamilitonian by first constructing the Langrangian, and then performing a Legendre transform on it.

Why can't you just construct the Hamiltonian directly? Does it have to do with the generalized coordinate p_i being more difficult to think about than the coordinate \dot{q_i}? This seems like the only reason to start with the Lagrangian first, if your goal is to build the Hamiltonian.
 
Physics news on Phys.org
I understand that you can construct the Hamiltonian directly - it's pretty much what you do in quantum wave mechanics.

The reason it tends not to be taught that way in classical mechanics is that the Lagrangian is usually easier to build (and use.)
 
The Lagrangian is just "T-V": kinetic energy minus potential. For many systems of interest, it turns out that the Hamiltonian is T+V; however, that not need be the case. There are systems for which the Hamiltonian is not simply T+V, and I would guess that one may not be able to write down the Hamiltonian without first going through the Lagrangian.
 
dipole said:
I understand how to use Hamiltonian mechanics, but I never understood why you construct the Hamilitonian by first constructing the Langrangian, and then performing a Legendre transform on it.

Why can't you just construct the Hamiltonian directly? Does it have to do with the generalized coordinate p_i being more difficult to think about than the coordinate \dot{q_i}? This seems like the only reason to start with the Lagrangian first, if your goal is to build the Hamiltonian.

I think that's exactly right. Velocities are easy-to-understand quantities, and momenta are a little more complicated. The relationship between velocity and momentum is not simple, in general. For example, in the presence of an electromagnetic field corresponding to vector potential A^\mu, the momentum is not m \dfrac{dx^\mu}{d \tau}, but is m \dfrac{dx^\mu}{d \tau} - e A^\mu. That relationship comes out automatically using a simple Lagrangian, but it would be hard to guess if you started with a Hamiltonian.

On the other hand, there is a formalism that's equivalent to Lagrangian that uses the Hamiltonian. Instead of extremizing the action \int L(q,\dot{q}) dt, one extremizes the action: \int (H(q,p) - p \dot{q}) dt

This approach puts coordinates and momenta on sort of the same footing.
 
Interesting responses. Thanks, I see now the advantage!
 
What you will find if you learn classical mechanics from the viewpoint of symplectic geometry is that the Hamiltonian is relatively easier to start with. The cotangent bundle of the configuration space has a "god - given" symplectic 2 - form that relates the differential of the Hamiltonian to the corresponding Hamiltonian vector field via the symplectic form. If you wanted to do the same thing relating to Lagrangians; however, you would have to do some more work on your part.
 

Similar threads

  • · Replies 4 ·
Replies
4
Views
4K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 1 ·
Replies
1
Views
1K
  • · Replies 3 ·
Replies
3
Views
3K
  • · Replies 1 ·
Replies
1
Views
7K
Replies
7
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 1 ·
Replies
1
Views
1K
  • · Replies 15 ·
Replies
15
Views
10K
  • · Replies 7 ·
Replies
7
Views
2K