Castigliano's theorem
The deflection at a point is the derivative of the beam's strain energy with respect to a force acting there. If there is none, add a fictitious force and set it to zero at the end. The calculator writes the moment with the force as a symbol, differentiates and integrates – at every chosen point.
Beam diagram
Click a node (A, B, …) or a span (AB, BC, …) on the diagram to edit it.
Spans
| Span | Length [m] | Remove |
|---|---|---|
Beam length L = 6 m
Removing a span merges its end nodes – supports and point loads are kept and the rest of the beam moves left.
Points
| Point | x [m] | Support | Loads |
|---|---|---|---|
| 0 | |||
| 2 | |||
| 3 | |||
| 6 |
A point inside a span splits it in two; a point beyond the end extends the beam.
Flexural rigidity
Moment of inertia about the strong axis (bending in the plane of the web).
Points
Without points the calculator finds the maximum deflection, the deflections of free ends and the slope at the first support.
Results
- Deflections and slopes – with full access
Deflected shape and charts
Shape without valuesClick the beam axis in the drawing to add a point.
Hover over (or tap) the charts to read M, φ and w at section x.
Checking your access…
Castigliano's theorem
The strain energy of a beam in bending depends on its loads. By Castigliano's theorem the derivative of the energy with respect to a point force gives the deflection at its point of application, in its direction:
Fictitious force and fictitious couple
If no force acts at the point, add a fictitious force , write the moment with as a symbol, differentiate and only then set . A slope is found the same way – with a fictitious couple :
How to use Castigliano's theorem
- Write the reactions and the moment with the force – the real or a fictitious – as a symbol.
- Differentiate the moment with respect to that force: is the moment of a unit force.
- Integrate along the beam and divide by .
- Substitute the force value ( for a fictitious force) – the result is the deflection or the slope.
Example: cantilever with a uniform load
A cantilever of length m fixed at with a uniform load kN/m, kNm². We want the deflection and the slope of the free end.
- No force acts at the end, so we add a fictitious force : and .
- kNm³, so mm.
- With a fictitious couple , so kNm², that is rad.
Frequently asked questions
What does Castigliano's theorem say?
The derivative of the strain energy of a structure with respect to a point force equals the displacement of its point of application in the direction of the force. For a beam in bending the energy is the integral of M²/(2EI) along it.
Why add a fictitious force?
The theorem needs a force at the point where the deflection is wanted. If there is none, add a fictitious force F, differentiate with respect to it and set F = 0 at the end – the result is the deflection due to the real loads alone.
How do I find a slope with Castigliano's theorem?
Differentiate the energy with respect to a point couple acting at that point – a real one or a fictitious couple that is set to zero at the end.
How does Castigliano's theorem differ from the unit load method?
Both lead to the same integral: the derivative of the moment with respect to the force, ∂M/∂P, is the moment of a unit force m̄. Castigliano starts from energy and differentiation, the unit load method from virtual work and a separate unit state.
Try our other mechanics and strength of materials calculators
Beam calculator: reactions and N, V, M diagrams
Support reactions and N, V and M diagrams of beams with forces, moments and distributed loads. Also hinges, inclined rollers and sliders.
Truss calculator: member forces
Reactions, zero-force members and member forces of plane trusses.
Moment of inertia calculator
Centroid, moments of inertia, principal moments and the ellipse of inertia – from shapes, holes and steel profiles.
Mohr's circle calculator
Principal stresses, maximum shear stress and stresses on a rotated plane – with Mohr's circle drawn step by step. Free.
Buckling calculator
Euler critical load, slenderness ratio and effective length of a column – with the Johnson parabola, Tetmajer line and W, IPE, HEB shapes. Results and σ–λ chart free.
Solve from a photo
Have a beam, frame or truss sketched on paper? Take a photo – the calculator reads the data and you just check it.