Beam deflection (simply supported, uniform load)
Most real beams carry load spread along them: a floor, a roof, a shelf of books, their own weight. Spread evenly, a load bends the beam less than the same total weight hung in the middle, but the span still counts to the fourth power: double it and the sag grows sixteen times.
The formulas
- Total load and reactions: a load w per metre over a span L adds up to W = w L, and each support carries half, w L ÷ 2.
- Bending moment: M(x) = w x (L − x) ÷ 2 at a distance x from a support, largest at mid-span, w L² ÷ 8. Stress at the top and bottom faces: σ = M (h ÷ 2) ÷ I, with I = b h³ ÷ 12 for a solid rectangle b wide and h deep.
- Deflection (from E I y″ = −M, integrated twice with zero deflection at both supports): y = w x (L³ − 2 L x² + x³) ÷ (24 E I), largest at mid-span, 5 w L⁴ ÷ (384 E I). The same total load as a point load in the middle would sag 1.6 times as much (W L³ ÷ 48 E I).
Linear elastic, small deflections, the load spread exactly evenly over the full span, and the stress is from bending only. The beam's own weight is not added: to include it, add its weight per metre to w. For a real structure use your building code's loads, load factors and deflection limits. Tested: the reactions balance the load, and the deflection formula matches a direct numerical double integration of M ÷ E I with zero sag at both supports to one part in a million (packages/mechanics/test/science.test.ts).
Example
With span 4 m, load 5 kN per metre, beam width 100 mm, beam depth 200 mm, Young's modulus E 200 GPa: mid-span deflection: 1.25 mm; deflection as a share of span: span ÷ 3,200; total load w L: 20 kN; largest bending moment (mid-span): 10 kN·m; largest bending stress: 15 MPa; support reactions: 10 kN at each support. Open this setup, then change one thing at a time.
Related: Beam deflection · Cantilever beam · Moment of inertia (sections)