Sei sulla pagina 1di 16

Physics 430: Lecture 15

Lagranges Equations

Dale E. Gary
NJIT Physics Department
Problem 6.19 y(x) (x2,y2)
y
q Statement of the problem:
(x1,y1)
n A surface of revolution is generated as follows: Two fixed
points (x1, y1) and (x2, y2) in the x-y plane are joined by a x
curve y = y(x). [Actually, youll make life easier if you start
out writing this as x = x(y).] The whole curve is now rotated
about the x axis to generate a surface. Show that the curve
ds
for which the area of the surface is stationary has the form
y = yo cosh[( x xo ) / yo ],
where xo and yo are constants. (This is often called the soap-bubble problem, since
the resulting surface is usually the shape of a soap bubble held by two coaxial
rings of radii y1 and y2.)
q Solution:
n What we have to minimize now is not a line, but rather a surface, dA = y d ds.
n We could write this
2 x2
A = 2 yds = 2 y 1 + y( x) 2 dx,
1 x
but then both Euler-Lagrange terms will
1
be non-zero. Instead, follow the hint:
2 y2
A = 2 yds = 2 y 1 + x( y) 2 dy,
1 y1

October 21, 2010


Problem 6.19, contd
q Solution, contd:
n We identify f = y 1 + x( y) 2 ,

so
f and
d f d yx yx
= 0, = =0 =C
x dy x dy 1 + x2 1 + x 2

n Squaring, we have (
y 2 x2 = C 2 1 + x2 . )
Solving for
C
n x = .
2 2
y C
n Integrating
C dy du y
x= dy = = C = C arccosh + xo .
y2 C2 y2
1 u 2 1 C
C2
n The statement of the problem wants y(x), so we have to solve for y, to get
y = yo cosh[( x xo ) / yo ],
where we identify C = yo.

October 21, 2010


6.4 More Than Two Variables
q Aside: Maximum and minimum vs. stationarygeodetics on surfaces.
q When we discussed the shortest path between two points, we examined the
situation in the figure below.
q However, this is not the most general path. Here is one that cannot be
expressed as a function y(x).
q To handle this case, we need to consider a path specified by an independent
variable u along the path, i.e. x = x(u), y = y(u) .
u2
q Now the length of the path is then L = x(u) 2 + y(u ) 2 du.
In general, the problem is

u1 y Y ( x) = y( x)+ ( x) (wrong)
q y2
2 2
S = f [ x(u ), y (u ), x (u ), y (u ), u ]du.
1
1 y1 y = y(x) (right)
q This may seem more difficult than the previous case, x
but in fact we just proceed in the same manner with x1 x2
the wrong paths x = x(u ) + (u ); (u1 ) = (u2 ) = 0.
y = y(u ) + (u ); (u1 ) = (u2 ) = 0.
October 21, 2010
More Than Two Variables-2
q The stationary path is the one for which
S S
=0 and = 0.

q Following the same procedure as before, we end up with two Euler-Lagrange
equations that the function f must satisfy:
f d f f d f
=0 and = 0.
x du x y du y
q In Chapter 7, we will meet problems with several variables, with time t as the
independent variable. In these cases, there will be two or more Euler-
Lagrange equations to satisfy (for example, equations for x, y and z).
q One of the great strengths of Lagrangian mechanics is its ability to deal with
cartesian, cylindrical, spherical, and any other coordinate systems with ease.
q In order to generalize our discussion, we write (x, y, z), (, , z) or (r, , ) as
generalized coordinates (q1, q2, , qN).

October 21, 2010


The Lagrangian
q In the next chapter, we will use slightly different notation, and refer to our
integrand function
f [q1 , q2 ,", qN , q!1 , q!2 ,", q! N , t ],
as the Lagrangian
L = L[q1 , q2 ,", qN , q!1 , q!2 ,", q! N , t ].
q Note that because the independent variable is t, we can use q!i rather than qi.
q We will then make the action integral stationary

S = L[q1 , q2 ,", qN , q!1 , q!2 ,", q! N , t ] dt ,

which requires that L satisfy


L d L L d L L d L
= ; = ; "; = .
q1 dt q!1 q2 dt q! 2 q N dt q! N

q We will develop this more next time.


October 21, 2010
Advantages Over Newtonian
Mechanics
q We are now going to use the ideas of the previous lecture to develop a new
formalism for mechanics, called Lagrangian mechanics, invented by
Lagrange (1736-1813).
q There are two important advantages of the Lagrange formalism over that of
Newton.
q First, as we have seen, Lagranges equations take the same form for any
coordinate system, so that the method of solution proceeds in the same
way for any problem.
q Second, the Lagrangian approach eliminates the forces of constraint, which
we talked about in Chapter 4. This makes the Lagrangian formalism easier
to solve in constrained problems.
q This chapter is the heart of advanced classical mechanics, but it introduces
some new methods that will take getting used to. Once you master it, you
will find it an extraordinarily powerful way to solve mechanics problems.
q To help you master it, we will spend the next three lectures on it, and you
will be solving a number of problems. However, there are many more at
the end of the chapter, and you are advised to try a few more.
October 21, 2010
7.1 Lagranges Equations for
Unconstrained Motion
q Recall our general function f, that played such a large role in the Euler-
Lagrange equation f d f
= 0.
y dx y
q To make the connection to mechanics, we are now going to show that a
function called the Lagrangian, L = T U, is the function that, when used in
the Euler-Lagrange equation, leads to the equation of motion for a particle.
q Here, T is the particles kinetic energy
T = 12 mv 2 = 12 mr! 2 = 12 m( x! 2 + y! 2 + z! 2 ),
and U is the potential energy
U = U (r ) = U ( x, y, z ).
q Note that L is NOT the total energy, E = T + U. One can ask why the
quantity T U should give rise to the equation of motion, but there seems to
be no good answer.
q I do note, however, that the problem can be cast in terms of the total
energy, which gives rise to Hamiltonian mechanics (sec. 7.8 and chap. 13).
October 21, 2010
Lagrangian
q Obviously, with the dependences of T on the x, y, z velocities, and U on the x,
y, z positions, the Lagrangian depends on both, i.e.
L = L [ x, y, z, x!, y! , z!, t ].
q Lets look at the first two derivatives
L U L T
= = Fx , and = = mx! = px .
x x x! x!
q But note that if we differentiate the second equation with respect to time we
get d L d Note: this last equality is
= mx! = m!x! = p! x = Fx , only true in an inertial frame.
dt x! dt
q So you can see that the Lagrange equation is manifestly true for a free
particle: L d L
= .
x dt x!
q In Cartesian coordinates (so far) in three dimensions, we have:
L d L L d L L d L
= , = , and = .
!
x dt x !
y dt y !
z dt z
October 21, 2010
Connection to Euler-Lagrange
q If you compare the Lagrange equations with the Euler-Lagrange equation we
developed in the previous chapter, you see that they are identical.
q Since the Euler-Lagrange equation is the solution to the problem of
stationarity of a path integral, we see that
t2
S = L dt
t1
is stationary for the path followed by the particle.
q This integral has a special name in Physicsit is called the action integral,
and when it is a minimum it is called the principle of least action, although
that is a misnomer in the sense that this could be a maximum, or even an
inflection point.
q The principle is also called Hamiltons Principle:
The actual path that a particle follows between two points 1 and
2 in a given time interval, t1 to t2, is such that the action integral
t2
S = L dt
t1
is stationary when taken along the actual path.
October 21, 2010
Generalized Coordinates
q We have now seen that the following three statements are completely
equivalent:
n A particles path is determined by Newtons second law F = ma.
n The path is determined by the three Lagrangian equations (at least in Cartesian
coordinates).
n The path is determined by Hamiltons Principle.
q Again, the great advantage is that we can prove that Lagranges equations
hold for any coordinate system such that, for any value r = (x, y, z) there is a
unique set of generalized coordinates (q1, q2, q3) and vice versa.
q Using these, we can write the Lagrangian L = 12 mr! 2 U (r ) in terms of
generalized coordinates as
L = L[q1 , q2 , q3 , q!1 , q!2 , q!3 ].
q In terms of these, we then have
L d L L d L L d L
= , = , and = .
q1 dt q!1 q2 dt q! 2 q3 dt q!3
q These are true in any coordinate system, so long as the coordinates are
measured in an inertial frame.

October 21, 2010


Example 7.1
q For a single particle in two dimensions, in Cartesian coordinates, under some
arbitrary potential energy U(x, y), the Lagrangian is
L = 12 m( x! 2 + y! 2 ) U ( x, y ).
q In this case, there are two Lagrange equations
L d L L d L
= , = .
!
x dt x !
y dt y
q The left side of each equation is just
L U L U
= = Fx , = = Fy .
x x y y
q The right side of each equation, in turn, is just
d L d d L d
= mx! = m!x!, = my! = m!y!.
dt x! dt dt y! dt
q Equating these, we have Newtons second law
Fx = m!x!, Fy = m!y! or F = ma.

October 21, 2010


Generalized Force and Momentum
q Notice that the left side term in Cartesian coordinates gives the force
L U L U
= = Fx , = = Fy .
x x y y
q When this is expressed in terms of generalized coordinates (which, for
example, could be angular coordinates) this term is not necessarily a force
component, but it plays a role very like a force, and indeed is called the
generalized force.
L
= (ith component of generalized force).
qi
q Likewise, the right side in terms of generalized coordinates plays the role of
a momentum, and is called the generalized momentum.
L
= (ith component of generalized momentum).
!
qi L d L
q Thus, the Lagrange equation = , can be read as
qi dt q!i
generalized force = rate of change of generalized momentum.

October 21, 2010


Example 7.2
q Lets repeat example 7.1, but in polar coordinates. In this case, the
potential energy is U(r, ), and you should be able to write down the kinetic
energy directly without much thought as
T = 12 m(r! 2 + r 2! 2 ).
so the Lagrangian is just
L = 12 m(r! 2 + r 2! 2 ) U (r , ).
q In this case, there are two Lagrange equations
L d L L d L angular momentum mr2.
= , = .
r dt r! dt !
q Inserting the above Lagrangian into these equations gives
U U d
mr!2 = m!r!, = mr 2! = 2mrr!! + mr 2!!.
( )
r dt
q The first of these equations says
centripetal acceleration r2.
Fr = m !r! r! ,
( 2
)
q The second equation is best interpreted by recalling the gradient in polar
coordinates U 1 U U d 2!
torque.
U = r +
r
.
r
= rF = mr .
dt
( )
October 21, 2010
N Free Particles
q It should be obvious how to extend these ideas to a larger number of
particles. In the case of two particles, at positions r1 and r2, for example,
Newtons second law says each component of each particle obeys the
equations F1x = p!1x , F1 y = p!1 y , F1z = p!1z ,
F2 x = p! 2 x , F2 y = p! 2 y , F2 z = p! 2 z .
q In the Lagrangian formalism, we have the equivalent Lagrange equations
L d L L d L L d L
= , = , = ,
x1 dt x!1 y1 dt y!1 z1 dt z!1
L d L L d L L d L
= , = , = .
x2 dt x!2 y2 dt y! 2 z 2 dt z!2
q We could likewise write these in generalized coordinates as
L d L L d L L d L
= , = , ", = .
q1 dt q!1 q2 dt q! 2 q6 dt q!6
q An important example we will use repeatedly in Chapter 8 is to replace r1
and r2 with RCM = (m1r1 + m2r2)/(m1 + m2), and r = r1 - r2.
q For N particles, then, there are 3N Lagrange equations.
October 21, 2010
7.2 Constrained Systems Example
q We have said that the great power of the Lagrange formalism is that
constraint forces disappear from the problem.
q Before getting into the general case, lets do a familiar probleminstead of
a free particle, lets consider one that is tied to the ceiling, i.e. the simple
pendulum.
q The pendulum bob moves in both x and y, but it moves under the constraint
= x2 + y 2 .
q A perfectly valid way to proceed might be to eliminate the y variable,
and express everything in terms of x, e.g. replace y with y = 2 x 2 .
q However, it is much simpler to express the problem in terms of the
natural coordinate . h
q The first task is to write down the Lagrangian L = T U in terms of .
Clearly, for this problem U = mgh = mgl(1 - cos ). Likewise, the kinetic
energy is T = 12 mv 2 = 12 m 2! 2 .
L d L
q The relevant Lagrange equation is = ,and you can basically write
down the solution dt !
mg sin = m 2!!. Equivalent to = I

October 21, 2010

Potrebbero piacerti anche