Thursday, October 13, 2016

Classical Mechanics - Hamiltonian

Sir William Rowan Hamilton (1805-1865) was the creator of the quaternions, but also known for its contributions in the Newtonian mechanics (as he reformulated it in the Hamiltonian mechanics) and in the Quantum mechanics.

Why do we need another reformulation of the Newtonian mechanics having the Lagrangian? Let's examine the Lagrangian:
Lagrangian and Lagrange's Equation

As we can see, the Lagrangian depends on the kinetic energy, which has the velocity as its component. The velocity is a derivative of the position. And in the first term of the Lagrange's equation, the Lagrangian is derived by the time, this means that we'll have the position derived twice by the time, which lead to a differential equation of order two. Those equations can be very hard to solve.

Let's try to find a way to hide this complication. We can define the Lagrangian as:
Lagrangian

Here we can see the dependence of the Lagrangian with the generalized coordinates and the time. One of the components is the first derivative of a generalized coordinates. The Hamiltonian will substitute this second parameter by a generalized momenta:
Hamiltonian

How can we do that? With the Legendre transformation. I will not demonstrate it, but basically, with the following formula, we can do this substitution:
Hamiltonian's relation with Lagrangian

So, I've to calculate the Lagrangian to get the Hamiltonian. And then what? How do I get my equation of the movement of my system? If we use the total differential of the Hamiltonian as defined in the previous equations, with the help of the generalized momenta definition, we quickly reach to the Hamilton equations which are:
Hamilton equations

Ok, fine. I've another way to calculate the same equations. Has it some meaning? It's that the unique advantage? Yes, it has a physical meaning, and no, it has more advantages. 
If we have a system with scleronomic constraints (without time dependence), the Hamiltonian represents the total energy. And in this cases, the Lagrangian is called the free energy. The demonstration is quite easy starting from the Legendre transformation.
The differences to use the Newton's, Lagrange's or Hamilton's mechanics to solve a problem are mainly the problem itself. For a quite easy problem, use the Newton's mechanics; you won't have to calculate the energies neither differential equations. For more complexe problems, you can use both Lagrange's or Hamilton's mechanics, it will depends on the number of variables, on their relation, on the differential equation resulting of the Lagrange equations.

This can best be shown in an exercise.


No comments:

Post a Comment