Content
Summary
This lesson analyzes a particle of mass in a uniform gravitational field using Lagrangian and Hamiltonian mechanics in Cartesian coordinates. The derivation shows that horizontal momentum is conserved while vertical motion follows constant acceleration. It highlights that choosing Cartesian coordinates avoids the complexity introduced by polar coordinates.
Intuition
When modeling a particle in a uniform gravitational field, the choice of coordinates drastically affects the complexity of the equations. In Cartesian coordinates, the potential energy depends only on the vertical position, leaving the horizontal coordinate cyclic. This symmetry means the horizontal momentum is conserved, simplifying the problem into two independent parts: uniform horizontal motion and constant vertical acceleration. In contrast, polar coordinates couple the radial and angular variables through the potential energy, leading to difficult differential equations. The Lagrangian and Hamiltonian formalisms provide a systematic way to derive these equations of motion from scalar energy functions rather than vector forces.
Key equations
The Lagrangian for a particle in the x-y plane, defined as kinetic energy minus potential energy.
The horizontal acceleration is zero, indicating conservation of horizontal momentum.
The vertical acceleration is constant and equal to negative gravity.
The Hamiltonian representing the total energy of the system.
Derivation
- Define the system as a particle of mass in a uniform gravitational field .
- Express potential energy as (or ) and kinetic energy as .
- Construct the Lagrangian L = T - U.
- Apply the Euler-Lagrange equation to the horizontal coordinate . Since does not depend on , the horizontal momentum is conserved, implying acceleration is zero.
- Apply the Euler-Lagrange equation to the vertical coordinate . The derivative yields , resulting in .
- Construct the Hamiltonian H using generalized momenta. H represents the total energy and is conserved.
- Apply Hamilton's equations to confirm the results for velocity and momentum change.
- Contrast with polar coordinates, where couples and , making the equations significantly more complex.
Worked example
Derive the equation of motion for the vertical coordinate using the Lagrangian .
- Identify the generalized coordinate q_i as y.
- Calculate the partial derivative of with respect to : .
- Calculate the time derivative: .
- Calculate the partial derivative of with respect to : .
- Substitute into the Euler-Lagrange equation: d/dt (partial L / partial dot y) - partial L / partial y = 0.
- This gives , which simplifies to .
- Divide by to get .
Answer ddot y = -g
Common mistakes
- Using polar coordinates unnecessarily, which couples r and theta in the potential energy and complicates the differential equations.
- Forgetting that the potential energy depends only on the vertical coordinate, leading to incorrect partial derivatives.
- Sign errors when deriving the vertical equation of motion from the Lagrangian.