What is the advantage of Hamilton's canonical equations?

  • Thread starter Thread starter Zoli
  • Start date Start date
AI Thread Summary
Hamilton's canonical equations are preferred in certain scenarios due to their linearity and first-order nature, which allows for more stable numerical solutions compared to the non-linear, second-order Lagrange equations. Solutions to Hamilton's equations exist in phase space, offering advantageous properties that can simplify analysis and stability studies. While Hamilton's equations involve twice as many equations, they can be effectively solved using numerical integration methods. Some argue that both formulations can solve the same systems, but Hamilton's approach is emphasized for its relevance in quantization and mechanical system solvers. Overall, Hamilton's equations provide distinct advantages in specific applications, particularly in numerical stability and phase space analysis.
Zoli
Messages
19
Reaction score
0
Hi!

I would like to know that in what circumstances Hamilton's canonical equations are superior to the Lagrange-equations of the second kind. We know that every second order equation can be rewritten as a system of first order equations.

Thanks,

Zoli
 
Physics news on Phys.org
There are several advantages, but I don't think they are related to the constraints:

1. Hamilton's equations are linear and first order PDEs; Lagrange's equations non-linear and second order.
2. The solutions to Hamilton's equations exist in phase space, and have very nice properties; Lagrange's equations exist in a different space, and the solutions may have some not-so nice properties.
3. The linearity of Hamilton's equations comes at a price: twice as many equations. But they can be easily solved by numerical integration when there are no analytic solutions ... which is most of the time.

See http://en.wikipedia.org/wiki/Symplectic_manifold for some discussion
 
1. Why are they linear PDEs? See http://encyclopedia2.thefreedictionary.com/Hamilton's+Canonical+Equations+of+Motion. I do not refer to the Hamilton-Jacobian equation: http://en.wikipedia.org/wiki/Hamilton–Jacobi_equation
2. So you mean that it has nice properties when we use apply stability analysis?
3. It is true since ODE solvers need first order equations, but rewriting Lagrange-equations as first order equations will do the same, doesn't it?
 
Hamilton's equations are partial differential equations ... your reference has suffered during translation! You can see the partial derivative. They are also linear in the variables; they are also coupled.

The Lagrange equations are non-linear. Good luck with your hope to convert them to first order ... this is only guaranteed for linear systems. But if you perform a Legendre transform of q'->P then you get the pair of first order Hamilton equations.

For the nice properties see any advanced text on Hamiltonian mechanics ... I'm away from my books.
 
  • Like
Likes 1 person
Zoli said:
Hi!

I would like to know that in what circumstances Hamilton's canonical equations are superior to the Lagrange-equations of the second kind. We know that every second order equation can be rewritten as a system of first order equations.

Thanks,

Zoli

I don't find Hamilton's equations superior in any way. If you can solve a system's Hamilton's equations, you could have solved the (Euler-)Lagrange ones as well.

OTOH, the Hamiltonian formalism as a whole is relevant for quantization which puts in a greater emphasis in teaching it than the one which would be put on the Lagrangian formalism.
 
  • Like
Likes 1 person
UltrafastPED said:
For the nice properties see any advanced text on Hamiltonian mechanics ... I'm away from my books.

This page summarizes the nicest property of Hamiltonian vs Lagrangian solution space:

http://books.google.de/books?id=ebT...in phase space lagrangian hamiltonian&f=false


Note that all of the "equation solvers" for mechanical systems (e.g., FEM, Solid Works and its brethren, etc) use the Hamiltonian form ... the numerical solutions are more stable, converge quicker, and the phase space is simpler - even though it has twice as many dimensions.
 
  • Like
Likes 1 person
Thread 'Gauss' law seems to imply instantaneous electric field'
Imagine a charged sphere at the origin connected through an open switch to a vertical grounded wire. We wish to find an expression for the horizontal component of the electric field at a distance ##\mathbf{r}## from the sphere as it discharges. By using the Lorenz gauge condition: $$\nabla \cdot \mathbf{A} + \frac{1}{c^2}\frac{\partial \phi}{\partial t}=0\tag{1}$$ we find the following retarded solutions to the Maxwell equations If we assume that...
Maxwell’s equations imply the following wave equation for the electric field $$\nabla^2\mathbf{E}-\frac{1}{c^2}\frac{\partial^2\mathbf{E}}{\partial t^2} = \frac{1}{\varepsilon_0}\nabla\rho+\mu_0\frac{\partial\mathbf J}{\partial t}.\tag{1}$$ I wonder if eqn.##(1)## can be split into the following transverse part $$\nabla^2\mathbf{E}_T-\frac{1}{c^2}\frac{\partial^2\mathbf{E}_T}{\partial t^2} = \mu_0\frac{\partial\mathbf{J}_T}{\partial t}\tag{2}$$ and longitudinal part...
Back
Top