Professional Documents
Culture Documents
Lecture 7
Lecture 7
61 Aerospace Dynamics
Spring 2003
Lecture #7
Lagrange's Equations
Massachusetts Institute of Technology How, Deyst 2003 (Based on notes by Blair 2002)
Spring 2003
Lagranges Equations
Joseph-Louis Lagrange
1736-1813
http://www-groups.dcs.st-and.ac.uk/~history/Mathematicians/Lagrange.html
Massachusetts Institute of Technology How, Deyst 2003 (Based on notes by Blair 2002)
Spring 2003
N
mg
m2
x1
x2
Massachusetts Institute of Technology How, Deyst 2003 (Based on notes by Blair 2002)
Spring 2003
Massachusetts Institute of Technology How, Deyst 2003 (Based on notes by Blair 2002)
Spring 2003
Massachusetts Institute of Technology How, Deyst 2003 (Based on notes by Blair 2002)
Spring 2003
Simple Example
Spring mass system
Spring mass system
Linear spring
Frictionless table
k
m
x
Lagrangian L = T V
L = T V = 1 mx 2 1 kx 2
2
2
Lagranges Equation
d L L
=0
dt qi qi
Do the derivatives
d L
L
L
,
= mx ,
= kx
=
mx
qi
qi
dt qi
Massachusetts Institute of Technology How, Deyst 2003 (Based on notes by Blair 2002)
Spring 2003
LM RD OP L 0 O L R + RO LM RD OP
rD = M 0 P + M 0 P M 0 P = M ( R + R)P
M
M
P
P
MN 0 PQ MN PQ MN 0 PQ MN 0 PQ
m
m
T = (rD ) (rD ) = c RD + ( R + R) h
2
2
I
M
I T
M
V=2
I
M
k 2
R
2
L = T V =
FG IJ
H K
m D2
R + 2 ( Ro + R) 2 kR 2
2
d L
DD
= mR
dt RD
L
= m 2 ( Ro + R) 2 kR
R
DD m 2 ( R + R) + 2 kR = 0
So the equations of motion are: mR
o
or
F
H
I
K
Massachusetts Institute of Technology How, Deyst 2003 (Based on notes by Blair 2002)
Spring 2003
x
n=3
Coordinate sets: x, y, z
m=0
DOF = n m = 3
or r, ,
Massachusetts Institute of Technology How, Deyst 2003 (Based on notes by Blair 2002)
Spring 2003
Example 2
o Conical Pendulum
z
r=L
Cartesian Coordinates
Spherical Coordinates
n = 3 (x, y, z)
m = 1 (x2 + y2 + z2 = R2)
DOF = 2
n = 2 (, )
m=0
DOF = 2
Example 3
o Two particles at a fixed distance (dumbbell)
Coordinates:
n=
m=
EOCs =
DOF =
Massachusetts Institute of Technology How, Deyst 2003 (Based on notes by Blair 2002)
Spring 2003
Generalized Coordinates
No specific set of coordinates is required to analyze the
system.
Number of coordinates depends on the system, and not
the set selected.
Any set of parameters that are used to represent a system
are called generalized coordinates.
Coordinate Transformation
Often find that the best set of generalized coordinates
used to solve a problem may not provide the information
needed for further analysis.
Use a coordinate transformation to convert between sets
of generalized coordinates.
Example: Work in polar coordinates, then transform to
rectangular coordinates, e.g.
x = r sin cos
y = r sin sin
z = r cos
Massachusetts Institute of Technology How, Deyst 2003 (Based on notes by Blair 2002)
Spring 2003
Let:
x2 = f 2 ( q1 , q2 , q3 , h qn , t )
m
xn = f n ( q1 , q2 , q3 , h qn , t )
Massachusetts Institute of Technology How, Deyst 2003 (Based on notes by Blair 2002)
10
Spring 2003
J=
( x1 , x2 , x3 , h xn )
( q1 , q2 , q3 , h qn )
No singular points
x = f1 (u,v)
y = f2 (u,v)
LM x
q
M
J=M m
MM xq
N
1
1
n
1
x1
qn
p m
x n
qn
OP
PP
PP
Q
LM
MM
N
OP
PP
Q
Massachusetts Institute of Technology How, Deyst 2003 (Based on notes by Blair 2002)
11
Spring 2003
Constraints
Existence of constraints complicates the solution of the problem.
Can just eliminate the constraints
Deal with them directly (Lagrange multipliers, more later).
Holonomic Constraints can be expressed algebraically.
j ( q1 , q2 , q3 , l qn , t ) = 0, j = 1, 2, l m
Properties of holonomic constraints
Can always find a set of independent generalized
coordinates
Eliminate m coordinates to find n m independent
generalized coordinates.
Example: Conical Pendulum
z
r=L
Cartesian Coordinates
Spherical Coordinates
n = 3 (x, y, z)
m = 1 (x2 + y2 + z2 = L2)
DOF = 2
n = (r, , )
m = 1, r = L
DOF = 2
Massachusetts Institute of Technology How, Deyst 2003 (Based on notes by Blair 2002)
12
Spring 2003
a
i =1
ji
dqi + a jt dt = 0, j = 1, 2, l m
a ji = ( q1 , q2 , q3 , l qn , t )
a
i =1
qD + a jt = 0, j = 1, 2, l m
ji i
a jt
qi
13
Spring 2003
v = x = r
dx rd = 0
y = v cos = r cos
dx r sin d = 0
r
x
dy r cos d = 0
14
Spring 2003
Summary to Date
Why use Lagrange Formulation?
1. Scalar, not vector
2. Eliminate solving for constraint forces
3. Avoid finding accelerations
Massachusetts Institute of Technology How, Deyst 2003 (Based on notes by Blair 2002)
15