• Aucun résultat trouvé

The Lagrangian is Not Unique

Lagrangian Mechanics

1.6 How to Find Lagrangians

1.6.4 The Lagrangian is Not Unique

Lagrangians are not in a one-to-one relationship with physical systems—many Lagrangians can be used to describe the same physical system. In this section we will demonstrate this by show-ing that the addition to the Lagrangian of a “total time deriva-tive” of a function of the coordinates and time does not change the paths of stationary action or the equations of motion deduced from the action principle.

Total time derivatives

Let’s first explain what we mean by a “total time derivative.” Let F be a function of time and coordinates. Then the time derivative of F along a pathq is

D(F Γ[q]) = (DF Γ[q])DΓ[q]. (1.108)

Because F only depends on time and coordinates:

DF◦Γ[q] = [∂0F◦Γ[q], ∂1F Γ[q]]. (1.109) So we only need the first two components of DΓ[q],

(DΓ[q])(t) =¡

1, Dq(t), D2q(t), . . .¢

, (1.110)

to form the product

D(F Γ[q]) =0F◦Γ[q] + (∂1F Γ[q])Dq

= (∂0F + (∂1F) ˙Q)◦Γ[q], (1.111) where ˙Q = I2 is a selector function:72 c = ˙Q(a, b, c), so Dq = Q˙ Γ[q]. The function

DtF =0F + (∂1F) ˙Q (1.112)

is called the total time derivative of F; it is a function of three arguments: the time, the generalized coordinates, and the gener-alized velocities.

In general, thetotal time derivative of a local-tuple functionF is that functionDtF that when composed with a local-tuple path is the time derivative of the composition of the function F with the same local-tuple path:

DtF◦Γ[q] =D(F◦Γ[q]). (1.113)

The total time derivativeDtF is explicitly given by DtF(t, q, v, a, . . .) =0F(t, q, v, a, . . .)

+1F(t, q, v, a, . . .)v

+2F(t, q, v, a, . . .)a+· · ·, (1.114)

72Components of a tuple structure, such as the value of Γ[q](t) can be selected with selector functions: Iigets the element with indexifrom the tuple.

where we take as many terms as needed to exhaust the arguments of F.

Exercise 1.25: Properties of Dt

The total time derivativeDtF is not the derivative of the function F. Nevertheless, the total time derivative shares many properties with the derivative. Demonstrate thatDthas the following properties for local-tuple functions F and G, number c, and a function H with domain containing the range ofG.

a. Dt(F+G) =DtF+DtG b. Dt(cF) =cDtF

c. Dt(F G) =F DtG+ (DtF)G d. Dt(HG) = (DHG)DtG.

Adding total time derivatives to Lagrangians

Consider two LagrangiansL andL0 that differ by the addition of a total time derivative of a function F that depends only on the time and the coordinates

L0 =L+DtF. (1.115)

The corresponding action integral is S0[q](t1, t2) =

Z t2

t1 L0Γ[q]

= Z t2

t1

(L+DtF)Γ[q]

= Z t2

t1 L◦Γ[q] + Z t2

t1 D(F◦Γ[q])

=S[q](t1, t2) + (F Γ[q])|tt21. (1.116) The variational principle states that the action integral along a realizable trajectory is stationary with respect to variations of the trajectory that leave the configuration at the endpoints fixed. The action integralsS[q](t1, t2) andS0[q](t1, t2) differ by a term

(F Γ[q])|tt21 =F(t2, q(t2))−F(t1, q(t1)) (1.117) that depends only on the coordinates and time at the endpoints and these are not allowed to vary. Thus, ifS[q](t1, t2) is stationary

for a path, then S0[q](t1, t2) will also be stationary. So either Lagrangian can be used to distinguish the realizable paths.

The addition of a total time derivative to a Lagrangian does not affect whether the action is critical for a given path. So if we have two Lagrangians that differ by a total time derivative the corresponding Lagrange equations are equivalent in that the same paths satisfy each. Moreover, the additional terms introduced into the action by the total time derivative only appear in the endpoint condition and thus do not affect the Lagrange equations derived from the variation of the action, so the Lagrange equations are the same. So the Lagrange equations are not changed by the addition of a total time derivative to a Lagrangian.

Exercise 1.26: Lagrange equations for total time derivatives LetF(t, q) be a function of tandqonly, with total time derivative

DtF=0F+qFQ.˙ (1.118)

Show explicitly that the Lagrange equations forDtFare identically zero, and thus that the addition of DtF to a Lagrangian does not affect the Lagrange equations.

The driven pendulum provides a nice illustration of adding total time derivatives to Lagrangians. The equation of motion for the driven pendulum (see section 1.6.2),

ml2D2θ(t) +ml(g+D2ys(t)) sinθ(t) = 0, (1.119) has an interesting and suggestive interpretation: it is the same as the equation of motion of an undriven pendulum, except that the acceleration of gravity g is augmented by the acceleration of the pivot D2ys. This intuitive interpretation was not apparent in the Lagrangian derived as the difference of the kinetic and potential energies in section 1.6.2. However, we can write an alternate La-grangian that has the same equations of motion that is as easy to interpret as the equation of motion:

L0(t, θ,θ) =˙ 12ml2θ˙2+ml(g+D2ys(t)) cosθ. (1.120) With this Lagrangian it is apparent that the effect of the acceler-ating pivot is to modify the acceleration of gravity. Note, however, that it is not the difference of the kinetic and potential energies.

Let’s compare the two Lagrangians for the driven pendulum. The

difference ∆L=L−L0 is

∆L(t, θ,θ) =˙ 12m(Dys(t))2+mlDys(t) ˙θsinθ

−gmys(t)−mlD2ys(t) cosθ. (1.121) The two terms in ∆Lthat do not depend on either θor ˙θ do not affect the equations of motion. The remaining two terms are the total time derivative of the function F(t, θ) = −mlDys(t) cosθ, which does not depend on ˙θ. The addition of such terms to a Lagrangian does not affect the equations of motion.

Identification of total time derivatives

If the local-tuple functionG, with arguments (t, q, v), is the total time derivative of a function F, with arguments (t, q), then G must have certain properties.

From equation (1.112), we see that G must be linear in the generalized velocities

G(t, q, v) =G1(t, q, v) v+G2(t, q, v) (1.122) where neither G1 nor G2 depend on the generalized velocities:

2G1=2G2 = 0.

IfGis the total time derivative ofF then G1 =1F and G2 =

0F, so

0G1=01F

1G2=10F. (1.123)

The partial derivative with respect to the time argument does not have structure, so 01F = 01F. So if G is the total time derivative of F then

0G1=1G0. (1.124)

Furthermore,G1 =1F, so

1G1=11F. (1.125)

If there is more than one degree of freedom these partials are actually structures of partial derivatives with respect to each co-ordinate. The partial derivatives with respect to two different coordinates must be the same independent of the order of the differentiation. So 1G1 must be symmetric.

Note that we have not shown that these conditions are sufficient for determining that a function is a total time derivative, only that they are necessary.

Exercise 1.27: Identifying total time derivatives

For each of the following functions, either show that it is not a total time derivative or produce a function from which it can be derived.

a. G(t, x, vx) =mvx b. G(t, x, vx) =mvxcost c. G(t, x, vx) =vxcostxsint d. G(t, x, vx) =vxcost+xsint

e. G(t;x, y;vx, vy) = 2(xvx+yvy) cost(x2+y2) sint

f. G(t;x, y;vx, vy) = 2(xvx+yvy) cost(x2+y2) sint+y3vx+xvy