A beam replaces the coordinate vector with a displacement field \(w(x,t)\). The four end conditions decide which shapes are admissible and therefore which frequencies exist. Once the modes are known, projection turns a distributed load into one generalized force per mode, and a few modes often suffice. This page shows both steps and checks each against an independent result.
For free vibration of a uniform Euler–Bernoulli beam, \(w(x,t)=\phi(x)\,q(t)\) separates the beam equation into \(\ddot q+\omega^2q=0\) and the spatial eigenproblem $$ EI\,\phi''''-\rho A\,\omega^2\phi=0,\qquad \beta^4=\frac{\rho A\,\omega^2}{EI}, $$ whose general solution is $$ \phi(x)=a_1\sin\beta x+a_2\cos\beta x+a_3\sinh\beta x+a_4\cosh\beta x. $$ Each end supplies two conditions: clamped \(w=w'=0\), pinned \(w=w''=0\), free \(w''=w'''=0\). The four conditions are linear in \(\vb{a}=[a_1\ a_2\ a_3\ a_4]\T\), so they read \(\vb{B}(\beta L)\,\vb{a}=\vb{0}\). A nontrivial shape needs $$ \det\vb{B}(\beta L)=0, $$ the frequency equation. Its roots \(\beta_nL\) give $$ \omega_n=(\beta_nL)^2\sqrt{\frac{EI}{\rho A L^4}}. $$ The page builds \(\vb{B}\) from the end conditions you pick, finds the roots \(\beta_nL\) numerically, and takes each mode shape from the null vector of \(\vb{B}(\beta_nL)\). For pinned–pinned ends the determinant reduces to \(\sin\beta L=0\), so \(\beta_nL=n\pi\) and \(\phi_n=\sin(n\pi x/L)\), as on slide 8.
Slide 10's orthogonality conditions are integrals over the span: \(\int_0^L\rho A\,\phi_m\phi_n\,dx=0\) and \(\int_0^L EI\,\phi_m''\phi_n''\,dx=0\) for \(m\neq n\). Geometrically, the product curve encloses as much area above the axis as below it. The integration by parts behind this works only because both modes satisfy the same end conditions, so the boundary terms vanish. Change the end conditions and the cancellation survives for every pair. For \(m=n\) the stiffness integral over the mass integral is the Rayleigh quotient, \(\int\phi_n''^2d\xi\big/\int\phi_n^2d\xi=(\beta_nL)^4\) with \(\xi=x/L\).
Take the simply supported beam of slide 8 and expand \(w(x,t)=\sum_n\phi_n(x)\,q_n(t)\) with \(\phi_n=\sin(n\pi x/L)\). Premultiplying by \(\phi_n\) and integrating over the span (slide 11) gives $$ m_n=\int_0^L\rho A\,\phi_n^2\,dx=\frac{\rho AL}{2},\qquad k_n=\int_0^L EI\,\phi_n''^2\,dx=\frac{EI L}{2}\Big(\frac{n\pi}{L}\Big)^4, $$ and the generalized force is $$ Q_n=\int_0^L\phi_n\,p\,dx. $$ A point load \(F\) at \(x=a\) gives \(Q_n=F\sin(n\pi a/L)\). A uniform load \(p_0\) gives \(Q_n=p_0L\,(1-\cos n\pi)/(n\pi)\), which vanishes for every even mode. With modal damping \(c_n=2\zeta m_n\omega_n\), the truncated response is slide 12's sum $$ w_N(x,\Omega)=\sum_{n=1}^{N}\frac{\phi_n(x)\,Q_n}{k_n-m_n\Omega^2+i\,c_n\Omega}, $$ and for the bending moment $$ M_N(x,\Omega)=-EI\,w_N''=\sum_{n=1}^{N}EI\Big(\frac{n\pi}{L}\Big)^2\frac{\phi_n(x)\,Q_n}{k_n-m_n\Omega^2+i\,c_n\Omega}. $$ Independent check. At \(\Omega=0\) the exact static solution is known: \(w=Fbx(L^2-b^2-x^2)/(6EIL)\) for \(x\le a\) with \(b=L-a\), and \(w=p_0x(L^3-2Lx^2+x^3)/(24EI)\) for the uniform load. The moments are \(M=Fbx/L\) and \(M=p_0x(L-x)/2\). The dark reference curve below is this exact static solution plus the dynamic part of 200 modes, \(\sum\phi_nQ_n[H_n(\Omega)-H_n(0)]\), which converges far faster than the plain modal sum.
Let \(\phi\) be a clamped–clamped mode and set \(\psi=\phi''\). Then \(\psi''=\phi''''=\beta^4\phi\) and \(\psi'''=\beta^4\phi'\). Both vanish at clamped ends, so \(\psi\) satisfies the free–free conditions with the same \(\beta\). The argument also runs backwards. Both frequency equations reduce to \(\cos\beta L\cosh\beta L=1\). The same argument maps clamped–pinned onto free–pinned, so both satisfy \(\tan\beta L=\tanh\beta L\). On this page the curvature of the clamped–clamped mode and the free–free mode agree to about \(10^{-15}\).
The rigid modes are a translation \(\phi=1\) and a rotation \(\phi=x\). Mass orthogonality gives \(\int_0^L\rho A\,\phi_n\,dx=0\) and \(\int_0^L\rho A\,x\,\phi_n\,dx=0\). An elastic mode carries no net momentum and no net angular momentum, so a free beam vibrating in its elastic modes does not drift. A pinned–free beam has only the rotation about the pin. For the six elastic modes computed here both integrals are below \(10^{-9}\), which is the quadrature error.
The mode-2 term is \(\sin(2\pi a/L)\sin(2\pi x/L)\,F/k_2\). For \(a=0.3L\) and \(x=0.7L\) the two sines are \(0.951\) and \(-0.951\), so the term is negative. Truncating at \(N=1\) drops a negative correction. Modal sums are not monotone in \(N\) unless every term has the same sign, as it does when the load and the output are at the same point.
\(M=-EIw''\) multiplies each modal term by \((n\pi/L)^2\), and statically \(Q_n/k_n\propto n^{-4}\). The deflection terms therefore fall like \(n^{-4}\) and the moment terms only like \(n^{-2}\). Under a point load the exact moment diagram has a kink, and a sum of smooth sines converges slowly at a kink. Stress follows the moment, so a model that is accurate for deflection can still be poor for stress. This is slide 14's point that convergence is judged for the selected output.
No. \(\cosh\beta L>0\), so the zeros are unchanged. Without the division, entries of \(\vb{B}\) grow like \(e^{\beta L}\) and the curve becomes unreadable after the first root. The division is a scaling choice, not physics.