Loading [MathJax]/jax/output/HTML-CSS/jax.js
Skip to main content
Library homepage
 

Text Color

Text Size

 

Margin Size

 

Font Type

Enable Dyslexic Font
Physics LibreTexts

13.4: The Lagrangian Equations of Motion

( \newcommand{\kernel}{\mathrm{null}\,}\)

This section might be tough – but do not be put off by it. I promise that, after we have got over this section, things will be easy. But in this section I do not like all these summations and subscripts any more than you do.

Suppose that we have a system of N particles, and that the force on the ith particle (i=1 to N) is Fi. If the ith particle undergoes a displacement δri, the total work done on the system is iFiri. The position vector r of a particle can be written as a function of its generalized coordinates; and a change in r can be expressed in terms of the changes in the generalized coordinates. Thus the total work done on the system is

iFijriqjδqj

which can be written

jiFiriqjδqj.

But by definition of the generalized force, the work done on the system is also

jPjδqj.

Thus the generalized force Pj associated with generalized coordinate qj is given by

Pj=iFiriqj.

Now Fi=mi¨ri, so that

Pj=imi¨ririqj.

Also

ddt(˙ririqj)=¨ririqj+˙riddt(riqj).

Substitute for ¨ririqj from Equation ??? into Equation ??? to obtain

Pj=imi[ddt(˙ririqj)˙riddt(riqj)].

Now

riqj=˙ri˙qj

and

ddt(riqj)=˙riqj.

Therefore

Pj=imi[ddt(˙ri˙ri˙qj)˙ri(˙riqj)]

You may not be immediately comfortable with the assertions in Equations ??? and ??? so I’ll interrupt the flow briefly here with an example to try to justify these assertions and to understand what they mean.

Consider the relation between the coordinate x and the spherical coordinates r,θ,ϕ:

x=rsinθcosϕ

In this example, x would correspond to one of the components of ri, and r,θ,ϕ are the q1,q2,q3.

From Equation A1, we easily derive

xr=sinθcosϕxθ=rcosθcosϕxϕ=rsinθsinϕ

and differentiating Equation A1 with respect to time, we obtain

˙x=˙rsinθcosϕ+rcosθ˙θcosϕrsinθsinϕ˙ϕ

And from this we see that

˙x˙r=sinθcosϕ˙x˙θ=rcosθcosϕ˙x˙ϕ=rsinθsinϕ

Thus the first assertion is justified in this example, and I think you’ll see that it will always be true no matter what the functional dependence of ri on the qj.

For the second assertion, consider

xr=sinθcosϕ

and hence

ddtxr=cosθ˙θcosϕsinθsinϕ˙ϕ.

From Equation A3 we find that

˙xr=cosθ˙θcosϕsinθsinϕ˙ϕ,

and the second assertion is justified. Again, I think you’ll see that it will always be true no matter what the functional dependence of ri on the qj.

The kinetic energy T is

T=i12mi˙r2i=i12mi˙ri˙ri

Therefore

Tqj=imi˙ri˙riqj

and

T˙qj=imi˙ri˙ri˙qj.

On substituting these in Equation ??? we obtain

Pj=ddtT˙qjTqj.

This is one form of Lagrange’s equation of motion, and it often helps us to answer the question posed in the last sentence of Section 13.2 – namely to determine the generalized force associated with a given generalized coordinate.

Conservative Forces

If the various forces in a particular problem are conservative (gravity, springs and stretched strings, including valence bonds in a molecule) then the generalized force can be obtained by the negative of the gradient of a potential energy function – i.e. Pj=Vqj. In that case, Lagrange’s equation takes the form

ddtT˙qjTqj=Vqj.

In my experience, this is the most useful and most often encountered version of Lagrange’s equation.

The quantity L=TV is known as the lagrangian for the system, and Lagrange’s equation can then be written

ddtL˙qjLqj=0.

This form of the equation is seen more often in theoretical discussions than in the practical solution of problems. It does enable us to see one important result. If, for one of the generalized coordinates, Lqj=0 (this could happen if neither T nor V depends on qj – but of course it could also happen if Tqj and Vqj were nonzero but equal and opposite in sign), then that generalized coordinate is called an ignorable coordinate – presumably because one can ignore it in setting up the lagrangian. However, it does not really mean that it should be ignored altogether, because it immediately reveals a constant of the motion. In particular, if Lqj = 0, then L˙qj is constant. It will be seen that if qj has the dimensions of length, L˙qj has the dimensions of linear momentum. And if qi is an angle, L˙qj has the dimensions of angular momentum. The derivative L˙qj is usually given the symbol pj and is called the generalized momentum conjugate to the generalized coordinate qj. If qj is an “ignorable coordinate”, then pj is a constant of the motion.

In each of Equations ???, ??? and ??? one of the qs has a dot over it. You can see which one it is by thinking about the dimensions of the various terms. Dot has dimension T-1.

So, we have now derived Lagrange’s equation of motion. It was a hard struggle, and in the end we obtained three versions of an equation which at present look quite useless. But from this point, things become easier and we rapidly see how to use the equations and find that they are indeed very useful.


This page titled 13.4: The Lagrangian Equations of Motion is shared under a CC BY-NC 4.0 license and was authored, remixed, and/or curated by Jeremy Tatum via source content that was edited to the style and standards of the LibreTexts platform.

Support Center

How can we help?