Hamiltonian and Lagrangian formalisms offer different perspectives on classical mechanics. While Lagrangian mechanics uses coordinates and velocities, Hamiltonian mechanics employs coordinates and momenta. Both approaches provide equivalent descriptions but shine in different scenarios.
The Legendre transform bridges these formalisms, allowing conversion between them. Understanding their connections and distinctions is crucial for tackling various mechanical problems, from simple oscillators to complex dynamical systems. Each approach has unique strengths and limitations in different contexts.
Fundamental Differences
Top images from around the web for Fundamental Differences Liouville's theorem (Hamiltonian) - Wikipedia View original
Is this image relevant?
Noether's Theorems [The Physics Travel Guide] View original
Is this image relevant?
Equations of motion - Wikipedia View original
Is this image relevant?
Liouville's theorem (Hamiltonian) - Wikipedia View original
Is this image relevant?
Noether's Theorems [The Physics Travel Guide] View original
Is this image relevant?
1 of 3
Top images from around the web for Fundamental Differences Liouville's theorem (Hamiltonian) - Wikipedia View original
Is this image relevant?
Noether's Theorems [The Physics Travel Guide] View original
Is this image relevant?
Equations of motion - Wikipedia View original
Is this image relevant?
Liouville's theorem (Hamiltonian) - Wikipedia View original
Is this image relevant?
Noether's Theorems [The Physics Travel Guide] View original
Is this image relevant?
1 of 3
Lagrangian formalism uses generalized coordinates and velocities while Hamiltonian formalism employs generalized coordinates and momenta
Lagrangian mechanics utilizes principle of least action whereas Hamiltonian mechanics relies on principle of stationary action
Lagrangian function L represents difference between kinetic and potential energies (L = T − V L = T - V L = T − V ) while Hamiltonian function H denotes total energy of the system (H = T + V H = T + V H = T + V )
Lagrangian equations of motion manifest as second-order differential equations in contrast to Hamilton's equations which appear as first-order differential equations
Lagrangian formalism proves more intuitive for describing constrained systems (pendulum on a fixed-length rod)
Hamiltonian formalism offers advantages for systems with cyclic coordinates and conserved quantities (angular momentum in central force problems)
Equivalence and Perspectives
Both formalisms provide equivalent descriptions of classical mechanics
Lagrangian approach focuses on trajectory of system in configuration space
Hamiltonian approach emphasizes evolution of system in phase space
Lagrangian formalism often simplifies analysis of systems with many degrees of freedom (multi-link pendulum)
Hamiltonian formalism facilitates study of canonical transformations and symplectic geometry (planetary orbits)
Choice between formalisms depends on specific problem and desired analysis (simple harmonic oscillator may be easier in Lagrangian form)
Legendre transform converts between Lagrangian and Hamiltonian descriptions of a system
Hamiltonian function H derived from Lagrangian L through Legendre transform: H ( q , p , t ) = ∑ i ( p i ⋅ q ˙ i ) − L ( q , q ˙ , t ) H(q, p, t) = \sum_i(p_i \cdot \dot{q}_i) - L(q, \dot{q}, t) H ( q , p , t ) = ∑ i ( p i ⋅ q ˙ i ) − L ( q , q ˙ , t )
q represents generalized coordinates
p denotes generalized momenta
q ˙ \dot{q} q ˙ signifies generalized velocities
Transform preserves information content while changing independent variables (position-velocity to position-momentum)
Invertible nature allows recovery of Lagrangian from Hamiltonian using inverse Legendre transform
Maps convex functions to convex functions ensuring stability and uniqueness of solutions in mechanical systems (simple pendulum)
Mathematical Properties
Establishes relationship between partial derivatives of L and H with respect to their variables
Partial derivative of L with respect to generalized velocity equals generalized momentum: p i = ∂ L ∂ q ˙ i p_i = \frac{\partial L}{\partial \dot{q}_i} p i = ∂ q ˙ i ∂ L
Partial derivative of H with respect to generalized momentum equals generalized velocity: q ˙ i = ∂ H ∂ p i \dot{q}_i = \frac{\partial H}{\partial p_i} q ˙ i = ∂ p i ∂ H
Preserves physical content of theory while altering mathematical formulation demonstrating equivalence of Lagrangian and Hamiltonian mechanics
Lagrangian to Hamiltonian Conversion
Define generalized momenta as p i = ∂ L ∂ q ˙ i p_i = \frac{\partial L}{\partial \dot{q}_i} p i = ∂ q ˙ i ∂ L where L represents Lagrangian and q ˙ i \dot{q}_i q ˙ i denotes generalized velocities
Express generalized velocities q ˙ i \dot{q}_i q ˙ i in terms of generalized coordinates q i q_i q i and momenta p i p_i p i by inverting momentum definition equations
Compute Hamiltonian using Legendre transform: H ( q , p , t ) = ∑ i ( p i ⋅ q ˙ i ) − L ( q , q ˙ , t ) H(q, p, t) = \sum_i(p_i \cdot \dot{q}_i) - L(q, \dot{q}, t) H ( q , p , t ) = ∑ i ( p i ⋅ q ˙ i ) − L ( q , q ˙ , t )
Substitute expressions for q ˙ i \dot{q}_i q ˙ i in terms of q i q_i q i and p i p_i p i into Hamiltonian equation
Example: Convert Lagrangian of simple harmonic oscillator L = 1 2 m x ˙ 2 − 1 2 k x 2 L = \frac{1}{2}m\dot{x}^2 - \frac{1}{2}kx^2 L = 2 1 m x ˙ 2 − 2 1 k x 2 to Hamiltonian form
Hamiltonian to Lagrangian Conversion
Utilize Hamilton's equations to express generalized velocities in terms of coordinates and momenta: q ˙ i = ∂ H ∂ p i \dot{q}_i = \frac{\partial H}{\partial p_i} q ˙ i = ∂ p i ∂ H
Compute Lagrangian using inverse Legendre transform: L ( q , q ˙ , t ) = ∑ i ( p i ⋅ q ˙ i ) − H ( q , p , t ) L(q, \dot{q}, t) = \sum_i(p_i \cdot \dot{q}_i) - H(q, p, t) L ( q , q ˙ , t ) = ∑ i ( p i ⋅ q ˙ i ) − H ( q , p , t )
Substitute expressions for p i p_i p i in terms of q i q_i q i and q ˙ i \dot{q}_i q ˙ i into Lagrangian equation
Verify consistency of conversion by checking Euler-Lagrange equations and Hamilton's equations yield equivalent results for system's dynamics
Example: Convert Hamiltonian of a particle in a central force field H = p r 2 2 m + p θ 2 2 m r 2 + V ( r ) H = \frac{p_r^2}{2m} + \frac{p_\theta^2}{2mr^2} + V(r) H = 2 m p r 2 + 2 m r 2 p θ 2 + V ( r ) to Lagrangian form
Excels in systems with holonomic constraints easily incorporated into generalized coordinates (double pendulum)
Particularly useful for problems involving rigid bodies and systems with multiple degrees of freedom
Eliminates need to consider constraint forces explicitly (bead sliding on a wire)
Provides more intuitive approach for visualizing motion of mechanical systems dealing directly with positions and velocities
Simplifies analysis of systems with symmetries through Noether's theorem (conservation of angular momentum in spherically symmetric potentials)
Excels in problems involving conserved quantities corresponding to cyclic coordinates in Hamiltonian function (angular momentum in planetary motion)
Provides natural framework for studying canonical transformations and perturbation theory
Valuable in fields such as celestial mechanics (three-body problem) and quantum mechanics (Schrödinger equation)
Particularly suited for studying long-term behavior of dynamical systems (KAM theory)
Facilitates development of chaos theory (Hénon-Heiles system)
Limitations and Challenges
Both formalisms face difficulties in dealing with non-holonomic constraints (rolling without slipping)
Challenges arise when handling dissipative systems requiring modifications or alternative approaches (Rayleigh dissipation function)
Lagrangian formalism may become cumbersome for systems with many particles or complex interactions (N-body problem)
Hamiltonian formalism can be less intuitive for visualizing physical motion compared to Lagrangian approach
Both methods may struggle with time-dependent constraints or rapidly varying external forces (parametric oscillator)