Skip to main content

Strong and weak form for an axial bar

Short answer

Strong form: d/dx(AE du/dx)+f=0 with u(0)=0 and AE du/dx=P at L. Multiplying by w, integrating, and integrating by parts gives ∫w'Ae u' dx = ∫wf dx + w(L)P. It needs only C0 functions and includes natural BCs.

For an axially loaded bar of length LL with variable A(x)A(x), modulus EE and body force f(x)f(x) per unit length, fixed at x=0x = 0 and loaded by an axial force PP at x=Lx = L: (a) state the strong form, (b) derive the weak form, (c) state why the weak form is preferred in FEM.

(a) Strong form

Find u(x)u(x) such that

ddx(AEdudx)+f=0,0<x<L\frac{d}{dx}\left(AE\frac{du}{dx}\right) + f = 0,\quad 0 < x < L

with u(0)=0u(0) = 0 (essential BC) and AEdudx∣x=L=PAE\dfrac{du}{dx}\Big|_{x=L} = P (natural BC).

It requires uu to be twice differentiable, and the equation must hold at every point.

(b) Weak form (Galerkin)

Multiply the equation by an arbitrary weight (test) function w(x)w(x) with w(0)=0w(0) = 0, and integrate over the length:

∫0Lw[ddx(AEdudx)+f]dx=0\int_0^L w\left[\frac{d}{dx}\left(AE\frac{du}{dx}\right) + f\right]dx = 0

Integrate the first term by parts:

∫0Lw ddx(AEdudx)dx=[w AEdudx]0L−∫0LdwdxAEdudx dx\int_0^L w\,\frac{d}{dx}\left(AE\frac{du}{dx}\right)dx = \left[w\,AE\frac{du}{dx}\right]_0^L - \int_0^L \frac{dw}{dx}AE\frac{du}{dx}\,dx

At x=0x = 0, w=0w = 0. At x=Lx = L, AE u′=PAE\,u' = P. So the boundary term is w(L)Pw(L)P. The weak form is:

∫0Ldwdx AE dudx dx=∫0Lwf dx+w(L) P\int_0^L \frac{dw}{dx}\,AE\,\frac{du}{dx}\,dx = \int_0^L w f\,dx + w(L)\,P

for all admissible ww.

Note that the natural BC enters through the boundary term, while the essential BC is imposed on uu and ww.

(c) Why the weak form is preferred

  • Only first derivatives appear, so the trial and test functions need only be C0C^0 continuous; simple linear shape functions can be used.
  • Natural boundary conditions are included automatically.
  • It leads to a symmetric stiffness matrix, Kij=∫AE ϕi′ϕj′ dxK_{ij} = \int AE\,\phi_i'\phi_j'\,dx.
  • It is the physical statement of the principle of virtual work, and it still works when AA, EE or the load are discontinuous.

✓ Answer checked by Claude Opus 5.5 (high effort)

All Finite Element Method chapter 4 questions →