Strain energy and Castigliano's theorem

Strain energy in axial, bending and torsional members, resilience, sudden and impact loading, and Castigliano's theorem with dummy loads and least work, with impact and L-bracket examples.

Drafted with Aria, reviewed by the AiCanCode.org team. Spotted an error? Use Give Feedback at the bottom of the page.

Why it matters

Energy methods answer two practical questions in mechatronic design. First, how hard does a part get hit: a carriage striking an end stop, a load dropped onto a load cell, a gripper closing fast all produce stresses far above the static value, and strain energy gives them quickly. Second, how much does an awkward part deflect: an L-shaped sensor bracket, a curved flexure or a frame with bends is tedious by integration, but Castigliano's theorem gives any deflection from one energy expression.

Key ideas

Strain energy. When a load is applied gradually to an elastic body, the work it does is stored as strain energy U, recoverable on unloading. For a linear-elastic member, U = ½·P·δ (the area under the load-deflection line). Per unit volume, the strain energy density is u = σ²/(2E) for normal stress and τ²/(2G) for shear.

Resilience terms.

  • Resilience: total strain energy stored in a body.
  • Proof resilience: maximum strain energy stored up to the elastic limit, (σ_e²/2E) × volume.
  • Modulus of resilience: proof resilience per unit volume, σ_e²/(2E); the area under the elastic part of the stress-strain curve.
  • Modulus of toughness: total area under the stress-strain curve up to fracture. Springs and energy-absorbing parts want high resilience: high strength, low modulus.

Gradual, sudden and impact loading of a bar.

  • Gradual: σ = P/A.
  • Suddenly applied (full load placed at once, no drop): work P·δ = stored ½·σ²/E·A·L gives σ = 2P/A, twice the static value.
  • Impact (load P falling through height h onto a collar): P·(h + δ) = σ²·A·L/(2E). Solving gives σ = (P/A)·[1 + √(1 + 2h·A·E/(P·L))]. If h is large compared with δ, σ ≈ √(2E·P·h/(A·L)). A bar with larger volume (longer or thicker) stores the same energy at lower stress, so for impact a long, slender, uniform bolt is better than a short stubby one, and turning the shank down to the root diameter of the thread helps.

Strain energy in members.

  • Axial: U = ∫P²/(2AE) dx.
  • Bending: U = ∫M²/(2EI) dx.
  • Torsion: U = ∫T²/(2GJ) dx.
  • Shear in beams is usually neglected for slender members. For a structure, add the contributions of all members and all segments.

Castigliano's first theorem (displacement form, as used in practice). For a linear-elastic structure, the displacement of the point of application of a load P_i in the direction of P_i is δ_i = ∂U/∂P_i. Similarly, the rotation at an applied couple M_i is θ_i = ∂U/∂M_i. In practice you differentiate under the integral: δ = ∫(M/EI)·(∂M/∂P) dx.

Dummy load. If you need the deflection at a point where no load acts, or in a direction with no load, apply a fictitious load Q there, carry it through, differentiate with respect to Q, and then set Q = 0.

Statically indeterminate structures. Treat a redundant reaction R as an unknown load. Since the support does not move, ∂U/∂R = 0. This compatibility equation gives R (theorem of least work).

Reciprocity. Maxwell's reciprocal theorem follows: the deflection at A due to a unit load at B equals the deflection at B due to a unit load at A. Useful for checking influence coefficients and stiffness matrices.

Formulas

U = ½·P·δ

  • U: strain energy (J); P: gradually applied load (N); δ: corresponding deflection (m).

u = σ² / (2E), u = τ² / (2G)

  • u: strain energy per unit volume (J/m³); σ, τ in Pa; E, G in Pa.

U = P²·L / (2A·E), U = ∫M²/(2E·I) dx, U = T²·L / (2G·J)

  • Axial bar, beam in bending, shaft in torsion. A (m²), L (m), I and J (m⁴).

σ_sudden = 2P/A

  • Suddenly applied load (no drop height).

σ_impact = (P/A)·[1 + √(1 + 2h·A·E/(P·L))]

  • P: falling weight (N); h: drop height before contact (m); L: bar length (m).

δ_i = ∂U/∂P_i = ∫(M/EI)·(∂M/∂P_i) dx

  • Castigliano's theorem, bending; add axial and torsion terms when they matter.

∂U/∂R = 0

  • Least work for a redundant reaction R at an unyielding support.

Worked examples

Example 1 (standard): gradual, sudden and impact loading of a tie rod. Given: a steel rod, diameter 20 mm, length 2 m, E = 200 GPa. (a) 30 kN applied gradually: find σ and U. (b) A weight of 500 N falls 10 mm onto a collar at the end: find the maximum stress, extension and energy absorbed.

  1. A = π/4 × 20² = 314.2 mm²; volume = 314.2 × 2000 = 628 300 mm³.
  2. (a) σ = 30 000/314.2 = 95.5 MPa. U = σ²/(2E) × volume = 95.5²/(2 × 200 000) × 628 300 = 14 320 N·mm = 14.3 J.
  3. (b) Static stress P/A = 500/314.2 = 1.592 MPa.
  4. 2h·A·E/(P·L) = 2 × 10 × 314.2 × 200 000/(500 × 2000) = 1257.
  5. σ_impact = (P/A)·[1 + √(1 + 1257)] = 1.592 × (1 + 35.47) = 58.0 MPa.
  6. Extension: δ = σ·L/E = 58.0 × 2000/200 000 = 0.580 mm.
  7. Energy check: P·(h + δ) = 500 × 10.58 = 5290 N·mm = 5.29 J; σ²/(2E) × volume = 58.0²/400 000 × 628 300 = 5290 N·mm. Answer: (a) 95.5 MPa, 14.3 J; (b) 58.0 MPa, 0.58 mm, 5.29 J. A 500 N weight dropped only 10 mm causes 36 times the static stress.

Example 2 (GATE level): L-shaped sensor bracket by Castigliano. Given: an L-bracket of 20 mm square steel bar (E = 200 GPa, I = 20⁴/12 = 13 333 mm⁴, EI = 2.667 × 10⁹ N·mm²). The vertical leg (a = 300 mm) is fixed at its base; the horizontal arm (b = 200 mm) carries P = 200 N downward at its tip. Neglect axial and shear energy. Find the vertical and horizontal deflections of the tip.

  1. Arm, s measured from the tip (0 to b): M = P·s. Leg, y measured from the corner downward (0 to a): M = P·b (constant).
  2. Vertical: ∂M/∂P = s in the arm and b in the leg.
  3. δ_v = (1/EI)·[∫P·s² ds + ∫P·b² dy] = P·b³/(3EI) + P·b²·a/(EI).
  4. δ_v = 200 × 200³/(3 × 2.667 × 10⁹) + 200 × 200² × 300/(2.667 × 10⁹) = 0.20 + 0.90 = 1.10 mm.
  5. Horizontal: add a dummy horizontal load Q at the tip. It is axial in the arm (no moment) and adds Q·y to the moment in the leg: M = P·b + Q·y, so ∂M/∂Q = y.
  6. δ_h = (1/EI)·∫(P·b)·y dy (with Q = 0) = P·b·a²/(2EI) = 200 × 200 × 300²/(2 × 2.667 × 10⁹) = 0.675 mm. Answer: δ_v = 1.10 mm downward, δ_h = 0.675 mm. The leg contributes 82 % of the vertical deflection, so stiffening the leg is the effective fix.

Common mistakes

  • Writing U = P·δ instead of ½·P·δ for a gradually applied load.
  • Using the static stress for a suddenly applied or impact load.
  • Differentiating with respect to a load after substituting its numerical value; keep it symbolic until after differentiation.
  • Forgetting to set the dummy load to zero after differentiating.
  • Leaving out a segment of the structure, or using one coordinate for a member that bends in two segments.
  • Applying Castigliano's theorem to a nonlinear (yielding or large-deflection) problem.

For GATE ME

Expect strain energy in bars, beams and shafts, comparison of gradual, sudden and impact stresses, proof resilience and modulus of resilience, deflection of cantilevers, simply supported beams, bent bars and rings by Castigliano, and redundant reactions by least work. Practise writing M and ∂M/∂P cleanly for each segment.

Quick check

  1. A load is suddenly applied to a bar. How does the stress compare with the gradually applied value?
  2. Write the strain energy of a cantilever with end load P.
  3. State Castigliano's theorem for deflection.
  4. A rod (L = 2 m, A = 0.01 m², E = 200 GPa) carries 1000 N gradually. What is U?
  5. What is the modulus of resilience of steel with σ_e = 250 MPa and E = 200 GPa?

Answers: 1. Twice as large. 2. U = P²·L³/(6EI). 3. δ = ∂U/∂P at the load, in its direction. 4. 0.0005 J. 5. 250²/(2 × 200 000) = 0.156 N·mm/mm³ = 156 kJ/m³.

Try answering each one aloud before you open it.

  1. 1.What is strain energy in the context of materials science?Concept

    Strain energy is the energy stored in a material due to deformation. When a material is subjected to stress, it deforms, and the work done on the material is stored as strain energy. This energy is recoverable when the material returns to its original shape, assuming the deformation is elastic.

  2. 2.Explain Castigliano's theorem and its significance in structural analysis.Concept

    Castigliano's theorem states that the partial derivative of the total strain energy of a structure with respect to an applied force gives the displacement in the direction of that force. It is significant because it allows engineers to calculate displacements in complex structures using energy methods, which can be simpler than using direct methods.

  3. 3.How is strain energy related to the modulus of elasticity?Concept

    For a linear-elastic material the strain energy per unit volume is u = σ²/(2E) = E·ε²/2. So at the same stress a lower-modulus material stores more energy, which is why springs and energy-absorbing parts favour high strength with relatively low E. At the same strain, a stiffer material stores more energy. The maximum elastic energy per unit volume, the modulus of resilience σ_e²/(2E), combines both strength and stiffness.

  4. 4.Why is Castigliano's theorem particularly useful for statically indeterminate structures?Application

    In a statically indeterminate structure the equilibrium equations are not enough to find all reactions. With energy methods you treat a redundant reaction R as an unknown load, write the total strain energy as a function of it, and impose that the support does not move: ∂U/∂R = 0. That compatibility equation, the theorem of least work, gives R; the rest follows from statics. Castigliano's theorem then also gives any displacement, using dummy loads where no real load acts.

  5. 5.What happens to the strain energy in a material if it is loaded beyond its elastic limit?Application

    If a material is loaded beyond its elastic limit, it undergoes plastic deformation, and the strain energy is no longer fully recoverable. The energy used to deform the material beyond the elastic limit is dissipated as heat and permanent deformation, and only the elastic portion of the strain energy can be recovered.

  6. 6.How can Castigliano's theorem be applied to determine the deflection of a beam under a point load?Application

    To apply Castigliano's theorem to determine the deflection of a beam under a point load, calculate the strain energy of the beam as a function of the applied load. Then, take the partial derivative of the strain energy with respect to the load to find the deflection at the point of application of the load.

  7. 7.A cantilever beam of length 2 m is subjected to a point load of 500 N at its free end. Calculate the strain energy stored in the beam. Assume the modulus of elasticity is 200 GPa and the moment of inertia is 0.0001 m^4.Numerical

    The moment varies along a cantilever, M = P·x with x from the free end, so U = ∫₀ᴸ (P·x)²/(2EI) dx = P²·L³/(6EI). Substituting P = 500 N, L = 2 m, EI = 200 × 10⁹ × 1 × 10⁻⁴ = 2 × 10⁷ N·m²: U = 500² × 8/(6 × 2 × 10⁷) = 0.0167 J. Using the fixed-end moment as if it were constant along the beam would overestimate U three times.

  8. 8.What is the effect of increasing the moment of inertia on the strain energy stored in a beam?Application

    For a given load, U = ∫M²/(2EI) dx, so increasing I reduces the strain energy in proportion: a stiffer beam deflects less and the load does less work. For a given deflection, the opposite holds: a stiffer beam needs a larger load to reach it and so stores more energy. In impact problems this is why stiffer members see higher stresses from the same falling energy.

  9. 9.Explain how strain energy can be used to determine the natural frequency of a vibrating system.Application

    Strain energy can be used to determine the natural frequency of a vibrating system by equating the maximum strain energy to the maximum kinetic energy during vibration. The natural frequency is then derived from the relationship between these energies, considering the system's mass and stiffness.

  10. 10.A simply supported beam of length 3 m is subjected to a uniform distributed load of 1000 N/m. Calculate the total strain energy stored in the beam. Assume the modulus of elasticity is 210 GPa and the moment of inertia is 0.0002 m^4.Numerical

    With M(x) = (w·x/2)(L − x) along the span, U = ∫₀ᴸ M²/(2EI) dx = w²·L⁵/(240EI). Here w = 1000 N/m, L = 3 m, EI = 210 × 10⁹ × 2 × 10⁻⁴ = 4.2 × 10⁷ N·m², so U = 10⁶ × 243/(240 × 4.2 × 10⁷) = 0.0241 J. Using the maximum moment as if it acted over the whole span would overestimate U.

Finished this topic? Mark it so your progress, study plan and readiness keep up.

Stuck on something here?