21 Apr 2026

Hamilton's Equations of Motion

Hamilton's equations of motion, least action, and solved examples.

msc semester-i classical-mechanics hamiltonian-mechanics

This lecture contains principle of least action, Hamilton’s equations of motion, and solved examples.

The principle of least action states that, out of all imaginable paths by which a system can move from one configuration to another, the actual path followed by nature is the one for which the action has an extremum value. In modern language, this is stated more accurately as the principle of stationary action, because the action need not always be strictly minimum; it may be minimum, maximum, or simply stationary against small variations of the path.

\[ S = \int_{t_1}^{t_2} L(q,\dot q,t)\,dt \]

where \(S\) is the action and \(L\) is the Lagrangian of the system.

Thus, the physical motion of a particle or system is obtained by requiring that a small variation in the action vanishes:

\[ \delta S = \delta \int_{t_1}^{t_2} L(q,\dot q,t)\,dt = 0 \]

This variational condition leads directly to the Euler--Lagrange equations, which govern the dynamics of the system.

Although the two expressions are often used interchangeably in elementary mechanics, there is a subtle distinction between them. The term principle of least action is the older and more popular name, suggesting that nature chooses the path for which the action is the minimum. However, this is not always strictly true.


Solved Examples:


Practice Questions:


Hamilton’s Equations of Motion

Hamiltonian mechanics is an alternative formulation of classical mechanics that uses generalized coordinates $q_i$ and conjugate momenta $p_i$ instead of just coordinates and velocities.

Given the Lagrangian $L(q_i, \dot{q}_i, t)$, the conjugate momenta are defined as:

\[p_i = \frac{\partial L}{\partial \dot{q}_i}\]

The Hamiltonian $H$ is defined as the Legendre transform of the Lagrangian:

\[H(q_i, p_i, t) = \sum_i p_i \dot{q}_i - L(q_i, \dot{q}_i, t)\]

Hamilton’s equations of motion are the following first-order differential equations:

\[\dot{q}_i = \frac{\partial H}{\partial p_i}, \quad \dot{p}_i = -\frac{\partial H}{\partial q_i}\]

These equations describe the time evolution of a system in phase space and form the basis of modern theoretical physics, including quantum mechanics and statistical mechanics.


Mathematical Formulation:

Starting with the Lagrangian $L(q_i, \dot{q}_i, t)$, define the conjugate momenta:

\[p_i = \frac{\partial L}{\partial \dot{q}_i}\]

Perform a Legendre transformation to obtain the Hamiltonian:

\[H(q_i, p_i, t) = \sum_i p_i \dot{q}_i - L\]

Then Hamilton’s equations of motion follow as:

\[\dot{q}_i = \frac{\partial H}{\partial p_i}, \quad \dot{p}_i = -\frac{\partial H}{\partial q_i}\]

Solved Examples:



Practice Questions:

Share This Page