Virtual Work

Learning Objectives

  • Understand the definition of mechanical work and virtual work.
  • Apply the Principle of Virtual Work to solve equilibrium problems.
  • Distinguish between active and reactive forces.
  • Determine the degrees of freedom of a system.
  • Relate virtual work to potential energy and evaluate the stability of a system.

Introduction to Virtual Work

The method of Virtual Work is an alternative, powerful approach to solving equilibrium problems. Instead of considering the forces acting on a static, rigid body using ΣF=0\Sigma F = 0 and ΣM=0\Sigma M = 0, we imagine the body or system of interconnected bodies undergoing a small, hypothetical displacement (a virtual displacement) and analyze the work done by the active forces.

Definition of Work

Mechanical Work Basics

Before discussing virtual work, we must define mechanical work.

Work of a Force

The measure of energy transfer that occurs when an object is moved by an external force along a displacement.

Differential Work of a Force

Calculates the work done by a force moving through an infinitesimal displacement.

dU=Fdr=FdscosθdU = \mathbf{F} \cdot d\mathbf{r} = F \, ds \cos \theta

Variables

SymbolDescriptionUnit
dUdUDifferential work done by the forceJ
F\mathbf{F}Force vectorN
drd\mathbf{r}Differential displacement vectorm
FFMagnitude of the forceN
dsdsMagnitude of the displacementm
θ\thetaAngle between the force vector and the direction of displacementrad

Sign of Work

  • If the force and displacement are in the same direction (θ=0\theta = 0^\circ), work is positive (+Fds+F \cdot ds).
  • If they are in opposite directions (θ=180\theta = 180^\circ), work is negative (Fds-F \cdot ds).
  • If they are perpendicular (θ=90\theta = 90^\circ), work is zero.

Work of a Couple Moment Differential

Calculates the differential work done by a moment during a small rotation.

dU=MdθdU = M \, d\theta

Variables

SymbolDescriptionUnit
dUdUDifferential work done by the couple momentJ
MMMagnitude of the couple momentNmN\cdot m
dθd\thetaInfinitesimal rotationrad

Work of a Moment Sign Convention

Work is positive if the moment MM and rotation dθd\theta are in the same sense (both clockwise or both counter-clockwise).

Principle of Virtual Work

Virtual Displacement

A purely imaginary, infinitesimal displacement (denoted by δs\delta s or δθ\delta \theta) given to a system assumed to be in equilibrium, which must be consistent with the physical constraints of the system.

Principle of Virtual Work

For a rigid body or a system of connected rigid bodies to be in equilibrium, the total virtual work (δU\delta U) done by all external active forces during any virtual displacement consistent with the constraints must be zero.

Virtual Work Equation

The fundamental condition for equilibrium using the method of virtual work.

δU=0\delta U = 0

Variables

SymbolDescriptionUnit
δU\delta UTotal virtual work done by all active forcesJ

Active vs. Reactive Forces

The main advantage of Virtual Work is that we can often ignore reaction forces entirely.

  • Active Forces: Forces that do work during the virtual displacement (e.g., applied external loads, gravity or weight).
  • Reactive Forces: Forces that do no work because their point of application does not move in the direction of the force (e.g., the normal force from a fixed support, the tension in an inextensible cable, the internal forces at a frictionless pin connecting two members).

Virtual Work Analysis Procedure

  1. Sketch the Active Forces: Draw the system and identify all active forces and moments that will do work during a virtual displacement. Ignore reactive forces at fixed supports and internal pins.
  2. Define the Coordinate System: Establish a fixed coordinate system and define position coordinates (e.g., x,yx, y) for the points of application of all active forces in terms of a single independent variable (e.g., θ\theta).
  3. Determine Virtual Displacements: Differentiate the position coordinates with respect to the independent variable to express the virtual displacements (e.g., δx,δy\delta x, \delta y) in terms of the virtual coordinate variation (e.g., δθ\delta \theta).
  4. Formulate the Virtual Work Equation: Write the equation for the total virtual work δU\delta U by summing the products of each active force and its corresponding virtual displacement component in the direction of the force.
  5. Solve for Equilibrium: Set δU=0\delta U = 0. Since the virtual variation (e.g., δθ\delta \theta) is non-zero, the expression multiplying it must be zero. Solve this expression for the unknown force, moment, or equilibrium position.

Degrees of Freedom

Degrees of Freedom (DOF)

The number of independent coordinates required to completely specify the position of all parts of a system.

Degrees of Freedom Characteristics

Potential Energy and Stability

Conservative Forces and Potential Energy

When a system is subjected only to conservative forces (like gravity or linear elastic springs), the work done is independent of the path taken and depends solely on the initial and final positions. The capacity of a conservative force to do work is measured by its Potential Energy (VV).

  • Gravitational Potential Energy (VgV_g): The energy related to elevation. Positive if above the datum, negative if below.
  • Elastic Potential Energy (VeV_e): The energy stored in a deformed spring, which is always positive.

The Total Potential Energy of the system is the sum of both: V=Vg+VeV = V_g + V_e.

Gravitational Potential Energy

Calculates the potential energy of a body due to its weight and elevation.

Vg=WyV_g = W y

Variables

SymbolDescriptionUnit
VgV_gGravitational potential energyJ
WWWeight of the bodyN
yyVertical elevation of the center of gravity relative to a defined datumm

Elastic Potential Energy

Calculates the energy stored in a linear elastic spring.

Ve=12ks2V_e = \frac{1}{2} k s^2

Variables

SymbolDescriptionUnit
VeV_eElastic potential energyJ
kkSpring stiffnessN/m
ssDeformation of the spring from its unstretched lengthm

Criterion for Equilibrium and Stability

According to the potential energy theorem, a system is in equilibrium if the first derivative of the total potential energy with respect to its independent coordinate (e.g., θ\theta) is zero:

Equilibrium from Potential Energy

A system is in equilibrium when its total potential energy is stationary.

dVdθ=0\frac{dV}{d\theta} = 0

Variables

SymbolDescriptionUnit
VVTotal potential energyJ
θ\thetaIndependent coordinate defining the position of the systemrad

Stability Criteria

The stability of that equilibrium position is determined by the second derivative evaluated at the equilibrium angle:

Mechanical Efficiency

Mechanical Efficiency Basics

In real-world machines, the work input is never fully converted to work output due to non-conservative forces like friction, which dissipate energy as heat. The Mechanical Efficiency (ϵ\epsilon) of a machine is the ratio of useful work output to total work input.

When using the principle of virtual work to analyze a machine with friction, the virtual work done by friction must be included as negative work, meaning: δUin+δUfriction=δUout\delta U_{\text{in}} + \delta U_{\text{friction}} = \delta U_{\text{out}}.

Mechanical Efficiency

The ratio of useful work output to total work input for a machine.

ϵ=UoutUin\epsilon = \frac{U_{\text{out}}}{U_{\text{in}}}

Variables

SymbolDescriptionUnit
ϵ\epsilonMechanical efficiency (always less than 1 or 100%)-
UoutU_{\text{out}}Useful work outputJ
UinU_{\text{in}}Total work inputJ
Key Takeaways
  • The Principle of Virtual Work states that a system is in equilibrium if the total work done by active forces during any virtual displacement is zero (δU=0\delta U = 0).
  • A virtual displacement is an imaginary, infinitesimal change in position consistent with the system's constraints.
  • This method is highly efficient for analyzing mechanisms (like linkages) because it allows you to ignore internal reactive forces at pins and external reactive forces at fixed supports.
  • The standard procedure involves defining coordinates in terms of a single variable (e.g., θ\theta), differentiating to find virtual displacements (δx,δy\delta x, \delta y), and setting the sum of Force ×\times virtual displacement to zero.