Classical 2
Classical 2
Classical 2
1 Constraints
Motion of a system of particles is often constrained, either geometrically or kinematically.
Constraints reduce the number of degrees of freedom of a given body. Consider the
motion of a single particle in space. For free, unconstrained motion, it has three degrees
of freedom which are usually expressed by three coordinates such as x, y, z or r, θ, ϕ etc.
If, however, the particle is constrained to move on the surface of a sphere, we must have
(taking Cartesian coordinates),
x2 + y 2 + z 2 = R 2
which reduces the number of degrees of freedom by one. Consider two masses connected
by a rigid rod, like a dumbbell. Two particles have 6 degrees of freedom, Since the distance
between the two bodies remains constant, we have the constraint
which reduces the degree of freedom to 5. These are examples of geometric or holonomic
constraints whoch are expressible as algebraic equations involving the coordinates.
There are other constraints which restrict the motion of bodies . Some of these are
expressible as differential equations which constrain the coordinates and components of
velocities. These are called kinematic constraints. Non-integrable kinematic constraints
which cannot be reduced to holonomic constraints are called non-holonomic constraints.
Thus, if m is the dimension of the configuration space (i.e., the number of generalised
coordinates), holonomic constraints are expressible as equations of the form
f i (t, q1 , q2 , . . . , qm ) = 0, 1 ≤ i ≤ k
c D. K. Ghosh, IIT Bombay 2
Both the constraints are classified as rheonomic if they explicitly depend on time.
Sometimes a constraint may appear to be kinematic but may be in reality holonomic. For
instance, a constraint of the type Aẋ + B = 0 may actually be holonomic if there exists
a function f such that A = ∂f /∂x and B = ∂f /∂t. We then have,
∂f df ∂f
df = +
∂x dt ∂t
which gives a holonomic constraint f = constant.
Example 1:
Consider two masses connected by pulleys, as shown. In general two particles have
6 degrees of freedom. However, m1 can only move along the x direction and m2 along
the z direction. Thus y1 = z1 = 0 and x2 = y2 = 0. We are left with two degrees of
freedom. However, if m1 moves along the x direction by a distance d, m2 would have
to move along z direction by 2d, i.e., we get another holonomic constraint, z2 − 2x1 = 0
which reduces the degree of freedom further by one. The problem is essentially a one
dimensional problem.
m1
P1 z
P
2
m2
11111111111111111
00000000000000000
00000000000000000
11111111111111111
00000000000000000
11111111111111111
Non-holonomic constraint could be in the form of differential equations or algebraic
inequalities. For instance, a particle constrained to move inside a sphere of radius R
satisfies x2 + y 2 + z 2 < R2 . Consider a disk rolling on a horizontal surface, on x-y plane.
c D. K. Ghosh, IIT Bombay 3
P φ
θ
x
If the disk is rolling without slipping, keeping its plane vertical, we need four coordi-
nates to describe the position of the disk. These are the x and y coordinates of the centre
of the disk, the angle ϕ by which a fixed point on the rim of the disk has rotated about
the axis of rotation and the angle θ that the axis of the disk makes with the x axis. If R
is the radius of the disk, the velocity of the disk is given by
v = Rω = Rϕ̇ (1)
Since the disk remains vertical, the components of the velocity of the centre of the disk
are given by
dx
= v sin θ (2)
dt
dy
= −v cos θ (3)
dt
Using eqs. (1) to (3) we get
dx dϕ
= R sin θ
dt dt
dy dϕ
= −R cos θ
dt dt
the minus sign is due to the sense of rotation being opposite to the positive angle. Com-
bining these two we get the following pair of differential equations:
dx = R sin θdϕ
dy = −R cos θdϕ
Tackling problems with non-holonomic constraints is more difficult and no general pre-
scription can be provided for their solution. Constraints introduce two new elements
into problem solving. Since the generalised coordinates are no longer independent, the
equations of motion are not independent either. Constraints arise from forces between
elements whose nature is unknown. These forces are known only by the effect they have
on motion of the system.
2 Virtual Displacement
A real displacement of particles constituting a system happens over a finite time. Such
a displacement of, say, the i-th particle is, in general, function of all the generalised
coordinates as well as of time. If the position of the i-th particle is written as
where we have use δq to indicate a virtual displacement while reserving dq for real dis-
placement. For a real displacement, the forces of constraints may change. The velocity is
given by
s
~ṙi = d~ri = ∂~ri ∂~ri
X
q̇j + (6)
dt j=1
∂q j ∂t
so that we have,
s
∂~ṙi X ∂~ri ∂~ri
= δjk = (7)
∂ q̇k j=1
∂qj ∂qk
by eqn. (5). Suppose the system, under the action of applied forces as well as those of
constraints, is in equilibrium. The total force acting on each particle is then zero,
F~i = 0; (i = 1, . . . , N )
We then have, for the virtual work done by F~i in the displacement δ~ri is
F~i · δ~ri = 0
The total force acting on any particle can be split into two: an applied part and a part
due to the constraints,
F~i = F~ia + F~ic
then we have
X X
δW = F~ia · δ~ri + F~ic · δ~ri = 0 (8)
i i
The forces of constraints (e.g. normal reaction, tension, rigid body constraints etc.) do
not do any work. This is general true of scleronomic holonomic constraints and this
statement is central hypothesis in the principle of virtual work. Two examples illustrate
the hypothesis. Consider two types of displacements consistent with the constraints on a
rigid body. A displacement along the line joining two particles does not do any net work
because the reactions are equal and opposite. In order to be consistent with rigid body
constraints, for a pair of particles j and k, we must have δrk = δrj . The work done is
fkj · δrj + fjk · δrk = (fkj + fjk ) · δrj = 0 where we have used δrj = δrk . Thus there
is no work done. The second type of displacement is along the arc of a circle normal to
the line joining the particles.As the forces of constraints are normal to the direction of
displacement, the work done is once again zero.
Consider the pulley arrangement in Example 1. When m1 moves by an amount δx to
the right, m2 moves by 2δx downwards in order to keep the sum of the lengths of the
two ropes constant. The only applied forces are the gravity and friction. Thus by the
principle of virtual work, we have,
−µmgδx + mg2δx = 0
mg
δx
1
mg
θ δx 2
F
11111111111111111
00000000000000000
00000000000000000
11111111111111111
00000000000000000
11111111111111111
N
If the block on the vertical track undergoes a virtual displacement δx1 and that on
the horizontal plane has a virtual displacement δx2 , we have δx1 sin θ = δx2 cos θ which is
the constraint which keeps the rod length constant. The gravity does work on the mass
on the vertical track while the applied force F2 is responsible for work on the horizontally
moving block, mgδx1 + F2 δx2 = 0. Thus we have
δx1
F2 = −mg = −mg cot θ
δx2
Example 3:
Consider an Atwood’s machine in equilibrium. In this case we have the constraint
y1 + y2 = l = constant.
00000000000
11111111111
000
111
000
111
000
111
m1 m
2
Thus we have δy1 = −δy2 . The applied forces are m1 g and m2 g, both acting down-
wards. The virtual work done is δW = m1 gδy1 + m2 gδy2 = (m1 − m2 )gδy1 = 0, which
gives the condition for equilibrium to be m1 = m2 .
{q̇i } are known as the generalised velocities. (If the constraints are scleronomic, we
∂~ri
would have = 0. )
∂t
Let us return to the expression for virtual work and express it in terms of the gener-
alised coordinates.
X
δW = F~ia · δ~ri
i
s
XX ∂~ri
= F~ia · δqα
i α=1
∂qα
s
X
≡ Qα δqα (10)
α=1
Note that the generalised force depends only on applied forces and not on forces of con-
straints. In equilibrium, we have
X
δW = Qα δqα = 0
α
Since the generalised coordinates are independent, we have Qα = 0. However, this does
not apply that applied forces vanish. The condition for vanishing of i F~ia · δ~ri = 0 is
P
applicable only to static situations. d’Alembert extended this to include general motion
of the system.
3 d’Alembert’s Principle
d’Alembert’s principle, developed from an idea originally due to Bernoulli, is to use the
fact that according to Newton’s law, the force applied on a particle results in a rate of
change of its momentum,
F~i = ṗ~i
c D. K. Ghosh, IIT Bombay 8
ṗ~i is known as the inertial force or pseudo force acting on the particle. One can then
think of bringing the body to equilibrium by applying a pseudo force −ṗ~i on the i-th
particle of the system (1 ≤ i ≤ N ),
F~i − ṗ~i = 0
Note that F~i contains both applied and constraint forces acting on the i-th particle.
Once again, we can split F~i into two parts and write the above equation for virtual
displacements as X
(F~ia + F~ic − ṗ~i ) · δ~ri = 0
i
Equation (12) is the statement of d’Alembert’s principle. It may be noted that the only
force appearing in this equation is the applied force. Further, F~ia refers to the force on
the i-th particle and the sum in (12) is over all particles and not over the independent
generalised coordinates. Consequently, (12) does not imply F~ia − ṗ~i = 0.
An interesting consequence follows if the displacement in (12) happens to be real displace-
ment instead of virtual ones. In that case the displacement can be written as d~ri = ~r˙i dt If
the force is conservative and is derivable from a potential V , i.e. F~i = −∇i V , can rewrite
(12) as follows:
X X
(F~ia − ṗ~i )d~ri = [−∇i V − m~r̈i ]~ṙi dt
i i
X d 1 2
= [−∇i V · d~ri − ( mṙ )dt]
i
dt 2 i
X
= d( Ti + V ) = 0
i
3.1 Example 4:
Consider a mass resting on a frictionless incline. The mass would slide down with an
acceleration when released. A horizontal acceleration is applied on the mass to keep the
mass from sliding. We need to find the acceleration. The problem is
c D. K. Ghosh, IIT Bombay 9
Let us look at the problem from d’Alembert’s principle. Suppose the mass has an
instantaneous (virtual) displacement δl along the incline. We then have δx = δl cos θ and
δy = −δl sin θ. The only applied force is mg along the −y axis: F~ = −mg ŷ. From the
principle of virtual work it follows that
Fx δx + Fy δy − max δx − may δy = 0
l1 l
2
m1 m
2
mg
mg 2
α 1
β
The inertial forces are ṗ1 = m1 ¨l1 and ṗ2 = m2 ¨l2 = −m2 ¨l1 and the only applied forces are
the weight of the masses. Taking the components of (13) along the incline, we have,
so that
¨l1 = m1 g sin α − −m2 g sin β
m1 + m2
where in the last line we have used (16) and have used the fact that q̇i is independent of
qi . Let us return to d’alembert’s principle
N
X
(F~i − ṗ~i ) · δ~ri = 0
i=1
where in the last line we have used the dot cancelation relationship (17).
c D. K. Ghosh, IIT Bombay 11
The right hand side of the above expression can be simplified and the equation can be
written as follows:
s
" ! !#
X X d ∂ X1 ∂ X1
mi~r̈i · δ~ri = mi ṙi2 − mi ṙi2 δqk
i k=1
dt ∂ q̇ k i
2 ∂q k i
2
s
X d ∂T ∂T
= − δqk (19)
k=1
dt ∂ q̇k ∂qk
where T is the kinetic energy of the system of particles.
Substituting (19) in d’Alembert’s equation, we have
N
X
~ a d ∂T ∂T
Fi · δ~ri − − δqk = 0 (20)
i=1
dt ∂ q̇ k ∂q k
Ps
In terms of generalized coordinates, we could write the first term as k=1 Qk δqk . Thus
we have,
s
X d ∂T ∂T
Qk − − δqk = 0 (21)
k=1
dt ∂ q̇k ∂qk
Since the generalized coordinates are independent, we may vary each coordinate indepen-
dently and get
d ∂T ∂T
− = Qk (22)
dt ∂ q̇k ∂qk
Equation (22) is the form of Euler-Lagrange equation which is derived from d’Alembert’s
principle. If, however, the external forces acting on the system are conservative, i.e., if we
can express F~i = −∇i V , where ∇i implies gradient taken with respect to the coordinates
of the i-th particle, we have
N
X ∂~ri
Qk = F~i ·
i=1
∂qk
N
X ∂~ri
= −∇i V ·
i=1
∂qk
∂V
=− (23)
∂qk
∂V
If the potential is a function only of the position qk , we have = 0 which enables us
∂ q̇k
to write the generalized force as
∂V d ∂V
Qk = − + (24)
∂qk dt ∂ q̇k
On bring this expression for the generalized force to the left hand side of (23) and recog-
nizing that L = T − V , we recover the Euler-Lagrange equation
d ∂L ∂L
− =0 (25)
dt ∂ q̇k ∂qk
c D. K. Ghosh, IIT Bombay 12
F~ = q(E
~ + ~v × B)
~ (26)
Using the expressions for the electric and the magnetic fields in terms of the scalar and
~ respectively, we have
the vector potentials ϕ and A
~
~ = −∇ϕ − ∂ A
E
∂t
~
B =∇×A ~
The scalar potential depends only on position and we will need to deal only with the
remaining two terms. Since ~v does not depend on position, we have the following identity,
~ = ∇(~v · A)
~v × (∇ × A) ~ − (~v · ∇)A
~ (28)
Proof of (28)
Proof. To prove the identity (28), we consider the x-component of its left hand side.
~ x = vy (∇ × A)
[~v × (∇ × A)] ~ z − vz (∇ × A)
~ y
∂ ∂ ∂ ∂
= vy Ay − Ax − vz Ax − Az
∂x ∂y ∂z ∂x
∂Ay ∂Az ∂Ax ∂Ax
= vy + vz − vy + vz
∂x ∂x ∂y ∂z
∂Ax ∂Ay ∂Az ∂Ax ∂Ax ∂Ax
= vx + vy + vz − vx + vy + vz
∂x ∂x ∂x ∂x ∂y ∂z
∂Ax
where in the last line we have added and subtracted vx .
∂x
c D. K. Ghosh, IIT Bombay 13
Since ~v or its components do not depend on position coordinates, we can write the
∂ ~ and the second term as (~v · ∇)Ax . Adding three components of
first term as (~v · A)
∂x
~v × (∇ × A) ~ then yields the identity (28).
We will now rewrite the second term of (28) using a smart trick. Note that the total
~ can be written as follows:
derivative of any component of A
dAx ∂Ax dx ∂Ax dy ∂Ax dz ∂Ax
= + + +
dt ∂x dt ∂y dt ∂x dt ∂t
∂Ax ∂Ax ∂Ax ∂Ax
= vx + vy + vz +
∂x ∂y ∂x ∂t
∂Ax
= (~v · ∇)Ax + (29)
∂t
Combining three components, we can write,
~
dA ~
~ + ∂A
= (~v · ∇)A (30)
dt ∂t
∂A ~
Using (28) and substituting the expression for from (30) into (27), we get
∂t
" #
d ~
A
F~ = q −∇(ϕ − ~v · A)
~ − (31)
dt
Now, we can write using the fact that A~ does not depend on velocity components
dAx d ∂
= (Ax vx )
dt dt ∂vx
d ∂
= (Ax vx + Ay vy + Az vz )
dt ∂vx
d ∂ ~
= (~v · A)
dt ∂vx
d ∂ ~ − ϕ)
= (~v · A (32)
dt ∂vx
where, in the last step, we have added a term ∂ϕ/∂vx which is zero because the scalar
potential does not depend on the velocity either. Thus
~
dA d
= ~ − ϕ)
∇v (~v · A (33)
dt dt
∂ ∂ ∂
where ∇v = î + ĵ + k̂ is gradient with respect to the velocity vector. Substi-
∂vx ∂vy ∂vz
tuting this in the expression (31), we get
d
F~ = q −∇(ϕ − ~v · A)~ + ~
∇v (ϕ − ~v · A) (34)
dt
c D. K. Ghosh, IIT Bombay 14
~
U = ϕ − ~v · A (35)
which is of the form (24). With this modification, the Euler-Lagrange equation is still
valid for velocity dependent potential for which the Lagrangian is given by
L=T −U