Graduate

GraduateClassical mechanics


Lagrangian and Hamiltonian mechanics


Lagrangian and Hamiltonian mechanics present two reformulations of classical mechanics that provide great insight and many advantages over the Newtonian approach. These formalisms provide deep connections between physics and geometry and serve as precursors to advanced theories such as quantum mechanics and general relativity. In this article, we will explore these concepts in detail, using simple language to make the subject clear for students and anyone interested in physics.

Introduction to Lagrangian mechanics

Lagrangian mechanics, named after Joseph Louis Lagrange, is a powerful method for analyzing the motion of systems under the influence of forces. Unlike Newtonian mechanics, which relies on vector equations of motion, Lagrangian mechanics uses scalar quantities based on the energy of the system.

Principle of minimum action

The cornerstone of Lagrangian mechanics is the principle of minimum action. This principle states that the path taken by a physical system between two states is the one for which a certain quantity, the action, is minimal. The action is defined as the integral over time of the Lagrangian, denoted as L(t, q, dot{q}), where q denotes the generalized coordinates and dot{q} their time derivatives.

        S = ∫ L(t, q, dot{q}) dt
    

Lagrangian

The Lagrangian is usually defined as the difference between the kinetic energy, T, and the potential energy, V, of the system:

        L = T – V
    

This simple mathematical function encapsulates the dynamics of the system. Let's use the classic example of a simple pendulum to illustrate this concept:

        t = 0.5 * m * l^2 * dot{theta}^2
        v = m * g * l * (1 - cos(theta))
        L = T – V
    

Here, m is the mass of the bob, l is the length of the pendulum, g is the gravitational acceleration, and θ is the angle with the vertical.

Euler–Lagrange equations

The equations of motion of a system are derived using the Euler–Lagrange equation, which arises from the principle of least action:

        d/dt (∂L/∂dot{q_i}) - ∂L/∂q_i = 0
    

This equation, where q_i are generalized coordinates, provides a systematic way to derive the equations of motion for any system, such as multiple particles or complex mechanical systems.

Example: Atwood machine

Consider the Atwood machine, which consists of two masses connected by a string over a pulley. The masses, m1 and m2, experience gravitational forces. The Lagrangian for this system is:

        L = 0.5 * (m1 + m2) * dot{x}^2 - (m2 - m1) * g * x
    

Applying the Euler-Lagrange equation gives the acceleration:

        (m2 - m1) * g = (m1 + m2) * ddot{x}
    

Introduction to Hamiltonian mechanics

Hamiltonian mechanics, developed by Sir William Rowan Hamilton, is a further reformulation of classical mechanics that arises from Lagrangian mechanics. Hamiltonian mechanics restructures the equations and emphasizes concepts important to modern physics, such as symplectic geometry and phase space.

Hamiltonian function

The Hamiltonian, H, represents the total energy of the system and is obtained by performing the Legendre transformation on the Lagrangian:

        H(q, p, t) = ∑ p_i dot{q}_i - L
    

In this context, p_i are conjugate momenta defined as p_i = ∂L/∂dot{q}_i.

Hamilton's equations

The dynamics of a system is described using Hamilton's equations, a set of first-order differential equations:

        dot{q}_i = ∂H/∂p_i
        dot{p}_i = -∂H/∂q_i
    

These equations highlight the beauty of Hamiltonian mechanics by relating time evolution to time through differential equations and are the basis of many modern theoretical physics frameworks.

Phase space

In Hamiltonian mechanics, the state of a system is represented in a multidimensional space, known as phase space, where each point corresponds to a unique configuration of position and momentum.

Phase space pathPoint in phase space

Advantages and applications

The Lagrangian and Hamiltonian formalisms offer various advantages:

  • Complex systems: They are particularly useful for complex systems that involve constraints, such as in electromagnetism or general relativity.
  • Simplification: By focusing on energy rather than forces, these methods can simplify the derivation of the motion equations.
  • Quantization: These formalisms extend naturally to quantum mechanics, where positions and momenta are quantized.

Example: Harmonic oscillator in Hamiltonian mechanics

Consider a one-dimensional harmonic oscillator with mass m and spring constant k. The Hamiltonian is given as follows:

        h = 0.5 * m * p^2 + 0.5 * k * q^2
    

Applying Hamilton's equations gives the equations of motion for the system:

        dot{q} = p/m
        p = -k * q
    

Conclusion

Lagrangian and Hamiltonian mechanics provide elegant and powerful ways to tackle classical mechanics problems. Their focus on energy rather than forces, combined with their flexibility in handling different coordinate systems and constraints, make them invaluable tools in theoretical and applied physics. Whether you are analyzing the stability of planetary orbits or building the foundations of quantum field theories, these formalisms provide essential insights that extend far beyond traditional approaches.


Graduate → 1.2


U
username
0%
completed in Graduate


Comments