Virtual Work
Learning Objectives
- Select a generalized coordinate for a constrained system.
- Derive compatible virtual displacements from geometry.
- Sum force and couple work contributions with a consistent sign convention.
- Verify equilibrium and compare it with direct force or moment equilibrium.
- Detect invalid or singular mechanism configurations.
Virtual Displacement
A virtual displacement is an imagined infinitesimal displacement that is compatible with the system constraints at a fixed instant.
Principle of Virtual Work for Equilibrium
The total virtual work of external forces and couples vanishes for an equilibrium configuration.
Variables
| Symbol | Description | Unit |
|---|---|---|
| Total virtual work | N·m | |
| Compatible virtual displacement of a force application point | m | |
| Compatible virtual rotation | rad |
Equilibrium Method
Virtual work is an alternative equilibrium method. It does not imply acceleration, actual motion, or energy conservation over a finite path.
Constraint Compatibility
Virtual displacements cannot be chosen independently in a constrained mechanism. Derive every displacement from the selected generalized coordinate before summing work.
Worked Example Summary
For a lever with a load at a arm and an input at a arm, compatible rotation gives and . From , the required input is , matching direct moment equilibrium.
Simulation 1 Instructions
Change the input and load arms. Compare the virtual-work result with direct moment equilibrium.
Simulation 1 Concept Question
Why does the common virtual rotation cancel from the lever equation?
Simulation 2 Instructions
Change the number of supporting rope segments and efficiency. First compare the ideal input force with the rope displacement ratio, then observe that efficiency changes the actual required input force without changing rope-length compatibility.
Simulation 2 Concept Question
Why must the free end of the rope move farther when the load force is reduced?
Simulation 3 Instructions
Use the scissor mechanism and select the link angle as the generalized coordinate. Observe the singular behavior near a flat configuration.
Simulation 3 Concept Question
Why does the required horizontal input become very large as the scissor mechanism approaches a flat position?
Simulation 4 Instructions
Inspect and to see how small displacements remain compatible with the mechanism geometry.
Simulation 4 Concept Question
What error occurs if and are assigned arbitrary independent values?
Minimum Input Force for a Prescribed Moment
Required force when the force direction forms angle alpha with the position vector.
Variables
| Symbol | Description | Unit |
|---|---|---|
| Required input force | N | |
| Required balancing moment | N·m | |
| Distance from pivot to force application point | m | |
| Angle between the position vector and force | deg or rad |
Simulation 5 Instructions
Rotate the input-force direction and locate the orientation that minimizes the required force.
Simulation 5 Concept Question
Why is the minimum input force obtained when the force is perpendicular to the position vector?
Virtual Work Procedure
- Identify all constraints and the system degrees of freedom.
- Choose one convenient generalized coordinate.
- Express every compatible displacement and rotation in terms of that coordinate.
- Assign a positive direction and use it consistently.
- Sum the virtual work of external forces and couples.
- Set the total to zero and solve for the unknown equilibrium quantity.
- Check the result against direct equilibrium when practical.
Virtual-Work Equilibrium Workflow
Use one or more independent compatible virtual displacements so ideal workless constraints disappear correctly and each generalized equilibrium condition is enforced.
Identify constraints and independent degrees of freedom → Choose independent generalized coordinates qi; Choose independent generalized coordinates qi → Construct arbitrary compatible virtual displacements δqi; Construct arbitrary compatible virtual displacements δqi → Are omitted constraint reactions ideal and workless for the chosen virtual motion?; Are omitted constraint reactions ideal and workless for the chosen virtual motion? — No → Include non-workless reactions or revise coordinates; Are omitted constraint reactions ideal and workless for the chosen virtual motion? — Yes → Write virtual work of active forces and couples: δW = ΣF·δr + ΣMδθ; Include non-workless reactions or revise coordinates → Choose independent generalized coordinates qi; Write virtual work of active forces and couples: δW = ΣF·δr + ΣMδθ → Set the coefficient of each independent δqi to zero; Set the coefficient of each independent δqi to zero → Solve the resulting generalized equilibrium equations; Solve the resulting generalized equilibrium equations → Direct equilibrium, signs, units, and constraint conditions consistent?; Direct equilibrium, signs, units, and constraint conditions consistent? — Yes → Virtual-work solution verified; Direct equilibrium, signs, units, and constraint conditions consistent? — No → Recheck signs and algebra; Recheck signs and algebra → Solve the resulting generalized equilibrium equations
- Identify constraints and independent degrees of freedom: terminator
- Choose independent generalized coordinates qi: process
- Construct arbitrary compatible virtual displacements δqi: process
- Are omitted constraint reactions ideal and workless for the chosen virtual motion?: decision
- Include non-workless reactions or revise coordinates: process
- Write virtual work of active forces and couples: δW = ΣF·δr + ΣMδθ: process
- Set the coefficient of each independent δqi to zero: process
- Solve the resulting generalized equilibrium equations: process
- Direct equilibrium, signs, units, and constraint conditions consistent?: decision
- Recheck signs and algebra: process
- Virtual-work solution verified: terminator
- Virtual work uses compatible infinitesimal motion to express equilibrium.
- Constraint reactions that do no virtual work can be eliminated from the equation.
- Sign consistency is essential.
- Singular configurations can require unbounded idealized input force.
- Virtual work is not a dynamics or finite-energy simulation.