Beam Deflection Calculation – Elastic Curve Equation and Examples

How to calculate beam deflection: the elastic curve equation EI·w″ = −M, double integration step by step, boundary conditions, ready formulas and two worked examples.

· 6 min read

A beam can be strong enough and still be unfit for use – because it deflects too much. Cracked plaster, bouncy floors and doors that no longer close are typical results of excessive deflection. That is why, next to the stress check (ultimate limit state), engineers check deflections (serviceability limit state). In this article you will see where the equation of the elastic curve comes from, how to integrate it step by step, which boundary conditions to use and how it all works on two complete examples.

Where deflection comes from – the elastic curve equation

Under load the axis of a beam bends into a curve called the elastic curve (deflection curve). It is described by two functions:

  • the deflection w(x)w(x) – the displacement of a point of the axis perpendicular to the beam,
  • the slope (rotation) φ(x)=w′(x)\varphi(x) = w'(x) – the angle of the tangent to the elastic curve.

For small deflections the curvature of the axis is proportional to the bending moment, which gives the differential equation of the elastic curve:

EI w′′(x)=−M(x)EI \, w''(x) = -M(x)
  • EE – Young’s modulus of the material (210 GPa210\ \text{GPa} or 29 000 ksi29\,000\ \text{ksi} for steel),
  • II – moment of inertia of the cross-section about the bending axis (see Moment of Inertia of Plane Figures),
  • EIEI – the flexural rigidity of the beam,
  • M(x)M(x) – the bending moment, positive when it stretches the bottom fibers.

We take the deflection ww as positive downward and the slope φ\varphi as positive clockwise – hence the minus sign on the right: a positive (“smiling”) moment bends the beam convex downward. Many textbooks point the ww (or yy) axis upward and write EI y′′=MEI \, y'' = M – the same physics in a different sign convention.

Integrating the elastic curve equation step by step

The double integration method always follows the same steps:

  1. Find the reactions and write the bending moment Mi(x)M_i(x) in every segment of the beam.
  2. Integrate once EI wi′′=−MiEI \, w_i'' = -M_i – you get the slope EI φi(x)EI\,\varphi_i(x) with a constant CiC_i.
  3. Integrate again – you get the deflection EI wi(x)EI\,w_i(x) with a constant DiD_i.
  4. Write the boundary and continuity conditions – as many as there are constants (two per segment).
  5. Solve the system of equations and substitute the constants into φ\varphi and ww.
  6. Find the maximum deflection – where φ=0\varphi = 0, or at the free end of a cantilever.

The boundary conditions come from the supports:

Support Conditions
pin or roller w=0w = 0
fixed support w=0w = 0, φ=0\varphi = 0
joint of two segments (no hinge) wi=wi+1w_i = w_{i+1}, φi=φi+1\varphi_i = \varphi_{i+1}
internal hinge wi=wi+1w_i = w_{i+1} (the slope can jump)

Example 1: deflection of a simply supported beam

A simply supported beam with a span L=4L = 4 m carries a uniform load q=10 kN/mq = 10\ \text{kN/m} over the whole length and a point load F=20F = 20 kN at midspan. The beam is a steel IPE 200 section (E=210 GPaE = 210\ \text{GPa}, I=1943 cm4I = 1943\ \text{cm}^4).

q1 = 10 kN/m2q2 = 10 kN/m2mAP1 = 20 kNBC
Beam schematic with loads

Reactions, moments and stiffness

The point load splits the beam into two segments, so there are two moment functions:

  1. Reactions and bending moments

    Support reactions and the bending moment functions M(x) in the segments are found as in the beam calculator (full steps there). M(x) is positive when it stretches the bottom fibers.

    VA=30 kN,VC=30 kNV_{A} = 30\ \text{kN},\quad V_{C} = 30\ \text{kN}
    M1(x)=−5x2+30x kNm,x∈(0, 2)M_{1}(x) = -5x^{2} + 30x\ \text{kNm},\quad x \in (0,\ 2)
    M2(x)=−5x2+10x+40 kNm,x∈(2, 4)M_{2}(x) = -5x^{2} + 10x + 40\ \text{kNm},\quad x \in (2,\ 4)
  1. Flexural rigidity

    The rigidity EI is constant along the whole beam.

    EI=4080.3 kNm²EI = 4080.3\ \text{kNm²}

The flexural rigidity is EI=210⋅106 kPa⋅1943⋅10−8 m4=4080.3 kNm2EI = 210 \cdot 10^6\ \text{kPa} \cdot 1943 \cdot 10^{-8}\ \text{m}^4 = 4080.3\ \text{kNm}^2.

Integration and constants

Each segment is integrated separately – that gives four constants C1, D1, C2, D2C_1,\ D_1,\ C_2,\ D_2. So we need four conditions: zero deflection at both supports and continuity of deflection and slope under the point load:

  1. Differential equation of the elastic curve

    The deflection w(x) is positive downward and the slope φ(x) = w′(x) clockwise. A positive moment (stretching the bottom) bends the beam convex downward, hence the minus sign. In each segment we integrate the equation twice, getting two integration constants.

    EI w′′(x)=−M(x)EI\,w''(x) = -M(x)
    φ(x)=w′(x)\varphi(x) = w'(x)
  2. Segment 1: x ∈ (0, 2)

    We integrate term by term: xⁿ → xⁿ⁺¹/(n + 1). The first integral gives the slope, the second – the deflection.

    x∈(0, 2)x \in (0,\ 2)
    EI w1′′(x)=−M1(x)=5x2−30xEI\,w_{1}''(x) = -M_{1}(x) = 5x^{2} - 30x
    EI φ1(x)=5x33−30x22+C1=53x3−15x2+C1EI\,\varphi_{1}(x) = \frac{5x^{3}}{3} - \frac{30x^{2}}{2} + C_{1} = \frac{5}{3}x^{3} - 15x^{2} + C_{1}
    EI w1(x)=53x44−15x33+C1x+D1=512x4−5x3+C1x+D1EI\,w_{1}(x) = \frac{\frac{5}{3}x^{4}}{4} - \frac{15x^{3}}{3} + C_{1}x + D_{1} = \frac{5}{12}x^{4} - 5x^{3} + C_{1}x + D_{1}
  3. Segment 2: x ∈ (2, 4)

    We integrate term by term: xⁿ → xⁿ⁺¹/(n + 1). The first integral gives the slope, the second – the deflection.

    x∈(2, 4)x \in (2,\ 4)
    EI w2′′(x)=−M2(x)=5x2−10x−40EI\,w_{2}''(x) = -M_{2}(x) = 5x^{2} - 10x - 40
    EI φ2(x)=5x33−10x22−40x+C2=53x3−5x2−40x+C2EI\,\varphi_{2}(x) = \frac{5x^{3}}{3} - \frac{10x^{2}}{2} - 40x + C_{2} = \frac{5}{3}x^{3} - 5x^{2} - 40x + C_{2}
    EI w2(x)=53x44−5x33−40x22+C2x+D2=512x4−53x3−20x2+C2x+D2EI\,w_{2}(x) = \frac{\frac{5}{3}x^{4}}{4} - \frac{5x^{3}}{3} - \frac{40x^{2}}{2} + C_{2}x + D_{2} = \frac{5}{12}x^{4} - \frac{5}{3}x^{3} - 20x^{2} + C_{2}x + D_{2}
  4. Boundary and continuity conditions

    Supports prevent deflection (w = 0), a fixed support also rotation (φ = 0). At segment boundaries deflection and slope are continuous; at a hinge only the deflection is – the slope jumps.

    w1(0)=0:D1=0(1)w_{1}(0) = 0:\quad D_{1} = 0\qquad (1)
    w1(2)=w2(2):2C1+D1−2C2−D2+1603=0(2)w_{1}(2) = w_{2}(2):\quad 2C_{1} + D_{1} - 2C_{2} - D_{2} + \frac{160}{3} = 0\qquad (2)
    φ1(2)=φ2(2):C1−C2+40=0(3)\varphi_{1}(2) = \varphi_{2}(2):\quad C_{1} - C_{2} + 40 = 0\qquad (3)
    w2(4)=0:4C2+D2−320=0(4)w_{2}(4) = 0:\quad 4C_{2} + D_{2} - 320 = 0\qquad (4)
  5. Integration constants

    We solve the system: an equation with one unknown gives it at once, the others give the next constants after substitution.

    (1):D1=0(1):\quad D_{1} = 0
    (3):C1=C2−40(3):\quad C_{1} = C_{2} - 40
    (2)⇒(2′):−D2−803=0(2) \Rightarrow (2'):\quad -D_{2} - \frac{80}{3} = 0
    D2=−803≈−26.667D_{2} = -\frac{80}{3} \approx -26.667
    (4):4C2−10403=0(4):\quad 4C_{2} - \frac{1040}{3} = 0
    4C2=104034C_{2} = \frac{1040}{3}
    C2=104034=2603≈86.667C_{2} = \frac{\frac{1040}{3}}{4} = \frac{260}{3} \approx 86.667
    C1=C2−40=2603−40=1403≈46.667C_{1} = C_{2} - 40 = \frac{260}{3} - 40 = \frac{140}{3} \approx 46.667
  6. Slope and deflection equations

    We substitute the constants into the functions of the segments.

    x∈(0, 2)x \in (0,\ 2)
    EI φ1(x)=53x3−15x2+1403EI\,\varphi_{1}(x) = \frac{5}{3}x^{3} - 15x^{2} + \frac{140}{3}
    EI w1(x)=512x4−5x3+1403xEI\,w_{1}(x) = \frac{5}{12}x^{4} - 5x^{3} + \frac{140}{3}x
    x∈(2, 4)x \in (2,\ 4)
    EI φ2(x)=53x3−5x2−40x+2603EI\,\varphi_{2}(x) = \frac{5}{3}x^{3} - 5x^{2} - 40x + \frac{260}{3}
    EI w2(x)=512x4−53x3−20x2+2603x−803EI\,w_{2}(x) = \frac{5}{12}x^{4} - \frac{5}{3}x^{3} - 20x^{2} + \frac{260}{3}x - \frac{80}{3}

Diagrams and maximum deflection

ABCBending moment M(x) [kNm]01020304040 kNmSlope φ(x) [rad]-0.01-0.00500.0050.010.01144 rad-0.01144 radDeflection w(x) [mm]051014.7 mm

Hover over (or tap) the charts to read M, φ and w at section x.

Deflected shape and charts

The beam and the load are symmetric, so the slope at midspan is zero and the deflection is largest there:

  1. Deflections and slopes at characteristic points

    Values at the ends of the segments. At a hinge the slope jumps – we give it on the left and on the right.

    #xxw [mm]w\ \left[\text{mm}\right]φ [rad]\varphi\ \left[\text{rad}\right]
    A0000≈0.01144\approx 0.01144
    22≈14.705\approx 14.70500
    C4400≈−0.01144\approx -0.01144
    A
    xx
    00
    w [mm]w\ \left[\text{mm}\right]
    00
    φ [rad]\varphi\ \left[\text{rad}\right]
    ≈0.01144\approx 0.01144
    xx
    22
    w [mm]w\ \left[\text{mm}\right]
    ≈14.705\approx 14.705
    φ [rad]\varphi\ \left[\text{rad}\right]
    00
    C
    xx
    44
    w [mm]w\ \left[\text{mm}\right]
    00
    φ [rad]\varphi\ \left[\text{rad}\right]
    ≈−0.01144\approx -0.01144
wmax⁡=60EI=604080.3 m≈14.705 mmw_{\max} = \frac{60}{EI} = \frac{60}{4080.3}\ \text{m} \approx 14.705\ \text{mm}
Deflected shape of the beam
ABCw_max = 14.7 mmDeflections exaggerated about 24 times
Deflected shape of the beam

Example 2: deflection of a cantilever beam

A cantilever of length L=2aL = 2a is fixed at point A. A uniform load qq acts over the whole length and a force P=qaP = qa at the free end. We work in symbols – the result will be in units of qa4/EIqa^4/EI.

q1 = 1 q2aAP1 = 1 qaB
Beam schematic with loads

The cantilever has one segment, so two constants CC and DD. At the fixed end both the deflection and the slope are zero – which gives C=D=0C = D = 0 right away:

  1. Differential equation of the elastic curve

    The deflection w(x) is positive downward and the slope φ(x) = w′(x) clockwise. A positive moment (stretching the bottom) bends the beam convex downward, hence the minus sign. In each segment we integrate the equation twice, getting two integration constants.

    EI w′′(x)=−M(x)EI\,w''(x) = -M(x)
    φ(x)=w′(x)\varphi(x) = w'(x)
  2. Segment 1: x ∈ (0, 2)

    We integrate term by term: xⁿ → xⁿ⁺¹/(n + 1). The first integral gives the slope, the second – the deflection.

    x∈(0, 2)x \in (0,\ 2)
    EI w′′(x)=−M(x)=0.5x2−3x+4EI\,w''(x) = -M(x) = 0.5x^{2} - 3x + 4
    EI φ(x)=0.5x33−3x22+4x+C=16x3−1.5x2+4x+CEI\,\varphi(x) = \frac{0.5x^{3}}{3} - \frac{3x^{2}}{2} + 4x + C = \frac{1}{6}x^{3} - 1.5x^{2} + 4x + C
    EI w(x)=16x44−1.5x33+4x22+Cx+D=0.042x4−0.5x3+2x2+Cx+DEI\,w(x) = \frac{\frac{1}{6}x^{4}}{4} - \frac{1.5x^{3}}{3} + \frac{4x^{2}}{2} + Cx + D = 0.042x^{4} - 0.5x^{3} + 2x^{2} + Cx + D
  3. Boundary and continuity conditions

    Supports prevent deflection (w = 0), a fixed support also rotation (φ = 0). Each condition gives one equation in the constants.

    w(0)=0:D=0(1)w(0) = 0:\quad D = 0\qquad (1)
    φ(0)=0:C=0(2)\varphi(0) = 0:\quad C = 0\qquad (2)
  4. Integration constants

    We solve the system: an equation with one unknown gives it at once, the others give the next constants after substitution.

    (1):D=0(1):\quad D = 0
    (2):C=0(2):\quad C = 0
  5. Slope and deflection equations

    We substitute the constants into the functions of the segments.

    x∈(0, 2)x \in (0,\ 2)
    EI φ(x)=16x3−1.5x2+4xEI\,\varphi(x) = \frac{1}{6}x^{3} - 1.5x^{2} + 4x
    EI w(x)=0.042x4−0.5x3+2x2EI\,w(x) = 0.042x^{4} - 0.5x^{3} + 2x^{2}

The slope and the deflection grow from zero at the fixed end to their largest values at the free end:

ABBending moment M(x) [qa²]-4-3-2-10-4 qa²Slope φ(x) [qa³/EI]01233.333 qa³/EIDeflection w(x) [qa⁴/EI]012344.667 qa⁴/EI

Hover over (or tap) the charts to read M, φ and w at section x.

Deflected shape and charts
w(2a)=143⋅qa4EI≈4.667 qa4EI,φ(2a)=103⋅qa3EIw(2a) = \frac{14}{3} \cdot \frac{q a^4}{EI} \approx 4.667 \, \frac{q a^4}{EI}, \qquad \varphi(2a) = \frac{10}{3} \cdot \frac{q a^3}{EI}

Beam deflection formulas

For typical cases there is no need to integrate – table formulas are enough. With several loads the results are added (superposition), because the elastic curve equation is linear.

Case Maximum deflection Slope
simply supported, uniform load qq 5qL4384EI\frac{5 q L^4}{384 EI} (at midspan) qL324EI\frac{q L^3}{24 EI} (at the supports)
simply supported, point load FF at midspan FL348EI\frac{F L^3}{48 EI} (at midspan) FL216EI\frac{F L^2}{16 EI} (at the supports)
cantilever, uniform load qq qL48EI\frac{q L^4}{8 EI} (at the free end) qL36EI\frac{q L^3}{6 EI} (at the free end)
cantilever, point load FF at the end FL33EI\frac{F L^3}{3 EI} (at the free end) FL22EI\frac{F L^2}{2 EI} (at the free end)
cantilever, moment MM at the end ML22EI\frac{M L^2}{2 EI} (at the free end) MLEI\frac{M L}{EI} (at the free end)

Other methods for beam deflection

Integrating the elastic curve equation is the textbook way, but with many segments it gets long. Other methods give the same results – the Caltuto deflection calculator shows each of them:

Allowable beam deflection

The calculated deflection is compared with a limit that depends on the kind of member, usually given as a fraction of the span: L/180L/180, L/240L/240, L/360L/360 in US practice (IBC) or L/200L/200, L/250L/250, L/300L/300 in Eurocode national annexes. For floor beams L/360L/360 under live load is common in the US, and L/250L/250 in many European countries. Always take the limit from the code that applies to your material and structure.

Frequently asked questions

What does beam deflection depend on?

On the load, the support conditions and the flexural rigidity EIEI, and most of all on the span – deflection grows with L3L^3 (point load) or L4L^4 (uniform load). A beam twice as long under the same qq deflects 16 times more.

How can I reduce the deflection of a beam?

Increase the moment of inertia (a deeper section – II grows with the cube of the depth), shorten the span (an extra support) or use a material with a higher modulus EE. A higher steel grade does not help – all steels have practically the same Young’s modulus.

How many constants of integration are needed?

Two per segment of the beam. A beam with nn segments has 2n2n constants and the same number of conditions: boundary conditions at the supports and continuity of deflection and slope between segments.

Where does the maximum deflection occur?

In a simply supported beam – where the slope is zero (at midspan for a symmetric load). In a cantilever – at the free end.