Classical mechanics - Analytical Mechanics
Understand the Lagrangian and Hamiltonian formulations of mechanics, their equations of motion, and how symmetries lead to conservation laws.
Summary
Read Summary
Flashcards
Save Flashcards
Quiz
Take Quiz
Quick Practice
How is the Lagrangian $L$ defined in terms of kinetic energy $T$ and potential energy $V$?
1 of 11
Summary
Analytical Mechanics: A Comprehensive Overview
Analytical mechanics provides powerful mathematical frameworks for describing the dynamics of physical systems. Rather than working directly with forces, analytical mechanics uses energy-based approaches through the Lagrangian and Hamiltonian formulations. These formulations are particularly elegant because they automatically enforce conservation laws through symmetries, and they generalize seamlessly to complex systems—from classical mechanics to quantum mechanics and beyond.
Lagrangian Mechanics: Energy-Based Dynamics
Introducing the Lagrangian
The foundation of Lagrangian mechanics is remarkably simple conceptually. The Lagrangian is defined as:
$$L = T - V$$
where $T$ is the kinetic energy and $V$ is the potential energy of the system. This single function contains all the information needed to describe how a system evolves in time.
This definition might seem unusual at first—why would we subtract potential energy from kinetic energy? The elegance becomes apparent when we realize that this particular combination naturally encodes the physics. Kinetic energy depends on velocities, while potential energy depends on positions. By taking their difference, the Lagrangian captures how energy is distributed between motion and configuration.
The Principle of Stationary Action
The stationary-action principle (also called the principle of least action) is the foundation of Lagrangian mechanics. It states that the actual path a system takes is the one for which the action is stationary:
$$S = \int{t1}^{t2} L \, dt$$
Stationary means the action doesn't change (to first order) when you slightly vary the path. The system doesn't "know" to minimize action—rather, this principle emerges naturally from quantum mechanics. In classical mechanics, it tells us: the path the system actually follows is the one that makes the action stationary.
This principle is profoundly different from Newton's force-based approach, but it yields identical equations of motion. The advantage is that the action formulation is much more general and adapts naturally to complex coordinate systems.
Lagrange's Equations of Motion
To find the equations of motion, we require the action to be stationary with respect to small variations in each coordinate. This variational calculation yields Lagrange's equations:
$$\frac{d}{dt}\left(\frac{\partial L}{\partial \dot{q}i}\right) - \frac{\partial L}{\partial qi} = 0$$
for each generalized coordinate $qi$.
Here's what each term means:
$\frac{\partial L}{\partial \dot{q}i}$ represents the "generalized momentum" associated with coordinate $qi$
$\frac{d}{dt}$ of this tells us how this momentum changes
$\frac{\partial L}{\partial qi}$ captures how the Lagrangian responds to changes in position
The equation says: the change in generalized momentum equals a kind of generalized force
Key advantage: You don't need to worry about constraint forces (like tension in strings or normal forces from surfaces). The Lagrangian formulation automatically handles them through the choice of generalized coordinates. If you choose coordinates that respect the constraints, constraint forces simply disappear from the equations.
Example walkthrough: For a simple pendulum of length $\ell$ and mass $m$:
Kinetic energy: $T = \frac{1}{2}m\ell^2\dot{\theta}^2$
Potential energy: $V = mg\ell(1 - \cos\theta)$ (measured from lowest point)
Lagrangian: $L = \frac{1}{2}m\ell^2\dot{\theta}^2 - mg\ell(1 - \cos\theta)$
Computing the derivatives and applying Lagrange's equation gives the familiar equation $\ddot{\theta} + \frac{g}{\ell}\sin\theta = 0$.
Hamiltonian Mechanics: A Reformulation
From Lagrangian to Hamiltonian
While Lagrangian mechanics uses position and velocity $(qi, \dot{q}i)$ as fundamental variables, Hamiltonian mechanics uses position and momentum $(qi, pi)$. This shift is accomplished through a Legendre transform.
The Hamiltonian is defined as:
$$H = \sumi pi \dot{q}i - L$$
where the generalized momenta are:
$$pi = \frac{\partial L}{\partial \dot{q}i}$$
This looks abstract, but it's a mathematical transformation that trades velocity variables for momentum variables. The Legendre transform is a general technique used throughout physics whenever you want to switch between different sets of variables (like switching from energy as a function of entropy to energy as a function of temperature in thermodynamics).
Hamilton's Equations
In terms of the Hamiltonian, the equations of motion become beautifully symmetric:
$$\dot{q}i = \frac{\partial H}{\partial pi} \quad \text{and} \quad \dot{p}i = -\frac{\partial H}{\partial qi}$$
These are Hamilton's equations. Compare them to Lagrange's equations—they look much simpler! The first equation says "velocity is the derivative of the Hamiltonian with respect to momentum," and the second says "the rate of change of momentum is the negative derivative of the Hamiltonian with respect to position."
These equations form a system of $2N$ first-order differential equations (instead of $N$ second-order equations in the Lagrangian formulation). First-order systems are often easier to analyze mathematically.
The Hamiltonian as Energy
For systems where the forces are conservative and there are no time-dependent constraints, something remarkable happens:
$$H = T + V = E$$
The Hamiltonian equals the total energy of the system. This makes physical intuition clear: the Hamiltonian is the quantity that stays constant (is conserved) as the system evolves. This is why $H$ is often just called "the energy" in Hamiltonian mechanics.
Important distinction: The Lagrangian is $L = T - V$, while the Hamiltonian is $H = T + V$. Don't confuse them!
Conservation Laws and Symmetries: Noether's Theorem
The Power of Symmetries
One of the deepest insights in physics is that conservation laws arise from symmetries. This connection is formalized by Noether's theorem, which states:
For every continuous symmetry of the Lagrangian (or Hamiltonian), there exists a corresponding conserved quantity.
This is not an approximate or special-case result—it's a fundamental principle with universal applicability.
Examples of Symmetries and Conservation Laws
Time translation symmetry → Conservation of energy If the Lagrangian doesn't depend explicitly on time, then time is translation-symmetric (the system behaves the same at all times). This symmetry directly implies that total energy $H$ is conserved.
Spatial translation symmetry → Conservation of momentum If the Lagrangian is unchanged when you shift all particles in a particular direction, that spatial direction is symmetric. This implies that the component of total momentum in that direction is conserved.
Rotational symmetry → Conservation of angular momentum If the Lagrangian is invariant under rotations (doesn't change when you rotate the entire system), then angular momentum about that rotation axis is conserved.
The power here is profound: you don't need to solve the equations of motion to know what quantities are conserved. You just need to identify the symmetries of the system. This makes Noether's theorem an invaluable tool for understanding any physical system.
<extrainfo>
Advanced Extensions
The Hamilton-Jacobi Equation
The Hamilton-Jacobi equation is an alternative formulation that replaces the need to solve many differential equations with solving a single first-order partial differential equation:
$$H\left(qi, \frac{\partial S}{\partial qi}, t\right) + \frac{\partial S}{\partial t} = 0$$
where $S(qi, t)$ is called the action (not to be confused with $S = \int L \, dt$; here it's a function rather than an integral).
If you can solve this equation for $S$, the complete solution to the dynamics follows from that single solution. This formulation is particularly powerful for certain problems and provides a bridge between classical mechanics and quantum mechanics—the Schrödinger equation in quantum mechanics has a similar mathematical structure.
Symplectic Geometry and Hamiltonian Mechanics
Hamilton's equations have a deep geometric structure. They preserve a special mathematical object called a symplectic form, which is a way of measuring "rotation" in phase space (the $(qi, pi)$ space). This geometric perspective is not just mathematical elegance—it reveals why Hamiltonian mechanics is so stable under transformations and why it generalizes to quantum mechanics so naturally.
</extrainfo>
Summary: Choosing Your Framework
Lagrangian and Hamiltonian mechanics are two equivalent but complementary perspectives on the same physics:
Use Lagrangian mechanics when working with constraints and when it's natural to describe the system using its degrees of freedom and their velocities
Use Hamiltonian mechanics when you want to emphasize energy conservation, analyze symmetries using Noether's theorem, or when working in phase space
Use Noether's theorem whenever you want to quickly identify conserved quantities without solving equations
All three approaches are powerful, and mastery of analytical mechanics means being comfortable switching between them depending on what you want to understand about a system.
Flashcards
How is the Lagrangian $L$ defined in terms of kinetic energy $T$ and potential energy $V$?
$L = T - V$
How is the action $S$ defined in the principle of least action?
$S = \int{t{1}}^{t{2}} L\,dt$
What are the Lagrange equations of motion for each generalized coordinate $q{i}$?
$\dfrac{d}{dt}\left(\dfrac{\partial L}{\partial \dot{q}{i}}\right) - \dfrac{\partial L}{\partial q{i}} = 0$
Which mathematical transformation is used to derive the Hamiltonian $H$ from the Lagrangian $L$?
Legendre transform
What is the formula for the Hamiltonian $H$ using generalized momenta $p{i}$ and coordinates $q{i}$?
$H = \sum{i} p{i}\dot{q}{i} - L$
What is the definition of generalized momentum $p{i}$ in terms of the Lagrangian $L$?
$p{i} = \partial L/\partial \dot{q}{i}$
What are Hamilton's equations for the rates of change of generalized coordinates $\dot{q}{i}$ and momenta $\dot{p}{i}$?
$\dot{q}{i}= \partial H/\partial p{i}$
$\dot{p}{i}= -\partial H/\partial q{i}$
In many physical systems, what total energy value $E$ does the Hamiltonian $H$ equal?
$E = T + V$ (where $T$ is kinetic energy and $V$ is potential energy)
What branch of geometry is utilized by Hamiltonian mechanics?
Symplectic geometry
Which equation provides a scalar function whose solution yields the complete dynamics of a system?
The Hamilton–Jacobi equation
Which theorem relates continuous symmetries of a system to conservation laws?
Noether’s theorem
Quiz
Classical mechanics - Analytical Mechanics Quiz Question 1: Which pair of equations correctly represents Hamilton’s equations of motion?
- $\dot{q}_{i}= \partial H/\partial p_{i}$ and $\dot{p}_{i}= -\partial H/\partial q_{i}$ (correct)
- $\dot{q}_{i}= -\partial H/\partial p_{i}$ and $\dot{p}_{i}= \partial H/\partial q_{i}$
- $\dot{q}_{i}= \partial L/\partial p_{i}$ and $\dot{p}_{i}= -\partial L/\partial q_{i}$
- $\dot{q}_{i}= \partial H/\partial q_{i}$ and $\dot{p}_{i}= -\partial H/\partial p_{i}$
Classical mechanics - Analytical Mechanics Quiz Question 2: In many physical systems, the Hamiltonian $H$ is equal to which of the following?
- The total energy $E = T + V$ (correct)
- The kinetic energy $T$ alone
- The potential energy $V$ alone
- The difference $T - V$
Classical mechanics - Analytical Mechanics Quiz Question 3: According to Noether’s theorem, conservation laws arise from what property of the Lagrangian or Hamiltonian?
- Continuous symmetries of the action (correct)
- Discrete time steps in the equations of motion
- Specific numerical values of the kinetic energy
- The presence of frictional forces
Classical mechanics - Analytical Mechanics Quiz Question 4: When applying the principle of stationary action, which quantity is varied while the initial and final configurations are held fixed?
- The path (trajectory) of the system (correct)
- The total mechanical energy
- The duration of the time interval
- The mass of the particles involved
Classical mechanics - Analytical Mechanics Quiz Question 5: In Lagrange’s equation $\displaystyle \frac{d}{dt}\!\bigg(\frac{\partial L}{\partial \dot{q}_{i}}\bigg)-\frac{\partial L}{\partial q_{i}}=0$, which pair of terms are related?
- The time derivative of $\partial L/\partial\dot{q}_{i}$ and $\partial L/\partial q_{i}$ (correct)
- The second time derivative of $\partial L/\partial\dot{q}_{i}$ and $\partial L/\partial q_{i}$
- $\partial L/\partial\dot{q}_{i}$ and the time derivative of $\partial L/\partial q_{i}$
- $\partial L/\partial q_{i}$ and $\partial L/\partial\dot{q}_{i}$ without any derivatives
Which pair of equations correctly represents Hamilton’s equations of motion?
1 of 5
Key Concepts
Mechanics Formulations
Analytical mechanics
Lagrangian mechanics
Hamiltonian mechanics
Key Principles and Equations
Principle of least action
Lagrange’s equations
Hamilton’s equations
Legendre transformation
Hamilton–Jacobi equation
Noether’s theorem
Mathematical Foundations
Symplectic geometry
Definitions
Analytical mechanics
A reformulation of classical mechanics that uses scalar functions such as the Lagrangian and Hamiltonian to derive equations of motion.
Lagrangian mechanics
A branch of analytical mechanics where the dynamics are obtained from the Lagrangian \(L = T - V\) and the principle of stationary action.
Hamiltonian mechanics
A formulation of classical mechanics based on the Hamiltonian function, the Legendre transform of the Lagrangian, and Hamilton’s equations.
Principle of least action
The stationary‑action principle stating that the actual path taken by a system makes the action integral \(S = \int L\,dt\) stationary.
Lagrange’s equations
Differential equations \(\frac{d}{dt}\big(\frac{\partial L}{\partial \dot{q}_i}\big)-\frac{\partial L}{\partial q_i}=0\) that give the motion of a system in Lagrangian mechanics.
Hamilton’s equations
First‑order equations \(\dot{q}_i=\frac{\partial H}{\partial p_i},\;\dot{p}_i=-\frac{\partial H}{\partial q_i}\) governing the evolution of coordinates and momenta in Hamiltonian mechanics.
Legendre transformation
A mathematical operation that converts the Lagrangian \(L(q,\dot{q},t)\) into the Hamiltonian \(H(q,p,t)\) by changing variables from velocities to momenta.
Hamilton–Jacobi equation
A partial differential equation for a generating function whose solution yields the complete solution of a mechanical system’s dynamics.
Noether’s theorem
A fundamental result linking continuous symmetries of the action to conserved quantities such as energy, momentum, and angular momentum.
Symplectic geometry
The branch of mathematics studying the structure of phase space in Hamiltonian mechanics, characterized by a nondegenerate closed 2‑form.