Lagrange's equation

The Cartesian equations of motion of our system take the form

$\displaystyle m_j\,\skew{3}\ddot{x}_j = f_j,$ (7.9)

for $j=1,{\cal F}$, where $m_1, m_2, m_3$ are each equal to the mass of the first particle, $m_4, m_5, m_6$ are each equal to the mass of the second particle, and so forth. Furthermore, the kinetic energy of the system can be written

$\displaystyle K = \frac{1}{2}\sum_{j=1,{\cal F}} m_j\,\skew{3}\dot{x}_j^{\,2}.$ (7.10)

Because $x_j=x_j(q_1,q_2,\cdots, q_{\cal F},t)$, we can write

$\displaystyle \skew{3}\dot{x}_j= \sum_{i=1,{\cal F}} \frac{\partial x_j}{\partial q_i}\,\skew{3}\dot{q}_i
+ \frac{\partial x_j}{\partial t},$ (7.11)

for $j=1,{\cal F}$. Hence, it follows that $\skew{3}\dot{x}_j = \skew{3}\dot{x}_j(\skew{3}\dot{q}_1,\skew{3}\dot{q}_2,\cdots,
\skew{3}\dot{q}_{\cal F},q_1,q_2,\cdots,q_{\cal F},t)$. According to the preceding equation,

$\displaystyle \frac{\partial \skew{3}\dot{x}_j}{\partial\skew{3}\dot{q}_i} = \frac{\partial x_j}{\partial q_i},$ (7.12)

where we are treating the $\skew{3}\dot{q}_i$ and the $q_i$ as independent variables.

Multiplying Equation (7.12) by $\skew{3}\dot{x}_j$, and then differentiating with respect to time, we obtain

$\displaystyle \frac{d}{dt}\!\left(\skew{3}\dot{x}_j\,\frac{\partial \skew{3}\do...
...kew{3}\dot{x}_j\,\frac{d}{dt}\!\left(
\frac{\partial x_j}{\partial q_i}\right).$ (7.13)

Now,

$\displaystyle \frac{d}{dt}\!\left(\frac{\partial x_j}{\partial q_i}\right) = \s...
... q_k}\,\skew{3}\dot{q}_k +
\frac{\partial^{\,2} x_j}{\partial q_i\,\partial t}.$ (7.14)

Furthermore,

$\displaystyle \frac{1}{2} \,\frac{\partial\skew{3}\dot{x}_j^{\,2}}{\partial \sk...
...kew{3}\dot{x}_j\,\frac{\partial \skew{3}\dot{x}_j}{\partial \skew{3}\dot{q}_i},$ (7.15)

and

$\displaystyle \frac{1}{2}\,\frac{\partial \skew{3}\dot{x}_j^{\,2}}{\partial q_i}
= \skew{3}\dot{x}_j\,\frac{\partial \skew{3}\dot{x}_j}{\partial q_i}$ $\displaystyle =
\skew{3}\dot{x}_j\,\frac{\partial}{\partial q_i}\!\left(\sum_{k...
... x_j}{\partial q_k}\,\skew{3}\dot{q}_k +
\frac{\partial x_j}{\partial t}\right)$    
  $\displaystyle = \skew{3}\dot{x}_j\left(\sum_{k=1,{\cal F}}\frac{\partial^{\,2} ...
...skew{3}\dot{x}_j\,\frac{d}{dt}\!\left(\frac{\partial x_j}{\partial q_i}\right),$ (7.16)

where use has been made of Equation (7.14). Thus, it follows from Equations (7.13), (7.15), and (7.16) that

$\displaystyle \frac{d}{dt}\!\left(\frac{1}{2}\,\frac{\partial \skew{3}\dot{x}_j...
...tial q_i} + \frac{1}{2}\,\frac{\partial \skew{3}\dot{x}_j^{\,2}}{\partial q_i}.$ (7.17)

Let us take Equation (7.17), multiply by $m_j$, and then sum over all $j$. We obtain

$\displaystyle \frac{d}{dt}\!\left(\frac{\partial K}{\partial \skew{3}\dot{q}_i}...
...l F}}
f_j\,\frac{\partial x_j}{\partial q_i} + \frac{\partial K}{\partial q_i},$ (7.18)

where use has been made of Equations (7.9) and (7.10). Thus, it follows from Equation (7.6) that

$\displaystyle \frac{d}{dt}\!\left(\frac{\partial K}{\partial \skew{3}\dot{q}_i}\right) = Q_i + \frac{\partial K}{\partial q_i}.$ (7.19)

Finally, making use of Equation (7.8), we get

$\displaystyle \frac{d}{dt}\!\left(\frac{\partial K}{\partial \skew{3}\dot{q}_i}\right) = -\frac{\partial U}{\partial q_i}+\frac{\partial K}{\partial q_i}.$ (7.20)

It is helpful to introduce a function ${\cal L}$, called the Lagrangian, that is defined as the difference between the kinetic and potential energies of the dynamical system under investigation:

$\displaystyle {\cal L} = K - U.$ (7.21)

Because the potential energy $U$ is clearly independent of the $\skew{3}\dot{q}_i$, it follows from Equation (7.20) that

$\displaystyle \frac{d}{dt}\!\left(\frac{\partial {\cal L}}{\partial \skew{3}\dot{q}_i}\right) -\frac{\partial {\cal L}}{\partial q_i} =0,$ (7.22)

for $i=1,{\cal F}$. This equation is known as Lagrange's equation.

According to the preceding analysis, if we can express the kinetic and potential energies of our dynamical system solely in terms of our generalized coordinates and their time derivatives then we can immediately write down the equations of motion of the system, expressed in terms of the generalized coordinates, using Lagrange's equation, Equation (7.22). Unfortunately, this scheme only works for conservative systems.

As an example, consider a particle of mass $m$ moving in two dimensions in the central potential $U(r)$. This is clearly a two-degree-of-freedom dynamical system. As described in Section 4.4, the particle's instantaneous position is most conveniently specified in terms of the plane polar coordinates $r$ and $\theta $. These are our two generalized coordinates. According to Equation (4.13), the square of the particle's velocity can be written

$\displaystyle \varv^{\,2} = \dot{r}^{\,2} + (r\,\skew{5}\dot{\theta})^2.$ (7.23)

Hence, the Lagrangian of the system takes the form

$\displaystyle {\cal L} = \frac{1}{2}\,m\,(\dot{r}^{\,2} + r^{\,2}\,\skew{5}\dot{\theta}^{\,2}) - U(r).$ (7.24)

Note that

$\displaystyle \frac{\partial {\cal L}}{\partial\dot{r}}$ $\displaystyle = m\,\dot{r},$ $\displaystyle \frac{\partial {\cal L}}{\partial r}$ $\displaystyle = m\,r\,\skew{5}\dot{\theta}^{\,2} - \frac{dU}{dr},$ (7.25)
$\displaystyle \frac{\partial {\cal L}}{\partial \skew{5}\dot{\theta}}$ $\displaystyle = m\,r^{\,2}\,\skew{5}\dot{\theta},\phantom{123}$ $\displaystyle \phantom{12}
\frac{\partial {\cal L}}{\partial\theta}$ $\displaystyle = 0.$ (7.26)

Now, Lagrange's equation, Equation (7.22), yields the equations of motion,

$\displaystyle \frac{d}{dt}\!\left(\frac{\partial {\cal L}}{\partial\dot{r}}\right)- \frac{\partial {\cal L}}{\partial r}$ $\displaystyle = 0,$ (7.27)
$\displaystyle \frac{d}{dt}\!\left(\frac{\partial {\cal L}}{\partial\skew{5}\dot{\theta}}\right)- \frac{\partial {\cal L}}{\partial \theta}$ $\displaystyle = 0.$ (7.28)

Hence, we obtain

$\displaystyle \frac{d}{dt}\!\left(m\,\dot{r}\right) - m\,r\,\skew{5}\dot{\theta}^{\,2} + \frac{dU}{dr}$ $\displaystyle = 0,$ (7.29)
$\displaystyle \frac{d}{dt}\!\left(m\,r^{\,2}\,\skew{5}\dot{\theta}\right)$ $\displaystyle = 0,$ (7.30)

or

$\displaystyle \ddot{r} - r\,\skew{5}\dot{\theta}^{\,2}$ $\displaystyle = - \frac{d V}{dr},$ (7.31)
$\displaystyle r^{\,2}\,\skew{5}\dot{\theta}$ $\displaystyle = h,$ (7.32)

where $V = U/m$, and $h$ is a constant. We recognize Equations (7.31) and (7.32) as the equations that we derived in Chapter 4 for motion in a central potential. The advantage of the Lagrangian method of deriving these equations is that we avoid having to express the acceleration in terms of the generalized coordinates $r$ and $\theta $.