Classical Mechanics Lecture Notes
Classical Mechanics Lecture Notes
March 7, 2023
Realms of mechanics
WRITE the four realms of mechanics? what mechanics do we use
for:
our daily problems
objects that are extremely small
objects that have high speed
objects that are very small and fast
Realms of mechanics
Four realms of Mechanics
Classical Mechanics: When we talk of macroscopic objects we
are actually dealing with classical mechanics. Here the speed (v)
of objects considered is small as compared to velocity of light
(c), i.e. v ¡¡¡ c.
Quantum Mechanics: For the microscopic objects (of the order
of size of an atom) we deal with quantum mechanics.
Relativistic Mechanics: For objects that travel very fast (at
speeds give me to c).
Quantum Field Theory: For objects which are microscopic as
well as travel with the speed of light.
A coordinate System
specifies the method that uses one or more numbers, or
coordinates, to uniquely determine the position of the points, to
locate a point within a particular reference frame as a functions
of space and time. To study a point, we need to know where to
find it. So we give it coordinates.
are like an address. They tell you how you can get to a point if
you start at the origin.
are always written in parentheses,called an ordered pair, with the
x − value first.
Putting this into our relationship for the unit vector, we get;
(Any point in space can be written in the form)
→
−r = x î + y ĵ + z k̂
where (x, y, z) are the coordinates of the point P in the
Cartesian space.
The distance
p of the point from the origin is given by,
|r | = x 2 + y 2 + z 2 As you can see x, y, and z can also be
understood as the perpendicular distance of point P from the
YZ, XZ and XY plane.
→
−
v = d−→
r
but →
−r = x î + y ĵ + z k̂
dt
→
−
v = d−→
r
= d(x î+y ĵ+z k̂)
dt dt
→
−
v = d(x î)
+ d(y ĵ)
+ d(z k̂)
dt dt dt
→
−
v = dx(î)
+ dy (ĵ)
+ dz(k̂)
dt dt dt
→
−
v = dx
î + dy
ĵ + dz
k̂
dt dt dt
→
−
v = ẋ î + ẏ ĵ + ż k̂
→
−
a = d−→
v
but →
−
v = vx î + vy ĵ + vz k̂
dt
→
−
a = d−→
v
= d(vx î+vy ĵ+vz k̂)
dt dt
→
− d(x˙î) d(y˙ĵ) d(z˙k̂)
a = dt
+ dt
+ dt
→
−
a = dx(î)
+ dy (ĵ)
+ dz(k̂)
dt dt dt
→
−
a = dx
î + dy
ĵ + dz
k̂
dt dt dt
→
−
a = ẋ î + ẏ ĵ + ż k̂
Here we see that the acceleration components in each direction
are independent.
→
−
v = ṙ eˆr + r θ̇eθ = vr + vθ
The magnitude of the radial and transverse components of the
velocity vectors are vr = ṙ and vθ = r θ̇
→
−
a = d−→
v
but →
−
v = ṙ eˆr + r θ̇eθ
dt
→
−
a = d−→
v
= d(ṙ eˆr +r θ̇eθ )
dt dt
QUESTIONS
Given two vectors;
→
−
x = 1î − 2ĵ − 2k̂
→
−
y = 2î − 1ĵ + 2k̂
Show that the vectors are orthogonal and a vector → −z which is
→
−
orthogonal to both x and y . →
−
Two vectors are said to be orthogonal if → −x .→
−
y = 0.
→
− →
− →
−
x x y . z = 0.
For the case of plane polar coordinatesr,r , θ, write the unit
vectors er (= r̂ ) and eθ in terms of îand ĵ. Hence show that
Der /Dθ = eθ and Deθ /Dθ = −er . By starting with r = r eˆr and
differentiating, rederive the expressions for the components of
the velocity and acceleration vectors.
→
−r = x î + y ĵ + z k̂ But, x = ρcosφ, y = ρsinφ and z = z
→
−r = ρcosφî + ρsinφĵ + z k̂
D−
→
r D(ρcosφî+ρsinφĵ+z k̂)
Dρ
= Dρ
= cosφî + sinφĵ
−
→
where, DDρr = eρ is a vector in the increasing direction of ρ = one of
the (covariant) basis vectors.
D−
→r −
→
eˆρ = Dρ
/| DDρr |
=⇒ eˆρ = √cosφ2î+sinφĵ2 =⇒ eˆρ = cosφî + sinφĵ
cos φ+sin φ
Where, eˆρ is a unit vector in the direction of ρ. (the base vector eˆρ is
tangential to the cylindrical surface)
→
−r = ρcosφî + ρsinφĵ + z k̂
D−
→
r D(ρcosφî+ρsinφĵ+z k̂)
Dφ
= Dφ
= −ρsinφî + ρcosφĵ
−
→
where, DDφr is a vector in the increasing direction of φ.
D−
→ −
→ −ρsinφî+ρcosφĵ
eˆφ = r
Dφ
/| DDφr | =⇒ eˆφ = √
(ρ)2 (−sin2 )φ+(ρ)2 (cos 2 )φ
=⇒ eˆφ = −sinφî + cosφĵ
Where, eˆφ is a unit vector in the direction of φ and parallel to the x-y
plane and perpendicular to eˆρ
→
−r = ρcosφî + ρsinφĵ + z k̂
D−
→
r D(ρcosφî+ρsinφĵ+z k̂)
Dz
= Dz
= 0î + 0ĵ + 1k̂
−
→
Dr
where, Dz is a vector in the increasing direction of z.
D−
→ −
→
eˆz = r
Dz
/| DDzr | =⇒ eˆz = √1k̂ =⇒ eˆz = 1k̂
(1)2
where,
→
−r = ρcosφî + ρsinφĵ + z k̂
eˆρ = cosφî + sinφĵ,
eˆφ = −sinφî + cosφĵ and
eˆz = 1k̂
→
−r .eˆ = ρcos 2 φ + ρsin2 φ + 0 = ρ(cos 2 φ + sin2 φ) = ρ
ρ
→
−r .eˆ = −ρsinφcosφ + ρsinφcosφ + 0 = 0
φ
→
−r .eˆ = z k̂
z
→
−r = ρeˆ + z eˆ
ρ z
→
−
v = d−→
r
= d(ρeˆρ +z eˆz )
dt dt
Positions and vectors are the same no matter what coordinate system
we use. we can transform one set of coordinates to another.
Cartesian to cylindrical
Cylindrical to cartesian coordinate transformation is: x = ρcosφ,
y = ρsinφ and z = z p
Cartesian to cylindrical coordinate transformation is: r = x 2 + y 2
and φ = tan−1 ( yx )
How about the relationship between base vectors?
is the angle formed by the positive z-axis and line segment OP,
where O is the origin and 0 ≤ φ ≤ 2π Consider 4bao;
ab
sinθ = r
=⇒ ab = rsinθ
ab
cosθ = r =⇒ oa = rcosθ
D−
→
r D(rsinθcosφî+rsinθsinφĵ+rcosθk̂)
Dr
= Dr
= sinθcosφî + sinθsinφĵ + cosθk̂
D−
→
r
where, Dr
is a vector in the increasing direction of r .
D−
→ −
→
eˆr = r
Dr
/| DDrr | =⇒ eˆr = √sinθcosφ
2 2
î+sinθsinφĵ+cosθk̂
2 2 2
sin θcos φ+sin θcos φ+cos θ
→
−r = x î + y ĵ + z k̂
But,
x = rsinθcosφ, y = rsinθsinφ and z = rcosθ
→
−r = rsinθcosφî + rsinθsinφĵ + rcosθk̂
D−
→
r D(rsinθcosφî+rsinθsinφĵ+rcosθk̂)
Dθ
= Dθ
= rcosθcosφî + rcosθsinφĵ − rsinθk̂
D−
→
r
where, Dθ is a vector in the increasing direction of θ.
D−
→ −
→ rcosθcosφî+rcosθsinφĵ−rsinθk̂
eˆθ = r
Dθ
/| DDθr | =⇒ eˆθ = √
r 2 cos 2 θcos 2 φ+r 2 cos 2 θcos 2 φ+r 2 sin2 θ
D−
→
r D(rsinθcosφî+rsinθsinφĵ+rcosθk̂)
Dφ
= Dφ
= −rsinθsinφî + rsinθcosφĵ + 0k̂
−
→
where, DDφr is a vector in the increasing direction of φ.
D−
→ −
→
eˆφ = r
Dφ
/| DDφr | =⇒ eˆφ = √ −rsinθsinφ
2 2 2
î+rsinθcosφĵ
2 2 2
r sin θsin φ+r sin θcos φ
where,→
−r = rcosφsinθî + rsinφsinθĵ + rcosθk̂
→
−
v = d−→
r
= d((r )eˆr )
= ṙ eˆr + r e˙r Where,→
−r = (r )eˆ
dt dt r
→
−
v = ṙ eˆr + r d(e r)
dt
d der dφ
(e ) = de
dt r
r dr
. +
dr dt
der dθ
.
dθ dt
+ .
dφ dt
But,
der d
dr
= dr
(cosφsinθî + sinφsinθĵ + cosθk̂) = 0
der d
dθ
= dθ (cosφsinθî + sinφsinθĵ + cosθk̂) =
cosφcosθî + sinφcosθĵ − sinθk̂
der d
dφ
= dφ
(cosφsinθî + sinφsinθĵ + cosθk̂) = −sinφsinθî + cosφsinθĵ
der d
dφ
= dφ
(cosφsinθî + sinφsinθĵ + cosθk̂) = −sinφsinθî + cosφsinθĵ
dθ dφ
dt
= θ̇ and dt
= φ̇
→
−
v = ṙ eˆr + r ( de r dr
. + der dθ
. + der dφ
. ) =
dr dt dθ dt dφ dt
ṙ eˆr +r (0+[cosφcosθî +sinφcosθĵ −sinθk̂]+[−sinφsinθî +cosφsinθĵ])
→
−
v = ṙ eˆr + r (θ̇eˆθ + φ̇sinθeˆφ )
Spherical to cylindrical
Spherical to cartesian coordinate transformation is: x = rsinθcosφ,
y = rsinθsinφ and z = rcosθ
Cartesian
p to Spherical coordinate transformation is:
r = x 2 + y 2 + z 2,
φ = tan−1 ( yx ) and
θ = cos −1 ( zr ) = cos −1 ( √ 2 z 2 2 )
x +y +z
∂r
The partial derivative du 1
means the rate of variation of r with u1 ,
while u2 and u3 are held fixed. The displacement vector can be also
expressed as
∂r
dr = ê1 h1 du1 + ê2 h2 du2 + ê3 h3 du3 , where hi = | du i
|
q
∂r ∂x 2 ∂y 2 ∂z 2
Bhi = | ∂u i
| = ( ∂u i
) + ( ∂u i
) + ( ∂u i
) which is the scale factor =
∂r
∂ui
the magnitude of the basis vector and êi = ∂r
| ∂u |
which is unit vector.
i
Questions
1. Find the scale factors h1 , h2 andh3 in:
a. cylindrical coordinate system (u1 = ρ, u2 = φ, u3 = z)
b. spherical coordinate system (u1 = r , u2 = θ, u3 = φ)
Solutions
q
Bhφ = ( ∂ρcosφ
∂φ
)2 + ( ∂ρsinφ
∂φ
∂z 2
)2 + ( ∂φ )
p p
Bhφ = (−ρsinφ)2 + (ρcosφ)2 + (0)2 = ρ (sin2 φ) + (cos 2 φ) =
√
ρ 1 = ρ =⇒ hφ = ρ
q
Bhz = | ∂z | = ( ∂x
∂r
∂z
)2 + ( ∂y
∂z
)2 + ( ∂z
∂z
)2
q
Bhz = [ ∂(φcosφ)
∂z
]2 + [ ∂(φsinφ)
∂z
]2 + [ ∂(φsinφ)
∂z
]2
p √
Bhz = (0)2 + (0)2 + (1)2 = 1 = 1 =⇒ hz = 1
Solutions
b. Spherical coordinate system (u1 = r , u2 = θ, u3 = φ),
x = rsinθcosφ, q y = rsinθsinφandz = rcosφ
∂r ∂x 2 ∂y 2 ∂z 2
hi = | ∂ui | = ( ∂u i
) + ( ∂u i
) + ( ∂u i
)
q
Bhr = | ∂r∂r
| = [ ∂(rsinθcosφ)
∂r
]2 + [ ∂(rsinθsinφ)
∂r
]2 + [ ∂(rcosθ)
∂r
]2
p
Bhr = (sinθcosφ)2 + (sinθsinφ)2 + (cosθ)2
p
Bhr = sin2 θ[(cos 2 φ) + (sin2 φ)] + cos 2 θ
p √
Bhr == sin2 θ[1] + cos 2 θ = 1 = 1 =⇒ hr = 1
Solutions
b. Spherical coordinate system (u1 = r , u2 = θ, u3 = φ),
x = rsinθcosφ, q y = rsinθsinφandz = rcosφ
∂r ∂x 2 ∂y 2 ∂z 2
hi = | ∂u i
| = ( ∂u i
) + ( ∂ui
) + ( ∂u i
)
q
Bhθ = | ∂θ | = [ ∂(rsinθcosφ)
∂r
∂θ
]2 + [ ∂(rsinθsinφ)
∂θ
]2 + [ ∂(rcosθ)
∂θ
]2
p
Bhθ = (rcosθcosφ)2 + (rcosθsinφ)2 + (−rsinθ)2
p
Bhθ = r 2 cos 2 θ[(cos 2 φ) + (sin2 φ)] + r 2 sin2 θ
p √
Bhθ == r cos 2 θ[1] + sin2 θ = r 1 = r =⇒ hθ = r
Solutions
b. Spherical coordinate system (u1 = r , u2 = θ, u3 = φ),
x = rsinθcosφ, q y = rsinθsinφandz = rcosφ
∂r ∂x 2 ∂y 2 ∂z 2
hi = | ∂ui | = ( ∂u i
) + ( ∂u i
) + ( ∂u i
)
q
Bhφ = | ∂φ ∂r
| = [ ∂(rsinθcosφ)
∂φ
]2 + [ ∂(rsinθsinφ)
∂φ
]2 + [ ∂(rcosφ)
∂φ
]2
p
Bhφ = (−sinθsinφ)2 + (sinθcosφ)2 + (0)2
p
Bhφ = r 2 sin2 θ[(sin2 φ) + (cos 2 φ)] + 0
p
Bhφ = r 2 sin2 θ[1] = rsinθ =⇒ hφ = rsinθ
Cont...
b01 = b1b.b2 ×b 3
2 ×b3
, b02 = b1b.b3 ×b 1
2 ×b3
, and b03 = b1b.b1 ×b 2
2 ×b3
The generalized
coordinates (u1 , u2 , u3 ) are independent variables.
0 if i 6= j
n
∂ui
∂uj
= δij = 1 if i = j
∂u1 ∂u1 ∂u1
=⇒ ∂u2
= 0, ∂u1
= 1, ∂u3
=0
b02 = b3 ×b1
b1 .b2 ×b3
= 1î−1ĵ−0k̂
3
= 31 (1î − 1ĵ + 0k̂)
2
b03 ×b01 î− 13 ĵ+ 13 k̂
b002 = b01 .b02 ×b03
= 3
1 = 2î − 1ĵ + 1k̂
3
1
b01 ×b02 î+ 13 ĵ− 13 k̂
b003 = b1 .b2 ×b03
0 0 = 3
1 = 1î + 2ĵ − 1k̂
3
Figure: [].
Figure: [].
Figure: [].
Figure: [].
→
−
A = Acosαî + Acosβ ĵ + Acosγ k̂
−
→
A Acosαî+Acosβ ĵ+Acosγ k̂
êA = − → = A
= êA = cosαî + cosβ ĵ + cosγ k̂
|A|
p
|êA | = cos 2 α + cos 2 β + cos 2 γ = 1
cos 2 α + cos 2 β + cos 2 γ = 1
A.A’ = AA00 cosθ
A.A’ = AA cosαcosα0 + AA0 cosβcosβ 0 + AA0 cosγcosγ 0
AA0 cosθ = AA0 cosαcosα0 + AA0 cosβcosβ 0 + AA0 cosγcosγ 0
AA0 cosθ AA0 cosαcosα0 +AA0 cosβcosβ 0 +AA0 cosγcosγ 0
AA0
= AA0
Let (xl0 , x20 , x30 ) is the new coordinate of a point after the coordinate
system is rotated by an angle θ in any direction. The old coordinate
of the point.
x1 = x10 cos(x10 , X1 ) + x20 cos(x20 , X1 + x30 cos(x30 , X1 )
∂f ∂f ∂f
df = ∂u1
du1 + ∂u2
du2 + ∂u3
du3 .........equation (∗ ∗ ∗)
df = ∇f .dr = [d1 ê1 + d2 ê2 + d3 ê3 ].[ê1 h1 du1 + ê2 h2 du2 + ê3 h3 du3 ]
df = d1 h1 du1 + d2 h2 du2 + d3 h3 du3 .........equation (∗ ∗ ∗∗)
∂f ∂f ∂f
On the other hand df = ∂u 1
du1 + ∂u 2
du2 + ∂u 3
du3
∂f
By comparing equations (∗ ∗ ∗) and (∗ ∗ ∗∗), we have d1 h1 = ∂u1
,
∂f ∂f
d2 h2 = ∂u 2
, and d3 h3 = ∂u 3
1 ∂f 1 ∂f 1 ∂f
d1 = h1 ∂u1
, d2 = h2 ∂u2
, and d3 = h3 ∂u3
∂f ∂x ∂f ∂y ∂f ∂f ∂f
∂φ
= ∂φ ∂x
+ ∂φ ∂y
= (−sinφ ∂x + cosφ ∂y )êφ
With these expressions, it becomes
∇f = ∂f∂ρ ρ
∂f
ê + ρ1 ∂φ ∂f
êφ + ∂z êz
Thus, the gradient operator in the cylindrical coordinates can be
written as
∂
∇ = ∂ρ êρ + ρ1 ∂φ
∂ ∂
êφ + ∂z êz
Question; Show that ∇ρ = êρ , ∇φ = ρ1 êφ , ∇z = êz
∂ ∂x ∂ ∂y ∂ ∂z ∂ ∂ ∂ ∂
∂r
= ∂r ∂x
+ ∂r ∂y
+ ∂r ∂z
= sinθcosφ ∂x + sinθsinφ ∂y + cosθ ∂z
∂ ∂x ∂ ∂y ∂ ∂z ∂
∂θ
= ∂θ ∂x
+ ∂θ ∂y
+ ∂θ ∂z
∂ ∂ ∂
= rcosθcosφ ∂x + rcosθsinφ ∂y − rsinθ ∂z
∂ ∂x ∂ ∂y ∂ ∂z ∂ ∂ ∂
∂φ
= ∂φ ∂x
+ ∂φ ∂y
+ ∂φ ∂z
= −rsinθsinφ ∂x + rsinθcosφ ∂y
Thus, the gradient operator in the spherical coordinates can be
written as
∇ = ∂r∂ êr + 1r ∂θ
∂ 1 ∂
êθ + rsinθ ê
∂φ φ
1
Question; show that ∇r = êr , ∇θ = 1r êθ , ∇ = rsinθ êφ
d d
m1 [ dt (v1 )] = m2 [ dt (−v2 )]
and, since acceleration is the time derivative of velocity,
m1 (a1 ) = m2 (−a2 )
Hence, |a 1|
|a2 |
=m2
m1
one (point) object on another (point) object is
directed along the line connecting the objects. Such forces are
called central forces ; the Third Law applies whether a central
force is attractive or repulsive. Gravitational and electrostatic
forces are central forces, so Newton’s Laws may be used in
problems involving these
d
types of forces. dt (p1 + p2 ). This means that the sum p1 + p2 of the
two momenta is constant in time, i.e., the total momentum in this
system is conserved.
Of Newton’s three laws, the one that we actually use the most is the
second, which is often described as the equation of motion.
F = mr̈ = Fx î + Fy ĵ + Fz k̂ As we have already noted, the second law
is a second-order, differential equation for the position vector r as a
function of the time t. In the prototypical problem, the forces that
comprise F are given, and our job is to solve the differential equation
for r(t).
r = x î + y ĵ + z k̂ ⇒ r̈ = ẍ î + ÿ ĵ + z̈ k̂
That is, the three Cartesian components of r are just the appropriate
derivatives of the three coordinates x, y, z of r, and the second law
becomes
Fx î + Fy ĵ + Fz k̂ = mẍ î + mÿ ĵ + mz̈ k̂
(
Fx = mẍ
F = mr̈ ⇒ Fy = mÿ
Fz = mz̈
This beautiful result, that, in Cartesian coordinates, Newton’s second
law in three dimensions is equivalent to three one-dimensional
versions of the same law, is the basis of the solution of almost all
simple mechanics problems in Cartesian coordinates.
r0 = r − Vt and t = t’
The time differential of this transformation gives r˙0 = ṙ − V, r¨0 = r̈
Note that the forces in the primed and unprimed inertial frames are
related by F = dPdt
= mr̈ = mr¨0 = F0
Thus Newton’s Laws of motion are invariant under a Galilean
transformation, that is, the inertial mass is unchanged under Galilean
transformations. If Newton’s laws are valid in one inertial frame of
reference, then they are valid in any frame of reference in uniform
motion with respect to the first frame of reference. This invariance is
called Galilean invariance.
b. Assume the block is moving (i.e its initial velocity is non-zero) and
that it is subject to sliding friction. Determine the acceleration of the
block for the angle θ = 30o assuming the frictional force obeys
Ff = µk FN where µk = 0.3 is the coefficient of kinetic friction.
By Newton’s law, andPby taking into account that the body does not
accelerate, we have: F = N + w + fk P = ma
Taking components, as before, we find: Fx = max ⇒
mg
P sin θ − f k = mẍ ⇒ mg sin θ − µ F
k N = mẍ
Fy = may ⇒ N − mg cos θ = 0 ⇒ mg cos θ = N
=⇒ mg sin θ − uk mg cos θ = mẍ =⇒ g sin θ − uk g cos θ = ẍ
=⇒ ẍ = g [sin θ − uk cos θ]
That is all that was asked for. For θ = 30o , the numerical result is
=⇒ ẍ = 9.8[sin 30o − 0.3 cos 30o ] = 024(9.8 sm2 )
Figure: Pulley
.
Figure: Pulley
.
The pulley center is no longer an inertial.
([email protected] c M.A) Classical Mechanics March 7, 2023 108 / 337
Cont...
e. Solve: Solving the last 2-equations for the acceleration and the
tension we get
Equation for acceleration
2 −m1
ÿ2 = −ÿ1 = (g − α) m
m1 +m2
Equation for tension
It can be useful to know an equation for the tension in the string. To
evaluate tension, substitute the equation for acceleration in either of
the 2 force equations.
T − m1 g = m1 ÿ1 =⇒ T = m1 ÿ1 + m1 g =⇒ T = m1 (ÿ1 + g )
m2 −m1
but ÿ1 = (g − α) m1 +m2
. Let us substitute this in to T = m1 (ÿ1 + g ).
m2 −m1
=⇒ T = m1 ([(g − α) m1 +m2 ] + g ) and this results in
2m1 m2 (g −α) 2(g −α)
T = m1 +m2
= 1/m1 +1/m2
Note that the result are just as if the acceleration of gravity were
reduced by an amount of the elevator acceleration. If the elevator is
ascending rather than descending we expect
Equation for acceleration
2 −m1
ÿ2 = −ÿ1 = (g + α) m m1 +m2
Equation for tension
T = 2mm 1 m2 (g +α)
1 +m2
2(g +α)
= 1/m 1 +1/m2
A mass M1 hangs at one end of a rope that is led over a large roller.
The other end carries a second roller of mass M2 , which in turn
carries a rope with the masses m1 and m2 fixed to its ends. The
gravitational force is acting on all masses. Calculate the acceleration
of the masses am1 nd m2 , as well as the tensions T1 and T in the
ropes.
a. Sketch:
We have v = drdt Rt
=⇒ dr = vdt but v (t) = vo + m1 0 Fdt
R r(t) Rt Rt
=⇒ ro dr = 0 [vo + m1 0 Fdt]
r(t) Rt Rt
=⇒ r |ro = vo t + 0 [ m1 0 Fdt]
Rt Rt
=⇒ r(t) − ro = vo t + 0 [ m1 0 Fdt]
Rt Rt
=⇒ r(t) = ro + vo t + 0 [ m1 0 Fdt] In general this is complicated.
However, for the case of a constant force F (t) = F0 , this simplifies to
the constant acceleration equation
=⇒ r(t) = ro + vo t + 12 FmO t 2 , where the constant acceleration a = FmO .
k
=⇒ v (t) = ( mg
k
+ vo )e − m t − mg
k
We see the phenomenon of terminal velocity: as t → ∞, the second
term vanishes and we see vo → −mg /k. At this value the net force
vanish. One would have found this asymptotic speed by also solving
the equation of motion for the speed at which the acceleration
vanishes.
m mg +vo k mg
=⇒ y (t) = yo − K
[ k (e − m t − 1
k )] − k
t
e m0
k
=⇒ y (t) = yo − m
K
[ mgk+vo (e − m t − 1
k )] − mg
k
t
e m0
A body that moves freely under uniform gravity, and possibly air
resistance, is called a projectile. Projectile motion is very common. In
ball games, the ball is a projectile, and controlling its trajectory is a
large part of the skill of the game. On a larger scale, artillery shells
are projectiles, but guided missiles, which have rocket propulsion, are
not.
the effect of the air is to exert a drag force opposing the current
velocity of the projectile.. It is then evident by symmetry that each
projectile motion takes place in a vertical plane; this vertical plane
contains the initial position of the projectile and is parallel to its
initial velocity.
The first (and easiest) problem is that of a projectile moving without
air resistance. This is fine on the Moon, but will be only an
approximation to projectile motion on Earth. The effect of air
resistance can be very significant, as our later examples will show.
k
=⇒ v (t) = ( mg
k
+ vo sin θ)e − m t − mg
k
We see the phenomenon of terminal velocity: as t → ∞, the second
term vanishes and we see vo → −mg /k. At this value the net force
vanish. One would have found this asymptotic speed by also solving
the equation of motion for the speed at which the acceleration
vanishes.
m mg +vo sin θ k mg
=⇒ y (t) = yo − K
[ k
(e − m t − 1
k )] − k
t
e m0
k
=⇒ y (t) = yo − m
K
[ mg +vko sin θ (e − m t − 1
k )] − mg
k
t
e m0
=⇒ v̇ = ( ∂v
∂x
î + ∂v
∂y
ĵ + ∂v
∂z
î)(ẋ î + ẏ ĵ + ż k̂)
˙ ) = ( ∂ î + ∂ ĵ + ∂ î)v ṙ = ∇v ṙ =⇒
=⇒ v (r dv
= ∇v ṙ
∂x ∂y ∂z dt
We have dT
dt
= F .ṙ , and dv
dt
= ∇v ṙ
d d d d
=⇒ 0 = dt
T + dt
V = dt
(F .ṙ ) + dt
(∇v ṙ )
d
=⇒ dt
(F + ∇v ) = 0
=⇒ F = −∇v
=⇒ F = −∇v
=⇒ W = F(x)dx, but F = − dv
R
dx
R dv Rv
=⇒ W = − dx dx = vo −dv
=⇒ W = −v |vvo = −(v − vo ) = −∆v
=⇒ W = −∆v
=⇒ From these, we can relate
W = ∆T = −∆v =⇒ T − To = vo − v =⇒ T + v = To + vo
=⇒ MEf = MEi
When only internal conservative forces act in a closed system, the
sum of the changes of the kinetic and potential energies of the
system is zero.
2
The equilibrium is said to be unstable if d dx
U(x)
2 |x=a < 0
=⇒ x = a is unstable equilibrium point. An equilibrium is considered
stable if the system always returns to equilibrium after small
disturbances. If the system moves away from the equilibrium after
small disturbances, then the equilibrium is unstable.
Example: Consider the potential U(x) = 13 x 3 + 3x 2 + 8x.
1. Find the equilibrium points?
2. Find the energy at equilibrium points?
3. Identify which point is stable and which is unstable?
dU(x) d 1 3
1. dx
= 0 =⇒ ( x
dx 3
+ 3x 2 + 8x) = 0
=⇒ 3 31 x 2 + 2 × 3x + 8 = 0 =⇒ x 2 + 6x + 8 = 0
=⇒ x 2 + 2x + 4x + 8 = 0 =⇒ x(x + 2) + 4(x + 2) = 0
=⇒ (x + 2) + (x + 4) = 0 =⇒ x + 2 = 0orx + 4 = 0
=⇒ The equilibrium points are x = −2orx = −4
2. U(x) = 31 x 3 + 3x 2 + 8x.
−20
=⇒ U(−2) = 13 (−2)3 + 3(−2)2 + 8(−2) = 3
.
−16
=⇒ U(−4) = 31 (−4)3 + 3(−4)2 + 8(−4) = 3
.
Stability requirements
1) The potential has a stable position for which the restoring force is
zero, i.e. dU(x) |
dx x=xo
=0
2) The potential U must be positive and an even function of
n U(x)
displacement x = xo . That is. d dx n |xo > 0 where n is even.
If the second derivative is positive, the equilibrium is stable; if it is
2 U(x)
negative, the system is unstable. If d dx 2 |xo = 0 , one must look at
higher derivatives. If all derivatives vanish so that U is constant in a
region about xo , the system is said to be in a condition of neutral.
U(∆x) =
2 U(x ) 3 U(x )
Uo (xo ) + ∆x( dU(x
dx
o)
)x=0 + 2!1 ∆x 2 ( d dx 2
o
)x=0 + 3!1 ∆x 3 ( d dx 3
o
)x=0 + ...
=⇒ x = Be iωt
but, e iθ = cos θ + i sin θ and e −iθ = cos θ − i sin θ
=⇒ x = Be iωt = B(cos ωt + i sin ωt = B cos ωt + Bi sin ωt, let Bi =
D
=⇒ x = B cos ωt + D sin ωt
√
A = B 2 + D 2 , B = Asinδ and D = A cos δ.
=⇒ x = B cos ωt + Bi sin ωt
x = Asinδ cos ωt + A cos δ sin ωt = A(sinδ cos ωt + cos δ sin ωt)
The forces acting on the bob are the force T exerted by the string
and the gravitational force mg. The tangential component of the
gravitational force, mg sin θ, always acts toward θ = 0, opposite the
displacement. Therefore, the tangential force is a restoring force, and
we can apply Newton’s second law for motion in the tangential
direction:
mgsinθ = −ma =⇒ mẍ = −mgsinθ, where a is the acceleration
along the arc, s = x is the bob’s displacement measured along the arc
and the minus sign indicates that the tangential force acts toward the
equilibrium (vertical) position. θ=x
L
=⇒ ẍ = θ̈L Because L is
constant, this equation reduces to θ̈L + gsinθ = 0
If θ represents the angle that the pendulum makes with the vertical,
then for small θ (i.e, sin θ ∼
= θ) the equation of motion is the familiar
expression.
θ̈L + g θ = 0
=⇒ θ̈ + gL θ = 0
Now we have an expression of the same form as mass spring system.
Therefore, θ can be written as
θ = θmax cos(ωt + φ), where θmax is the maximum angular
displacement and the angular frequency ω is gL
q
2π
ω = τ =⇒ τ = 2π gL
The frequency (the number of oscillations per unit time) ν is τ1 =⇒
q
1 L
ν = 2π g
The period is therefore independent of the mass of the pendulum bob
and depends only on the length L and the gravitational acceleration g.
This result works as long as the elastic limit of the wire is not
exceeded
√ √
β 2 −ωo2 t − β 2 −ωo2 t
−βt
p
x(t) = e [A1 e β 2 = ωo2
+ A2 e ], but
p p
=⇒ λ1 = −β + β 2 − β 2 = −β and λ2 = −β − β 2 − β 2 = −β
=⇒ λ1 = λ2 = −β
We have got two similar values of λ0 s. If the roots of the auxiliary
equation are then equal and the function √ x must be√ written as
2 −β 2 2 2
A1 e λ1 t + A2 te λ2 t x(t) = e −βt [A1 e β t
+ A2 e β −β t ]
−
=⇒ x(t) = A1 e λ1 t + A2 te λ2 t
√ √ 2 2
β 2 −ωo2 t
+ c2 e − β −ωo t ], let β 2 − ωo2 = ω2
p
x(t) = e −βt [c1 e
=⇒ x(t) = e −βt (c1 e ω2 t + c2 e −ω2 t )
=⇒ x(t) = c1 e (ω2 −β)t + c2 e −(ω2 +β)t )
let mk = ωo2 , b
m
= 2β and F(t) is time harmonic forcing and given by
Fd cos ωt.
=⇒ ẍ + 2β ẋ + ωo2 x = Fmd cos ωt Since this equation is linear and
inhomogeneous, its general solution is the sum of
(i) the general solution of the corresponding homogeneous equation
mẍ + b ẋ + kx = 0 (the complementary function, let it be xh (t)) and
(ii) any particular solution of the inhomogeneous equation
ẍ + 2β ẋ + ωo2 x = Fmd cos ωt (the particular integral, let it be xp (t)).
Then For weak damping, the general solution, x(t) = xh (t) + xp (t).
The solution of √ the complementary √ function is
−βt β 2 −ωo2 t − β 2 −ωo2 t
x(t) = e [c1 e + c2 e ]
=⇒ p = √ fo
where ω is the frequency of the driving
(ωo2 −ω 2 )2 +4β 2 ω 2
force and ωo is the natural frequency.
xp = p cos(ωt − δ) = ( √ fo
) cos(ωt − δ)
(ωo2 −ω 2 )2 +4β 2 ω 2
p= F
m
√ 1
= F 1
m 2βω
.
4β 2 ω 2
This phenomena is resonance. It is responsible for the
breakdown of certain physical processes.
F 1
p= m ωo2 −ω 2
suppose ω is close to ωo , β = 0,
F √ 1 F 1
p=m 2 2 2 2
=m 0
=∞
(ωo −ωo ) +4×0×ω
Dividing equation (2) and equation (1) yields δ. The phase difference
δ between the oscillator and the driving force or between the
displacement and driving is δ = tan−1 √2βω2 2 ωo −ω
This shows that there is a delay between the action of the driving
force and response of the oscillator.
x(t) = R cos(ωo t − δ) + ( √ fo
) cos(ωt − δ)
(ωo2 −ω 2 )2 +4β 2 ω 2
Thus the total energy in the circuit remains constant with time and is
proportional to the square of the original charge put on the capacitor.
−→ q̈ + 2β q̇ + ω 2 q = 0.
−R
The solution of this differential equation is qq= qmax e 2L t cos(ωt + θ)
R 2
(damped harmonic oscillation!), where ω = (ωo2 − 2L
)
−R
d
I = dt [qmax e 2L t cos(ωt + θ)]
The charge varies sinusoidally with time but the amplitude is damped
out with time
After some time, no charge remains in the circuit
√ √
−2± 22 −4(5) −2± 4−20
=⇒ λ = 2
= 2
.
√ √
=⇒ λ = −1 ± −4 = −1 ± i 4. It has complex roots. ω = 2 and
α = −1.
If the second order differential equation has
Imaginary roots (α + iω), then its solution is given by
x = e αt (c1 cos ωt + c2 sin ωt)
two real distinct roots (r1 6= r2 ), then its solution is given by
x = c1 e λ 1 t + c2 e λ 2 t
real double roots (r1 = r2 ), then its solution is given by
x = c1 e λt + c1 te λt
fo fo
x(t) = m(ωo2 −ω 2 )
cos(ωo t − δ) + m(ωo2 −ω 2 )
cos(ωt − δ)
R = R0 + Vt
above R0 is the initial location of center of mass, and v is the
center of mass velocity.
Forces having these properties are called central forces. The particle
is said to move in a central force field. The point O is referred to as
the center of force. Mathematically, F is a central force if and only if:
F = f (r )r̂ = f (r )r/r
where r̂ = r/r is a unit vector in the direction of r.
If f (r ) < 0 the force is said to be attractive towards O. If f (r ) > 0
the force is said to be repulsive from O.
∇ × F (r )r̂ = 1r [z ∂y
∂ ∂
− y ∂z ∂
, x ∂z ∂
− z ∂x ∂
, y ∂x ∂
− x ∂y ]
1 ∂F 1 ∂F 1 ∂F
which is zero everywhere if x ∂x = y ∂y = z ∂z . is satisfied.
3. The particle moves in such a way that the position vector (from
the point O) sweeps out equal areas in equal times. In other words,
the time rate of change in area is constant. This is referred to as the
Law of Areas.
Q Prove that for a particle moving in a central force field the areal
velocity is constant.
The velocity in polar coordinates is v = ṙr̂ + r θ̇θ̂
We have h = r × v = ṙ (r × r̂ ) + r θ̇(r × θ̂) = r 2 θ̇k̂
since r×r = 0 and r× θ̂ = rk where k is the unit vector in a direction
perpendicular to the plane of motion [the xy plane], i.e. in the
direction r × v. Using h = hk̂, we see that r 2 θ̇= h.
Suppose that in time ∆t the position vector moves from r to r + ∆r.
∆A = 12 |r × ∆r|
Dividing by ∆t,
limx→0 ∆A ∆t
= limx→0 12 |r × ∆t∆r
| = 21 |r × v|
Ȧ = 12 |r × v|, but r × v = r 2 θ̂
Ȧ = 21 r 2 θ̇
The vector quantity
Ȧ = Ȧk̂ = 12 (r × v) = 12 r 2 θ̇k̂ is often called the areal velocity.
We know that r 2 θ̇ = h = constant. Then the areal velocity is
Ȧ = 12 r 2 θ̇k̂ = 12 hk̂ = 21 h, a constant vector
The result is often stated as follows: If a particle moves in a central
force field with O as center, then the radius vector drawn from O to
the particle sweeps out equal areas in equal times. This result is
sometimes called the law of areas.
Since a central force F acts only along the radius, only the radial
component of the acceleration is nonzero. By Newton’s second law
of motion, the magnitude of F equals the mass m
([email protected] c M.A) Classical Mechanics March 7, 2023 263 / 337
Cont...
d 2u
2. dθ2
+ u = − mh12 u2 f ( u1 ), where u = 1/r
2
d r 2 (dr 2 4
r f (r )
3. dθ 2 − r dθ) − r = mh2
dθ2
− 2r dθ) − r = r mh 2
r̈ − h2 /r 3 = f m (r )
can be then written as
h2 d 2
[
r 4 dθ2
− r ( dθ ) ] − h2 /r 3 = f m
2 dr 2 (r )
d 2r 2 (dr 2 r 4 f (r )
=⇒ dθ2
− r dθ)
−r = mh2
Second Method.
The second method deals directly with the equations of motion and
realizes the expression for the total energy as an integral of the
equations of motion. We multiply m(r̈ − r θ˙2 ) = f (r ) by ṙ , multiply
m(2ṙ θ̇ + r θ̈) = 0 by r θ̇,yields
m(ṙr̈ − ṙ r θ̇2 ) = ṙ f (r ) and m(r θ̇2ṙ θ̇ + r θ̇r θ̈) = 0 respectively and add
the resulting two equations to obtain:
m(ṙr̈ + r ṙ θ̇2 + r 2 θ̇θ̈) = ṙ f (r ) = dr d
R
dt
f (r ) = dt
f (r )dr
=⇒ 12 m dtd d
R
(ṙ 2 + r 2 θ̇2 ) = dt f (r )dr Integrating both sides of this
equation with respect to time gives:
=⇒ 12 m(ṙ 2 + r 2 θ̇2 ) − f (r )dr = constant =E
R
Let c is the distance from the center of the focus to the focus of the
ellipse. a is the length of the semi-major axis, b is the length of the
semi-minor axis and e is the eccentricity.
a. c=CO=CV-OV= a-a(1-e)=ae.
−CO
b. From the definition of ellipse, we have e = OV
VE
= CVVE = a−c
VE
or
a−c
VE = e
Since the eccentricity is the distance from O to W divided by the
distance from W to the directrix AB [which is equal to CE], we have
OW
CE
= e. =⇒
OW = eCE = e(CV + VE ) = e[a + (a − c)/e] = ea + a − c = a
√
=⇒ (OW )2 = (OC )2 + (CW )2 or a2 = b 2 + c 2 i.e c = a2 − b 2
√
c.=⇒ a2 = b 2 + a2 e 2 i.e b = a 1 − e 2
d dr L2 3
⇒ dt dt
− m2
u = −GMu 2 .
−L du Lu 2 d L2 3
⇒ m dθ
[( m ) dθ ] − m2
u = −GMu 2
−L2 d 2 u L2 3
⇒ m2 dθ2
− m2
u = −GMu 2
([email protected] c M.A) Classical Mechanics March 7, 2023 286 / 337
Cont...
2 2
⇒ ddθu2 + u = GMmL2
This is a very interesting equation. It looks like the equation for
simple harmonic motion except for the additional constant term on
the right hand side. It can be made to look exactly like the simple
harmonic motion equation by defining a new variable.
2
w = u − GMm L2
Then, since the last term is a constant.
dw du 2 2 2
dθ
= dθ ⇒ ddθw2 = ddθu .
d 2u GMm2
dθ2
+u = L2
can now be written in the form of the SHM equation:
d 2w
+w =0
dθ2
The solution is sinusoidal and we can write
w = Acosθ,
where A is integration constant,determined by the initial conditions.
Consequently,
GMm2
Dividing top and bottom by L2
puts this in a nicer form:
L2
GMm2
r= 2 .
1+ L 2 Acosθ
GMm
This is equivalent to the standard (r,θ) equation of an ellipse of semi
major axis a and eccentricity e, with the origin at one focus, which
can be expressed in the form
a(1−e 2 )
r = 1+ecosθ .
A term by term comparison of these two equations shows that
L2 L2
GMm2
= a(1 − e 2 ) and e = GMm 2A
L = r × p = rmv = r 2 mω = r 2 m dθ
dt
.
1 L 2πabm (2πabm)2
⇒ πab = 2m
T ⇒T = L
⇒ T2 = L2
4π 2 a2 (1−e 2 )a 4π 2 a3
⇒ T2 = GM(1−e 2 )
= GM
.
4π 3 2
⇒ T 2 = GM a .
We have established, then, that the time for one orbit depends only
on the semi − major axis of the orbit: it does not depend on how
eccentric the orbit is.
([email protected] c M.A) Classical Mechanics March 7, 2023 289 / 337
Cont...
Let ri = xi î + yi ĵ + zi k̂
be the position vector of the i th particle with respect to an xyz
coordinate system. The relationships of the generalized coordinates
q1 , q2 , ..., qn to the position coordinates are given by the
transformation equations.
xi = xi (q1 , q2 , ..., qn , t)
yi = yi (q1 , q2 , ..., qn , t)
zi = zi (q1 , q2 , ..., qn , t)
where t denotes the time. In vector form, it can be written as
ri = ri (q1 , q2 , ..., qn , t)
This function is supposed to be continuous and to have continuous
derivatives.
N N
∂ ∂ X ∂ri ∂ri X ∂ ∂ri ∂ ∂ri
⇒ (ṙi ) = [ q̇j + ]= ( )q̇j + ( )
∂qj ∂qj j=1 ∂qj ∂t j=1
∂qj ∂qj ∂q j ∂t
N
d ∂ṙi X ∂ ∂ri ∂ ∂ri
⇒ = ( )q̇j + ( )
dt ∂qj j=1
∂qj ∂qj ∂t ∂qj
([email protected] c M.A) Classical Mechanics March 7, 2023 298 / 337
LAGRANGE’S EQUATIONS
Suppose the system of particles changed slightly without changing
the time t ri = ri (q1 , q2 , ..., qn ) not ri = ri (q1 , q2 , ..., qN , t), then
N
∂ri ∂ri ∂ri X ∂ri
dri = dq1 + dq2 + ... + dqN = dqj
∂q1 ∂q2 ∂qN j=1
∂qj
N
X ∂ri
Qj = Fi ·
i=1
∂qj
is called generalized force associated with generalized coordinate qj
and Here Fi is the external force on the i th particle.
Also w = w (q1 , q2 , ..., qn ), then
([email protected] c M.A) Classical Mechanics March 7, 2023 299 / 337
LAGRANGE’S EQUATIONS
N
∂w ∂w ∂w X ∂w
dw = dq1 + dq2 + ... + dqN = dqj
∂q1 ∂q2 ∂qN j=1
∂qj
N
X ∂w ∂w
( − Qj ) dqj = 0 ⇒ Qj =
j=1
∂qj ∂qj
N N
∂T X1 ∂ X1 ∂ṙi ∂ṙi
= mi (ṙi · ṙi ) ⇒ mi [ · ṙi + ṙi · ]
∂qj i=1
2 ∂q j
i=1
2 ∂q j ∂q j
N N
∂T X1 ∂ X1 ∂ṙi ∂ṙi
= mi (ṙi · ṙi ) ⇒ mi [ · ṙi + ṙi · ]
∂ q̇j i=1
2 ∂ q̇j
i=1
2 ∂ q̇j ∂ q̇j
N N
∂T X1 ∂ṙi X ∂ṙi ∂ṙi ∂ri
= mi 2[ṙi · ]= mi ṙi · , but =
∂ q̇j i=1
2 ∂ q̇j i=1
∂ q̇j ∂ q̇j ∂qj
N
∂T X ∂ri
= mi ṙi ·
∂ q̇j i=1
∂qj
([email protected] c M.A) Classical Mechanics March 7, 2023 302 / 337
N N
d X ∂ri X ∂ṙi d ∂T ∂T
Wehave, Qj = mi ṙi · − mi ṙi · = −
dt i=1 ∂qj i=1
∂qj dt ∂ q̇j ∂qj
d ∂T ∂T
− = Qj
dt ∂ q̇j ∂qj
This is called Lagrange’s equation of motion.
Suppose all the forces are conservative. i.e. there exists a scalar
function V = V (q1 , q2 , ..., qn , t) called potential function. By the
definition of the potential function ∂∂V q̇j
=0
Definition: Lagrangian or Lagrange’s Function L of the system is
defined as the difference of Kinetic energy and the Potential energy
and denoted by L. i.e L = T-V
Here dw = F · dr = −∇r · dr = −dV ⇒ ∂∂w q̇j
= Qj = − ∂∂V
q̇j
d ∂T ∂V ∂T ∂V d ∂T − V ∂T − V
[ −( )]− −(− )=0⇒ − = 0, butT −
dt ∂ q̇j ∂ q̇j ∂qj ∂qj dt ∂ q̇j ∂qj
d ∂L ∂L
( )− =0
dt ∂ q̇j ∂qj
This is the Lagrange’s equation for a conservative system
Suppose
P that there arePm equation of constraint having the form
j Aj dq j + Adt = 0, j Bj dqj + Bdt = 0
or
P equivalently P
j Aj q̇j + Adt = 0, j Bj q̇j + Bdt = 0
We must of course have m < n where n the number of coordinates qj .
These equations may or may not be integrable so as to obtain a
relationship involving the qj0 s. If they are not integrable the
constraints are non − holonomic or non − integerable; otherwise they
are holonomic or integrable.
We define
pj = ∂∂Tq̇j
to be the generalized momentum associated with the generalized
coordinate qj . We often call pj the momentum conjugate to qj , or
the conjugate momentum.
If the system is conservative with potential energy depending only on
the generalized coordinates, then
pj = ∂∂Tq̇j
can be written in terms of the Lagrangian L = T − V as
pj = ∂∂Lq̇j
But, ∂∂Lq̇ ∂q|ttfi = 0 This term vanishes since we have fixed the end
pointsR of the pathRso δxa (ti ) = δxa (tf ) = 0.
t ∂L
δs = ti f ∂q dq − δqd( ∂∂Lq̇ )
R tf ∂Lj R d ∂L
δs = ti ∂qj dq − δq dt ( ∂ q̇ )dt
R tf ∂L d ∂L
δs = ti [ ∂qj − dt ( ∂ q̇ )]δqdt The requirement that the action is an
extremum says that δS = 0 for all changes in the path δxa (ti ). This
holds if and only if
d ∂L ∂L
( )− =0
([email protected] c M.A)
dt ∂Classical
q̇j Mechanics
∂qj March 7, 2023 311 / 337
Derivation of the Hamilton Equations
d ∂L ∂L
( )− =0
dt ∂ q̇ ∂qj
∂L ∂ 1 ∂L
∂ q̇
= ( mq̇ 2
∂ q̇ 2
− V) = mq̇ = p ⇒ ∂ q̇
=p
d ∂L ∂L d ∂L ∂L
( )− =0⇒ ( )=
dt ∂ q̇ ∂qj dt ∂ q̇ ∂qj
∂L d ∂L d
⇒ = ( )= (p) = ṗ
∂qj dt ∂ q̇ dt
Let us try to transform our Lagrange function into a quantity that is
described by generalized coordinates and momenta. L = T − V ⇒
L = 21 mq̇ 2 − V ⇒ L = mq̇ 2 − 12 mq̇ 2 − V
⇒ 21 mq̇ 2 + V = mq̇ 2 − L ⇒ H = mq̇ 2 − L = (mq̇)q̇ − L = (p)q̇ − L,
we call it the ’Hamiltonian’ or ’Hamilton’s function of the system.
We define the Hamiltonian function as the LegendreP transform of the
Lagrangian function, i.e. we define it to be ⇒ H = nj=1 q̇j pj − L
([email protected] c M.A) Classical Mechanics March 7, 2023 312 / 337
Cont...
Note that in this definition we used the notation for the dot product
n
X
p · q̇ = q̇j pj
j=1
∂L
⇒ H(p, q) = p q̇ − L(q, q̇) ⇒ dH = pdq̇ + q̇dp − ∂∂Lq̇ dq̇ − ∂q dq but,
∂L ∂L
∂ q̇
= p and ṗ = ∂q
⇒ dH = pdq̇ + q̇dp − pdq̇ − ṗdq
∂L
⇒ dH = pdq̇ − pdq̇ + q̇dp − ∂q dq = q̇dp − ṗdq
⇒ dH = q̇dp − ṗdq .....................(*)
The total differential of the Hamiltonian is given by H = H(p, q)
⇒ dH = ∂H ∂P
dp = ∂H∂q
dq.....................(**)
d
(x )
dt 1
= dx
dt
= ẋ and
d
(x )
dt 2
= dt = − d(x)
d(`−x)
dt
= −ẋ
The kinetic energy is given by:
˙ 2 = 21 (m1 + m2 )ẋ 2 , and
T = 21 m1 ẋ 2 + 12 m2 −x
The potential function
V = −m1 gx − m2 g (` − x) = −m1 gx − m2 g ` + m2 gx)
The Lagrangian L = T − V is thus given by
([email protected] c M.A) Classical Mechanics March 7, 2023 321 / 337
Cont...
L(x, ẋ) = 12 (m1 + m2 )ẋ 2 − [−m1 gx − m2 g ` + m2 gx)] =
1
2
(m1 + m2 )ẋ 2 + m1 gx + m2 g ` − m2 gx
From Hamilton’s principle the equations of motion are given by
Lagrange’s equations. Here, taking the generalized coordinate to be
d ∂L ∂L
q = x, the single Lagrange equation is dt ( ∂ ẋ ) − ∂x =0
Using the form for the Lagrangian above we find that
∂L
∂ ẋ
= ∂∂ẋ ( 12 (m1 + m2 )ẋ 2 + m1 gx + m2 g ` − m2 gx) =
1
2
(m1 + m2 )2ẋ + 0 = (m1 + m2 )ẋ, and
∂L ∂ 1
∂x
= ∂x ( 2 (m1 + m2 )ẋ 2 + m1 gx + m2 g ` − m2 gx) =
0 + m1 g + 0 − m2 g = (m1 − m2 )g
d ∂L
Now let’s insert them into dt ( ∂ θ̇ ) − ∂L
∂θ
=0
d
=⇒ dt [(m1 + m2 )ẋ] − [(m1 − m2 )g ] = 0 =⇒
(m1 + m2 )ẍ = (m1 − m2 )g , divide both sides by (m1 + m2 ).
and so Lagranges equation of motion becomes
(m1 −m2 )
=⇒ ẍ = (m 1 +m2 )
g,
d
(x )
dt 1
= dx dt
= ẋ and dt d
(x2 ) = d(`−x)
dt
= − d(x)
dt
= −ẋ
The kinetic energy is given by:
T = 12 m1 ẋ 2 + 12 m2 −x ˙ 2 + 14 M ẋ 2 = 12 (m1 + m2 + 21 M)ẋ 2 , and
The potential function
([email protected] c M.A) Classical Mechanics March 7, 2023 323 / 337
Cont...
L(x, ẋ) = 12 (m1 + m2 + 21 M)ẋ 2 − [−m1 gx − m2 g ` + m2 gx)] =
1
2
(m1 + m2 )ẋ 2 + m1 gx + m2 g ` − m2 gx
From Hamilton’s principle the equations of motion are given by
Lagrange’s equations. Here, taking the generalized coordinate to be
d ∂L ∂L
q = x, the single Lagrange equation is dt ( ∂ ẋ ) − ∂x =0
Using the form for the Lagrangian above we find that
∂L
∂ ẋ
= ∂∂ẋ ( 12 (m1 + m2 + 12 M)ẋ 2 + m1 gx + m2 g ` − m2 gx) =
1
2
(m1 + m2 )2ẋ + 0 = (m1 + m2 )ẋ, and
∂L ∂ 1
∂x
= ∂x ( 2 (m1 + m2 + 12 M)ẋ 2 + m1 gx + m2 g ` − m2 gx) =
0 + m1 g + 0 − m2 g = (m1 − m2 )g
d ∂L
Now let’s insert them into dt ( ∂ θ̇ ) − ∂L
∂θ
=0
d 1
=⇒ dt [(m1 + m2 + 2 M)ẋ] − [(m1 − m2 )g ] = 0 =⇒
(m1 + m2 + 21 M)ẍ = (m1 − m2 )g , divide both sides by (m1 + m2 ).
and so Lagranges equation of motion becomes
1 −m2 )
=⇒ ẍ = (m(m +m + 1 M)
g,
1 2 2
p p2 1 p 1 1 p2 1 2
⇒ H(x, p) = ẋp−L = p−L = −[ m( )2 − kx 2 ] = + kx
m m 2 m 2 2m 2
Note this last expression is the sum of the kinetic and potential
energies and so H is the total energy. Hamiltons equations of motion
are thus given by
∂ 1 p2
ẋ = ∂H
∂P
= ∂P ( 2 m + 12 kx 2 ) = mp
∂ 1 p2
and ṗ = − ∂H
∂x
= − ∂x ( 2 m + 21 kx 2 ) = − 12 k2x = −kx
d ∂L ∂L ∂L ∂L
( )− = 0, but, = p = mẋand = ṗ = −kx
dt ∂ ẋ ∂x ∂ q̇ ∂x
d
(mẋ) − (−kx) = 0
dt
Note that combining these two equations, we get the usual equation
for a harmonic oscillator: mẍ + kx = 0,
p p 1 p
⇒ H(x, p) = θ̇p−L = 2
p−L = 2
−[ m`2 θ̇2 −mg (`−` cos θ)] =
m` m` 2 m
d ∂L ∂L ∂L ∂L
( )− = 0, but, = p = m`2 θ̇and = ṗ = −mg ` sin θ
dt ∂ θ̇ ∂θ ∂ θ̇ ∂θ
d
(m`2 θ̇) − (−mg ` sin θ) = 0
dt
Note that combining these two equations, we get the usual equation
for a harmonic oscillator: m`2 θ̈ + mg ` sin θ = 0,
θ̈ + g` θ = 0,