06 Lagrangian Mechanics
06 Lagrangian Mechanics
06 Lagrangian Mechanics
ide
Sk Jahiruddin*
gu *Assistant Professor
Sister Nibedita Govt. College, Kolkata
ics
Author was the topper of IIT Bombay M.Sc Physics 2009-2011 batch
He ranked 007 in IIT JAM 2009 and 008 (JRF) in CSIR NET June 2011
1
©Sk Jahiruddin, 2020 Lagrangian Mechanics
Contents
1 Introduction 4
ide
2 Constrains 4
3 Generalize coordinates 6
gu
4 Lagrangian 6
ics
5 Non-uniqueness of Lagrangian: Gauge 13
8 Hamilton’s Principle 15
8.2 Action . . . . . . . . . . . . . . . . . . . . . . 16
[email protected] 2 Physicsguide
©Sk Jahiruddin, 2020 Lagrangian Mechanics
ide
10 Energy conservation and Hamiltonian 22
gu
ics
ys
Ph
[email protected] 3 Physicsguide
©Sk Jahiruddin, 2020 Lagrangian Mechanics
1 Introduction
ide
object(s) from the force. So, in principle, If you know the
force then you can integrate it and get position as a function
of time.
gu
The force may not be known, and it it known, then also
there comes many constrain forces like Tension, Reaction
ics
force etc.
2 Constrains
[email protected] 4 Physicsguide
©Sk Jahiruddin, 2020 Lagrangian Mechanics
ide
Nonholonomic Constrains: All other cases are called
nonholonomic.
gu
tives such as ṙi . However we will deal only with holonomic
constraints.
ics
A holonomic constraint reduces the number of indepen-
dent variables by ONE.
f (r1 , r2 , r3 , . . . , t) = 0 −→ x1 = g (y1 , z1 , r2 , r3 , . . . , t)
Then you can drop this variable. Sometimes you may have
to switch to a different set of variables. Suppose for a particle
on a sphere x2 + y 2 + z 2 = c2 a good choice is (θ, φ). This new
choice of variables are called generalised coordinates.
[email protected] 5 Physicsguide
©Sk Jahiruddin, 2020 Lagrangian Mechanics
ide
3 Generalize coordinates
gu
Any s quantities q1 , q2 , . . . , qs which completely define the po-
sition of a system with s degrees of freedom are called gen-
eralised co-ordinates of the system, and the derivatives q̇i are
called its generalised velocities.
ics
There are many ways to describe a system. Suppose a
pendulum can be described as
ys
4 Lagrangian
[email protected] 6 Physicsguide
©Sk Jahiruddin, 2020 Lagrangian Mechanics
ide
Constraints are holonomic
gu
Potential V does not depend on q̇j
ics
d ∂L ∂L
− =0 (4.1)
dt ∂ q̇j ∂qj
ys
Ph
[email protected] 7 Physicsguide
©Sk Jahiruddin, 2020 Lagrangian Mechanics
ide
plane and is located by coordinate x1 . The box also slides
without friction on the ramp and is located by coordi-
nate x2 with respect to the ramp. Find the equation of
motion of both the variables x1 and x2
gu
ics
ys
TM = M ẋ21
2
The coordinate of the box is x = x1 + x2 cos θ, and y = h −
x2 sin θ. Now calculate 21 m ẋ2 + ẏ 2 and see that the kinetic
[email protected] 8 Physicsguide
©Sk Jahiruddin, 2020 Lagrangian Mechanics
ide
energy of the box and that leads to:
U = −mgx2 sin θ
1
gu
L (x1 , ẋ1 , x2 , ẋ2 ) = TM + Tm − U
1
ics
= M ẋ21 + m ẋ21 + ẋ22 + 2ẋ1 ẋ2 cos θ + mgx2 sin θ
2 2
The equations of motion are:
d ∂L ∂L d ∂L ∂L
= and =
ys
d
[m (ẋ1 + ẋ2 cos θ) + M ẋ1 ] = 0
dt
The RHS is zero because the Lagrangian does not explicitly
depend on x1 . The quantity in the brackets is the total mo-
mentum in the horizontal direction which is a constant since
there are no forces on the system in this direction.
The x2 variable equation gives
[email protected] 9 Physicsguide
©Sk Jahiruddin, 2020 Lagrangian Mechanics
d
(ẋ2 + ẋ1 cos θ) = g sin θ
dt
Carrying out the time derivatives in both the equations
ide
leads to two linear equations in ẍ1 and ẍ2 . These two equa-
tions in two unknowns can be solved to yield:
−g sin θ cos θ
ẍ1 =
(m + M )/m − cos2 θ
gu and ẍ2 =
g sin θ
1 − m cos2 θ/(m + M )
The RHS of both of the above equations are constants - we
can easily find x1 (t) and x2 (t)
ics
Example 4.2: A simple pendulum consisting of a string
of length r and a bob of mass m that is attached to a
support of mass M. The support moves without friction
ys
[email protected] 10 Physicsguide
©Sk Jahiruddin, 2020 Lagrangian Mechanics
ide
of the system is given by:
M 2 mh 2 2 2
i
T = ẋ + ẋ + r θ̇ + 2ẋrθ̇ cos θ
2 2
gu
The potential energy U = −mgr cos θ. hence the Lagrangian
is
1 2 1
ics
2 2
L(x, ẋ, θ, θ̇) = (m+M )ẋ + r θ̇ + 2ẋrθ̇ cos θ +mgr cos θ
2 2
Now apply the Lagrange’s equation to get
d
ys
i
m r θ̇ + ẋr cos θ = −m(ẋrθ̇ + gr) sin θ
dt
The first equation (x variable equation ) leads to a con-
served quantity − the momentum along the x direction and
the second equation (θ variable equation) gives us:
ẍ g
θ̈ + cos θ + sin θ = 0
r r
[email protected] 11 Physicsguide
©Sk Jahiruddin, 2020 Lagrangian Mechanics
ide
the spring with angular velocity α as shown in the fig-
ure. Calculate the Lagrangian, construct the equation of
motion and discuss the solution.
gu
ics
Solution: Transformation functions:
(
x = (l + r) cos αt
ys
y = (l + r) sin αt
Kinetic energy
Ph
m 2 m 2
ẋ + ẏ 2 = ṙ + (l + r)2 α2
T =
2 2
Potential energy
K 2
V = r
2
m 2 K
L= ṙ + (l + r)2 α2 − r2
2 2
[email protected] 12 Physicsguide
©Sk Jahiruddin, 2020 Lagrangian Mechanics
d ∂L ∂L
− = mr̈ − mα2 (l + r) + Kr = 0
dt ∂ ṙ ∂r
Solving the equation of motion
ide
d ∂L ∂L
− = mr̈ − mα2 (l + r) + Kr = 0
dt ∂ ṙ ∂r
or
mα2 l
2
mr̈ + K − mα r− =0
K − mα2
So ifr
ω=
gu
K > mα2 , the motion is of a harmonic oscillator with
K − mα2
m
If K < mα2 , particle moves away exponentially
ics
If K = mα2 , the velocity is constant
There are many solved examples of Lagrangian calculation
in various books, namely JC Upadhya and YK Lim’s Me-
ys
[email protected] 13 Physicsguide
©Sk Jahiruddin, 2020 Lagrangian Mechanics
ide
easily by
d ∂ dF ∂ dF dF ∂F ∂F
− = 0 using = q̇ +
dt ∂ q̇ dt ∂q dt dt ∂q ∂t
6
gu
Velocity dependent potential
If U = U (qj , q̇j , t) is a velocity dependent potential then gen-
ics
eralised force is is
∂U d ∂U
Qj = − +
∂qj dt ∂ q̇j
ys
Solution:
dU −2 dU 1
= (1 + q̇) ; = 2
dq q3 dq̇ q
[email protected] 14 Physicsguide
©Sk Jahiruddin, 2020 Lagrangian Mechanics
d dU 2 2
=− q̇; −→ Q=
dt dq̇ q3 q3
ide
Force on a charged particle in em field is
F = q[E + (v × B)]
gu
The velocity dependent potential is
U = qφ − qA · v
ics
Direction derivation of this is little difficult. But you can
easily verify (do it from Goldstein) that this potential leads
to the Lorentz force. The Lagrangian is
1
ys
L = mv 2 − qφ + qA · v
2
8 Hamilton’s Principle
Ph
[email protected] 15 Physicsguide
©Sk Jahiruddin, 2020 Lagrangian Mechanics
ide
Now imagine a n dimensional space.
Each point in this space (q1 , . . . , qn ) corresponds to one
configuration of the system
Time evolution of the system → A curve in the configura-
tion space
gu
ics
ys
8.2 Action
Suppose a system is moving as qj = qj (t) j = 1..n where the
Ph
[email protected] 16 Physicsguide
©Sk Jahiruddin, 2020 Lagrangian Mechanics
ide
tion is What does the term Stationary mean?
Consider two paths that are close to each other where the
difference is infinitesimal
gu
ics
ys
Z t2 Z t2
δI = L(q + δq, q̇ + δ q̇, t)dt − L(q, q̇, t)dt = 0 (8.2)
t1 t1
[email protected] 17 Physicsguide
©Sk Jahiruddin, 2020 Lagrangian Mechanics
You can get the Lagrange’s equation derived from the Hamil-
ton’s principle. The derivation is found any good book like
Goldstein, Landau, Upadhya etc.
ide
9 Symmetry and Conservation
Let’s consider a simple system where potential does not de-
pend on velocity.
gu
L=T −V =
X mi ẋ2i + ẏi2 + żi2
i
2
− V (xi , yi , zi , t)
ics
∂L
Momentum → = mi ẋi = pix ;
∂ ẋi
∂L ∂V
Force → =− = Fix
∂xi ∂xi
ys
[email protected] 18 Physicsguide
©Sk Jahiruddin, 2020 Lagrangian Mechanics
ide
momentum may vary if V depends on velocity. For example
in case of particle in e.m field.
1
L = mv 2 − qφ + qA · v =⇒ px = mẋ + qAx
2
gu
Extra term comes due to velocity dependent potential.
We can see if Lagrangian is invariant under space transla-
tion
ics
(x, y, z) → (x + ∆x, y + ∆y, z + ∆z)
Then the linear momentum is conserved. Similarly you can
prove that (See Landau/Goldstein for this) -
ys
[email protected] 19 Physicsguide
©Sk Jahiruddin, 2020 Lagrangian Mechanics
ide
is/are constant of motion? [NET Dec 2013]
(a) none (b) Lx , Ly & Lz (c) only Lx & Ly
(d) only Lz
gu
Solution: To handle these types of problems you need
to transform the coordinates in a suitable coordinate system
where you can clearly see the cyclic coordinates. Suppose in
this problem if you transform it into cylindrical coordinate
ics
x = ρ cos θ, y = ρ sin θ, z = Z, you will see that the potential
2 z2
becomes ρ + , hence we see that the conjugate momentum
2
corresponding to theta coordinate which is Lz is conserved.
But sometimes you may not be able to transform the co-
ys
[email protected] 20 Physicsguide
©Sk Jahiruddin, 2020 Lagrangian Mechanics
V (x, y, z) = k(x2 + y 2 + z 2 )
=⇒ Two ang momentum is conserved
ide
V (x, y, z) = k1 (x2 + y 2 ) + kz 2
=⇒ One ang momentum Lz is conserved
V (x, y, z) = ky 2 + k1 (x2 + z 2 )
=⇒ One ang momentum Ly is conserved
gu
V (x, y, z) = kx2 + k1 (y 2 + z 2 )
=⇒ One ang momentum Lx is conserved
V (x, y, z) = k1 x2 + k2 y 2 + z 2
ics
=⇒ No ang momentum is conserved
Vector?
[email protected] 21 Physicsguide
©Sk Jahiruddin, 2020 Lagrangian Mechanics
ide
Consider time derivative of Lagrangian
dL(q, q̇, t) X ∂L dqj X ∂L dq̇j ∂L
= + + (10.1)
dt j
∂q j dt j
∂ q̇ j dt ∂t
gu d X ∂L
dt j
q̇j
∂ q̇ i
!
−L +
∂L
∂t
=0 (10.2)
ics
P ∂L
Now define j q̇j − L as energy function h(q, q̇, t).
∂ q̇i
[email protected] 22 Physicsguide