index 2. The principle of least action

2. The principle of least action


The most general formulation of the law governing the motion of mechanical systems is the principle of least action or Hamilton’s principle, according to which every mechanical system is characterised by a definite function \(L(q_1,q_2,q_s,...,\dot{q}_1,\dot{q}_2,\dot{q}_s,t)\), or briefly \(L(q,\dot{q},t)\), and the motion of the system is such that a certain condition is satisfied.

Let the system occupy, at the instants \(t_1\) and \(t_2\), positions defined by two sets of values of the co-ordinates, \(q^{(1)}\) and \(q^{(2)}\). Then the condition is that the system moves between these positions in such a way that the integral

\[\label{equations/2.1}\tag*{(2.1)}S=\int_{t_1}^{t_2}L(q,\dot{q},t)\mathrm{d}^{}t\]

takes the least possible value1. The function L is called the Lagrangian of the system concerned, and the integral (2.1) \(S=\int_{t_1}^{t_2}L(q,\dot{q},t)\mathrm{d}^{}t\) is called the action.

The fact that the Lagrangian contains only \(q\) and \(\dot{q}\), but not the higher derivatives \(\ddot{q}\), \(\dddot{q}\), etc., expresses the result already mentioned, that the mechanical state of the system is completely defined when the co-ordinates and velocities are given.

Let us now derive the differential equations which solve the problem of minimising the integral (2.1) \(S=\int_{t_1}^{t_2}L(q,\dot{q},t)\mathrm{d}^{}t\) . For simplicity, we shall at first assume that the system has only one degree of freedom, so that only one function \(q(t)\) has to be determined.

Let \(q = q(t)\) be the function for which \(S\) is a minimum. This means that \(S\) is increased when \(q(t)\) is replaced by any function of the form \(q(t)+sq(t)\),

\[\label{equations/2.2}\tag*{(2.2)}q(t)+\delta q(t)\]

where \(\delta q(t)\) is a function which is small everywhere in the interval of time from \(t_1\) to \(t_2\); \(\delta q(t)\) is called a variation of the function \(q(t)\). Since, for \(t = t_1\) and for \(t = t_2\), all the functions (2.2) \(q(t)+\delta q(t)\) must take the values \(q^{(1)}\) and \(q^{(2)}\) respectively, it follows that

\[\label{equations/2.3}\tag*{(2.3)}\delta q(t_1)=\delta q(t_2) = 0\]

The change in \(S\) when \(q\) is replaced by \(q + \delta q\) is

\[ \int_{t_1}^{t_2}L(q+\delta q,\dot q+\delta \dot{q}, t)\mathrm{d}^{}t -\int_{t_1}^{t_2}L(q,\dot q, t)\mathrm{d}^{}t \]

When this difference is expanded in powers of \(\delta q\) and \(\delta\dot{q}\) in the integrand, the leading terms are of the first order. The necessary condition for \(S\) to have a minimum2 is that these terms (called the first variation, or simply the variation, of the integral) should be zero. Thus the principle of least action may be written in the form

\[\label{equations/2.4}\tag*{(2.4)}\delta S =\delta \int_{t_1}^{t_2}L(q,\dot{q},t)\mathrm{d}^{}t =0\]

or, effecting the variation,

\[ \int_{t_1}^{t_2}\left(\frac{\partial L}{\partial q}\delta q+\frac{\partial L}{\partial\dot{q}}\delta\dot{q}\right)\mathrm{d}^{}t =0 \]

Since \(\delta\dot{q} = \mathrm{d}^{}\delta q/\mathrm{d}^{}t\), we obtain, on integrating the second term by parts,

\[\label{equations/2.5}\tag*{(2.5)}\delta S=\left[\frac{\partial L}{\partial \dot{q}}\delta q\right]_{t_1}^{t_2}+\int_{t_1}^{t_2}\left(\frac{\partial L}{\partial q}-\frac{\mathrm{d}^{}}{\mathrm{d}^{}t}\frac{\partial L}{\partial \dot{q}}\right)\delta q \mathrm{d}^{}t=0\]

The conditions (2.3) \(\delta q(t_1)=\delta q(t_2) = 0\) show that the integrated term in (2.5) \(\delta S=\left[\frac{\partial L}{\partial \dot{q}}\delta q\right]_{t_1}^{t_2}+\int_{t_1}^{t_2}\left(\frac{\partial L}{\partial q}-\frac{\mathrm{d}^{}}{\mathrm{d}^{}t}\frac{\partial L}{\partial \dot{q}}\right)\delta q \mathrm{d}^{}t=0\) is zero. There remains an integral which must vanish for all values of \(\mathrm{d}^{}q\). This can be so only if the integrand is zero identically. Thus we have

\[ \frac{\mathrm{d}^{}}{\mathrm{d}^{}t}\frac{\partial L}{\partial \dot{q}}-\frac{\partial L}{\partial q}=0\qquad \]

When the system has more than one degree of freedom, the \(s\) different functions \(q_i(t)\) must be varied independently in the principle of least action.

We then evidently obtain \(s\) equations of the form

\[\label{equations/2.6}\tag*{(2.6)}\frac{\mathrm{d}^{}}{\mathrm{d}^{}t}\frac{\partial L}{\partial \dot{q_i}}-\frac{\partial L}{\partial q_i}=0\qquad(i=1,2,...,s)\]

These are the required differential equations, called in mechanics Lagrange’s equations3. If the Lagrangian of a given mechanical system is known, the equations (2.6) \(\frac{\mathrm{d}^{}}{\mathrm{d}^{}t}\frac{\partial L}{\partial \dot{q_i}}-\frac{\partial L}{\partial q_i}=0\qquad(i=1,2,...,s)\) give the relations between accelerations, velocities and coordinates, i.e. they are the equations of motion of the system.

Mathematically, the equations (2.6) \(\frac{\mathrm{d}^{}}{\mathrm{d}^{}t}\frac{\partial L}{\partial \dot{q_i}}-\frac{\partial L}{\partial q_i}=0\qquad(i=1,2,...,s)\) constitute a set of \(s\) second-order equations for \(s\) unknown functions \(q_i(t)\). The general solution contains \(2s\) arbitrary constants. To determine these constants and thereby to define uniquely the motion of the system, it is necessary to know the initial conditions which specify the state of the system at some given instant, for example the initial values of all the co-ordinates and velocities.

$Let a mechanical system consist of two parts \(A\) and \(B\) which would, if closed, have Lagrangians \(L_A\) and \(L_B\) respectively. Then, in the limit where the distance between the parts becomes so large that the interaction between them may be neglected, the Lagrangian of the whole system tends to the value $lim L = L_A+L_B.

\[\label{equations/2.7}\tag*{(2.7)}\lim L=L_A+L_B\]

This additivity of the Lagrangian expresses the fact that the equations of motion of either of the two non-interacting parts cannot involve quantities pertaining to the other part.

It is evident that the multiplication of the Lagrangian of a mechanical system by an arbitrary constant has no effect on the equations of motion.

From this, it might seem, the following important property of arbitrariness can be deduced: the Lagrangians of different isolated mechanical systems may be multiplied by different arbitrary constants. The additive property, however, removes this indefiniteness, since it admits only the simultaneous multiplication of the Lagrangians of all the systems by the same constant. This corresponds to the natural arbitrariness in the choice of the unit of measurement of the Lagrangian, a matter to which we shall return in §4. The Lagrangian for a free particle.

One further general remark should be made. Let us consider two functions $L’(q,,t) and \(L(q,\dot{q},t)\), differing by the total derivative with respect to time of some function \(f(q,t)\) of co-ordinates and time:

\[\label{equations/2.8}\tag*{(2.8)}L'(q,\dot{q},t)=L(q,\dot{q},t)+\frac{\mathrm{d}^{}}{\mathrm{d}^{}t}f(q,t)\]

The integrals (2.1) calculated from these two functions are such that

\[ S' =\int_{t_1}^{t_2}L'(q,\dot{q},t)\mathrm{d}^{}t =\int_{t_1}^{t_2}L(q,\dot{q},t)\mathrm{d}^{}t +\int_{t_1}^{t_2}\frac{\mathrm{d}^{}f}{\mathrm{d}^{}t}\mathrm{d}^{}t =S +f(q^{(2)},t_2) -f(q^{(1)},t_1) \]

i.e. they differ by a quantity which gives zero on variation, so that the conditions SS’ = 0 and SS = 0 are equivalent, and the form of the equations of motion is unchanged. Thus the Lagrangian is defined only to within an additive total time derivative of any function of co-ordinates and time.