• Tidak ada hasil yang ditemukan

Many Mechanical Degrees of Freedom

Dalam dokumen Statistical Mechanics for Engineers (Halaman 36-40)

Classical Mechanics

1.5 Hamilton’s Principle

1.5.3 Many Mechanical Degrees of Freedom

Since the pendulum is confined to thexy-plane, we need thex- andy-components of the equation:

mx¨=−Tsinθ and my¨=Tcosθmg, (1.85) the solution of which must satisfy the constraint that the lengthlof the pendulum does not change:

x2+y2=l2=const. (1.86)

In (1.85),T=||T||is the length of the unknown force vectorTrequired to enforce the constraint. Thus,Tmust be found as a part of the solution. In contrast,Tsim- ply does not arise in Lagrange’s equation of motion, because the constraint was automatically taken care of by choosingθ as a single variable to specify the config- uration of the system. That is,xandygiven by (1.73) automatically satisfy (1.86).

It is also worth pointing out that, in Newtonian mechanics, we work directly with vectors such as force, position, and velocity. In contrast, we deal primarily with scalars, such as kinetic and potential energies and Lagrangian in Lagrangian mechanics. This often leads to a simpler treatment of the same problem.

A variable needed to specify the configuration of the system, such asθ, is called ageneralized coordinate. We refer to its time derivative, ˙θ here, as ageneralized velocity.

Exercise 1.5.Show that (1.85) reduces to (1.82). ///

1.5 Hamilton’s Principle 21

. ......................

. ....... .............................

x y

1 l1

m1

g

2

l2

m2

Fig. 1.8 A coplanar double pendulum oscillating in thexy-plane. Bothl1andl2are constant.

The explicit time dependence ofLdoes not play any role when considering the variations ofq1, . . . ,qf at each instant of time between givent1andt2because the field is common to both actual and varied paths.

When applying the stationarity condition ofS, that is,δS=0, the variations of q1, . . . ,qf are entirely arbitrary except that the variations must vanish att=t1and t2. As one such variation, we may consider a variation, in which onlyδqiis nonzero andδqj≡0 for j=i. Even for this rather special variation, Hamilton’s principle demands thatδS =0. This gives

d dt

L

q˙i

−∂L

qi

=0. (1.88)

Lettingivary from 1 to f, we arrive at d

dtL

q˙i

−∂L

qi

=0, i=1, . . . ,f . (1.89) What we have shown is that (1.89) is necessary in order forδS to vanish with respect to arbitrary variations ofq1, . . . ,qf. Equation (1.89) is also sufficient for δS =0. (Take a moment to think about this.)

In arriving at (1.89), we made use of the fact thatqi’s are all capable of indepen- dent variations. If the number ofqi’s exceeds f, they are not independent. Thus, by demanding thatδqj≡0 forj=i, we may be imposing a constraint on the possible values ofδqi. In this case, Hamilton’s principle does not necessarily lead to (1.89).

Example 1.4. Coplanar double pendulum: Let us find a Lagrangian of a copla- nar double pendulum placed in a uniform gravitational field as depicted in Fig.1.8.

The configuration of the system is uniquely determined if we specify the position of the particles(x1,y1)and(x2,y2). In terms of these variables, we have

L=1

2m1x12+y˙12)−m1gy1+1

2m2(x˙22+y˙22)−m2gy2. (1.90) However, since the particles are attached to the rods,x1,y1,x2, andy2are not independent and we cannot derive Lagrange’s equations of motion directly from the Lagrangian given by (1.90).

Instead, we note thatx1,y1,x2, andy2are completely determined by spec- ifying two variables φ1 andφ2. In other words, the mechanical degrees of freedom of the system is two and we should be able to find two Lagrange’s equations of motion from a Lagrangian expressed in terms ofφ12, ˙φ1, and φ˙2. From Fig.1.8, we note the following relations:

x1=l1sinφ1, y1=−l1cosφ1, x2=l1sinφ1+l2sinφ2,

y2=−l1cosφ1l2cosφ2. (1.91) Taking the time derivative,

˙

x1=l1φ˙1cosφ1,

˙

y1=l1φ˙1sinφ1,

˙

x2=l1φ˙1cosφ1+l2φ˙2cosφ2,

˙

y2=l1φ˙1sinφ1+l2φ˙2sinφ2. (1.92) Using these relations in (1.90), we find

L= 1

2(m1+m2)l12φ˙12+1

2m2l22φ˙22+m2l1l2φ˙1φ˙2cos(φ1−φ2) +(m1+m2)gl1cosφ1+m2gl2cosφ2, (1.93) where we used the identity:

cos(α+β) =cosαcosβsinαsinβ. (1.94) ThisLcan be used in (1.89) to find Lagrange’s equations of motion forφ1(t) andφ2(t).

Exercise 1.6.Consider a pendulum consisting of a massless harmonic spring and a particle of massmattached at the end of the spring as shown in Fig.1.9. The spring constant and the natural length of the spring arekandl0, respectively.

1.5 Hamilton’s Principle 23

Fig. 1.9 A pendulum suspended by a harmonic spring.

a. Leter denote a unit vector pointing from the origin to the particle. Whether we are stretching the spring (r>l0) or compressing it (r<l0), the force exerted by the spring on the particle is given by

F=−k(rl0)er. (1.95)

(Draw a diagram to convince yourself of this point.) Use this expression to show that the potential energy of the harmonic spring is given by

ψ(r) =1

2k(rl0)2. (1.96)

b. Usingθandras your generalized coordinates, find the Lagrangian of the system.

You may assume that the motion of the spring and the particle is confined to the

xy-plane. ///

Exercise 1.7.A system consists of two particles, one atr1and the other atr2. They interact via a potential energyφ which depends only on their relative positionr:=

r1r2. Using the position vectorRof the center of mass R=m1r1+m2r2

m1+m2 (1.97)

andras your generalized coordinates, show that L=1

2MR˙2+1

r˙2−φ(r), (1.98)

whereM:=m1+m2, ˙R2:=||R˙||2=R˙·R, and likewise for ˙˙ r2. The quantity µ:= m1m2

m1+m2

(1.99) is the so-calledreduced mass. Why is it more convenient to work withRandrthan

withr1andr2? ///

Given a mechanical system, its Lagrangian is determined only to an additive function dF/dt. In fact, ifL1denotes a Lagrangian of a mechanical system with f degrees of freedom, the new function

L2:=L1+dF(q1, . . . ,qf,t)

dt (1.100)

also serves as a Lagrangian of the same system.

The validity of this claim is immediately obvious if we integrate (1.100) with respect to time. In fact, if

Si[q1, . . . ,qf]:=

t2 t1

Li(q1, . . . ,qf,q˙1, . . . ,q˙f,t)dt, (1.101) then

S2[q1, . . . ,qf] =S1[q1, . . . ,qf] +F(q1(t2), . . . ,qf(t2),t2)

F(q1(t1), . . . ,qf(t1),t1). (1.102) Sinceδqi(t1) =δqi(t2) =0 for alli=1, . . . , f, we see thatδS2S1. Thus, if δS1=0, thenδS2=0 forthe same set of functions q1(t), . . . ,qf(t), which is then the solution of Lagrange’s equations of motion whether they are derived fromL1or L2. Alternatively, you can validate the claim through a more explicit computation of various derivatives as illustrated in the next exercise.

Exercise 1.8.Use (1.100) to compute d dt

L2

q˙i

−∂L2

qi and show that it is zero if and only if

d dt

L1

q˙i

−∂L1

qi =0.

This being the case fori=1, . . . ,f, the same set of functionsq1(t), . . . ,qf(t)found by solving Lagrange’s equations of motion obtained from L1 also satisfies those

derived fromL2. ///

Dalam dokumen Statistical Mechanics for Engineers (Halaman 36-40)