Professional Documents
Culture Documents
Lagrangian Approach
Dale E. Gary
NJIT Physics Department
11.4 Lagrangian ApproachCarts
and Springs
Lets do the problem of two carts and three springs using the Lagrangian
approach, just to show that we arrive at the same two equations of motion.
In this problem, using the same x1 and x2 as coordinates, we easily arrive at
the kinetic energy:
T 12 m1 x12 12 m2 x22 .
To write down the potential energy, consider the extension of each spring,
i.e. x1 for spring k1, x2 x1 for spring k2, and x2 for spring k3. Then the
potential energy is
U 12 k1 x12 12 k2 ( x2 x1 ) 2 12 k3 x22
12 (k1 k2 ) x12 k2 x1 x2 12 (k2 k3 ) x22 .
Writing the Lagrangian, T U, and inserting into the two Lagrangian
equations, gives as usual: d L L
or m1 x1 (k1 k2 ) x1 k2 x2
dt x1 x1
d L L
or m2 x2 k2 x1 ( k2 k3 ) x2 .
dt x2 x2
The problem then proceeds as before.
December 08, 2009
Lagrangian ApproachDouble
Pendulum
There was no particular advantage to using the Lagrangian approach for that
problem, but there are others for which the Lagrangian approach is distinctly
easiersuch as the double pendulum shown at right.
This is just a second pendulum of mass m2 and length L2
connected to a pendulum of mass m1 and length L1. f1 L1
The two angular coordinates are the obvious ones to use L1f1
for our generalized coordinates. m1
L2f2
Note from the figure that the motion of bob two is the vector f2
L2
L1f1
sum of its own motion, and that of bob one that it is connected
to. Thus, the kinetic energy is m2
T 12 m1 L12f12 12 m2 [ L12f12 2 L1 L2f1f2 cos(f1 f2 ) L22f22 ]
12 (m1 m2 ) L12f12 m2 L1 L2f1f2 cos(f1 f2 ) 12 m2 L22f22 .
Likewise, for U we see that the height of the bobs are L1(1 cosf1) and this
height plus L2(1 cosf2) :
U (m1 m2 ) gL1 (1 cos f1 ) m2 gL2 (1 cos f2 ).
But the resulting Lagrangian is not solvable analytically.
where the coefficients Ajk(q) may depend on the coordinates q (see T for the
double pendulum).
Our final assumption is that the system is undergoing only small oscillations,
which means we Taylor expand T and U if necessary to make the equations
quadratic, e.g. U 2U
U (q) U (0) qj 2
1
q j qk 12 K jk q j qk .
j q j j , k q j qk j ,k
j ,k
December 08, 2009
The General Case-3
This leads to the n general equations of motion
M ij q j Kij q j , [i = 1,
j j
, n]
The rule is this: if you ignore the factor in front of the equation for U, then the
diagonal element Kii is just the coefficient of fi2, while an off-diagonal element Kij
is half the coefficient of fifj.
December 08, 2009
Three Coupled Pendulums-3
The rest of the solution is as before, except we have three x three matrices.
We look for wave solutions z1 (t ) a1
z (t ) z2 (t ) a2 eit ,
z3 (t ) a3
whose real part is the physical solution f(t ) Re z (t ). This leads us to
(K 2 M)a 0,
which is solved to find the (three) normal mode frequencies.
Inserting: g k 2 k 0
K 2M k g 2k 2 k
0 k g k
2
Setting the determinant to zero leads to
( g 2 )( g k 2 )( g 3k 2 ) 0,
with solutions
12 g , 22 g k and 32 g 3k .
Recall that we may want to reinsert L and m at this stage, to get
12 g L , 22 g L k m and 32 g L 3k m .
December 08, 2009
Three Coupled Pendulums-4
Substituting these in turn into (K 2 M)a 0, we find the eigenvectors
a1 a2 a3 Ae i , [first mode]
a1 a3 , but a2 0, [second mode]
a1 12 a2 a3 . [third mode]
After inserting this for z(t) and taking the real part, the equations
represented by the first normal mode are:
f1 f2 f3 A cos(1t )
The point is that you should at least leaf through the material in these chapters
and see what they contain. The chapter on chaos is particularly interesting and
surprising. With what you have learned so far in this course, you should be
able to handle the new material contained in these chapters. Use the
Christmas break to spend a little time with it.
Youve been a great class, and as usual I learned a lot in teaching this. I hope
you have, too.
December 08, 2009