Classical Mechanics/Lagrange Theory

From testwiki
Jump to navigation Jump to search

Up

This section contains several theoretical developments of the Lagrangian formalism that are not directly necessary for solving problems. However, these considerations help understand the theory more deeply and answer certain important questions.

Why does the extremum of a functional determine motion?

In the Lagrangian formulation of mechanics, the trajectory q(t) is determined from the condition that the action functional S[q(t)] should have an extremum. (It is not always the case that the trajectory is the minimum of the action; in some cases it might be merely an extremum, i.e. a point where the functional derivative δS/δq(t) vanishes.) This condition is known as the action principle. By now, you should be familiar with the mathematical procedures used to derive the equations of motion from the action principle.

So, at this point, you should be well used to the fact that the correct equations of motion for each mechanical system indeed follow from the action principle, if the Lagrangian is chosen appropriately. However, it might still feel like a mystery to you that Newton's laws are equivalent to the condition for the extremum of some functional. You might be asking yourself: why is this possible at all?

Here is one explanation that may help. Let us consider a simple mechanical system: a point mass m moving in one dimension, with coordinate x(t), in a potential U(x). (The same considerations can be easily generalized to the case of more than one dimensions and more than one coordinate.) Suppose that x0(t) is the correct trajectory according to Newton's law,

mx¨0(t)=dUdx|x=x0(t).

How can we use a functional S[x] to express the condition that the trajectory x(t) is the correct one? One way is to demand that the deviation of x(t) from x0(t) is everywhere zero. This can be expressed using the functional

S1[x]=t1t2[x(t)x0(t)]2dt.

It is clear that the functional S1[x] has the minimum value (obviously the minimum is 0) if and only if x(t)=x0(t) for all t. This is an example of how to use a functional to express some condition on functions: the functional S1[x] measures the deviation of x(t) from x0(t) all along the way. The smallest possible deviation is no deviation at all; thus, the minimum of the functional S1[x(t)] is at the trajectory x(t) that does not deviate at all from x0(t).

Another similar way to specify the trajectory is to use the functional

S2[x]=t1t2[x˙(t)x˙0(t)]2dt.

This functional, together with the boundary conditions x(t1)=x0(t1),x(t2)=x0(t2), has the minimum value if and only if x(t)=x0(t) for all t.

Admittedly, the functionals S1[x],S2(x) do not help us to formulate the laws of mechanics, because they already contain the correct trajectory x0(t) explicitly. We shall now construct another functional, S3[x], starting from S2[x] and trying to eliminate the explicit dependence on x0(t).

Let us rewrite S2[x] as

S2[x]=t1t2[x˙22x˙x˙0+x˙02]dt.

The third term, x˙02, is a fixed function and does not vary when we vary x(t). Therefore we may omit that term from S2. Furthermore, we would like to have x¨0 rather than x˙0, since we could then use Newton's law for the correct trajectory. So let us integrate the second term by parts:

2t1t2x˙x˙0dt=2xx˙0|t1t2+t1t22xx¨0dt.

The boundary term xx˙0|t1t2 does not vary with x(t) since the boundary values of x(t) are fixed. Therefore we may omit that term. Finally, we use Newton's law to replace x¨0 by m1U(x0):

t1t22xx¨0dt=t1t22m1xU(x0).

If we now assume that the trajectory x(t) deviates very little from the correct trajectory x0(t), then we may approximately write

xU(x0)=(xx0)U(x0)+x0U(x0)=U(x)U(x0)+O[(xx0)2]+x0U(x0).

The term quadratic in (xx0) can be omitted under the above assumption. The terms U(x0) and x0U(x0) can be omitted since they are independent of x(t). Thus we find that the functional S2 is equivalent, up to inessential terms that do not vary with x(t), to the following functional:

S3[x]=t1t2[x˙22m1U(x)]dt.

It is clear that S3 is equivalent to the usual Lagrangian up to the coefficient m/2.

In this way, we obtained a functional S3[x] which has a minimum when x(t) is very close to x0(t); i.e. it is a local minimum. The new functional does not depend explicitly on x0(t), just as we wanted. The price to pay is that this functional works only for small deviations from the correct trajectory. Indeed, the functional S3 may have other minima or maxima which the original functional S2 does not have. The only real justification for the correctness of S3 is that the equations of motion coincide with Newton's law.

Why can we use arbitrary coordinates to write the Lagrangian?

In simple cases, the Lagrangian is equal to the difference of the kinetic and the potential energy terms. However, one needs to select some coordinates to describe these terms. Then it is completely unimportant which variables are chosen as coordinates; these variables could be lengths, angles, or any functions of lengths and angles (but not velocities!). In other words, one can use any coordinate systems or even just parts of some coordinate systems, as long as the possible positions of every mass point is adequately described by the coordinates and the appropriate constraints. For this reason, the coordinates entering the Lagrangian are called generalized coordinates. Usually, one chooses generalized coordinates for convenience, to minimize the required computational work, or to decrease the number of necessary constraints.

However, you may be asking yourself: why is it that one is allowed to use arbitrary coordinates in the Lagrangian formalism? Certainly, as we know, Newton's laws are not the same in different coordinates: for instance, the mass times the acceleration is equal to the force only if the acceleration is computed as x¨(t), where x(t) is the vector of Cartesian coordinates (x,y,z). This formula will be incorrect if the vector x=(x1,x2,x3) were to consist of, say, the radius r=x2+y2+z2, the azimuthal angle ϕ in the (x,y) plane, and the coordinate z. However, the Lagrangian formalism will work just fine if we express the kinetic and the potential energy through the variables (x1,x2,x3)=(r,ϕ,z). The equations of motion will be given by the Euler-Lagrange equation,

ddtLx˙=Lx,

as before. One says that the Lagrangian formalism is covariant with respect to coordinate transformations.

The reason for this can be explained in two ways: either more formally, by showing that the Euler-Lagrange equations remain the same under an arbitrary change of coordinates; or more visually, by approaching the situation from the geometric point of view.

Formal derivation

For simplicity, we shall only consider a one-dimensional problem with a Lagrangian L(q,q˙,t), where q(t) is a generalized coordinate. The same consideration is very easily generalized to the case of multiple coordinates.

Suppose that a new coordinate x(t) is chosen instead of q(t). The new coordinate can be a function of the old coordinate. Let us consider an even more general case where the change of coordinates depends on time (i.e. we may choose slightly different coordinates at different times). Then the new coordinate is related to the old one by a formula such as

q(t)=F(x(t),t),

where F(x,t) is a known function.

Now we need to express the old Lagrangian L(q,q˙,t) through the new variable x and its derivative x˙. We have

q˙=F,t+F,xx˙,

where we denote partial derivatives by subscripts with commas, e.g. f(a,b,c)/af,a. This is a condensed notation frequently used in physics.


The Lagrangian expressed through the new variable x is therefore

L(q,q˙,t)=L~(x,x˙,t)=L(F(x,t),F,t+F,xx˙,t).

The new variable x is a good variable if it is a nontrivial function of the old one, i.e. if F,x0. Then the new Lagrangian will be a nontrivial function that depends on x˙ as well as on x. So we shall assume that F,x0 at least within some interval of x.

Now let us compare the equations of motion (EOM) that we would derive in the old coordinates and in the new coordinates.

The old EOM can be written as

ddtL,q˙=L,q.

The new EOM is

ddtL~,x˙=L~,x.

Let us express this equation through L instead of L~:

L~,x=L,qF,x+L,q˙(F,tx+F,xxx˙),

L~,x˙=L,q˙F,x,

ddtL~,x˙=F,xddtL,q˙+L,q˙ddtF,x.

Therefore, the new EOM is

F,xddtL,q˙+L,q˙ddtF,x=L,qF,x+L,q˙(F,tx+F,xxx˙).

Simplifying this expression, we find

F,xddtL,q˙=F,xL,q.

We find that the new EOM is indeed equivalent to the old one, under the assumption that F,x0.

Geometric picture

The computation presented above is straightforward and explicit, but may leave you wondering why it works. Here is a more visual explanation.

The Euler-Lagrange equations express the condition that the functional S[q] has an extremum at the trajectory q(t). Let us imagine a space of all trajectories, i.e. some huge space where each "point" represents one entire trajectory q(t). The functional S[q] has an extremum at some "point" q0 which is the actual trajectory of the mechanical system. When we change coordinates, qx, we merely change our description of this space of trajectories. We cannot change the fact that the functional S has an extremum somewhere, at some "point" q0. We may only change our description of this "point". Therefore, after a change of variables the new functional S~[x]=S[q] will again have an extremum at some "point" x0, and this "point" x0 will have to correspond to the "point" q0 after the change of variables. The existence of the extremum is a geometric characteristic of the shape of the functional S; that's why it is independent of the way we choose to describe it with coordinates.

Let us consider a simple example where we use functions instead of functionals. The function f(q)=(q1)2 has a minimum at q=1. We may change coordinates and use x instead of q, where e.g. q=F(x)2sinx. This is a well-defined change of variables on the interval x(π/2,π/2), where F,x0. In the new coordinates, the function f(q) looks like f~(x)=(2sinx1)2. This function has a minimum at x=π/6 where 2sinx=1. But geometrically speaking, this is exactly the same function as before, except viewed in different coordinates. Therefore, it is no surprise that the minimum x=π/6 is the old minimum q=1 after the change of coordinates.

This equivalence can be seen more formally. The condition for the minimum of the function f~(x) is

ddxf~(x)=0=df(q)dqdFdx.

This condition is equivalent to the condition for the minimum of the function f(q), namely f,q=0, as long as F,x0. This is why the position of the minimum in the old coordinates, q=1, exactly corresponds to the position of the minimum in the new coordinates, x=π/6.

Similarly, when we consider functionals, we may write the condition for the minimum of S~[x]=S[F(q)] in new coordinates as

δS~δx(t)=0=δSδq(t)dFdx.

It is clear that the condition for the minimum remains the same under the change of variables, as long as the new variables are well-defined, i.e. F,x0.

Is the Lagrangian unique?

Another important question is whether there is only one Lagrangian that yields the correct equations of motion for a given system. The answer is that there are infinitely many different Lagrangians that can be used for any given system.

First of all, one may always multiply the Lagrangian by a constant α and also add an arbitrary fixed function of time, F(t), to the Lagrangian. The modified Lagrangian is then L~(q,q˙,t)=αL(q,q˙,t)+F(t). The term F(t) is "fixed" in the sense that it does not depend on q(t). Then we can integrate this term explicitly and express the modified action as

S~[q]=αS[q]+t1t2F(t)dt.

The last term above is simply a number. Clearly, this modification of the action is irrelevant: if q(t) is an extremum of S[q], then it is also an extremum of S~[q]. Adding a constant to a function does not change the position of the extrema.

More generally, we may add an arbitrary total time derivative to the Lagrangian:

L~=L+ddtF(q,t).

The resulting modification of the action is

S~[q]=S[q]+t1t2ddtF(q,t)dt=S[q]+F(q2,t2)F(q1,t1),

where q1,q2 are the boundary values of q(t). Since these values are fixed and do not vary when we vary q(t), the extra term in the action is again a constant. Therefore, this modification of the action does not change the equations of motion. One says that two Lagrangians differing by a total derivative are equivalent.

One may even allow functions F that depend on derivatives of q(t) as well as on q(t). However, in this case one would need to keep fixed also the values of the corresponding derivatives of q(t) at the boundary points t1,t2.

So, as we see, the Lagrangian for a given physical system is not unique. The recipe "kinetic energy minus potential energy" is merely a simple rule that yields a good Lagrangian.

The variety of equivalent Lagrangians is not limited to those that differ by a total derivative or by a constant coefficient. For example, the Lagrangians

L(q,q˙)=q2q˙4,L~(q,q˙)=q3q˙6,

lead to the same equation of motion,

[q˙2+2qq¨]qq˙2=0,

even though one obviously cannot find a function F(q,t) and a constant α such that L=αL+dF/dt. (Such a function would produce at most an extra F,qq˙ term in the Lagrangian, but not terms that are nonlinear in derivatives.)

Template:BookCat