Skip to content
LumenaryAcademy
Solids 70 min

Axial load, torsion and bending

The three ways a slender part carries load — stretching, twisting and bending — and the formulas, diagrams and section shapes that engineers use to size it.

Code tested · 6AI-draftedAwaiting review by a mechanical engineer

Your guides: Chloe · The Designer, Margaret · The Test Engineer, Gideon · The Checker

MotivationH

Three ways to carry a load

Look at almost any machine or structure and you will find long, slender parts: the tie rods of a roof, the drive shaft between a motor and a pump, the joists under a floor, the axle of a bicycle, the boom of an excavator. A slender part can carry load in only three basic ways. It can be pulled or pushed along its length (axial load), twisted about its length (torsion), or bent across its length (bending). Most real parts do two or three at once, but each of the three has its own formula, and the formulas add.

FFTTPaxial loadtorsionbendingσ = N/A, δ = NL/(EA)τ = Tr/J, φ = TL/(GJ)σ = −My/I
The three basic loadings of a slender part. Left: an axial load stretches a bar uniformly. Middle: a torque twists a shaft, so a line drawn along its surface becomes a helix. Right: a transverse load bends a beam into a curve, squeezing its top and stretching its bottom.

In Stress and strain you learned what stress and strain are and how Hooke's law links them. This lesson turns that vocabulary into the working tools of a design office: how far a bar stretches, how much a shaft twists and how hard it is stressed, where a beam is most heavily loaded, and why steel beams are shaped like a capital I. By the end you will have computed the shear-force and bending-moment diagrams of the beam you met in Statics and equilibrium, and chosen a steel section for it.

IntuitionH

One recipe, three answers

Every formula in this lesson comes from the same three ingredients, used in the same order.

  1. Geometry of deformation. Guess, from symmetry and experiment, how the part deforms. A bar under axial load stretches uniformly. A circular shaft twists so that each cross-section turns as a rigid disc. A beam bends so that cross-sections stay flat and simply tilt. Each guess gives the strain at every point in terms of one number: the stretch, the angle of twist, or the curvature.
  2. The material law. Hooke's law turns strain into stress: σ=Eε\sigma = E\varepsilon or τ=Gγ\tau = G\gamma.
  3. Equilibrium. Add up the stresses over a cross-section. Their total must equal the internal force or moment that statics says the cut carries: the axial force NN, the torque TT, or the bending moment MM.

The result each time is a formula of the form stress = load × position ÷ a property of the cross-section, and deformation = load × length ÷ (material stiffness × the same property). The property is the area AA for axial load, the polar second moment JJ for torsion, and the second moment of area II for bending.

DefinitionsH

Axial load

A bar of length LL, cross-sectional area AA and Young's modulus EE carries an axial force NN (tension positive). Its strain is ε=σ/E=N/(EA)\varepsilon = \sigma/E = N/(EA) everywhere, so it stretches by

δ=NLEA.\delta = \frac{NL}{EA}.

Definition— axial stiffness

A bar behaves as a spring of stiffness k=EA/Lk = EA/L: force divided by stretch. Bars joined end to end (in series) carry the same force and their stretches add; bars side by side between rigid plates (in parallel) stretch by the same amount and their forces add. If the force or the area varies along the bar, add up the stretch of each small piece: δ=∫0LN(x) / (EA(x)) dx\delta = \int_0^L N(x)\,/\,(E A(x))\,dx.

The spring picture is more than an analogy. It is exactly how the finite element method begins: chop a structure into springs, write each one's stiffness, and assemble.

Example— A concrete column with steel bars

A short concrete column, 300 mm square, is reinforced with four steel bars of 20 mm diameter and carries 1200 kN. Take Ec=30E_c = 30 GPa for the concrete and Es=200E_s = 200 GPa for the steel. How is the load shared?

Statics alone cannot say: there is one equation (Nc+Ns=1200N_c + N_s = 1200 kN) and two unknowns. This is the axial version of a statically indeterminate problem, and the missing equation is compatibility: the steel is bonded to the concrete, so both shorten by the same amount and have the same strain ε\varepsilon. Then Nc=EcAcεN_c = E_c A_c \varepsilon, Ns=EsAsεN_s = E_s A_s \varepsilon, and

ε=NEcAc+EsAs.\varepsilon = \frac{N}{E_c A_c + E_s A_s}.

The steel area is As=4×π×102=1257 mm2A_s = 4 \times \pi \times 10^2 = 1257\ \text{mm}^2 and the concrete area is the rest, Ac=88 743 mm2A_c = 88\,743\ \text{mm}^2. So EcAc+EsAs=2.66×109+0.25×109=2.91×109E_cA_c + E_sA_s = 2.66 \times 10^9 + 0.25 \times 10^9 = 2.91 \times 10^9 N and ε=4.12×10−4\varepsilon = 4.12 \times 10^{-4}. The stresses are σc=Ecε=12.4\sigma_c = E_c\varepsilon = 12.4 MPa and σs=Esε=82.4\sigma_s = E_s\varepsilon = 82.4 MPa. The steel, 1.4% of the area, carries 104 kN, 8.6% of the load, because it is more than six times as stiff. A 3 m column shortens by εL=1.24\varepsilon L = 1.24 mm.

DefinitionsH

Torsion of circular shafts

A shaft transmits power by turning while it carries a torque TT. If it turns at angular speed ω\omega (in rad/s), the power is

P=Tω,ω=2πn60 for n in revolutions per minute.P = T\omega, \qquad \omega = \frac{2\pi n}{60} \text{ for } n \text{ in revolutions per minute}.

So a given power at low speed needs a large torque, which is why the slow output shaft of a gearbox is much thicker than the fast input shaft.

Theorem— Torsion of a circular shaft

A solid or hollow circular shaft of length LL and shear modulus GG, carrying a torque TT, twists through an angle

φ=TLGJ,\varphi = \frac{TL}{GJ},

and the shear stress at radius rr is τ=Tr/J\tau = Tr/J, largest at the outer surface. Here JJ is the polar second moment of area: J=πD4/32J = \pi D^4/32 for a solid shaft of diameter DD, and J=π(D4−d4)/32J = \pi(D^4 - d^4)/32 for a tube with inner diameter dd.

Proof

Geometry. By symmetry, each cross-section of a circular shaft turns as a rigid disc and stays flat; radii stay straight. If the section at xx has turned by φ(x)\varphi(x), a thin tube of material at radius rr is sheared: a line drawn along it, originally parallel to the axis, tilts by the angle γ=r dφ/dx\gamma = r\,d\varphi/dx. Material. Hooke's law in shear gives τ=Gγ=Gr dφ/dx\tau = G\gamma = G r\,d\varphi/dx, growing linearly from zero on the axis. Equilibrium. The shear stresses on the cross-section must add up to the torque: T=∫Aτ r dA=G dφdx∫Ar2 dA=GJ dφdxT = \int_A \tau\, r\, dA = G\,\frac{d\varphi}{dx}\int_A r^2\,dA = GJ\,\frac{d\varphi}{dx}, where J=∫Ar2 dAJ = \int_A r^2\,dA. So dφ/dx=T/(GJ)d\varphi/dx = T/(GJ), constant along a uniform shaft, which integrates to φ=TL/(GJ)\varphi = TL/(GJ), and substituting back gives τ=Tr/J\tau = Tr/J. For a disc, J=∫0D/2r2 2πr dr=πD4/32J = \int_0^{D/2} r^2 \, 2\pi r\,dr = \pi D^4/32; a tube subtracts the hole.

∎

Example— A pump shaft

A 30 kW electric motor turning at 1470 rpm drives a pump through a solid steel shaft of diameter 30 mm and length 1.2 m (G=80G = 80 GPa). The angular speed is ω=2π×1470/60=153.9\omega = 2\pi \times 1470/60 = 153.9 rad/s, so the torque is T=30 000/153.9=195T = 30\,000/153.9 = 195 N m. The polar second moment is J=π×304/32=79 520 mm4J = \pi \times 30^4/32 = 79\,520\ \text{mm}^4, so the largest shear stress is

τ=TrJ=195×103×1579 520=36.8 MPa,\tau = \frac{Tr}{J} = \frac{195 \times 10^3 \times 15}{79\,520} = 36.8\ \text{MPa},

and the shaft twists by φ=TL/(GJ)=0.0368\varphi = TL/(GJ) = 0.0368 rad, or 2.1°, from end to end. For a solid shaft it is handy to write τ=16T/(πD3)\tau = 16T/(\pi D^3): the stress falls with the cube of the diameter.

The stress is zero on the axis and greatest at the surface, so the material near the centre of a solid shaft does little work. A tube puts its material where the stress is high. The block below sizes shafts for the pump, all working at the same 40 MPa, from solid (d/D=0d/D = 0) to thin-walled.

python
import numpy as np

# A 30 kW motor turning at 1470 rpm drives a pump through a steel shaft.
P, rpm = 30e3, 1470.0                       # W, rev/min
G, rho = 80e3, 7850e-9                      # MPa (N/mm^2), kg/mm^3
tau_allow = 40.0                            # MPa, a working shear stress with margin for fatigue

omega = 2 * np.pi * rpm / 60                # rad/s
T = P / omega * 1e3                         # N mm
print(f"torque T = P / omega = {T / 1e3:.0f} N m")

print("\n d/D    D (mm)   d (mm)   mass (kg/m)   twist (deg/m)")
for k in [0.0, 0.5, 0.7, 0.8, 0.9]:
    # tau = T (D/2) / J with J = pi D^4 (1 - k^4) / 32, solved for D
    D = (16 * T / (np.pi * tau_allow * (1 - k**4))) ** (1 / 3)
    J = np.pi * D**4 * (1 - k**4) / 32
    mass = rho * np.pi * D**2 * (1 - k**2) / 4 * 1000          # per metre
    twist = np.degrees(T * 1000 / (G * J))                    # over 1 m
    print(f" {k:3.1f}   {D:6.1f}   {k * D:6.1f}   {mass:9.2f}     {twist:8.3f}")
Runs entirely in your browser, in an isolated worker. Nothing is sent to a server.

A solid shaft needs a diameter of 29.2 mm and weighs 5.25 kg per metre. A tube with d/D=0.8d/D = 0.8 is 34.8 mm across and weighs 2.68 kg per metre: the same strength for 51% of the steel, and it is stiffer in twist too. That is why vehicle propeller shafts, bicycle frames and aircraft control rods are tubes. The limit is the wall: very thin tubes wrinkle and buckle locally under torsion, and they are harder to join to gears and couplings.

Worked examplesH

Shear force and bending moment diagrams

A beam is a slender part loaded across its length. Cut it at a distance xx from the left end and draw the left piece as a free body. To keep it in equilibrium, the right piece must exert on it a vertical force and a couple:

Definition— shear force and bending moment

The shear force V(x)V(x) is the vertical internal force at a cut, and the bending moment M(x)M(x) is the internal couple. With the convention used here, V(x)V(x) is the sum of all the vertical forces acting on the beam to the left of the cut (upwards positive), and M(x)M(x) is the sum of their moments about the cut, positive when it makes the beam sag (concave upwards, top squeezed, bottom stretched). Plots of VV and MM along the beam are its shear-force diagram and bending-moment diagram.

Two relations make the diagrams easy to sketch. If q(x)q(x) is the distributed load per unit length (upwards positive), then

dVdx=q(x),dMdx=V(x).\frac{dV}{dx} = q(x), \qquad \frac{dM}{dx} = V(x).

Both are simply the equilibrium of a slice of beam of length dxdx: vertical forces give dV=q dxdV = q\,dx, and moments about one face give dM=V dxdM = V\,dx. So a concentrated force makes VV jump by the force; a uniform load makes VV slope and MM curve as a parabola; and wherever VV passes through zero, MM has a maximum or minimum. That gives a designer a fast sketch: draw the shear diagram straight from the loads and find where it changes sign. That is where the largest bending moment, the number that sizes the beam, will be, and its value is the area under the shear diagram up to that point.

Here is the beam from Statics and equilibrium: 6 m long, pinned at A, on a roller at B 5 m along, with an 8 kN load tilted 30° from the vertical at 2 m and 2 kN/m over the last 3 m. Statics gave the reactions Ay=4.76A_y = 4.76 kN and By=8.17B_y = 8.17 kN. The program computes VV and MM at any cut by adding up the forces to its left, exactly as the definition says.

python
import numpy as np

# The beam from the statics lesson: pin at A (x = 0), roller at B (x = 5 m), overhang to 6 m.
# Vertical loads (kN, upwards positive): the tilted 8 kN load's vertical part at x = 2 m and
# 2 kN/m from x = 3 m to the end. (The load's 4 kN horizontal part only stretches the first 2 m.)
L, xB = 6.0, 5.0
point = [(2.0, -8.0 * np.cos(np.radians(30)))]           # (position m, force kN)
w, x1, x2 = -2.0, 3.0, 6.0                                # spread load (kN/m) and where it acts

# Reactions from statics: moments about A, then vertical equilibrium
W = w * (x2 - x1)
By = -(sum(x * P for x, P in point) + W * (x1 + x2) / 2) / xB
Ay = -(sum(P for _, P in point) + W) - By
point += [(0.0, Ay), (xB, By)]
print(f"reactions: Ay = {Ay:.2f} kN, By = {By:.2f} kN")

def V_and_M(x):
    """Shear force and bending moment at a cut at x, from everything to the left of the cut."""
    V = M = 0.0
    for xp, P in point:
        if xp <= x:
            V += P
            M += P * (x - xp)
    a = min(max(x - x1, 0.0), x2 - x1)                     # length of spread load left of the cut
    V += w * a
    M += w * a * (x - x1 - a / 2)                          # its resultant acts at its middle
    return V, M

eps = 1e-9
print("\n  x (m)    V (kN)   M (kN m)   bending moment diagram (each # = 0.5 kN m)")
for x in [0, 0.5, 1, 1.5, 2 - eps, 2 + eps, 2.5, 3, 3.5, 4, 4.5, 5 - eps, 5 + eps, 5.5, 6 - eps]:
    V, M = V_and_M(x)
    M = 0.0 if abs(M) < 1e-6 else M
    bar = "#" * int(round(abs(M) / 0.5))
    print(f"  {x:5.2f}   {V:6.2f}   {M:7.2f}    {'+' if M > 0.01 else '-' if M < -0.01 else ' '}{bar}")

xs = np.linspace(0.0, L - eps, 6001)
M = np.array([V_and_M(x)[1] for x in xs])
V = np.array([V_and_M(x)[0] for x in xs])
print(f"\nlargest positive moment {M.max():5.2f} kN m at x = {xs[M.argmax()]:.2f} m")
print(f"largest negative moment {M.min():5.2f} kN m at x = {xs[M.argmin()]:.2f} m")
print(f"largest shear force     {abs(V).max():5.2f} kN just left of B")
i = np.where((M[:-1] > 0) & (M[1:] <= 0))[0][0]
print(f"the moment changes sign at x = {xs[i]:.2f} m (the point of contraflexure)")
Runs entirely in your browser, in an isolated worker. Nothing is sent to a server.
AB8 kN at 30°2 kN/mVM+4.76−2.17−6.17+2.009.51 kN m−1.00x = 4.83 mkNkN m
The beam from the statics lesson with its shear-force and bending-moment diagrams, drawn to scale from the program's output. The shear force jumps at each concentrated force and slopes under the spread load. The bending moment peaks at 9.51 kN m under the point load, where the shear changes sign, is −1.00 kN m over the roller, and changes sign at x = 4.83 m.

The table and the figure tell the story. The shear force is +4.76+4.76 kN from the pin to the load, jumps down by the load's vertical part, 6.93 kN, to −2.17-2.17 kN, slopes down under the spread load to −6.17-6.17 kN just left of B, jumps up by the 8.17 kN reaction to +2.00+2.00 kN, and slopes back to zero at the free end. The bending moment, its integral, climbs to a peak of 9.51 kN m under the load, exactly where the shear changes sign. Over the roller it is −1.00-1.00 kN m: the overhang bends the beam the other way, hogging, with its top in tension. In between, at x=4.83x = 4.83 m, the moment passes through zero at a point of contraflexure, where the beam's curvature changes sign. In a reinforced concrete beam those signs decide where the steel bars go: along the bottom where the moment is positive, along the top over the support.

DefinitionsH

Bending stress and the second moment of area

Now look inside the beam. Experiments, and symmetry for a straight beam under a constant moment, show that plane cross-sections remain plane: they tilt but do not warp. When the beam bends into an arc of radius ρ\rho, fibres on the inside of the curve shorten and fibres on the outside lengthen. Somewhere between there is a surface that keeps its length, the neutral surface; where it meets a cross-section is the neutral axis.

Theorem— The flexure formula

For a beam of linear-elastic material bending about a principal axis of its cross-section, the neutral axis passes through the centroid of the section, the curvature is

1ρ=MEI,\frac{1}{\rho} = \frac{M}{EI},

and the normal stress at height yy above the neutral axis is

σ=−MyI,I=∫Ay2 dA,\sigma = -\frac{My}{I}, \qquad I = \int_A y^2\,dA,

where II is the second moment of area of the cross-section about the neutral axis. The largest stress is at the fibre farthest from the neutral axis, at distance cc: σmax=Mc/I=M/S\sigma_\text{max} = M c / I = M / S, where S=I/cS = I/c is the elastic section modulus.

Proof

Geometry. A fibre at height yy above the neutral surface lies on an arc of radius ρ−y\rho - y when the beam sags with radius ρ\rho, so its strain is ε=((ρ−y)θ−ρθ)/(ρθ)=−y/ρ\varepsilon = ((\rho - y)\theta - \rho\theta)/(\rho\theta) = -y/\rho. Material. σ=Eε=−Ey/ρ\sigma = E\varepsilon = -Ey/\rho: the stress varies linearly across the depth. Equilibrium. There is no axial force, so ∫Aσ dA=−(E/ρ)∫Ay dA=0\int_A \sigma\,dA = -(E/\rho)\int_A y\,dA = 0, which says that yy is measured from the centroid: the neutral axis passes through it. The stresses must add up to the bending moment: M=−∫Aσy dA=(E/ρ)∫Ay2 dA=EI/ρM = -\int_A \sigma y\,dA = (E/\rho)\int_A y^2\,dA = EI/\rho. So 1/ρ=M/(EI)1/\rho = M/(EI), and substituting E/ρ=M/IE/\rho = M/I into σ=−Ey/ρ\sigma = -Ey/\rho gives σ=−My/I\sigma = -My/I.

∎

For a sagging (positive) moment the top fibres (y>0y \gt 0) are in compression and the bottom fibres in tension, as the sponge beam in Structures showed.

cross-sectionneutral axiscompressiontensionσ = −My/Iy = 0
Bending stress across an I-section under a sagging moment. Strain, and so stress, varies linearly with distance from the neutral axis, which passes through the centroid. The flanges sit where the stress is largest, so they carry most of the bending moment; the thin web joins them and carries the shear.

Computing I: the parallel-axis theorem

For a rectangle of width bb and depth hh, bending about the axis through its middle, I=bh3/12I = bh^3/12 and S=bh2/6S = bh^2/6. The cube is why depth matters so much more than width. Real sections are built from rectangles, and the parallel-axis theorem moves each piece's own second moment to the section's centroid:

I=∑i(Ii+Aidi2),I = \sum_i \left( I_i + A_i d_i^2 \right),

where IiI_i is piece ii's second moment about its own centroid, AiA_i its area and did_i the distance from its centroid to the section's. The Aidi2A_i d_i^2 terms reward area placed far from the neutral axis, and they dominate in an I-section.

Example— Choosing a section for the beam

The beam above must carry M=9.51M = 9.51 kN m. Try an I-section 160 mm deep with flanges 80 mm wide and 7 mm thick and a web 5 mm thick. Its area is 2(80×7)+146×5=1850 mm22(80 \times 7) + 146 \times 5 = 1850\ \text{mm}^2. Treating it as a solid 80×16080 \times 160 rectangle minus two 37.5×14637.5 \times 146 gaps, I=(80×1603−75×1463)/12=7.86×106 mm4I = (80 \times 160^3 - 75 \times 146^3)/12 = 7.86 \times 10^6\ \text{mm}^4, so S=I/80=98 200 mm3S = I/80 = 98\,200\ \text{mm}^3 and

σmax=MS=9.51×106 N mm98 200 mm3=97 MPa,\sigma_\text{max} = \frac{M}{S} = \frac{9.51 \times 10^6\ \text{N mm}}{98\,200\ \text{mm}^3} = 97\ \text{MPa},

comfortably below the yield strength of a common structural steel (235–355 MPa). The program compares it with other shapes made from the same 1850 mm² of steel.

python
import numpy as np

def section(rects):
    """Area, centroid height and second moment of area about the centroid of a section
    made of rectangles (width b, height h, y of the rectangle's own centroid), in mm."""
    A = sum(b * h for b, h, y in rects)
    yc = sum(b * h * y for b, h, y in rects) / A
    I = sum(b * h**3 / 12 + b * h * (y - yc) ** 2 for b, h, y in rects)   # parallel-axis theorem
    return A, yc, I

def I_beam(h, b, tf, tw):
    """A symmetric I-section: two flanges b x tf and a web tw thick, overall depth h (mm)."""
    return [(b, tf, tf / 2), (tw, h - 2 * tf, h / 2), (b, tf, h - tf / 2)]

# The largest moment in our beam, 9.51 kN m, and a steel with 7850 kg/m^3
M = 9.51e6                                                 # N mm
shapes = {                                                 # width x depth
    "I-section 160 x 80 (tf 7, tw 5)": I_beam(160, 80, 7, 5),
    "solid square 43 x 43":            [(43, 43, 21.5)],
    "flat bar 92.5 x 20, flat":        [(92.5, 20, 10)],
    "flat bar 20 x 92.5, on edge":     [(20, 92.5, 46.25)],
    "square tube 100 x 100 x 4.8":     [(100, 4.8, 2.4), (4.8, 90.4, 50), (4.8, 90.4, 50), (100, 4.8, 97.6)],
}
print(f"{'section':34} {'A (mm2)':>8} {'I (cm4)':>8} {'S (cm3)':>8} {'stress (MPa)':>13} {'kg/m':>6}")
for name, rects in shapes.items():
    A, yc, I = section(rects)
    c = max(yc, max(y + h / 2 for b, h, y in rects) - yc)   # distance to the farthest fibre
    S = I / c
    print(f"{name:34} {A:8.0f} {I / 1e4:8.1f} {S / 1e3:8.1f} {M / S:13.0f} {A * 7850e-6:6.1f}")

# Check the I-section by brute force: slice it into thin horizontal strips and add up y^2 dA
h, b, tf, tw = 160, 80, 7, 5
y = np.linspace(-h / 2, h / 2, 160001)
width = np.where(np.abs(y) > h / 2 - tf, b, tw)
dy = y[1] - y[0]
print(f"\nI by strips = {np.sum(y**2 * width) * dy / 1e4:.1f} cm4")
Runs entirely in your browser, in an isolated worker. Nothing is sent to a server.

Every section weighs 14.5 kg per metre, yet the stresses range from 97 MPa to over 1500 MPa. The I-section's second moment, 786 cm⁴, is 28 times that of the solid square and six times that of the same steel as a plank on its edge. The square tube is a respectable second at 172 MPa, and it has an advantage the table does not show: it is stiff in every direction and strong in torsion, while the I-section is weak about its vertical axis and twists easily. The brute-force sum of y2 dAy^2\,dA over thin strips agrees with the parallel-axis theorem to four figures.

What about the 4 kN horizontal push from the tilted load? It puts the first 2 m of the beam in axial tension, and stresses from different loadings simply add: σ=N/A−My/I\sigma = N/A - My/I. Here N/A=4000/1850=2.2N/A = 4000/1850 = 2.2 MPa against a bending stress of 97 MPa, so it is worth a sentence in the calculation and no more. In a column carrying a heavy load slightly off centre, the two terms are comparable and both matter.

ExplanationH

Shear stress in beams

Bending is not the whole story. A beam also carries the shear force VV, and that produces shear stress on its cross-sections and, less obviously, on horizontal planes along its length.

Analogy, not a formal construction

Lay three planks on top of one another across a gap and stand in the middle: they bend separately, and their ends slide past one another. Glue them together and the stack becomes far stiffer, because the glue stops the sliding. The glue is carrying horizontal shear. Every solid beam carries the same shear on internal planes, which is why glued-laminated timber depends on its glue lines, and why the welds or bolts joining a steel girder's flanges to its web must be designed for it.

The size of that shear follows from equilibrium. Take a slice of beam of length dxdx and look only at the part of it above some height yy. The bending stresses on its two ends differ, because the moment changes by dM=V dxdM = V\,dx along the slice; the difference must be balanced by a shear stress τ\tau on its bottom face, of width bb. Working it through gives Zhuravskii's formula:

τ(y)=V Q(y)I b(y),Q(y)=∫A′y′ dA′,\tau(y) = \frac{V\,Q(y)}{I\,b(y)}, \qquad Q(y) = \int_{A'} y'\,dA',

where Q(y)Q(y) is the first moment, about the neutral axis, of the area A′A' above height yy. By the symmetry of shear stress, the same τ\tau acts vertically on the cross-section at that height.

For a rectangle the distribution is a parabola: zero at the top and bottom faces, which are free surfaces, and greatest at the neutral axis, where it is τmax=1.5 V/A\tau_\text{max} = 1.5\,V/A, half as much again as the average. In an I-section, QQ hardly changes across the web while bb is small there, so the web carries almost all the shear at a nearly uniform stress. The program computes both for the largest shear force in our beam, 6.17 kN.

python
import numpy as np

def shear_flow_profile(y, width, V):
    """Shear stress tau = V Q / (I b) across a symmetric section sampled at heights y (mm)."""
    dy = y[1] - y[0]
    I = np.sum(y**2 * width) * dy
    # Q(y): first moment, about the neutral axis, of the area above height y
    Q = np.cumsum((y * width)[::-1])[::-1] * dy
    return V * Q / (I * width), I

V = 6.17e3                                                 # N, the largest shear in our beam
h, b, tf, tw = 160.0, 80.0, 7.0, 5.0
y = np.linspace(-h / 2, h / 2, 16001)
w_I = np.where(np.abs(y) > h / 2 - tf, b, tw)
tau_I, I = shear_flow_profile(y, w_I, V)

A = 2 * b * tf + (h - 2 * tf) * tw                         # 1850 mm2
w_R = np.full_like(y, A / h)                               # a rectangle of the same depth and area
tau_R, I_R = shear_flow_profile(y, w_R, V)

print("  y (mm)   I-section: tau (MPa)                         rectangle: tau (MPa)")
for yy in [80, 74, 73.01, 72.99, 60, 40, 20, 0]:
    k = np.argmin(abs(y - yy))
    print(f"  {yy:6.2f}   {tau_I[k]:5.2f} {'#' * int(tau_I[k] * 4):36} {tau_R[k]:5.2f}")

web = np.abs(y) < h / 2 - tf
dy = y[1] - y[0]
print(f"\nI-section: tau max = {tau_I.max():.2f} MPa; V / (web area) = {V / ((h - 2*tf) * tw):.2f} MPa")
print(f"share of the shear force carried by the web: {np.sum((tau_I * w_I)[web]) * dy / V:.1%}")
print(f"rectangle: tau max = {tau_R.max():.2f} MPa = {tau_R.max() / (V / A):.3f} x V/A")
Runs entirely in your browser, in an isolated worker. Nothing is sent to a server.

At the junction of flange and web (y=73y = 73 mm) the computed stress jumps from 0.42 to 6.73 MPa, because the width bb drops from 80 mm to 5 mm. Across the web it rises gently to 8.82 MPa at the neutral axis, close to the simple estimate V/(web area)=8.45V/(\text{web area}) = 8.45 MPa, and the web carries 96% of the shear force. The rectangle of the same area peaks at exactly 1.5 V/A=5.001.5\,V/A = 5.00 MPa. Either way, the shear stress here is a tenth of the bending stress, which is typical of long beams. Shear governs in short, heavily loaded beams, near supports, in beams with very thin webs, and in timber, which is weak in shear along the grain.

ExplanationH

In professional practice

Section tables. Nobody computes II for a standard rolled section by hand. Steel producers and national steel associations publish tables of dimensions and section properties for their standard shapes: IPE and HE sections in Europe, W shapes in the United States (in the AISC Steel Construction Manual), ISMB sections in India, H-sections in Japan and China. The designer picks the lightest section whose section modulus and shear area are large enough. The worked example above did that by hand with invented, round-number dimensions.

Design codes. The formulas of this lesson are the core of every structural design code, wrapped in rules that the formulas leave out: partial safety factors on loads and strengths, local buckling of thin flanges and webs, lateral-torsional buckling of beams whose compression flange is not held sideways, combined bending and axial load, and connections. For steel these include the Eurocodes' EN 1993 in Europe, the AISC specification in the United States, GB 50017 in China and IS 800 in India; timber and concrete have their own. Standards are linked, not reproduced, because the current edition is always the authority.

Shafts. A real shaft carries bending (from gear forces and belt pulls) and torsion together, has keyways, shoulders and grooves that concentrate stress, and turns, so every point on its surface sees its bending stress reverse once per revolution. Shaft design is therefore a fatigue problem, which Failure and fatigue takes up, and the subject of Machine elements.

Measuring. Strain gauges bonded at ±45° to a shaft's axis measure the principal strains of pure shear, which is how many torque sensors on test benches and in electric vehicles' drivetrains work. Gauges on the top and bottom flanges of a bridge girder measure its bending moment directly.

Why the materials behave so. Young's modulus and the shear modulus, which set every deflection and twist here, come from the stiffness of atomic bonds; yield strength comes from how dislocations move. Lumenary Materials explains both in elasticity, plasticity and strengthening.

History & global context

From Galileo's cantilever to Zhuravskii's bridges

Galileo Galilei asked, in his Two New Sciences of 1638, how strong a cantilever beam is. He assumed the whole cross-section was in tension, pivoting about its bottom edge, and so overestimated the strength of a rectangular beam by a factor of three, though he correctly found that strength grows with the square of the depth. Edme Mariotte in France, in the 1680s, and Antoine Parent, in 1713, realised that the upper fibres are compressed while the lower ones are stretched. Charles-Augustin Coulomb gave a correct analysis of bending in 1773 and, in 1784, studied the torsion of thin wires for his torsion balance. Claude-Louis Navier's lectures of 1826 gave the flexure formula in its modern form, with the neutral axis through the centroid. In 1855 the Russian railway engineer Dmitrii Zhuravskii, designing timber truss bridges for the Saint Petersburg–Moscow railway, derived the shear stress formula to explain why the beams split along their length; in the same year Adhémar Barré de Saint-Venant published his theory of the torsion of bars of any cross-section, showing why non-circular sections warp.

Common misconceptionsH

Common misconceptions

Misconception

"The torsion formula works for any shaft." τ=Tr/J\tau = Tr/J holds only for circular sections, solid or hollow. Square and rectangular bars warp when twisted, and the largest stress is at the middle of the long side, not at the corners. Open thin-walled sections are dramatically weaker: slit a tube along its length and its torsional stiffness can fall by a factor of hundreds.

Misconception

"The largest shear stress in a beam is at its top or bottom face." Those faces are free surfaces, so the shear stress there is zero. In a rectangular beam it is largest at the neutral axis, where the bending stress is zero: the two stresses peak in different places.

Misconception

"The neutral axis is always at mid-height." It passes through the centroid, which is at mid-height only for sections symmetric about a horizontal axis. In a T-section it lies close to the flange, so the stem's far edge carries the larger stress.

Misconception

"More material always makes a beam stronger." Where the material is matters more than how much there is. The same 1850 mm² of steel gave stresses from 97 MPa to over 1500 MPa above, depending only on its shape and orientation.

Misconception

"σ = My/I tells you the moment at which the beam breaks." It is valid only while the material is elastic. Once the outer fibres yield, a ductile beam can carry more moment, up to the plastic moment, which for a rectangle is 1.5 times the moment at first yield; brittle beams may fail at a different moment again. Codes use these differences deliberately.

Exercises

Exercises

1. Axial load, torsion and bending

Warm-upHuman

A tie is made of a steel bar 1.0 m long with a cross-section of 400 mm² (E=200E = 200 GPa), joined end to end to an aluminium bar 0.5 m long with a cross-section of 600 mm² (E=70E = 70 GPa). It carries a tensile force of 42 kN. By how much does the whole tie stretch, in micrometres (µm)?

2. Axial load, torsion and bending

CoreHuman

A 22 kW motor turning at 1470 rpm drives a fan through a solid steel shaft of diameter 30 mm. What is the largest shear stress in the shaft due to the torque, to the nearest MPa?

3. Axial load, torsion and bending

CoreHuman

A timber beam, 100 mm wide and 200 mm deep, spans 4.0 m between simple supports and carries a uniform load of 5 kN/m (including its own weight). What is the largest bending stress, in MPa?

4. Axial load, torsion and bending

Warm-upHuman

A solid rectangular beam carries a shear force VV and a bending moment MM at some cross-section. Where on that cross-section is the shear stress largest?

Choose one

5. Axial load, torsion and bending

CoreHuman

Which of these statements about torsion are true? Select all that apply.

Choose all that apply

6. Axial load, torsion and bending

CoreComputational

A beam of span L (m) rests on a pin at x=0x = 0 and a roller at x=Lx = L. It carries point loads given as a list of (a, P) pairs: a force of P kN downwards at distance a from the left support.

Write beam_diagrams(L, loads, x) that returns (RA, RB, V, M): the two upward support reactions in kN, and NumPy arrays of the shear force V (kN) and bending moment M (kN m) at the positions in the array x. Use the lesson's convention: V is the sum of the upward forces to the left of the cut (a load exactly at the cut counts as being to its left), and M is their moment about the cut, positive when the beam sags.

Runs entirely in your browser, in an isolated worker. Nothing is sent to a server.

7. Axial load, torsion and bending

StretchComputational

Write section_properties(rects) for a cross-section built from rectangles. Each rectangle is a tuple (b, h, y0): its width b, its height h and the height y0 of its bottom edge above a reference line, all in mm. Return (A, yc, I): the total area (mm²), the height of the centroid above the reference line (mm), and the second moment of area about the horizontal axis through the centroid (mm⁴), using the parallel-axis theorem.

The tests include a T-section, whose centroid is not at mid-height.

Runs entirely in your browser, in an isolated worker. Nothing is sent to a server.

Further reading and resources

  • MIT OpenCourseWare 2.001, Mechanics and Materials I · Massachusetts Institute of TechnologyLecture notes and problem sets covering axial loading, torsion and bending.
  • American Institute of Steel Construction (AISC)Publishes the US specification for structural steel buildings and the Steel Construction Manual, with section properties of American shapes.
  • Eurocodes: building the future (European Commission Joint Research Centre)Background and documents for the European structural design standards, including EN 1993 for steel and EN 1995 for timber.
  • A History of Strength of Materials · Stephen P. Timoshenko · 1953How Galileo, Mariotte, Coulomb, Navier, Saint-Venant and Zhuravskii worked out the theory of bending and torsion; reprinted by Dover.
  • Roark's Formulas for Stress and Strain · Warren C. Young, Richard G. Budynas and Ali M. SadeghThe standard handbook of closed-form results for bars, shafts, beams, plates and shells (McGraw-Hill, many editions).