0% found this document useful (0 votes)
30 views

PHD Lecture08 09

This document provides an overview of Lagrangian mechanics. Key points include: 1) The Euler-Lagrange equation, which must be satisfied for an action functional F[y] to be extremized, is derived using calculus of variations. 2) Examples are given of applying the Euler-Lagrange equation to functionals with one and many degrees of freedom. 3) Coordinate independence of the Euler-Lagrange equation is discussed, showing that the path extremizing the action is independent of the coordinate system used.

Uploaded by

Roy Vesey
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
30 views

PHD Lecture08 09

This document provides an overview of Lagrangian mechanics. Key points include: 1) The Euler-Lagrange equation, which must be satisfied for an action functional F[y] to be extremized, is derived using calculus of variations. 2) Examples are given of applying the Euler-Lagrange equation to functionals with one and many degrees of freedom. 3) Coordinate independence of the Euler-Lagrange equation is discussed, showing that the path extremizing the action is independent of the coordinate system used.

Uploaded by

Roy Vesey
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 9

SPA5304 Physical Dynamics Lecture 8-9

David Vegh

23 January 2019

1 Lagrangian mechanics

1.1 Calculus of variations


In general, we will consider functionals which depend on y, ẏ, and x. They take the form

Z x2
F [y] = dx L (y(x), ẏ(x), x)
x1

Our previous example l[y] had this form (L did not explicitly depend on y(x)).
Write δy ≡ η to simplify notation. For an extremum we have
Z x2
0 = δF ≡ F [y + η] − F [y] = dx (L(y + η, ẏ + η̇, x) − L(y, ẏ, x)) (1)
x1

∂L ∂L
Taylor expansion of the first term: L(y + η, ẏ + η̇, x) = L + ∂y η + ∂ ẏ η̇ + O(η 2 ).
∂L ∂L
Note: here we are treating y(x) and ẏ(x) as independent symbols when we compute ∂y and ∂ ẏ .

By plugging this into eqn. (1) we get


Z x2  
∂L ∂L
0= η+ dx η̇
x1 ∂y ∂ ẏ
   
The second term in the integrand can be written as: ∂L d
∂ ẏ η̇ = dx
∂L d ∂L
∂ ẏ η − dx ∂ ẏ η. Plugging this in gives

Z x2    x2
∂L d ∂L ∂L
0= dx − η+ η
x1 ∂y dx ∂ ẏ ∂ ẏ x1

When we vary the function, we keep the endpoints of the curve fixed:

1
The boundary conditions are:
δy(x1 ) = δy(x2 ) = 0
and thus the second term will vanish.
Apart from the endpoints, η(x) is arbitrary. In order for the integral to vanish (δF = 0), the integrand
must vanish for every x. This gives the Euler-Lagrange equation:

d ∂L ∂L
− =0
dx ∂ ẏ ∂y

This equation has to be satisfied if F [y] is to be extremized.

1.2 Example: Length of a curve


Let’s go back to our previous example. The length functional was
Z x2
l[y] = dx L(y, ẏ, x)
x1
p
where L = 1 + ẏ 2 .
Let us now write down the Euler-Lagrange equation. We have
∂L ∂L ẏ
=0 and =p
∂y ∂ ẏ 1 + ẏ 2

Thus the Euler-Lagrange equation is


d ẏ
p =0
dx 1 + ẏ 2
Integrating this gives

p = const
1 + ẏ 2
which is equivalent to
ẏ = const ≡ a
or
y = ax + b
which is a straight line! (We expected this of course.)

2
1.3 Many degrees of freedom
“Multi-variable” functionals:
Z x2
F [y1 (x), y2 (x), . . . , yN (x)] ≡ F [~y ] = dx L(~y (x), ~y˙ (x), x)
x1

The derivation we just saw applies again, as long as yi (x) are independent of each other:

d ∂L ∂L
− =0
dx ∂ ẏi ∂yi

• Note that we have one Euler-Lagrange equation for each yi (i = 1, . . . , N ).


• Note that the endpoints have been fixed: ηi (x1 ) = ηi (x2 ) = 0 for all i.

1.4 Coordinate independence


We can think of ~y (x) = (y1 (x), y2 (x), . . . , yn (x)) as describing a path parametrized by x in an n-dimensional
space with coordinates ~y .
The path that extremizes F [~y ] satisfies the E-L eqns.

• What if we change the coordinates ~y → ~z = ~z(~y ) ?


This means that we change the functional F [~y ] → F [~z] as well.
From the geometric picture it is clear that the path itself that extremizes F is independent of the
coordinate system that we use to describe it. Thus, the Euler-Lagrange equation in any coordinate system
should give the same path. This will be relvant in applications to mechanics: physics should be independent
of particular choices of generalized coordinates.

3
Proof:
The Euler-Lagrange equation:
d ∂L ∂L
− =0
dx ∂ ẏ ∂y

Let’s change coordinates: y → z so that y = y(z, t). Note that y does not depend on ż.
Then the Lagrangian is

L = L(y(z, x), ẏ(z, ż, x), x) ≡ L̃(z(x), ż(x), x)

We have
∂y ∂y
ẏ = ż +
∂z ∂x
This implies
∂ ẏ ∂y
= (2)
∂ ż ∂z
We further have
∂ L̃ ∂L ∂y ∂L ∂ ẏ ∂L ∂y ∂L d ∂y
= + = +
∂z ∂y ∂z ∂ ẏ ∂z ∂y ∂z ∂ ẏ dx ∂z
and
∂ L̃ ∂L ∂y ∂L ∂ ẏ
= +
∂ ż ∂y |{z}
∂ ż ∂ ẏ ∂ ż
=0

Using (2) this can be written as


∂ L̃ ∂L ∂y
=
∂ ż ∂ ẏ ∂z
Then,    
d ∂ L̃ d ∂L ∂y ∂L d ∂y
= +
dx ∂ ż dx ∂ ẏ ∂z ∂ ẏ dx ∂z
Now we can write down the E-L equation in the new coordinates,
 
d ∂ L̃ ∂ L̃ d ∂L ∂L ∂y
− = −
dx ∂ ż ∂z dx ∂ ẏ ∂y ∂z

So as long as ∂y∂z 6= 0 (i.e. the coordinate transformation is well-defined), the E-L equation in the new
coordinates is equivalent to the old one.
Generalization to multiple coordinates ~y and ~z is straightforward.

4
1.5 Lagrangians
The functional that governs the motion is the action.

Z t2
S[~r(t)] = dt L(~r(t), ~r˙ (t), t)
t1

where
1 ˙2
L=T −V = m~r − V (~r, t) Lagrangian
2

where ~r denotes Cartesian coordinates.


• Note that L is not the energy.

1.6 Hamilton’s principle of least action

The motion of a system is the one that extremizes the action S[~r(t)]

Proof:
~r(t) extremizes S[~r(t)] means that it satisfies the E-L equations:
d ∂L ∂L
− =0
dt ∂~r˙ ∂~r
where L = 12 m~r˙ 2 − V (~r, t).
Now
∂L
= m~r˙ ≡ p~ momentum conjugate to ~r
∂~r˙
Hence
d ∂L
= p~˙
dt ∂~r˙
The other term in the E-L equation:
∂L ∂V ~
=− = −∇V
∂~r ∂~r
So we have
p~˙ = −∇V
~
which is Newton’s equation of motion. Q.E.D.

5
• The principle gives a useful vantage point for the theory of mechanics. It is regarded as more funda-
mental than Newton’s 2nd law.
• Hamilton’s principle of least action suggests that Nature “tries” all possible virtual paths and singles
out the one that extremizes the action. (This is made precise in Feynman’s path integral formulation of
quantum mechanics.)

1.7 Lagrangians differing by a total derivative describe the same physics


d
Let’s suppose L̃ = L + dt F (q, t) (note: no q̇ in F ).
Does it give the same E-L equation? Yes!
Proof:

Z t2
S[q] ≡ dt L
t1

Z t2 Z t2
d
S̃[q] ≡ dt L̃ = S + dt F = S + F (q(t2 ), t2 ) − F (q(t1 ), t1 )
t1 t1 dt
But variations are taken with fixed endpoints, namely q(t1 ) = q1 and q(t2 ) = q2 are fixed. Thus, the E-L
equations are the same for L and L̃. Q.E.D.

1.8 Example: A particle in Cartesian coordinates


In the free case V = 0 and the Lagrangian is
1 ˙2 1
L= m~r = m(ẋ2 + ẏ 2 + ż 2 )
2 2
The Euler-Lagrange equations are  d ∂L

 dt ∂ ẋ =0




d ∂L
dt ∂ ẏ =0




 d ∂L
=0

dt ∂ ż
More explicitly,
d

 dt (mẋ) =0
d
dt (mẏ) =0
 d
dt (mż) =0
which implies that p~ = const.
If we turn on gravity, V = mgz, and L = 21 m(ẋ2 + ẏ 2 + ż 2 ) − mgz.
The E-L equations for the x and y coordinates are unchanged. For z,
∂L ∂L
= mż, = −mg
∂ ż ∂z

d ∂L ∂L
= ⇒ mz̈ = −mg
dt ∂ ż ∂z

6
1.9 Example: N free particles in Cartesian coordinates
N
1X
L= mi~r˙i2
2 i=1
∂L
p~i = = m~r˙i , p~˙i = 0
∂~r˙i

1.10 Generalized coordinates


A set of coordinates (q1 , . . . , qn ) ≡ ~q that completely defines the positions of the system.

#DoF = n ≤ 3N (N is the number of particles)

The action S depends on the trajectory (the path of motion) itself and not on the coordinates. Thus, we
can use any set of generalized coordinates qi (t) to write down the Euler-Lagrange equations, and find the
motion via solving
d ∂L ∂L
=
dt ∂ q̇i ∂qi

• Actually, there is a gap in the logic: we have shown the equivalence between the E-L equations and
Newton’s 2nd law only for the case n = 3N , namely in the absence of constraints that reduce the number of
DoF.
• As it turns out, the E-L equations are correct even for systems with n < 3N (for systems with
constraints).

Some definitions:
∂L
• The quantities pqi ≡ ∂ q̇i are the generalized momenta.
∂L
• The quantities Qi ≡ ∂qi are the generalized forces.
In terms of these, the Euler-Lagrange equation can be written as

ṗqi = Qi

• If the Lagrangian does not contain for instance qi for some i, then the Qi = 0. In this case qi is said
to be cyclic and the corresponding momentum pqi is conserved.

7
1.11 Example: Particle moving in a plane (polar coordinates)

~r = rr̂

d
~r˙ = (rr̂) = ṙr̂ + rr̂˙
dt
Clearly, r̂˙ = φ̇φ̂ where |φ̂| = 1, and φ̂ · r̂ = 0.
So

~r˙ = ṙr̂ + rφ̇φ̂

This the kinetic energy,


1 ˙2 1 1
T = m~r = m(ṙr̂ + rφ̇φ̂)2 = m(ṙ2 + r2 φ̇2 )
2 2 2
which is independent of φ.
1
T = m(ṙ2 + r2 φ̇2 )
2

Alternatively,

 
x = r cos φ ẋ = ṙ cos φ − r(sin φ)φ̇

y = r sin φ ẏ = ṙ sin φ + r(cos φ)φ̇
1 1
T = m(ẋ2 + ẏ 2 ) = m(ṙ2 + r2 φ̇2 )
2 2
• Generalized momenta:

∂L ∂L
pr = , pφ =
∂ ṙ ∂ φ̇
If
L = T (r, φ, ṙ) − V (~r)
where V is independent of ṙ and φ̇, then

pr = mṙ, pφ = mr2 φ̇

8
and the Euler-Lagrange equations are
∂V ∂V
ṗr = mrφ̇2 − , ṗφ = −
| {z } ∂r ∂φ
centrifugal force

If we further have V = V (r) (i.e. the potential is independent of φ), then φ is a cyclic coordinate and
pφ =const (conserved). In this case the force is central and angular momentum is conserved.

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy