6.2 Principle of virtual work
After this lesson you should be able to:
- Define a virtual displacement and virtual work.
- State and prove the principle of virtual work for a particle and for a rigid body.
- Use virtual work to find support reactions and bending moments of statically determinate beams with one equation each.
Theory
A virtual displacement is an imagined, infinitesimally small displacement of a body or system, written δr or δθ, that is consistent with its supports and connections. Nothing actually moves and no time passes; it is a thought experiment that lets us test the equilibrium of the forces. The work the real forces would do during this imagined movement is the virtual work δU.
The principle of virtual work states: a particle or rigid body is in equilibrium if and only if the total virtual work of all the forces acting on it is zero for every virtual displacement consistent with the constraints. For a rigid body there are three independent virtual movements in the plane (two translations and one rotation), and setting δU = 0 for each one gives back the three equilibrium equations.
The method becomes powerful when we choose the virtual displacement cleverly. To find one unknown reaction, we remove only that restraint and replace it by the unknown force, so the structure becomes a mechanism with one degree of freedom. A small movement of that mechanism moves the unknown force and the loads, but not the other reactions, so one equation gives the unknown directly. The same idea, with a hinge inserted at a section, gives the bending moment at that section.
This is the basis of the Müller-Breslau principle for influence lines and of the unit-load method for deflections in structural analysis. In this chapter the bodies are rigid, so internal forces do no net work; in deformable structures the internal virtual work must also be included.
Derivation
- Particle: the forces F₁, F₂, … act at one point. For a virtual displacement δr, δU = Σ Fᵢ · δr = (Σ Fᵢ) · δr = R · δr.
- If the particle is in equilibrium, R = 0, so δU = 0 for every δr. Conversely, if δU = 0 for every δr, choose δr along R: then R · δr = |R| |δr| = 0, so R = 0.
- Rigid body in the plane: a virtual movement is a translation δr plus a small rotation δθ about a point O. The virtual work of all external forces is δU = R · δr + M_O δθ, internal forces cancelling in pairs.
- δU = 0 for every independent δx, δy and δθ gives R_x = 0, R_y = 0 and M_O = 0, the three equilibrium equations.
- For a beam with one restraint released, the movement is one rotation of a rigid part; writing every displacement as a multiple of a single δ gives one equation in the one unknown.
Virtual work: δU = Σ F · δr + Σ M δθEquilibrium: δU = 0 for every admissible virtual displacementSimply supported beam, point load W at distance a from A, span L: R_B = W a / L (from R_B δ = W (a/L) δ)Bending moment at a section by a virtual hinge: M (δθ₁ + δθ₂) = Σ (load × its virtual deflection)Ideal machine (no friction): P δ_P = W δ_W, mechanical advantage = δ_P / δ_W
- Virtual displacements are infinitesimal, so geometry can be linearised (angles small, sin δθ ≈ δθ).
- Displacements must be consistent with the remaining constraints; only the restraint being studied is released.
- Bodies are rigid; for deformable bodies internal virtual work must be added.
- Constraints are frictionless (workless); friction is treated as an applied force.
Codes and standards
Indian Standards are cited by number and clause only; no clause text, tables or figures are reproduced. Other standards are listed for comparison, not ranked.
- No design code governs this lesson; virtual work is a principle of mechanics. It underlies the influence-line and deflection methods used in structural analysis.
Worked examples
Problem. A simply supported beam AB of span 8 m carries a point load of 60 kN at 3 m from A. Find both reactions by virtual work.
- Release B and replace the roller by the unknown upward force R_B. Rotate the beam about A so that B rises by δ.
- The load point, 3 m from A, rises by (3/8) δ.
- δU = R_B δ − 60 × (3/8) δ = 0, so R_B = 22.5 kN.
- Similarly, release A and rotate about B: R_A δ − 60 × (5/8) δ = 0, so R_A = 37.5 kN. Check: 22.5 + 37.5 = 60 kN.
Answer. R_A = 37.5 kN, R_B = 22.5 kN
Problem. A crowbar 1.5 m long rests on a fulcrum 0.1 m from the end that lifts a 2.8 kN machine base. Find the force needed at the other end, applied perpendicular to the bar, ignoring friction and the bar's weight.
- Give the bar a virtual rotation δθ about the fulcrum.
- The load end moves 0.1 δθ; the hand end, 1.4 m from the fulcrum, moves 1.4 δθ.
- δU = P × 1.4 δθ − 2 800 × 0.1 δθ = 0.
- P = 280 / 1.4 = 200 N; the mechanical advantage is 14.
Answer. P = 200 N
Problem. A simply supported beam of span 6 m carries a uniformly distributed load of 10 kN/m. Find the bending moment at mid-span by virtual work.
- Insert a hinge at mid-span C and apply the unknown moment M on both sides. Let C move down by δ; each half rotates δ/3 about its support.
- Internal work of M: M (δ/3 + δ/3) = (2/3) M δ.
- Work of the load = w × area of the virtual deflection diagram = 10 × (½ × 6 × δ) = 30 δ.
- (2/3) M δ = 30 δ, so M = 45 kN·m, the same as w L²/8 = 10 × 36/8.
Answer. M = 45 kN·m at mid-span
Step-by-step procedure
- Draw the structure and decide which unknown you want.
- Release only the restraint that carries that unknown (a support, or bending at a section via a hinge) and show the unknown as an applied force or moment.
- Give the resulting one-degree-of-freedom mechanism a small virtual displacement δ and draw the displaced shape.
- Find the virtual displacement of each load along its own line of action, as a multiple of δ.
- Write δU = 0 and solve; check with one ordinary equilibrium equation.
Site notes
- Virtual work explains every simple machine on site: levers, crowbars, chain pulley blocks and screw jacks all trade force for movement, with P × (distance moved by effort) = W × (distance moved by load) when friction is ignored.
- The displaced shape drawn for a released reaction is the influence line for that reaction; structural engineers use it to place moving vehicle loads on bridges for the worst effect.
- Real machines have friction, so the effort needed is always more than the ideal value; the efficiency of a machine is the ideal effort divided by the actual effort.
- Releasing more than one restraint, which leaves two unknowns in one equation.
- Using the distance along the beam instead of the displacement along the line of action of each force.
- Getting the sign of a load term wrong: a downward load does negative work when its point rises.
- Using a finite rotation instead of an infinitesimal one, so that the geometry is not linear.
- Forgetting the internal work of the moment at a virtual hinge on both sides.
The displacement of each load in the released mechanism is proportional to its distance from the hinge or pivot; a load at the pivot does no virtual work, and the sum of reactions must still equal the total load.
Summary
- A virtual displacement is imagined, small and compatible with the constraints.
- Equilibrium ⇔ δU = 0 for every admissible virtual displacement.
- Release one restraint to get one unknown in one equation.
- The principle underlies influence lines, machines and deflection methods.
Practice questions
Tap a question to see the answer.
1A simply supported beam of span 10 m carries 40 kN at 4 m from A. Find R_A by virtual work.
Release A: R_A δ = 40 × (6/10) δ, so R_A = 24 kN.
2A beam has supports A and B 6 m apart and an overhang BC of 2 m with 30 kN at C. Find R_B and R_A.
Release B: B rises δ, C rises (8/6) δ; R_B = 30 × 8/6 = 40 kN upward. R_A = 30 − 40 = −10 kN, i.e. 10 kN downward.
3A wheel and axle has an effort wheel of radius 0.3 m and an axle of radius 0.05 m. Find the ideal effort to lift 1.2 kN.
P × 0.3 δθ = 1 200 × 0.05 δθ, so P = 200 N.
4Find the mid-span bending moment of a simply supported 8 m beam with a central point load of 50 kN by virtual work.
Hinge at C, C moves δ, each half rotates δ/4: M (δ/2) = 50 δ, so M = 100 kN·m (= P L/4).
5An ideal screw jack has a pitch of 10 mm and a handle radius of 0.5 m. Find the effort to lift 20 kN.
P × 2π × 0.5 = 20 000 × 0.01, so P = 63.66 N.
6Why do the reactions at the supports that are not released do no virtual work?
The chosen virtual displacement keeps those supports fixed, so their points of application do not move.
References
Standard texts, listed in no order of merit. Our explanations, examples and diagrams are original; nothing is copied from these books.
- F. P. Beer, E. R. Johnston, D. F. Mazurek, P. J. Cornwell, B. P. Self, Vector Mechanics for Engineers: Statics and Dynamics, McGraw Hill, 12th edition, 2019.
- R. C. Hibbeler, Engineering Mechanics: Statics, Pearson, 15th edition, 2022 (published 2021).
- J. L. Meriam, L. G. Kraige, J. N. Bolton, Engineering Mechanics: Statics, Wiley, 9th edition, 2018.
- S. Timoshenko, D. H. Young, J. V. Rao, S. Pati, Engineering Mechanics (in SI units), McGraw Hill Education (India), 5th edition, 2013.