PHD Lecture08 09
PHD Lecture08 09
David Vegh
23 January 2019
1 Lagrangian mechanics
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 ∂ ẏ .
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
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
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
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
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
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.)
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.
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
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
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.