Virtual Work, Potential Energy and StabilityIntroductionMany equilibrium problems in engineering mechanics are difficult to solve directly because the forces acting on a body are numerous, the supports impose constraints, or the desired quantity is a displacement or mechanical advantage rather than a reaction force. Two powerful energy-based methods address these difficulties: the principle of virtual work and the principle of potential energy. Virtual work converts equilibrium into a statement about the work done by forces during an imagined, infinitesimal displacement consistent with the constraints. Potential-energy methods provide an equivalent approach for conservative systems and also permit direct assessment of stability. These methods are especially useful for mechanisms, machines, linkages, frames, springs, lifting devices, and structural systems. The methods in this chapter assume idealized mechanical models. Bodies are generally treated as rigid unless deformation energy is explicitly included; constraints are assumed sufficiently smooth; and friction is either neglected or represented separately as a nonconservative force. Learning objectivesAfter studying this chapter, the reader should be able to: - Define admissible virtual displacement and virtual work.
- Apply the principle of virtual work to constrained equilibrium.
- Determine mechanical advantage and effort ratios in simple machines.
- Distinguish conservative from nonconservative forces.
- Formulate total potential energy and derive equilibrium conditions.
- Classify equilibrium as stable, unstable, or neutral.
- Solve practical equilibrium and stability problems using energy methods.
- Recognize the assumptions, limitations, and engineering applications of these methods.
1. Virtual displacement and virtual workA virtual displacement is an imagined, infinitesimal change in configuration made at a fixed instant. It is not necessarily the displacement that actually occurs with time. It must satisfy all geometric constraints of the system. For a particle acted upon by force F, an infinitesimal virtual displacement δr produces virtual work δU = F · δr where δU is virtual work, F is force in newtons, and δr is virtual displacement in metres. The dot product means that only the component of force in the direction of the displacement contributes. For a system of particles, δW = Σᵢ Fᵢ · δrᵢ where Fᵢ and δrᵢ are the applied force and virtual displacement of particle i. A couple M contributes δWM = M δθ where δθ is the virtual angular displacement in radians. Since radians are dimensionless, the units are newton-metres, or joules. The virtual displacement is not a measured displacement. It is a test displacement used to determine whether the net work of all forces is zero. Admissible virtual displacementsA virtual displacement is admissible when it is compatible with the constraints. For example: - A particle constrained to a smooth horizontal surface may have horizontal virtual displacement but no vertical virtual displacement.
- A rigid link rotating about a fixed pin has a virtual displacement tangent to its circular path.
- A rolling wheel without slipping satisfies δs = Rδθ, where R is radius.
Ideal constraint forces often do no virtual work. A smooth pin reaction passes through the fixed pin, which has zero virtual displacement. A smooth normal reaction is perpendicular to the permitted tangential displacement. This is why unknown support reactions can frequently be omitted from a virtual-work equation. 2. Principle of virtual workThe principle of virtual work states: A mechanical system is in equilibrium if and only if the total virtual work of all external forces and couples is zero for every admissible virtual displacement. Thus, δW = Σᵢ Fᵢ · δrᵢ + Σⱼ Mⱼ δθⱼ = 0 The principle applies to static equilibrium. For a rigid body with ideal constraints, reactions that do no virtual work need not be calculated. Relation to force equilibriumFor a free particle, the virtual displacement δr can be arbitrary. Therefore, F · δr = 0 for every δr implies F = 0. This is equivalent to force equilibrium. For a rigid body in a plane, admissible virtual motions may include two translations and one rotation. Requiring zero virtual work for these independent motions gives the familiar equations ΣFₓ = 0, ΣFᵧ = 0, and ΣM = 0. Virtual work is therefore not a different physical law; it is an alternative formulation of equilibrium that is particularly advantageous when constraints are present. Constraint forces and ideal constraintsA constraint force can be omitted only when it does no virtual work. This condition should be checked rather than assumed. Friction, applied actuator forces, cable tensions, spring forces, and weight generally do virtual work. Pin reactions and smooth normal reactions often do not. If a constraint has a prescribed motion or if friction acts along the allowed displacement, the associated force must be included. Nonideal constraints may also require a separate friction or dissipation model. 3. Generalized coordinates and virtual workA system configuration can often be described using one or more generalized coordinates q₁, q₂, …, qₙ. The virtual displacement of particle i can be expressed as δrᵢ = Σₖ (∂rᵢ/∂qₖ) δqₖ Substitution into the virtual-work equation gives δW = Σₖ Qₖ δqₖ where Qₖ is the generalized force associated with qₖ. For equilibrium, Σₖ Qₖ δqₖ = 0 Because the virtual variations δqₖ are independent, equilibrium requires Qₖ = 0, k = 1, 2, …, n This formulation is valuable for mechanisms because a complicated collection of Cartesian force equations may reduce to one scalar equation in a single motion coordinate. One-degree-of-freedom systemsFor a mechanism described by coordinate q, if a force P produces displacement x(q), a load W produces displacement y(q), and an applied couple C produces rotation θ(q), then P dx + W dy + C dθ + δWother = 0 The signs must be assigned consistently. A force contributes positively when it acts in the direction of its virtual displacement and negatively when it opposes it. 4. Mechanical advantage from virtual workFor an ideal machine, input work equals output work: P δx = L δy where P is input effort, δx is input displacement, L is load, and δy is load displacement. The ideal mechanical advantage is therefore MAideal = L/P = δx/δy The result assumes no friction, no energy storage, and rigid components. For a real machine, some input work is lost through friction, deformation, and vibration. Efficiency is η = output work/input work = (L δy)/(P δx) and therefore MAactual = η MAideal where η is dimensionless and normally less than 1. Worked example 1: leverA lever carries a load of 1,200 N at a perpendicular distance of 0.25 m from its pivot. An effort is applied at a perpendicular distance of 1.50 m. Determine the effort for ideal equilibrium. Let δθ be a small virtual rotation. The load moves through 0.25δθ and the effort through 1.50δθ. Taking effort work as positive and load work as negative, P(1.50δθ) − 1200(0.25δθ) = 0 Canceling δθ, P = (1200 × 0.25)/1.50 = 200 N The ideal mechanical advantage is 1,200/200 = 6. The effort moves six times farther than the load, so the work balance is satisfied. 5. Potential energyPotential energy is energy associated with position or configuration. A force is conservative if its work depends only on initial and final positions, not on the path followed. Conservative forces have an associated potential-energy function V such that δWconservative = −δV For a conservative system, the total mechanical energy is E = T + V where T is kinetic energy and V is potential energy. In the absence of nonconservative work, E is constant. Gravitational potential energyNear the Earth’s surface, where g is effectively constant, Vg = mgy where m is mass in kilograms, g is gravitational acceleration in metres per second squared, and y is elevation relative to an arbitrary datum. Only changes in V matter, so the datum may be chosen conveniently. For a finite change, ∆Vg = mg∆y The formula is applicable when the variation in height is small compared with Earth’s radius and g can be treated as constant. Elastic potential energyFor a linear spring, Vs = 1/2 kx² where k is spring stiffness in newtons per metre and x is extension or compression from the unstretched length. The force is Fₛ = −kx. The formula assumes a linearly elastic spring and neglects mass and damping. For a nonlinear elastic element with force F(x), Vs(x) = ∫₀ˣ Frequired(u) du where u is a dummy displacement variable. The integral gives stored energy and must be evaluated using the actual force–displacement relationship. Potential energy of a systemThe total potential energy may include gravitational, elastic, and other conservative contributions: V(q₁, q₂, …, qₙ) = Vg + Vs + Vother A constant can be added to V without changing any physical result. However, the same reference must be used consistently when comparing configurations. 6. Equilibrium from potential energyFor a conservative system, virtual work gives δW = −δV Equilibrium requires δW = 0, so δV = 0 For a one-coordinate system, dV/dq = 0 For several independent coordinates, ∂V/∂qₖ = 0, k = 1, 2, …, n These are necessary conditions for equilibrium. They are not sufficient to establish stability. Example 2: mass–spring equilibriumA 5 kg mass hangs vertically from a spring with stiffness 980 N/m. Let x be downward extension from the unstretched position. The potential energy is V(x) = 1/2 kx² − mgx The negative sign occurs because downward motion reduces gravitational potential energy. Equilibrium requires dV/dx = kx − mg = 0 Therefore, x = mg/k = (5 × 9.81)/980 = 0.0501 m The equilibrium extension is approximately 50.1 mm. The result agrees with direct force equilibrium, kx = mg. 7. Stability of equilibriumAn equilibrium configuration can be stable, unstable, or neutral. Stability concerns the response to a small disturbance. - Stable equilibrium: a small displacement produces a restoring tendency, and the system tends to return to its original configuration.
- Unstable equilibrium: a small displacement produces a tendency to move farther from the original configuration.
- Neutral equilibrium: a small displacement produces no restoring or overturning tendency; the system remains in its new position.
For a one-degree-of-freedom conservative system, equilibrium occurs at q₀ where dV/dq |q₀ = 0 The second-derivative test is d²V/dq² |q₀ > 0 stable d²V/dq² |q₀ < 0 unstable d²V/dq² |q₀ = 0 inconclusive; higher-order terms are required A local minimum of potential energy is stable, while a local maximum is unstable. A flat region may represent neutral equilibrium, but the second derivative alone cannot establish that conclusion if it is zero. For multiple coordinates, the Hessian matrix of second partial derivatives is used. At an equilibrium point, positive definiteness of the Hessian indicates stable equilibrium; a negative direction indicates instability. If the matrix is only semidefinite, higher-order analysis may be necessary. Example 3: stability of a simple potentialSuppose V(q) = aq² + bq⁴ where a and b have units selected so that V is in joules, and b > 0. Equilibrium requires dV/dq = 2aq + 4bq³ = 2q(a + 2bq²) = 0 Thus q = 0 is always an equilibrium. Its stability depends on d²V/dq² = 2a + 12bq² At q = 0, the second derivative is 2a. If a > 0, q = 0 is stable; if a < 0, it is unstable. When a < 0, two additional equilibria occur at q = ±√(−a/(2b)); at each of these points the second derivative is positive, so they are stable. 8. Potential energy and external loadingA constant applied force P acting through coordinate x contributes potential energy VP = −Px when x is measured in the force direction. More generally, if a conservative applied force depends on x, VP(x) = −∫ F(x) dx A prescribed couple C acting through angle θ contributes VC = −Cθ with sign determined by the positive rotation convention. For a system with springs, gravity, and applied loads, Vtotal = Vgravity + Vspring + Vapplied Equilibrium follows from dV_total/dq = 0. Stability must then be assessed separately. 9. Worked application: a lifting mechanismConsider an ideal hand-operated lifting mechanism. Its input handle rotates through angle θ, while the load rises by y(θ). The load is W and the operator applies a tangential effort P at radius r. The input displacement is rδθ. The virtual-work equation is P r δθ − W δy = 0 Therefore, P = W/r × dy/dθ The expression shows that mechanical advantage depends on the instantaneous geometry, not merely on the overall dimensions. The ideal mechanical advantage is MAideal = W/P = r/(dy/dθ) If dy/dθ becomes small, the required effort decreases, but the handle must rotate through a larger angle for a given lifting distance. This is the fundamental trade-off between force advantage and speed or displacement advantage. If the mechanism has efficiency η, Pactual = W/r × (dy/dθ) / η This equation assumes η is defined locally for the operating condition. In real mechanisms, efficiency may vary with load, speed, lubrication, wear, and direction of motion. 10. Illustrative case study: stability of a loaded crane boomBackgroundConsider a mobile crane whose boom and suspended load create an overturning tendency about the front wheel contact line. The crane is idealized as a rigid body supported on a base. The center of gravity of the crane lies behind the contact line, while the suspended load lies in front of it. ProblemDetermine whether a particular boom position is stable, and identify the physical meaning of the limiting condition. Assume the crane mass is M, its center of gravity is a horizontal distance a behind the pivot line, the load is W, and the load’s horizontal distance from the pivot line is b. Analysis using potential energyLet φ be a small rotation about the front contact line, positive in the overturning direction. For small rotations, the vertical changes in the centers of mass are proportional to their horizontal distances. The crane’s center of gravity rises by approximately aφ, increasing potential energy by Mgaφ. The load descends by approximately bφ, reducing potential energy by Wbφ. Thus, near the initial position, V(φ) ≈ constant + (Mga − Wb)φ The coefficient of φ determines the initial tendency. The limiting condition is Mga − Wb = 0 or Wb = Mga This is equivalent to equality of stabilizing and overturning moments. If Mga > Wb, the initial tendency is restoring; if Wb > Mga, the crane tends to overturn. Approach and solutionThe engineer should determine the actual support polygon, account for counterweights, include dynamic amplification where required, and verify the result against the manufacturer’s load chart and applicable safety regulations. A static potential-energy calculation is only a first screening model. Wind, acceleration, uneven ground, tire flexibility, boom elasticity, and load swing may reduce the real safety margin. Outcome and learning pointsThe energy method identifies the tipping boundary without calculating every contact reaction. It also clarifies that stability depends on the relative movement of the centers of mass and on the support geometry. In practice, the neutral condition is not an acceptable operating condition; a safety factor and regulatory limits are required. 11. Nonconservative forces and limitationsPotential-energy methods cannot represent arbitrary friction, damping, impacts, or motor losses with a single position-dependent potential. These forces are path-dependent or velocity-dependent. The energy equation must then include nonconservative work: T₁ + V₁ + Wnonconservative = T₂ + V₂ where W_nonconservative is work done by friction, damping, or other nonconservative forces between states 1 and 2. For equilibrium with friction, the problem may be an inequality problem rather than a single equality. Static friction adjusts up to a limiting value, |Ff| ≤ μs N where μₛ is the coefficient of static friction and N is normal reaction. At impending motion, equality applies. Virtual work remains useful, but friction must be included with its correct direction and limiting condition. Other limitations include: - A virtual displacement must satisfy all constraints.
- A force whose point of application has zero virtual displacement does no virtual work, but this must be justified geometrically.
- Stability conclusions based on a rigid model may differ from those of a flexible structure.
- Linear spring formulas do not apply beyond the elastic range.
- A first-order potential-energy calculation may fail at a bifurcation or when the first derivative and second derivative both vanish.
- Dynamic stability requires inertia, damping, and time-dependent analysis; static potential energy alone is insufficient.
12. Engineering practice and computational toolsEnergy methods are commonly implemented with symbolic algebra, multibody dynamics software, finite-element models, and numerical optimization. A robust workflow is: - Define coordinates and positive directions.
- Draw the configuration and identify constraints.
- Express every relevant displacement or rotation in terms of the coordinates.
- Include only forces that do virtual work, but verify every omitted reaction.
- Form the virtual-work equation or total potential energy.
- Solve the equilibrium equations.
- Test stability using second derivatives or the Hessian.
- Check units, limiting cases, and sensitivity to uncertain parameters.
- Validate the idealized result with an appropriate physical or numerical model.
Computer algebra can differentiate complicated geometric functions, while finite-element programs can compute strain energy and identify buckling or post-buckling behavior. Software output must not replace physical interpretation. Incorrect constraints, sign conventions, or reference configurations can produce precise but meaningless results. 13. Best practices and professional relevanceEngineers should clearly distinguish between an imagined virtual displacement and an actual motion. They should state whether the machine is ideal, whether friction is neglected, and whether the configuration is static or dynamic. The datum for gravitational energy and the zero of spring deformation should be documented. In safety-critical applications such as cranes, elevators, lifting platforms, robotic manipulators, and aircraft mechanisms, stability margins must be verified against applicable codes and standards. Ethical practice requires conservative assumptions where failure could injure people, transparent reporting of uncertainty, and independent checking of critical calculations. Virtual work is also foundational to analytical mechanics, finite-element formulations, structural analysis, and robotics. In computational mechanics, the principle of virtual work provides the basis for weak-form equations and many discretized equilibrium methods. Chapter SummaryVirtual work states that a constrained mechanical system is in equilibrium when the total work of external forces and couples is zero for every admissible virtual displacement. Because ideal constraint reactions often do no virtual work, the method can eliminate unknown reactions and simplify mechanisms, machines, and linkages. Generalized coordinates express configuration efficiently, and generalized forces provide a systematic form of the virtual-work equation. For ideal machines, conservation of work gives mechanical advantage as the ratio of input displacement to output displacement. Real-machine efficiency reduces the actual mechanical advantage. Conservative forces can be represented by potential energy. Equilibrium occurs at stationary values of total potential energy, while stability is determined by the curvature of that energy: a local minimum is stable, a local maximum is unstable, and a flat or degenerate case requires further analysis. Nonconservative forces such as friction and damping must be treated through work or force laws rather than a simple potential function. The methods are powerful but depend on correct constraints, sign conventions, material models, and stability assumptions. In professional engineering, energy-based results should be checked against realistic loading, dynamics, imperfections, safety factors, and relevant standards. Key TermsVirtual displacement: An imagined infinitesimal displacement consistent with all system constraints. Virtual work: Work calculated from forces acting through an admissible virtual displacement. Admissible displacement: A displacement that satisfies the geometric and kinematic constraints. Ideal constraint: A constraint whose reaction does no virtual work. Generalized coordinate: A coordinate that independently describes a system configuration. Generalized force: The force associated with a generalized coordinate. Conservative force: A force whose work depends only on initial and final positions. Potential energy: Energy associated with position or configuration. Mechanical energy: The sum of kinetic and potential energy. Mechanical advantage: The ratio of output load to input effort. Efficiency: Output work divided by input work. Stable equilibrium: Equilibrium in which small disturbances produce a restoring tendency. Unstable equilibrium: Equilibrium in which small disturbances produce an overturning tendency. Neutral equilibrium: Equilibrium in which a displaced system has no restoring or overturning tendency. Hessian: Matrix of second partial derivatives of a multivariable potential-energy function. Nonconservative force: A force whose work depends on path, speed, or other history-dependent effects. Restoring moment: A moment that tends to return a body toward its equilibrium configuration. Overturning moment: A moment that tends to move a body away from its stable configuration. Safety margin: The difference between the allowable operating condition and the limiting failure or instability condition. Review QuestionsShort Answer Questions- What is meant by an admissible virtual displacement?
- Why can a smooth pin reaction often be omitted from a virtual-work equation?
- State the principle of virtual work for static equilibrium.
- What condition identifies equilibrium using potential energy?
- What is the physical distinction between stable and unstable equilibrium?
Long Answer Questions- Derive the ideal mechanical advantage of a simple machine using virtual work, and explain how efficiency modifies the result.
- Explain the role of generalized coordinates in virtual-work analysis of mechanisms.
- Derive the equilibrium extension of a vertically suspended mass attached to a linear spring using potential energy.
- Explain the second-derivative test for stability and discuss why a zero second derivative is inconclusive.
- Discuss the limitations of applying potential-energy methods to systems containing friction, damping, and impacts.
Analytical / Application Questions- A 900 N load is lifted by a lever whose load arm is 0.20 m and effort arm is 1.00 m. Determine the ideal effort and ideal mechanical advantage. If the efficiency is 80%, determine the actual effort.
- A particle has potential energy V(x) = 3x4 − 4x2 joules. Find all equilibrium positions and classify each one using the second derivative.
- A crane has mass 12,000 kg with its center of gravity 1.8 m behind the tipping line. A 4,000 kg load acts 4.0 m in front of the line. Determine whether the initial static tendency is restoring or overturning, neglecting dynamic effects.
Multiple Choice Questions with AnswersQuestion 1For a system in static equilibrium, the principle of virtual work requires: A. The total actual work over time to be zero B. The total virtual work for every admissible virtual displacement to be zero C. Every individual force to be zero D. The total kinetic energy to be maximum Correct Answer: B. The total virtual work for every admissible virtual displacement to be zero Question 2A 1,000 N load acts 0.20 m from a lever pivot. An effort acts 1.00 m from the pivot. For an ideal lever, the effort is: A. 50 N B. 100 N C. 200 N D. 5,000 N Correct Answer: B. 100 N Question 3For an ideal machine, mechanical advantage equals: A. Input work divided by output work B. Output displacement divided by input displacement C. Output load divided by input effort D. Friction force divided by normal force Correct Answer: C. Output load divided by input effort Question 4The gravitational potential energy near Earth’s surface is: A. mg/y B. mgy C. mg²y D. 1/2mgy² Correct Answer: B. mgy Question 5For a linear spring, the stored elastic potential energy is: A. kx B. kx² C. 1/2kx² D. 2kx² Correct Answer: C. 1/2kx² Question 6A necessary equilibrium condition for a one-coordinate conservative system is: A. dV/dq = 0 B. V = 0 C. d²V/dq² = 1 D. T = 0 at all times Correct Answer: A. dV/dq = 0 Question 7At an equilibrium point, a positive second derivative of potential energy generally indicates: A. Unstable equilibrium B. Stable equilibrium C. 必 Neutral equilibrium D. No equilibrium Correct Answer: B. Stable equilibrium Question 8Which force is normally conservative in the idealized models discussed in this chapter? A. Dry sliding friction B. Viscous damping C. Gravity near Earth’s surface D. Impact force Correct Answer: C. Gravity near Earth’s surface Question 9If a machine has ideal mechanical advantage 5 and efficiency 0.80, its actual mechanical advantage is: A. 0.16 B. 4.0 C. 5.8 D. 6.25 Correct Answer: B. 4.0 Question 10At the static tipping boundary of a crane, the condition is that: A. Kinetic energy is maximum B. Overturning and restoring moments are equal C. The load has zero mass D. All support reactions vanish Correct Answer: B. Overturning and restoring moments are equal
|