Chapter 1 Principle of Virtual Work
Chapter 1 Principle of Virtual Work
• A particle constrained to move along the x axis has one degree of freedom, the position
x on this axis.
• A particle constrained to the surface of the earth has two degrees of freedom, longitude
and latitude.
• A wheel rotating on a fixed axle has one degree of freedom, the angle of rotation.
• A solid body in free space has six degrees of freedom: a particular atom in the body can
move in three dimensions, which accounts for three degrees of freedom; another atom
can move on a sphere with the first particle at its center for two additional degrees of
freedom; any other atom can move in a circle about the line passing through the first
two atoms. No other independent motion of the body is possible.
F (x, y) = x2 + y 2 − R2 = 0. (1.1.1)
1
CHAPTER 1. PRINCIPLE OF VIRTUAL WORK 2
As we shall see, this constraint may be useful when expressed in differential form:
∂F ∂F
dF = dx + dy = 2xdx + 2ydy = 0. (1.1.2)
∂x ∂y
A constraint that can be represented by setting to zero a function of the variables representing
the configuration of a system (e.g., the x and y locations of a mass moving in a plane) is
called holonomic.
In a more complex system, there may be more than one constraint. For instance, if the mass
in the above case is moving in x-y-z space, but in addition is constrained to remain on a
horizontal surface at elevation a, the additional constraint
G(z) = z − a = 0 (1.1.3)
would apply.
This constraint cannot be integrated to the form F (x, y) = 0, because φ can change as the
car moves due to the driver turning the steering wheel. It thus depends on more than x and
y. Thus, for infinitesimal motions, the car can only move along a particular line in the x-y
plane as represented by equation (1.1.4), whereas with driver input, the car can reach any
point in this plane with any rotational orientation, but only through finite motions. (This is
what makes parallel parking so complicated!) Thus a car exhibits only one degree of freedom
in infinitesimal motion, but three degrees of freedom in finite motion.
A constraint of this type is called non-holonomic. In general, non-holonomic constraints are
more difficult to deal with than holonomic constraints.
Q
Fa
Fb
a b
δφ
acting on the system, but internal forces acting between each pair of atoms within the system.
However, Newton’s third law says that the force of atom A on atom B is equal and opposite
to the force of atom B on atom A. Thus, the net force on the system due to atoms within
the system acting on each other is zero. This result is related to the conservation of linear
momentum in isolated systems. Thus, in considering the overall motion of a system, only
external forces need be considered.
These forces can also be obtained in terms of the beam dimensions and Q:
bQ aQ
Fa = Fb = (1.3.5)
a+b a+b
The principle of virtual work can be used to obtain the same results. The idea is that if
the beam tilts by a small angle δφ in the clockwise direction, then the forces Fa and Fb
respectively do work −Fa aδφ and Fb bδφ. This is because the left end of the beam moves
a distance aδφ in a direction opposite that of the force whereas the right end of the beam
moves a distance bδφ in the same direction as the force. The force of the pivot on the beam
does no work, as the pivot is assumed not to move, so the total work done is
This work increment is zero as a result of the torque balance expressed by equation (1.3.2).
Thus, assuming that the work increment is zero in a small displacement of the system is
equivalent to the condition of zero net torque.
If instead of tilting the beam, the pivot and beam are lifted vertically by a small distance
δz, the work done by the three forces in this case would be
δW = (Q − Fa − Fb )δz, (1.3.7)
which according to equation (1.3.1) is also zero. Setting δW = 0 in this equation allows us
to obtain the pivot support force Q. Thus, setting the work done in small displacements of
the system to zero allows us to determine all of the relevant forces via computing the work
done by these forces. The work is called virtual, because no real motion of the system is
envisioned, with the corresponding complications resulting from generation of kinetic energy.
In this example, there is little computational advantage in using the principle of virtual work
over the method of zero forces and torques. However, its virtues become more evident as
the problem becomes more complex.
1.3.2 Ladder
Let’s now consider the ladder problem illustrated in figure 1.3.2. A person of mass M is
standing part way up a ladder leaning against a frictionless wall. The ladder is kept in place
by frictional force F acting on the bottom of the ladder as illustrated. This is a problem with
one degree of freedom, reflected by potential changes in the angle φ of the ladder relative to
the wall. Two forces do work when a small displacement is made in the tilt of the ladder,
gravity on the person standing on the ladder and the frictional force holding the ladder in
place. (The mass of the ladder itself is assumed to be negligible.)
The person is a height z = b cos φ above the floor, so a change in φ results in a change in
height δz = −b sin φδφ. The work done by gravity on the person-ladder system with such a
change is therefore δWg = gM b sin φδφ. The distance of the base of the ladder from the wall is
CHAPTER 1. PRINCIPLE OF VIRTUAL WORK 5
b Mg
φ
F
x = a sin φ, so the work done by the frictional force F is δWF = −F δ(a sin φ) = −F a cos φδφ.
Setting the total work to zero results in
Thus,
gM b tan φ
F = . (1.3.9)
a
Both of the above examples illustrate an important aspect of the method of virtual work.
Forces of constraint acting on the system that do no work need not be considered. These
include the support force of the pivot in the uneven balance beam and the normal forces of
the floor and the wall on the ladder. However, these forces can be determined by making
small virtual displacements of the system that cause the forces of constraint to do work, as
illustrated in the determination of the pivot force in the balance beam problem.
R L
θ φ
P
F
so
R cos θ
δφ = δθ. (1.3.11)
L cos φ
The x position of the face of the piston is given by
where the value of the constant is immaterial, since we now take the differential of this
equation:
δx = −R sin θδθ − L sin φδφ. (1.3.13)
Using equations (1.3.10) and (1.3.11), this becomes
" #
R cos θ sin θ
δx = − sin θ + 1/2 Rδθ. (1.3.14)
R2 − L2 sin2 θ
The work done on the system (i.e., the piston and connecting rod) by the pressure on the
piston in a small displacement δx is δWP = −P δx, whereas the work done by the crankshaft
on the connecting rod with a small crankshaft rotation δθ is δWC = −F Rδθ. Combining
these and eliminating δx in favor of δθ results in total work on the system of
which is zero by the principle of virtual work. Thus, the force of the crankshaft arm on the
connecting rod is " #
R cos θ sin θ
F = sin θ + 1/2 P. (1.3.16)
R2 − L2 sin2 θ
By Newton’s third law, the force of the connecting rod on the crankshaft arm in the sense
of positive δθ is also F , and the torque on the crankshaft is F R.
CHAPTER 1. PRINCIPLE OF VIRTUAL WORK 7
M R
φ
m
Figure 1.4.1: The pulley on the left is frictionless and the wheel on the right rolls up or down
the ramp. The string wraps around the wheel on the ramp.
a b
c
Ta Tb
y
P
M x
1.4 Problems
1. Use the principle of virtual work to determine the ratio M/m that results in static
equilibrium in figure 1.4.1.
2. Use the principle of virtual work to determine the tensions in the clothes line from
which a mass M is hung, as illustrated in figure 1.4.2. Note that you will need to apply
the principle twice, once for small virtual displacements of the point P horizontally
and again for small vertical displacements. The tensions Ta and Tb are kept constant
in these displacements.