Virtual Work
Chapter Objectives
- Introduce the principle of virtual work and apply it to finding equilibrium configurations of pin-connected systems.
- Establish the potential-energy function and use the potential-energy method to investigate equilibrium type and stability.
Definition of Work
The principle of virtual work was introduced by the Swiss mathematician Jean Bernoulli in the eighteenth century. It provides an alternative method for solving equilibrium problems involving particles, rigid bodies, or systems of connected rigid bodies. Before applying this principle, we must carefully define what it means for a force or couple moment to do work.
Work of a Force
A force does work only when it undergoes a displacement in the direction of its line of action. If a force \(\mathbf{F}\) acts at angle \(\theta\) to a differential displacement \(d\mathbf{r}\), the work done is the product of the force's component along the displacement and the displacement magnitude. Work is a scalar quantity — it can be positive or negative depending on the relative sense of the force and its displacement.
Equivalently using the dot product: \( dU = \mathbf{F} \cdot d\mathbf{r} \)
In the SI system, the unit of work is the joule (J) — the work done by a 1-N force displacing 1 m in the direction of the force (\(1\text{ J} = 1\text{ N}\!\cdot\!\text{m}\)). In the FPS system, the unit is the foot-pound (ft·lb).
Work of a Couple Moment
When a rigid body rotates through a differential angle \(d\theta\), a couple moment \(M\) of magnitude \(Fr\) does work. The couple forces produce no net work during translation (they cancel), but during rotation through \(d\theta\), the work contributed is positive when \(M\) and \(d\theta\) share the same sense, and negative otherwise.
Virtual Work
Virtual work is the work done by actual forces and moments through imaginary (virtual) displacements or rotations. These virtual displacements are first-order differential quantities, denoted \(\delta r\) and \(\delta\theta\), that do not actually occur — they are simply assumed for the purpose of analysis. For a force with virtual displacement \(\delta r\):
Principle of Virtual Work
If a body is in equilibrium, the algebraic sum of all virtual work done by every force and couple moment acting on it is zero for any virtual displacement of the body.
\[ \delta U = 0 \]This principle is equivalent to the equations of static equilibrium. For a rigid body in a coplanar force system, virtual translations in the \(x\) and \(y\) directions and a virtual rotation about any point O correspond to \(\Sigma F_x = 0\), \(\Sigma F_y = 0\), and \(\Sigma M_O = 0\) respectively.
Internal Forces Do No Net Work
When applying the virtual-work equation to a rigid body, internal forces need not be considered. Because the body does not deform, internal forces appear as equal-and-opposite collinear pairs, so their virtual work contributions cancel perfectly.
For simple single-body problems, the principle of virtual work offers no computational advantage over direct equilibrium equations. Its real power emerges when analyzing systems of connected rigid bodies, as explored in Section 11.3.
Principle of Virtual Work for a System of Connected Rigid Bodies
Virtual work is especially powerful for systems of multiple connected rigid bodies — linkages, mechanisms, and frames. When such a system has a single degree of freedom, its entire configuration is determined by one coordinate (typically an angle \(\theta\)). A single virtual-work equation can directly yield an unknown force or the equilibrium position without dismembering the mechanism.
One Degree of Freedom
A system has one degree of freedom if its geometry can be completely described by a single independent coordinate \(q\). Knowing \(q\) and the member lengths allows all force positions to be located. Only systems with one degree of freedom are treated here.
Important Points
- A force does work when it displaces along its line of action. A couple moment does work when it rotates. Positive work results when the force/couple and its displacement share the same sense.
- Virtual work is most useful for finding the equilibrium configuration of a mechanism or computing a reactive force in a connected system.
- A virtual displacement is imaginary — it is a differential displacement given in the positive direction of a position coordinate; it does not actually occur.
- Forces or couple moments that experience no virtual displacement contribute zero virtual work.
Procedure for Analysis — Virtual Work Method
Step 1: Free-Body Diagram
- Draw the FBD of the entire connected system and define the single coordinate \(q\).
- Sketch the "deflected position" of the system when it undergoes a positive virtual displacement \(\delta q\).
Step 2: Virtual Displacements
- Define position coordinates \(s_i\), each measured from a fixed point to each active force, and oriented parallel to that force's line of action.
- Express each \(s_i\) as a function of \(q\), then differentiate to obtain \(\delta s_i\) in terms of \(\delta q\).
Step 3: Virtual-Work Equation
- Write \(\delta U = 0\), treating each \(\delta s_i\) as positive. Assign positive work when force and displacement share the same sense; negative otherwise.
- Express all terms in \(\delta q\) and factor it out. Solve for the unknown.
Conservative Forces
Conservative Force
A force is conservative if the work it does depends only on the initial and final positions of the body — not on the path taken. The two most important examples in statics are the weight of a body and the force of a spring.
Weight
For a body of weight \(W\) that moves from point A to point B through a vertical displacement \(h\), the work done by gravity depends only on the vertical distance, not on the curved or inclined path traveled:
Negative because weight acts downward while the body moves upward through \(h\).
Spring Force
A linearly elastic spring with stiffness \(k\) stores and releases energy conservatively. The work done by the spring force as the block moves from position \(s_1\) to \(s_2\) (measured from the unstretched length) is:
Friction — A Non-Conservative Force
Non-Conservative (Path-Dependent) Forces
Unlike weight and spring forces, friction is non-conservative. The work done by kinetic friction depends on the length of the path traversed — a longer path dissipates more energy as heat. Friction cannot be incorporated into a potential-energy function, so the potential-energy methods of Sections 11.5–11.7 apply only to systems without friction.
Potential Energy
A conservative force gives a body the capacity to do work by virtue of its position. This capacity is called potential energy.
Gravitational Potential Energy \(V_g\)
If a body of weight \(W\) is at height \(y\) above a chosen datum, it has gravitational potential energy \(V_g = Wy\). Above the datum, \(V_g > 0\); below the datum, \(V_g < 0\); at the datum, \(V_g = 0\). The datum location is arbitrary — only differences in \(V_g\) matter.
\(y\) is measured positive upward from the datum.
Elastic Potential Energy \(V_e\)
When a spring is stretched or compressed by amount \(s\) from its unstretched (datum) position, it stores elastic potential energy. This quantity is always positive, regardless of whether the spring is elongated or compressed.
Potential Function \(V\)
When a system is subjected to both gravitational and elastic forces, the total potential energy is their sum. For a single-degree-of-freedom system described by coordinate \(q\), the potential function \(V(q)\) completely characterizes the energy state. The work done by all conservative forces moving the system from \(q_1\) to \(q_2\) equals the drop in potential energy.
Potential-Energy Criterion for Equilibrium
For a frictionless single-degree-of-freedom system with potential function \(V(q)\), the principle of virtual work (\(\delta U = 0\)) translates directly into a condition on the derivative of \(V\):
This is a powerful result: rather than writing virtual-work expressions with position coordinates and differentials, we only need to express \(V\) in terms of \(q\) and differentiate once. Each root \(q_{eq}\) of \(dV/dq = 0\) is an equilibrium position.
Example — Block on Spring
For a block of weight \(W\) on a spring of stiffness \(k\), with \(y\) measured downward from the unstretched length as datum: \(V = -Wy + \tfrac{1}{2}ky^2\). Setting \(dV/dy = -W + ky = 0\) gives the equilibrium position \(y_{eq} = W/k\), which is the same result as \(\Sigma F_y = 0\).
Stability of Equilibrium Configuration
Once an equilibrium position is found, the second (and higher) derivative of \(V\) reveals whether that equilibrium is stable, neutral, or unstable.
Stable Equilibrium
A system is in stable equilibrium when a small perturbation causes it to return to its original position. Potential energy is at a local minimum at this configuration. A ball resting at the bottom of a bowl is a familiar example.
Neutral Equilibrium
A system is in neutral equilibrium when small perturbations leave it in the new position — it neither returns nor moves further away. Potential energy is constant in the neighborhood of the equilibrium. A ball on a flat surface illustrates this.
Unstable Equilibrium
A system is in unstable equilibrium when a small perturbation causes it to move farther from the original position. Potential energy is at a local maximum. A ball balanced at the top of a hill represents this case.
| Equilibrium Type | Condition | Potential Energy |
|---|---|---|
| Stable | \(\dfrac{dV}{dq}=0, \quad \dfrac{d^2V}{dq^2} > 0\) | Minimum |
| Unstable | \(\dfrac{dV}{dq}=0, \quad \dfrac{d^2V}{dq^2} < 0\) | Maximum |
| Neutral | \(\dfrac{dV}{dq}=\dfrac{d^2V}{dq^2}=\dfrac{d^3V}{dq^3}=\cdots=0\) | Constant |
If \(d^2V/dq^2 = 0\), examine higher-order derivatives. The equilibrium is stable if the first non-zero derivative is even-order and positive; unstable if that derivative is odd-order, or even-order and negative.
Procedure for Analysis — Potential-Energy Method
Step 1: Potential Function
- Sketch the system in the arbitrary position defined by coordinate \(q\). Set a horizontal datum through a convenient fixed point.
- Express \(V_g = Wy\) for each member's weight and \(V_e = \tfrac{1}{2}ks^2\) for each spring.
- Form \(V = V_g + V_e\) and write all position variables in terms of \(q\).
Step 2: Equilibrium Positions
- Differentiate \(V\) with respect to \(q\) and set \(dV/dq = 0\). Solve for all \(q_{eq}\).
Step 3: Stability
- Evaluate \(d^2V/dq^2\) at each \(q_{eq}\). Positive → stable; negative → unstable; zero → check higher derivatives.
Physical meaning
Virtual work measures only the force component along an allowed infinitesimal motion. Ideal pins and smooth constraints often disappear because their reactions have no displacement along their lines of action.
Problem-solving strategy
- Isolate the whole one-degree-of-freedom mechanism and choose a positive coordinate.
- Express every active-force position as a function of that coordinate.
- Differentiate positions, assign work signs, and set total virtual work to zero.
- Check a reaction does no work before omitting it and test equilibrium stability if needed.
Recognition strategy
One angle describes the arm, and both applied forces act at the moving tip, making virtual work a direct alternative to a moment equation.
Given information
- \(L=0.60\text{ m}\), \(W=300\text{ N}\), \(\theta=30^\circ\); positive virtual rotation increases \(\theta\).
Model and interpretation
The pin is ideal and stationary, so its reactions do zero work; \(x=L\cos\theta\) and \(y=L\sin\theta\).
Verification
Units: Each work coefficient is force times length, N·m, and the common dimensionless \(\delta\theta\) cancels.
Signs and direction: Increasing angle moves the tip left, so a leftward force supplies positive work and the weight supplies negative work.
Plausibility: Near horizontal, a large horizontal holding force is expected because its moment arm approaches zero; 520 N exceeds the 300 N load.
Engineering interpretation
The required actuator force rises sharply near the horizontal dead position; linkage travel limits and pin capacities require separate design checks.
Recognition strategy
The link has one coordinate and the spring force is configuration-dependent, so derive both displacement ratios before writing work.
Given information
- \(L=0.50\text{ m}\), \(k=1200\text{ N/m}\), \(\theta=40^\circ\), with spring force acting downward.
Model and interpretation
Use \(x=L\cos\theta\) for the slider and \(y=L\sin\theta\) for spring extension; ideal guide reactions do no virtual work.
Verification
Units: \(k\) times extension gives N, and each virtual-work term has N·m multiplied by \(\delta\theta\).
Signs and direction: Increasing angle moves the slider left and spring point upward, so leftward force and downward spring correctly oppose in work.
Plausibility: The force exceeds the 205 N spring load by \(\cot40^\circ\), consistent with the less favorable horizontal motion ratio.
Engineering interpretation
Motion ratio converts spring load into actuator demand; real mechanisms additionally need friction, spring travel, and force-rating allowances.
Recognition strategy
The prescribed upward force has a position-dependent potential and the spring is conservative, so potential energy gives equilibrium and a local stability test in one coordinate.
Given information
- Upward applied \(P=180\text{ N}\), \(L=0.50\text{ m}\), \(k_\theta=240\text{ N}\!\cdot\!\text{m/rad}\); angle is measured in radians.
Model and interpretation
The actuator force remains vertically upward as the arm moves, the spring is linear, and pins are ideal; damping and stops are excluded from this local static prediction.
Verification
Units: Both potential terms are N·m, and the second derivative correctly has N·m/rad for the radian coordinate.
Signs and direction: The upward applied force lowers potential as positive angle increases its vertical tip position, while the spring restoring term is positive.
Plausibility: \(0.352\text{ rad}=20.2^\circ\) is below the small-angle applied-force estimate \(PL/k_\theta= 90/240=0.375\text{ rad}\).
Engineering interpretation
Positive curvature indicates a restoring tendency against small disturbances under this upward actuator/test force, not guaranteed system safety; stops, fatigue, and nonlinear spring data need review.
Chapter recap
- Use compatible virtual displacement rather than arbitrary body motion.
- Differentiate geometry to obtain force motion ratios.
- Before moving on, verify work signs, inactive reactions, and potential-energy curvature.