Skip to main content

Ritz solution of beam under uniform load

Short answer

With trial w = a sin(πx/L), stationarity of Π gives a = 4qL⁴/(π⁵EI) = 20.9 mm mid-span deflection. Bending moment is 20.6 kN·m. Deflection matches exact (20.83 mm) within 0.4%; moment error is 3.2% because differentiation reduces accuracy.

A simply supported beam of span L=4L = 4 m and flexural rigidity EI=1.6×106 N m2EI = 1.6\times10^6\ \text{N m}^2 carries a uniformly distributed load q=10q = 10 kN/m. Using the Rayleigh-Ritz method with the trial function w(x)=asin⁡πxLw(x) = a\sin\dfrac{\pi x}{L}, find the coefficient aa, the mid-span deflection and the mid-span bending moment. Compare with the exact values.

Choice of trial function

w=asin⁡(πx/L)w = a\sin(\pi x/L) gives w(0)=w(L)=0w(0) = w(L) = 0, which satisfies the essential boundary conditions of a simply supported beam.

Potential energy

Π=EI2∫0L(d2wdx2)2dx−q∫0Lw dx\Pi = \frac{EI}{2}\int_0^L \left(\frac{d^2w}{dx^2}\right)^2dx - q\int_0^L w\,dx

With w′′=−a(πL)2sin⁡πxLw'' = -a\left(\dfrac{\pi}{L}\right)^2\sin\dfrac{\pi x}{L}, ∫0Lsin⁡2πxL dx=L2\displaystyle\int_0^L\sin^2\dfrac{\pi x}{L}\,dx = \dfrac{L}{2} and ∫0Lsin⁡πxL dx=2Lπ\displaystyle\int_0^L\sin\dfrac{\pi x}{L}\,dx = \dfrac{2L}{\pi}:

Π=EI2 a2(πL)4L2−qa 2Lπ\Pi = \frac{EI}{2}\,a^2\left(\frac{\pi}{L}\right)^4\frac{L}{2} - qa\,\frac{2L}{\pi}

Stationary condition

dΠda=EI a(πL)4L2−2qLπ=0⇒a=4qL4π5EI\frac{d\Pi}{da} = EI\,a\left(\frac{\pi}{L}\right)^4\frac{L}{2} - \frac{2qL}{\pi} = 0 \Rightarrow a = \frac{4qL^4}{\pi^5EI}

Substituting values:

a=4(10 000)(4)4π5(1.6×106)=1.024×107306.02×1.6×106=0.02091 ma = \frac{4(10\,000)(4)^4}{\pi^5(1.6\times10^6)} = \frac{1.024\times10^7}{306.02\times1.6\times10^6} = 0.02091\ \text{m}

Mid-span values

  • Deflection: w(L/2)=a=20.91w(L/2) = a = 20.91 mm.
  • Bending moment: at x=L/2x = L/2, the magnitude of M=EI w′′M = EI\,w'' is M=EI a(πL)2=1.6×106(0.02091)(0.6169)=20 641M = EI\,a\left(\dfrac{\pi}{L}\right)^2 = 1.6\times10^6(0.02091)(0.6169) = 20\,641 N m.

Comparison

QuantityRitzExactError
Mid-span deflection 5qL4384EI\dfrac{5qL^4}{384EI}20.91 mm20.83 mm0.4 %
Mid-span moment qL28\dfrac{qL^2}{8}20.64 kN m20.00 kN m3.2 %

The deflection (the primary variable) is accurate; the moment (a second derivative) is less accurate because differentiation reduces accuracy.

Answer: a=20.9a = 20.9 mm; wmax=20.9w_{max} = 20.9 mm; Mmax=20.6M_{max} = 20.6 kN m.

✓ Answer checked by Claude Opus 5.5 (high effort)

All Finite Element Method chapter 4 questions →