What are the main differences between Hamiltonian and Lagrangian mechanics?

In summary, Hamiltonian mechanics is an alternative formulation of classical mechanics that describes the total energy of a system and its evolution over time. It is based on the concept of the Hamiltonian, which is the sum of kinetic and potential energy. Unlike Lagrangian mechanics, it consists of 2n first-order differential equations and offers certain advantages, such as simplifying the problem if the system has a symmetry. However, it does not necessarily make finding explicit solutions easier.
  • #1
CMBR
13
0

Homework Statement


So I just learned how to derive the equation of motion under the Lagrangian formulation which involves finding the euler-lagrange equation when setting the change in action to zero, chain rule, integration by parts etc.. Then I learned how to find the equations of motion under Hamiltonian formulation, you take the legendre transformation of the Lagrangian, then take partial derivative of the hamiltonian w.r.t momentum & general coordinates to find the Hamiltons equations.

I feel my fundamental understanding is just not there, is there no concept of "minimum action" when deriving equations of motion under the hamiltonian formulation? Is there no such thing as dS=∫dt (H-H0)=0 as there is dS=∫dt (L-L0)=0 in lagrangian mechanics?

Homework Equations


The Attempt at a Solution

 
Physics news on Phys.org
  • #2
This might help your understanding:

http://en.wikipedia.org/wiki/Hamiltonian_mechanics

Basically Hamiltonians describe the total energy of the system vs Lagrangian's which describe the difference between kinetic and potential energy to define the action which systems will tend to minimize as they change state ( aka least action or stationary action).

In contrast, the Hamiltonian can interpreted as follows:

Basic physical interpretation

A simple interpretation of the Hamilton mechanics comes from its application on a one-dimensional system consisting of one particle of mass m under no external forces applied. The Hamiltonian represents the total energy of the system, which is the sum of kinetic and potential energy, traditionally denoted T and V, respectively. Here q is the coordinate and p is the momentum, mv. Then

\mathcal{H} = T + V , \quad T = \frac{p^2}{2m} , \quad V = V(q).

Note that T is a function of p alone, while V is a function of q alone.

In this example, the time-derivative of the momentum p equals the Newtonian force, and so the first Hamilton equation means that the force equals the negative gradient of potential energy. The time-derivative of q is the velocity, and so the second Hamilton equation means that the particle’s velocity equals the derivative of its kinetic energy with respect to its momentum.

I recall it was sometimes easier to find solutions using Hamiltonian mechanics first order DE vs the Lagranigian 2nd order DE but don't quote me on this. (too many years ago)

Hamilton's equations consist of 2n first-order differential equations, while Lagrange's equations consist of n second-order equations. However, Hamilton's equations usually don't reduce the difficulty of finding explicit solutions. They still offer some advantages, since important theoretical results can be derived because coordinates and momenta are independent variables with nearly symmetric roles.

Hamilton's equations have another advantage over Lagrange's equations: if a system has a symmetry, such that a coordinate does not occur in the Hamiltonian, the corresponding momentum is conserved, and that coordinate can be ignored in the other equations of the set. Effectively, this reduces the problem from n coordinates to (n-1) coordinates. In the Lagrangian framework, of course the result that the corresponding momentum is conserved still follows immediately, but all the generalized velocities still occur in the Lagrangian - we still have to solve a system of equations in n coordinates.[2]
 

Related to What are the main differences between Hamiltonian and Lagrangian mechanics?

What is the difference between Hamiltonian and Lagrangian?

The Hamiltonian and Lagrangian are two mathematical formulations used in classical mechanics to describe the motion of a system. The main difference between them is that the Hamiltonian is a function of both the position and momentum variables, while the Lagrangian is only a function of the position variables.

Which one is more commonly used in physics?

The Lagrangian formulation is more commonly used in physics as it provides a more elegant and efficient way to describe the motion of a system. It also has the advantage of being more suitable for systems with constraints.

What are the advantages of using Hamiltonian over Lagrangian?

The Hamiltonian formulation has the advantage of being able to incorporate time explicitly, making it easier to analyze time-dependent systems. It is also more suitable for systems with a large number of degrees of freedom.

Can the Hamiltonian and Lagrangian formulations be used interchangeably?

No, the Hamiltonian and Lagrangian formulations are not interchangeable. They describe the same physical system, but the mathematical equations and techniques used in each formulation are different.

How are the Hamiltonian and Lagrangian related?

The Hamiltonian and Lagrangian are related through the Legendre transform, which expresses the Hamiltonian in terms of the Lagrangian and its corresponding momentum variables. This allows for a smooth transition between the two formulations and is useful for solving problems in classical mechanics.

Back
Top