You have 3 free guides left 😟
Unlock your guides
You have 3 free guides left 😟
Unlock your guides

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.

Hamiltonian vs Lagrangian Formalisms

Fundamental Differences

Top images from around the web for Fundamental Differences
Top images from around the web for Fundamental Differences
  • 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
  • L represents difference between kinetic and potential energies (L=TVL = T - V) while H denotes total energy of the system (H=T+VH = T + V)
  • Lagrangian equations of motion manifest as second-order differential equations in contrast to 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
  • Lagrangian formalism often simplifies analysis of systems with many degrees of freedom (multi-link pendulum)
  • Hamiltonian formalism facilitates study of 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 for Hamiltonian and Lagrangian

Transformation Process

  • 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(piq˙i)L(q,q˙,t)H(q, p, t) = \sum_i(p_i \cdot \dot{q}_i) - L(q, \dot{q}, t)
    • q represents generalized coordinates
    • p denotes generalized momenta
    • q˙\dot{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: pi=Lq˙ip_i = \frac{\partial L}{\partial \dot{q}_i}
  • Partial derivative of H with respect to generalized momentum equals generalized velocity: q˙i=Hpi\dot{q}_i = \frac{\partial H}{\partial p_i}
  • Preserves physical content of theory while altering mathematical formulation demonstrating equivalence of Lagrangian and Hamiltonian mechanics

Converting Between Formalisms

Lagrangian to Hamiltonian Conversion

  • Define generalized momenta as pi=Lq˙ip_i = \frac{\partial L}{\partial \dot{q}_i} where L represents Lagrangian and q˙i\dot{q}_i denotes generalized velocities
  • Express generalized velocities q˙i\dot{q}_i in terms of generalized coordinates qiq_i and momenta pip_i by inverting momentum definition equations
  • Compute Hamiltonian using Legendre transform: H(q,p,t)=i(piq˙i)L(q,q˙,t)H(q, p, t) = \sum_i(p_i \cdot \dot{q}_i) - L(q, \dot{q}, t)
  • Substitute expressions for q˙i\dot{q}_i in terms of qiq_i and pip_i into Hamiltonian equation
  • Example: Convert Lagrangian of simple harmonic oscillator L=12mx˙212kx2L = \frac{1}{2}m\dot{x}^2 - \frac{1}{2}kx^2 to Hamiltonian form

Hamiltonian to Lagrangian Conversion

  • Utilize Hamilton's equations to express generalized velocities in terms of coordinates and momenta: q˙i=Hpi\dot{q}_i = \frac{\partial H}{\partial p_i}
  • Compute Lagrangian using inverse Legendre transform: L(q,q˙,t)=i(piq˙i)H(q,p,t)L(q, \dot{q}, t) = \sum_i(p_i \cdot \dot{q}_i) - H(q, p, t)
  • Substitute expressions for pip_i in terms of qiq_i and q˙i\dot{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=pr22m+pθ22mr2+V(r)H = \frac{p_r^2}{2m} + \frac{p_\theta^2}{2mr^2} + V(r) to Lagrangian form

Advantages and Limitations of Formalisms

Strengths of Lagrangian Formalism

  • 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 (conservation of angular momentum in spherically symmetric potentials)

Strengths of Hamiltonian Formalism

  • 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)
© 2024 Fiveable Inc. All rights reserved.
AP® and SAT® are trademarks registered by the College Board, which is not affiliated with, and does not endorse this website.


© 2024 Fiveable Inc. All rights reserved.
AP® and SAT® are trademarks registered by the College Board, which is not affiliated with, and does not endorse this website.

© 2024 Fiveable Inc. All rights reserved.
AP® and SAT® are trademarks registered by the College Board, which is not affiliated with, and does not endorse this website.
Glossary
Glossary