ConceptComplete

Hamilton's Principle and Lagrangian Mechanics

Hamilton's principle reformulates Newtonian mechanics as a variational problem: the true trajectory of a mechanical system extremizes the action functional. This perspective unifies classical mechanics, reveals deep connections to symmetry and conservation, and generalizes seamlessly to field theory and quantum mechanics.


The Action Principle

Definition7.4Hamilton's Principle of Stationary Action

For a mechanical system with generalized coordinates q=(q1,,qn)q = (q_1,\ldots,q_n) and Lagrangian L(q,q˙,t)=TVL(q,\dot{q},t) = T - V (kinetic minus potential energy), the action is S[q]=t1t2L(q(t),q˙(t),t)dtS[q] = \int_{t_1}^{t_2} L(q(t),\dot{q}(t),t)\,dt. Hamilton's principle states that the physical trajectory satisfies δS=0\delta S = 0: among all paths q(t)q(t) with fixed endpoints q(t1)=qaq(t_1) = q_a, q(t2)=qbq(t_2) = q_b, the actual motion makes SS stationary. This yields the Euler-Lagrange equations ddtLq˙iLqi=0\frac{d}{dt}\frac{\partial L}{\partial \dot{q}_i} - \frac{\partial L}{\partial q_i} = 0 for i=1,,ni = 1,\ldots,n.

ExampleLagrangians for Physical Systems

Simple pendulum: L=12m2θ˙2+mgcosθL = \frac{1}{2}m\ell^2\dot{\theta}^2 + mg\ell\cos\theta, giving θ¨+(g/)sinθ=0\ddot{\theta} + (g/\ell)\sin\theta = 0. Central force: L=12m(r˙2+r2θ˙2)V(r)L = \frac{1}{2}m(\dot{r}^2 + r^2\dot{\theta}^2) - V(r) in polar coordinates; θ\theta is cyclic, so pθ=mr2θ˙=constp_\theta = mr^2\dot{\theta} = \text{const} (angular momentum conservation). Charged particle in EM field: L=12mr˙2qϕ+qr˙AL = \frac{1}{2}m\dot{\mathbf{r}}^2 - q\phi + q\dot{\mathbf{r}}\cdot\mathbf{A} where ϕ,A\phi, \mathbf{A} are the electromagnetic potentials. The Euler-Lagrange equations give the Lorentz force law.


Constraints and Lagrange Multipliers

Definition7.5Constrained Variational Problems

For a functional J[y]J[y] subject to the isoperimetric constraint K[y]=abG(x,y,y)dx=K[y] = \int_a^b G(x,y,y')\,dx = \ell (constant), introduce the augmented functional J~[y]=J[y]λK[y]=ab[LλG]dx\tilde{J}[y] = J[y] - \lambda K[y] = \int_a^b [L - \lambda G]\,dx where λ\lambda is a Lagrange multiplier. The extremal satisfies the Euler-Lagrange equation for LλGL - \lambda G, and λ\lambda is determined by the constraint K=K = \ell. For holonomic constraints g(q,t)=0g(q,t) = 0 in mechanics: the Lagrange multiplier λ\lambda represents the constraint force.

ExampleClassical Isoperimetric Problem

Among all closed curves of length \ell, find the one enclosing maximum area. Parametrize by arclength: maximize A=12(xdyydx)A = \frac{1}{2}\oint(x\,dy - y\,dx) subject to ds=\oint ds = \ell. The augmented Lagrangian gives κ=λ=const\kappa = \lambda = \text{const} (constant curvature), so the optimal curve is a circle. The isoperimetric inequality 4πA24\pi A \leq \ell^2 follows, with equality only for circles.


Hamiltonian Formulation

Definition7.6Legendre Transform and Hamilton's Equations

The conjugate momenta are pi=L/q˙ip_i = \partial L/\partial\dot{q}_i. The Hamiltonian is H(q,p,t)=ipiq˙iL(q,q˙,t)H(q,p,t) = \sum_i p_i\dot{q}_i - L(q,\dot{q},t) (Legendre transform). Hamilton's principle in phase space yields Hamilton's equations: q˙i=Hpi\dot{q}_i = \frac{\partial H}{\partial p_i}, p˙i=Hqi\dot{p}_i = -\frac{\partial H}{\partial q_i}. These are 2n2n first-order ODEs equivalent to nn second-order Euler-Lagrange equations. The Hamiltonian generates time evolution: F˙={F,H}+F/t\dot{F} = \{F,H\} + \partial F/\partial t where {F,G}=i(F/qiG/piF/piG/qi)\{F,G\} = \sum_i(\partial F/\partial q_i \partial G/\partial p_i - \partial F/\partial p_i \partial G/\partial q_i) is the Poisson bracket.

RemarkFrom Classical to Quantum via the Action

In Feynman's path integral formulation of quantum mechanics, the quantum propagator is K(qb,tb;qa,ta)=D[q]eiS[q]/K(q_b,t_b;q_a,t_a) = \int\mathcal{D}[q]\,e^{iS[q]/\hbar} where the integral is over all paths from (qa,ta)(q_a,t_a) to (qb,tb)(q_b,t_b), not just the classical extremal. In the classical limit 0\hbar \to 0, the stationary phase approximation selects the classical path δS=0\delta S = 0, recovering Hamilton's principle. The Lagrangian and Hamiltonian structures thus bridge classical and quantum physics.