Scroll back to top
Apart from Newton’s laws, alternative approaches to deriving equations of motion were developed in the 18th and 19th century. These are now referred to as Lagrangian (after Joseph Louis Lagrange) and Hamiltonian (after Sir William Rowan Hamilton) mechanics. Both approaches follow from a deep-rooted principle of nature — the principle of stationary action.
The principle that particles follow the path of least action in mechanical systems, known as Hamilton’s principle or the principle of stationary action (sometimes also inaccurately referred to as the principle of least action), is a fundamental idea in classical mechanics. The “action” refers to a specific quantity (called the action integral) that depends on the path a particle takes through space and time. The principle states that out of all possible paths a particle could take between two points, the actual path is the one that minimizes (or more generally, extremizes) the action. The principle of stationary action was first developed in the 18th century by Pierre-Louis Moreau de Maupertuis and later refined by Euler, Lagrange, and Hamilton. The principle of stationary action encapsulates Newton’s laws of motion in a more general and elegant form. In nature, systems tend to follow paths that extremize (minimize or maximize) certain quantities. For example, light follows the path of extremal time (Fermat’s principle).
Mechanical systems tend to follow the path that extremizes the action, which can be understood as an optimization principle in nature. Just as systems naturally move toward states of lower energy, the action minimizes in a way that balances kinetic and potential energy. This balance ensures that the system evolves in the most “economical” way, subject to the constraints of the physical forces acting on it. In this sense, the path of least action, for example, represents the most efficient way for the system to move from one state to another. The principle of stationary action provides a unifying framework for understanding the dynamics of systems and plays a crucial role in all modern physical theories.
Heads up!
The principle of least action is not limited to classical mechanics. In quantum mechanics, the action plays a role in Feynman’s path integral formulation, where particles explore all possible paths, but the paths that contribute most to the particle’s behavior are those near the path of least action. In general relativity, particles follow geodesics (the shortest path in curved spacetime), which can also be seen as extremizing the action in the context of spacetime geometry.
In classical mechanics, the action
where:
Generalized positions and velocities can be vectors. In systems with multiple particles, more than one generalized coordinate vector may be needed, with the exact number determined by the constraints.
The principle of least action states that the actual path taken by the particle minimizes (or extremizes) the action
The principle of least action is mathematically related to the Euler–Lagrange equations, which describe the equations of motion for a system.
These equations are equivalent to Newton’s second law of motion. Thus, the path of least action corresponds to the same path that satisfies the classical equations of motion derived from Newton’s laws.
A marble of mass
As long as the bead remains in the bowl, this system is equivalent to the spherical pendulum. Our constraint reads:
as long as
Spherical coordinates with polar angle
Note that the distance of the marble to the center is fixed while in the bowl, i.e.
First, compute the time derivatives to obtain velocities:
The squared velocity reads
Thus, the kinetic and potential energies are
and
Applying the Euler–Lagrange equations to derive equations of motion from the Lagrangian. Since we have two generalized coordinates, we end up with two Euler-Lagrange equations.
Inserting the Lagrangian we obtain two ordinatry differential equations
Applying the differential operators leads to the final equations of motion
Heads up!
The second resulting equation
shows that the angular momentum around the vertical axis
is conserved.
The resulting equations of motion in our generalized coordinates
Note, that the equations of motion are coupled and non-linear in the generalized coordinates!
Starting the marble with sufficient initial velocity can make it leave the bowl. If that happens, the constraint
These correspond to simple projectile motion. The solution will depend on the initial conditions when the marble leaves the bowl.
In many mechanical systems, external forces (such as friction, tension, or control inputs) cannot be easily expressed in from of a potential energy function.
To include such non-conservative forces in Lagrangian mechanics, we introduce the concept of generalized forces.
For a system with generalized coordinates
If a system is subjected to external forces
This formula projects the applied force
Consider a simple pendulum of length
The Lagrangian without damping reads
Since damping is not conservative we need first calculate
and then add the generalized force to the Euler-Lagrange equation:
This is the equation of motion for the damped pendulum, incorporating both conservative and non-conservative effects.