Note:

For generalized coordinates, see vibrations.

The Principle of Least Action

The most general formulation of the law governing the motion of mechanical systems is the principle of least action, also known as Hamilton’s principle. According to this principle, every mechanical system is characterized by a definite function , or briefly , and the motion of the system is such that a certain condition is satisfied.

Suppose the system occupies positions defined by coordinates at time and at time . The principle states that, among all possible paths connecting these two configurations, the system follows the one for which the integral

takes a stationary (typically minimum) value. The function is called the Lagrangian of the system, and the integral (LL2.1) is called the action.

The fact that the Lagrangian depends only on and , but not on higher derivatives, reflects a fundamental property of mechanics: the state of a system is completely determined once the coordinates and velocities are specified.

Let us now derive the differential equations that determine the path which makes the action stationary. For simplicity, we first consider a system with only one degree of freedom, so that only one function needs to be determined.

Let be the function for which is stationary. Consider a neighboring path of the form

where is a small perturbation, called the variation of . Since all paths must pass through the fixed endpoints, the variation must vanish at the boundaries:

The change in the action when is replaced by is

Expanding the integrand to first order in and (using a Taylor expansion), we obtain the first variation of the action. The condition for a stationary value is that this first variation vanishes:

Carrying out the variation explicitly:

Since , we can integrate the second term by parts. Recall that integration by parts gives . Taking and :

Substituting this back, we obtain:

The boundary conditions (LL2.3) ensure that the bracketed term vanishes. What remains is an integral that must be zero for arbitrary variations . By the fundamental lemma of calculus of variations, this is possible only if the integrand itself is identically zero:

When the system has more than one degree of freedom, we have independent coordinates . Applying the variational principle, each coordinate can be varied independently while holding the others fixed. This yields separate equations:

These are Lagrange’s equations, the fundamental equations of motion in the Lagrangian formulation. Given the Lagrangian of a mechanical system, equations (LL2.6) provide the relationships between accelerations, velocities, and coordinates.

Mathematically, equations (LL2.6) form a system of second-order ordinary differential equations for the unknown functions . The general solution therefore contains arbitrary constants, which are determined by specifying initial conditions - typically the values of all coordinates and velocities at some initial time.

Additivity of the Lagrangian

Consider a mechanical system consisting of two parts and . A closed (or isolated) system is one that does not interact with any external bodies. If each part were isolated, it would have its own Lagrangian, and respectively. When the two parts are separated by a distance so large that their mutual interaction becomes negligible, the Lagrangian of the combined system approaches:

This additivity property reflects a fundamental physical requirement: the equations of motion for non-interacting subsystems must be independent of each other. Quantities describing part should not appear in the equations for part , and vice versa.

Note that multiplying a Lagrangian by an arbitrary constant does not change the equations of motion. One might therefore think that the Lagrangians of different isolated systems could be scaled by different constants. However, the additivity property eliminates this freedom - all Lagrangians must be scaled by the same constant for the combined system to have a well-defined Lagrangian. This residual freedom simply corresponds to choosing the units in which the Lagrangian is measured.

Gauge Freedom of the Lagrangian

There is an important ambiguity in the definition of the Lagrangian. Consider two Lagrangians and that differ by the total time derivative of some function :

The corresponding actions are related by:

The two actions differ only by boundary terms that depend on the fixed endpoints. Since these terms are constants (not functions of the path), they contribute nothing to the variation: . Therefore, both Lagrangians yield identical equations of motion.

This means the Lagrangian is not unique - it is defined only up to an additive total time derivative of any function of coordinates and time.

Example: Equivalent Lagrangians

Consider a free particle in one dimension with the standard Lagrangian:

Adding the total derivative of gives:

Both Lagrangians produce the same equation of motion: .

Practical Use

This gauge freedom is useful for simplifying problems. If a Lagrangian contains awkward terms that can be written as total time derivatives, they can be dropped without affecting the physics. This is particularly helpful when transforming between coordinate systems or when deriving conservation laws.

Note:

  1. For Galileo’s relativity principle, see Galilean transformation.
  2. For the Lagrangian of a free particle and a system of particles, see vibrations.