8.6 Deflection of Beams: Double Integration, Macaulay & Moment-Area

Key Takeaways

  • Deflection of beams is named explicitly in the Mechanics of Materials bullet of the CIL Mechanical Paper-II syllabus.

  • The governing equation is EI times the second derivative of deflection with respect to x equal to the bending moment, integrated twice with constants fixed by support conditions.

  • Macaulay's method handles discontinuous loading by carrying bracket terms that are ignored whenever their contents are negative, avoiding separate equations for each span.

  • A simply supported beam with a central point load deflects by WL cubed over 48EI, while the same beam under uniformly distributed load deflects by 5wL to the fourth over 384EI.

Last updated: August 2026

Why Deflection, Not Just Stress

A beam may be perfectly safe in stress and still useless. A conveyor gantry that sags visibly under a loaded belt, a machine-tool bed that deflects enough to lose alignment, or a shaft whose deflection at the bearing exceeds the permissible slope will all fail in service while the material is nowhere near yield. Design codes therefore impose serviceability limits — often span over 325 or span over 500 — alongside strength limits.

The Elastic Curve Equation

For small deflections, the curvature of a beam relates to the bending moment through the flexure formula:

1R=MEIand1R≈d2ydx2\frac{1}{R} = \frac{M}{EI} \quad\text{and}\quad \frac{1}{R} \approx \frac{d^2y}{dx^2}

Combining gives the governing differential equation:

EId2ydx2=M(x)\boxed{EI\frac{d^2y}{dx^2} = M(x)}

The full family of relations, obtained by successive differentiation, is worth memorising as a ladder:

QuantityExpression
Deflectionyy
Slopeθ=dydx\theta = \dfrac{dy}{dx}
Bending momentM=EId2ydx2M = EI\dfrac{d^2y}{dx^2}
Shear forceF=EId3ydx3F = EI\dfrac{d^3y}{dx^3}
Load intensityw=EId4ydx4w = EI\dfrac{d^4y}{dx^4}

Double Integration Method

Integrating once gives the slope and twice the deflection, each step introducing a constant:

EIdydx=∫M dx+C1,EI y=∬M dx dx+C1x+C2EI\frac{dy}{dx} = \int M\,dx + C_1, \qquad EI\,y = \iint M\,dx\,dx + C_1x + C_2

The constants are found from boundary conditions:

SupportConditions
Simple support / rollery=0y = 0
Fixed (built-in) endy=0y = 0 and dy/dx=0dy/dx = 0
Free end of a cantileverNo condition; moment and shear are zero
Point of symmetrydy/dx=0dy/dx = 0

Worked example: cantilever with end load

A cantilever of length LL carries a point load WW at the free end. Measuring xx from the fixed end, M(x)=−W(L−x)M(x) = -W(L-x).

EId2ydx2=−W(L−x)EI\frac{d^2y}{dx^2} = -W(L-x) EIdydx=−W(Lx−x22)+C1EI\frac{dy}{dx} = -W\left(Lx - \frac{x^2}{2}\right) + C_1

At x=0x = 0 the slope is zero, so C1=0C_1 = 0. Integrating again:

EI y=−W(Lx22−x36)+C2EI\,y = -W\left(\frac{Lx^2}{2} - \frac{x^3}{6}\right) + C_2

At x=0x = 0, y=0y = 0, so C2=0C_2 = 0. At the free end, x=Lx = L:

ymax⁡=−WL33EI,θmax⁡=−WL22EIy_{\max} = -\frac{WL^3}{3EI}, \qquad \theta_{\max} = -\frac{WL^2}{2EI}

The negative sign indicates downward deflection; magnitudes are what the exam asks for.

Macaulay's Method

When loading is discontinuous — several point loads, a partial UDL, an applied couple — writing a separate moment expression for each segment produces many constants. Macaulay's method avoids this by using bracket terms:

⟨x−a⟩n={(x−a)nif x>a0if x≤a\langle x - a \rangle^{n} = \begin{cases} (x-a)^{n} & \text{if } x > a \\ 0 & \text{if } x \leq a\end{cases}

The rules that make it work:

  1. Measure xx from one end only, conventionally the left.
  2. Integrate the bracket as a whole: ∫⟨x−a⟩ndx=⟨x−a⟩n+1n+1\displaystyle\int\langle x-a\rangle^n dx = \frac{\langle x-a\rangle^{n+1}}{n+1}. Never expand the bracket.
  3. Discard any bracket whose contents are negative when substituting a value of xx.
  4. A UDL that stops partway must be extended to the end of the beam and cancelled by an equal upward UDL from that point on.
  5. The constants C1C_1 and C2C_2 apply to the whole beam, which is the saving.

Moment-Area Method

Mohr's two theorems convert the problem into areas under the M/EIM/EI diagram, which is fast for cantilevers and for beams with varying section.

Theorem I. The change in slope between two points equals the area of the M/EIM/EI diagram between them:

θAB=∫ABMEI dx\theta_{AB} = \int_A^B \frac{M}{EI}\,dx

Theorem II. The vertical intercept on the tangent at A, measured at B, equals the first moment of that area about B:

δ=∫ABMEI x dx\delta = \int_A^B \frac{M}{EI}\,x\,dx

For a cantilever, where the tangent at the fixed end is horizontal, Theorem II gives the free-end deflection directly.

Check. For the cantilever with end load WW, the M/EIM/EI diagram is a triangle of base LL and height WL/EIWL/EI, so its area is WL2/2EIWL^2/2EI — matching the slope found earlier. Its centroid lies at 2L/32L/3 from the free end, so the deflection is WL22EI×2L3=WL33EI\dfrac{WL^2}{2EI}\times\dfrac{2L}{3} = \dfrac{WL^3}{3EI}. The two methods agree.

Energy Method: Castigliano's Second Theorem

The deflection at the point of application of a load PP, in the direction of that load, is the partial derivative of strain energy with respect to that load:

δ=∂U∂P,U=∫M22EI dx\delta = \frac{\partial U}{\partial P}, \qquad U = \int \frac{M^2}{2EI}\,dx

so in practice

δ=∫MEI∂M∂P dx\delta = \int \frac{M}{EI}\frac{\partial M}{\partial P}\,dx

If no load acts where the deflection is wanted, apply a dummy load QQ, differentiate, then set Q=0Q = 0. This is the unit load method, and it handles curved members and frames that defeat direct integration.

Standard Results Table

These must be recalled without derivation; they account for the majority of objective items on the topic.

Beam and loadingMaximum deflectionMaximum slope
Cantilever, point load WW at free endWL33EI\dfrac{WL^3}{3EI}WL22EI\dfrac{WL^2}{2EI}
Cantilever, UDL ww over full spanwL48EI\dfrac{wL^4}{8EI}wL36EI\dfrac{wL^3}{6EI}
Cantilever, couple MM at free endML22EI\dfrac{ML^2}{2EI}MLEI\dfrac{ML}{EI}
Simply supported, central point load WWWL348EI\dfrac{WL^3}{48EI}WL216EI\dfrac{WL^2}{16EI}
Simply supported, UDL ww5wL4384EI\dfrac{5wL^4}{384EI}wL324EI\dfrac{wL^3}{24EI}
Both ends fixed, central point load WWWL3192EI\dfrac{WL^3}{192EI}0 at supports
Both ends fixed, UDL wwwL4384EI\dfrac{wL^4}{384EI}0 at supports

Reading the table

Two patterns are worth internalising rather than memorising blindly.

Fixing the ends stiffens the beam dramatically. A simply supported beam with a central load deflects WL3/48EIWL^3/48EI; fixing both ends reduces this to WL3/192EIWL^3/192EI, a factor of four. Under UDL the factor is five. This is why machine frames use welded rather than pinned connections wherever possible.

Deflection depends on the fourth power of span for distributed load and the cube for point load. Doubling the span of a conveyor gantry under its own distributed weight multiplies the sag by sixteen. Span reduction is therefore far more effective than adding section depth, though depth helps strongly too since II for a rectangle varies as d3d^3.

Worked Example

A simply supported steel beam spans 6 m and carries a UDL of 12 kN/m. Take E=200E = 200 GPa and I=8×107I = 8\times10^{7} mm4^4. Find the central deflection.

y=5wL4384EI=5×12×(6000)4384×200000×8×107y = \frac{5wL^4}{384EI} = \frac{5\times12\times(6000)^4}{384\times200000\times8\times10^{7}}

Working in newtons and millimetres, w=12w = 12 N/mm:

y=5×12×1.296×10146.144×1015=7.776×10156.144×1015=1.27 mmy = \frac{5\times12\times1.296\times10^{14}}{6.144\times10^{15}} = \frac{7.776\times10^{15}}{6.144\times10^{15}} = 1.27 \text{ mm}

The span-to-deflection ratio is 6000/1.27≈47006000/1.27 \approx 4700, comfortably within any normal serviceability limit.

Test Your Knowledge

The maximum deflection of a cantilever of length L carrying a point load W at its free end is:

A

WL cubed over 3EI

B

WL cubed over 8EI

C

WL cubed over 48EI

D

WL to the fourth over 8EI

Test Your Knowledge

A simply supported beam carrying a uniformly distributed load w over span L has a maximum deflection of:

A

wL to the fourth over 8EI

B

5wL to the fourth over 384EI

C

wL to the fourth over 384EI

D

wL cubed over 48EI

Test Your Knowledge

In Macaulay's method, a bracket term of the form (x minus a) is:

A

Differentiated rather than integrated

B

Expanded before integration

C

Discarded whenever its contents are negative

D

Always retained regardless of the value of x

Test Your Knowledge

Compared with a simply supported beam of the same span carrying the same central point load, a beam with both ends fixed deflects:

A

One half as much

B

Twice as much

C

The same amount

D

One quarter as much

Sections you finish are checked off in the contents.