Energy methods
Energy methods: strain energy, virtual work, Castigliano’s and Maxwell–Betti theorems, and the unit-load method to compute deflections/rotations and solve simple indeterminacy.
Drafted with Aria, reviewed by the AiCanCode.org team · Updated . How we write and check our notes. Spotted an error? Use Give Feedback at the bottom of the page.
Why it matters
Energy methods let you compute deflections and rotations of beams, shafts, frames and trusses quickly, often with a single integral and without solving the full differential equations of the deflection curve. They are essential for checking serviceability (stiffness), sizing springs and compliant mechanisms, and handling statically indeterminate members where force methods are inconvenient.
Key ideas
Strain energy
- A linear elastic body stores mechanical energy when it deforms. The incremental work dW done by external forces goes into internal energy dU (neglecting heat): dW = dU.
- Define: strain energy density u is internal energy per unit volume. For 1D linear elasticity,
u = σ·ε / 2 = σ²/(2E) = E·ε²/2. - Total strain energy:
U = ∫_V u dV. For common actions (assuming small deformation, linear elastic, prismatic members):- Axial:
U = ∫ N²/(2 A E) dx. - Bending:
U = ∫ M²/(2 E I) dx. - Torsion (Saint-Venant):
U = ∫ T²/(2 G J) dx. - Shear in beams (Timoshenko):
U_s = ∫ V²/(2 κ G A) dx, with κ the shear correction factor (≈ 5/6 for rectangles, ≈ 0.9 for solid circles).
- Axial:
- For a linear spring:
U = 1/2 · k · δ² = 1/2 · P · δ.
Principle of virtual work (PVW) for deformable bodies
- Exact statement (small deformations, linear elastic response assumed for convenience): For a compatible, equilibrated system under a set of forces, the external virtual work equals the internal virtual work for any kinematically admissible virtual displacement field:
δW_ext = δW_int. - Specialization for a single generalized displacement at a point/direction using the unit-load (dummy-load) trick gives Mohr’s integrals used to compute that displacement (see Formulas).
- Exact statement (small deformations, linear elastic response assumed for convenience): For a compatible, equilibrated system under a set of forces, the external virtual work equals the internal virtual work for any kinematically admissible virtual displacement field:
Maxwell–Betti reciprocity
- Exact statement (linear elastic, small displacements, same boundary conditions, no follower forces): In a structure subject to two statically admissible load systems {P_i} and {P′_i} with corresponding displacements {δ_i} and {δ′_i}, the total external work is reciprocal:
Σ P_i δ′_i = Σ P′_i δ_i. - Corollary (point reciprocity): The displacement at point i due to a load at j equals the displacement at point j due to an equal load at i in the corresponding directions, i.e.,
δ_ij = δ_ji.
- Exact statement (linear elastic, small displacements, same boundary conditions, no follower forces): In a structure subject to two statically admissible load systems {P_i} and {P′_i} with corresponding displacements {δ_i} and {δ′_i}, the total external work is reciprocal:
Castigliano’s theorems (naming conventions vary across textbooks; statements below are exact):
- Castigliano’s theorem (forces as variables): If the total strain energy U of a linearly elastic structure can be expressed as a function of the applied generalized forces P_i (forces/moments), then the partial derivative of U with respect to P_i gives the corresponding generalized displacement (translation/rotation) δ_i in the direction of P_i:
δ_i = ∂U/∂P_i. - Complementary version (displacements as variables): If the total complementary strain energy U* is expressed as a function of the generalized displacements δ_i, then
P_i = ∂U*/∂δ_i. For linear elasticity, U* = U, so both forms are equivalent. - Assumptions: linear elastic (Hookean), small strains/displacements, loads not follower-type, and strain energy function differentiable with respect to generalized variables.
- Uses: (i) Deflections/rotations from known loadings; (ii) Solving statically indeterminate problems by treating redundants as generalized forces and enforcing compatibility (δ_redundant = 0), i.e.,
∂U/∂R = 0.
- Castigliano’s theorem (forces as variables): If the total strain energy U of a linearly elastic structure can be expressed as a function of the applied generalized forces P_i (forces/moments), then the partial derivative of U with respect to P_i gives the corresponding generalized displacement (translation/rotation) δ_i in the direction of P_i:
The theorem of least work
- Statement (linear elastic systems with only internal forces contributing to U): Among all statically admissible internal force distributions, the actual distribution that satisfies compatibility minimizes the total strain energy. In practice, this yields
∂U/∂R_k = 0for each redundant R_k (same compatibility equation as from Castigliano).
- Statement (linear elastic systems with only internal forces contributing to U): Among all statically admissible internal force distributions, the actual distribution that satisfies compatibility minimizes the total strain energy. In practice, this yields
Unit-load (dummy load) method
- Idea: The displacement at a point in a given direction equals the internal work under the real stresses due to the real load times the strains due to a virtual unit load applied at that point/direction, integrated over the structure. For common members, this reduces to products of internal force diagrams: axial (N·n), bending (M·m), torsion (T·t), shear (V·v).
- Assumptions: Linear elasticity, small displacements, same boundary conditions for real and unit-load systems, sign consistency for generalized forces and displacements.
- Practical notes: In slender beams, bending dominates and shear term is often negligible; in deep beams and short members, include shear. In trusses (pin-jointed), only axial terms appear.
Sign conventions
- Axial: Tension positive N > 0. Tension strain/displacement positive along the member axis.
- Bending: Use a consistent sign (e.g., sagging M positive). Since energy uses M², sign matters only in unit-load products (M·m).
- Torsion: Positive for right-hand twist (consistent with t diagram). Shear: sign consistent between V and v.
Standard cases and limiting cases (linear elastic, prismatic members):
- Axial bar of length L, area A:
U = P² L/(2 A E),δ = P L/(A E). - Cantilever beam of length L with tip load P:
U = P² L³/(6 E I), tip deflectionδ = P L³/(3 E I). - Simply supported beam with central point load P: midspan deflection
δ = P L³/(48 E I); UDL w over L:δ_mid = 5 w L⁴/(384 E I). - Circular shaft in torsion, constant T:
U = T² L/(2 G J), twistφ = T L/(G J). For a linear torsional spring:U = 1/2 · T · φ. - Shear deformation importance increases as span-to-depth L/h decreases; for L/h ≲ 10, include shear energy term.
- Axial bar of length L, area A:
Why real devices differ from ideal
- Material nonlinearity (plasticity, creep, viscoelasticity) breaks linear U–δ relations; U ≠ U*; Castigliano/reciprocity may no longer hold without modification.
- Geometric nonlinearity (large deflections) changes internal force distributions and work conjugacy; PVW still holds but linear superposition/unit-load formulas do not.
- Warping torsion, shear lag, local buckling, residual stresses, and non-prismatic members require modified section properties or energy expressions.
Formulas
U = ∫_V σ²/(2E) dV = ∫_V E ε²/2 dV
- U: strain energy (J); σ: normal stress (Pa); ε: normal strain (–); E: Young’s modulus (Pa). Linear elastic, small strain.
U = ∫ N²/(2 A E) dx
- N: axial force (N); A: area (m²); E: Pa; x: coordinate along member (m). Axial members, linear elastic.
U_b = ∫ M²/(2 E I) dx
- M: bending moment (N·m); E: Pa; I: second moment of area (m⁴). Euler–Bernoulli beam (plane sections remain plane), small deflection.
U_t = ∫ T²/(2 G J) dx
- T: torque (N·m); G: shear modulus (Pa); J: polar torsion constant (m⁴). Saint-Venant torsion of circular/closed thin-walled sections.
U_s = ∫ V²/(2 κ G A) dx
- V: shear force (N); κ: shear correction factor (≈ 5/6 rectangle, ≈ 0.9 solid circle, depends on section); G: Pa; A: area (m²). Timoshenko beam shear energy; include for deep beams/short spans.
δ_i = ∂U/∂P_i
- δ_i: generalized displacement (m or rad) in direction of generalized force P_i (N or N·m); U: J. Castigliano (linear elastic).
P_i = ∂U*/∂δ_i
- P_i: generalized force (N or N·m); U*: complementary energy (J). Complementary form; U* = U for linear elastic.
Σ P_i δ′_i = Σ P′_i δ_i
- Maxwell–Betti: P_i, P′_i (N); δ_i, δ′_i (m). Linear elastic, small displacement, same BCs, no follower forces.
Unit-load (Mohr’s) integrals for displacement at a point in a specified direction:
δ = ∫ N n/(A E) dx + ∫ M m/(E I) dx + ∫ T t/(G J) dx + ∫ V v/(κ G A) dx
- For each term: uppercase (N, M, T, V) from real load; lowercase (n, m, t, v) from the unit load (1 N or 1 N·m) applied at the target point/direction. δ in m (translation) or rad (rotation). Linear elastic; include terms relevant to member actions present.
Standard beam deflection results (linear, slender beams, bending-dominated):
δ_tip = P L³/(3 E I) (cantilever with tip load P)
U = P² L³/(6 E I) (same case)
δ_mid = P L³/(48 E I) (simply supported beam, central P)
δ_mid = 5 w L⁴/(384 E I) (simply supported, UDL w)
Torsion standard:
φ = T L/(G J); U = T² L/(2 G J)
Spring (linear):
U = 1/2 · k · δ² = 1/2 · P · δ
- k: stiffness (N/m); δ: deflection (m); P: force (N).
Worked examples
Example 1 — Direct application (Castigliano): Cantilever tip deflection and energy Given: Cantilever beam, length L = 2.0 m, E = 200 GPa, I = 5.0×10⁻⁶ m⁴, tip load P = 1000 N downward at free end. Assume slender beam (Euler–Bernoulli), small deflection, ignore shear energy.
- Bending moment function
- For 0 ≤ x ≤ L (x from fixed end):
M(x) = −P (L − x)(sagging positive; sign will square out in U).
- Strain energy in bending
- Formula:
U = ∫ M²/(2 E I) dx - Numbers:
U = ∫₀ᴸ [P² (L − x)²]/(2 E I) dx = P²/(2 E I) · [ (L − x)³/3 ]₀ᴸ = P² L³/(6 E I) - Compute:
U = (1000² · 2.0³)/(6 · 200×10⁹ · 5.0×10⁻⁶)J - Numerator: 1.0×10⁶ · 8.0 = 8.0×10⁶; Denominator: 6 · (200×10⁹ · 5×10⁻⁶) = 6 · (1.0×10⁶) = 6.0×10⁶
- U = 8.0×10⁶ / 6.0×10⁶ = 1.333… J
- Result: U = 1.333 J (approx).
- Tip deflection by Castigliano
- Formula:
δ_tip = ∂U/∂P = P L³/(3 E I) - Numbers:
δ_tip = 1000 · 2.0³ / (3 · 200×10⁹ · 5.0×10⁻⁶)m - Numerator: 1000 · 8.0 = 8000; Denominator: 3 · (1.0×10⁶) = 3.0×10⁶
- δ_tip = 8000 / 3.0×10⁶ = 2.666…×10⁻³ m = 2.667 mm
- Cross-check:
U = 1/2 P δ= 0.5 × 1000 × 0.002667 = 1.3335 J (consistent)
Answer: Tip deflection = 2.667 mm downward; strain energy = 1.333 J.
Example 2 — GATE-style combined (unit-load on a truss): Vertical deflection at apex of equilateral truss Given: Pin-jointed equilateral triangular truss, side length a = 2.0 m. Supports at the two base joints (pinned). Vertical load at top joint: P = 30 kN downward. All three members have the same cross-sectional area A = 600 mm² and E = 200 GPa. Assume axial deformation only (no bending in members), small deformations, linear elastic.
Goal: Vertical deflection δ at the top joint (downward positive) using unit-load method.
- Member forces under real load P (method of joints; symmetry)
- Let top joint be C; base joints A (left), B (right). Inclined members AC and BC make 60° to the horizontal. By symmetry, base reactions are P/2 upward at A and B.
- Joint C equilibrium (taking member forces positive in tension). Solve:
2 T_C sin 60° − P = 0 ⇒ T_C = P/(2 sin 60°) = P/√3. The solution sign is negative in reality (compression), so forces in AC and BC areN_AC = N_BC = −P/√3(compression). - Base member AB force from joint A equilibrium:
N_AB = |N_AC| cos 60° = (P/√3) · 1/2 = P/(2√3)(tension).
- Member forces under unit downward load at C
- Apply a unit load (1 N) vertically downward at C. By the same statics, the member forces scale:
n_AC = n_BC = −1/√3(compression),n_AB = +1/(2√3)(tension).
- Unit-load formula for displacement
- For trusses (axial-only):
δ = Σ (N_i n_i L_i)/(A_i E_i) - Here, all L_i = a, A_i = A, E_i = E. Compute term-wise:
- Inclined members (two): Each contributes
( (−P/√3) · (−1/√3) · a )/(A E) = (P/3) · a /(A E). Two members ⇒2 · (P/3) a /(A E) = (2P/3) a /(A E). - Base member:
( (P/(2√3)) · (1/(2√3)) · a )/(A E) = (P/12) a /(A E).
- Inclined members (two): Each contributes
- Total:
δ = [ (2P/3) + (P/12) ] a /(A E) = (9P/12) a /(A E) = (3P/4) · a /(A E)downward.
- Numbers
- A = 600 mm² = 600×10⁻⁶ m² = 6.0×10⁻⁴ m²; E = 200×10⁹ Pa; P = 30,000 N; a = 2.0 m.
- Denominator A E = 6.0×10⁻⁴ × 200×10⁹ = 1.2×10⁸ N.
- Numerator (3/4) P a = 0.75 × 30,000 × 2.0 = 45,000 N·m/m (reduces to N as per formula’s units handling).
- Deflection:
δ = 45,000 / 1.2×10⁸ = 3.75×10⁻⁴ m = 0.375 mmdownward.
- Cross-check via energy
- Total U = Σ
N_i² L_i/(2 A E)=[(P²/3) a/(A E)] + [ (P²/12) a/(2 A E) ] = (3/8) P² a /(A E). - Then
δ = ∂U/∂P = (3/4) P a /(A E)(same as above). Numerical value matches 0.375 mm.
Answer: Vertical deflection at top joint = 0.375 mm downward.
Common mistakes
- Mixing units (N, mm, m) and getting deflections off by 10³. Always convert to SI base (m, N, Pa) consistently.
- Dropping needed energy terms: neglecting axial/torsional contributions in frames where these are not negligible; or omitting shear energy in deep beams (low L/h).
- Wrong sign in unit-load products: use consistent sign conventions for internal force diagrams so that the product M·m (or N·n, etc.) reflects the correct signed displacement.
- Using Castigliano with nonlinear materials: The simple
δ = ∂U/∂Presult assumes linear elasticity; outside this, U ≠ U* and results differ. - Confusing Castigliano “first/second” naming. Different books swap names; rely on the exact statements rather than labels.
For GATE ME
- Typical asks:
- Compute deflection/rotation at a specified point for beams (point load, UDL) by unit-load (Mohr’s) integrals; sometimes include rotation due to an applied moment (use unit moment).
- Truss joint displacement by unit-load (sum N·n L/(A E)); quick method-of-joints for both real and unit load cases is essential.
- Strain energy stored in axial bar/beam/shaft and checks like U = 1/2 P δ.
- Solve a single redundancy (e.g., propped cantilever reaction) using Castigliano and compatibility.
- Short conceptual checks on Maxwell–Betti reciprocity and conditions for its validity.
- Practise:
- Drawing clean M, N, T, V diagrams (and corresponding unit-load diagrams m, n, t, v) quickly and setting up integrals piecewise.
- Memorizing standard integrals/results for simple beams (cantilever, simply supported) to save time.
- Keeping a consistent sign convention and unit discipline; pre-decide sagging positive.
- Knowing when shear energy matters (deep beams) and when it can be ignored (slender beams/trusses).
Quick check
- State Castigliano’s theorem used to compute rotation at a point where a moment M is applied.
- Write the unit-load formula for the vertical deflection at a point on a beam when bending dominates.
- An axial bar (A, E, L) carries a force P. What are U and δ? When is U = 1/2 P δ valid?
Answers: (1) For a linear elastic structure, the rotation θ at the point/direction of an applied moment M equals θ = ∂U/∂M. (2) δ = ∫ M m/(E I) dx, where m is the bending moment diagram from a unit vertical load at the target point. (3) U = P² L/(2 A E), δ = P L/(A E); U = 1/2 P δ holds for linear load–displacement behavior (linear elasticity).
Finished this topic? Mark it so your progress, study plan and readiness keep up.
Stuck on something here?