The Chartership Forum

Structural Analysis Fundamentals / Virtual work and energy methods

Castigliano's theorems

A strain-energy expression contains the load that caused it.

Lesson review: expert verification remains open

The practical explanations, new worked calculations and numerical practice answers have been checked in the recorded reconstruction pass. Browser checks cover the listed desktop, mobile and interactive states. Original derivations are retained; independent specialist verification remains open.

Corrections checked in this pass

  • Added a practical explanation with explicit units and calculation steps; retained the original derivations and exercises.
  • Defined virtual actions per unit generalised load so the displacement expressions have consistent dimensions.

Checks needed for project use

  • An independent structural reviewer must check remaining derivations, diagrams, sign conventions and the interactive models across their full input ranges.
  • Check virtual-force signs and corresponding directions in interactive examples; nonlinear, nonconservative and imposed-strain cases need separate treatment.

These are educational models and exercises. Check their assumptions before using the results. The full technical content and every diagram have not yet been independently verified.

Concrete and steel calculations retain their stated first-generation Eurocode teaching basis. Use the standards and amendments specified for your project; do not mix generations without an appropriate design basis.

Read the lesson register and outstanding review notes

Why this matters

A strain-energy expression contains the load that caused it. Differentiating with respect to that load selects the displacement in its direction.

By the end of this lesson you should be able to

  • State Castigliano's first and second theorems
  • Use ∂U/∂P to find a deflection
  • Apply the dummy-load technique where no load acts at the point of interest
  • Explain how Castigliano relates to the unit-load method

What you should already know

  • Strain energy in axial members and bending (this module)
  • The unit-load method (this module)
  • Standard deflection formulae (Module 13)

Build the physical picture

For the stated linear elastic, small-displacement problem, Castigliano’s energy derivative gives a work-conjugate displacement. Keep other independent loads fixed while differentiating. If the required location has no real force, introduce a dummy force there, differentiate first, then set that force to zero.

A dummy force selects the required movement

A dummy force selects the required movementThe real force P and the auxiliary force Q are independent variables during differentiation. Set Q to zero only after obtaining ∂U/∂Q. The remaining result is the tip movement caused by the real loading.PQDifferentiate first; then set Q = 0
The real force P and the auxiliary force Q are independent variables during differentiation. Set Q to zero only after obtaining ∂U/∂Q. The remaining result is the tip movement caused by the real loading.
Real load
P remains in the analysis throughout.
Dummy load
Q supplies a direction and location for the energy derivative; it is zero in the final physical load case.

Worked example

Work through a practical case

Given

  • A uniform axial bar has P = 10,000 N, L = 1,000 mm, A = 100 mm² and E = 200,000 MPa.

Find

Write its energy as a function of P; Differentiate before substituting; Evaluate.

    Predict first

    If using a dummy force, when should you set it to zero?

    Castigliano’s second theorem gives a displacement from an energy derivative:

    For a linearly elastic structure, the deflection at the point of application of a load, in the direction of that load, is the partial derivative of the total strain energy with respect to that load.

    δ = ∂U/∂P

    The argument behind it is short. Load the structure gradually to P, storing energy U(P). Now add a small extra δP. The extra energy is (∂U/∂P)δP. But you could equally have applied δP first and then P — the final state, and therefore the final energy, must be identical because the structure is elastic. Working that second order through, the extra energy is δP times the deflection at that point. Equating the two gives the theorem.

    Castigliano's first theorem is the mirror image: P = ∂U/∂δ, giving the force required to produce a displacement when the energy is expressed in terms of displacements. It underpins the stiffness method, but it is the second theorem you will actually use by hand.

    Castigliano's second theorem
    δ=∂U∂P,θ=∂U∂M\delta = \frac{\partial U}{\partial P}, \qquad \theta = \frac{\partial U}{\partial M}

    What it calculates: deflection or rotation from the strain energy

    U
    total strain energy of the structure (N·mm)
    P
    load at the point and in the direction wanted (N)
    M
    moment applied at the point where a rotation is wanted (N·mm)

    This assumes

    • Linearly elastic behaviour
    • Small deflections, so the geometry does not change
    • The load P must actually act at the point and in the direction of the deflection sought

    In plain terms: Differentiate with respect to a force and you get a displacement. Differentiate with respect to a moment and you get a rotation. The pairing is always force with displacement, moment with rotation — the quantities whose product is work.

    The obvious limitation is in the last assumption: P has to be there. What if you want the deflection at a point carrying no load, or in a direction nothing pushes?

    The dummy load. Apply an imaginary load Q at exactly that point, in exactly that direction. Carry it symbolically through the whole analysis. Differentiate with respect to Q. Then set Q = 0 at the very end.

    The result is the deflection under the real loading alone. Q never physically existed; it was a handle to differentiate with respect to.

    It is worth noticing what this really is. Differentiating with respect to Q and then setting Q to zero extracts exactly the rate at which the internal forces change per unit of Q — which is the n of the unit-load method. The two techniques are the same calculation, arrived at from opposite directions. Castigliano is more mechanical; the unit-load method makes the physical content clearer. Use whichever suits the problem.

    Predict first

    You want the mid-span deflection of a beam that carries only a UDL — no point load at mid-span. What does Castigliano's theorem require?

    Worked example

    Cantilever tip deflection by Castigliano

    Given

    • Cantilever of span L = 3.00 m carrying a point load P = 15.0 kN at its free end
    • E = 205 000 N/mm², I = 1.20 × 10⁸ mm⁴
    • Bending strain energy only

    Find

    The tip deflection, from the strain energy.

      Practice

      A cantilever of span 3.00 m carries a point load P at its free end. Its bending strain energy is U = P²L³/6EI. What is the coefficient in the expression δ = ∂U/∂P = PL³/(n·EI)? Enter n.

      Practice

      For that cantilever with P = 15.0 kN, L = 3.00 m, E = 205 000 N/mm² and I = 1.20 × 10⁸ mm⁴, what is the tip deflection, in mm?

      Practice

      A beam carries only a UDL, and you want the deflection at a specific point. After applying a dummy load Q there and differentiating, what value must Q be given?

      Summary

      • Castigliano's second theorem: δ = ∂U/∂P, the deflection at and along a load
      • Differentiate with respect to a moment instead and you get a rotation
      • The load must act at the point of interest — otherwise use a dummy load
      • Carry the dummy load through symbolically, differentiate, then set it to zero
      • Castigliano and the unit-load method are the same calculation from opposite directions
      • The first theorem, P = ∂U/∂δ, is what underlies the stiffness method

      Carry this forward

      A calculated displacement can supply the condition an extra support imposes. Use energy and compatibility to solve indeterminate structures.