The Finite Element Method: First Principles / Shape functions
Nodal interpolation and completeness
Derive linear and quadratic nodal bases and test what they can represent.
Lesson review: expert verification remains open
This lesson has received a full-context editorial review and a check of its technical explanations. Selected arithmetic has been checked separately. This is not independent engineering sign-off.
Checks needed for project use
- Independent FEM/continuum reviewer to check derivations, pedagogical completeness, constraint conventions and the limits of the recorded benchmarks. Actual 125%, 150% and 200% browser zoom remains unqualified.
These are educational models and exercises. Check their assumptions before using the results. The full technical content and every diagram have not yet been independently verified.
Concrete and steel calculations retain their stated first-generation Eurocode teaching basis. Use the standards and amendments specified for your project; do not mix generations without an appropriate design basis.
Read the lesson register and outstanding review notesBy the end of this lesson you should be able to
- Derive Lagrange interpolation from nodal conditions
- Check partition of unity, completeness and continuity
- Connect interpolation order to strain, stiffness and consistent loading
What you should already know
- Mathematical foundations and Strong and weak forms
- Polynomial differentiation and integration
Nodal coefficients and basis functions
A nodal shape function Ni equals one at its own node and zero at the other interpolation nodes. This Kronecker property makes the coefficient di the displacement at node i. For distinct natural coordinates ξi, the Lagrange product below constructs that property directly. The degree is one less than the number of nodes. Distinctness is essential: coincident interpolation nodes make the denominators vanish.
Use a straight element with ξ in [−1,1] and physical coordinate x=L(ξ+1)/2. Its Jacobian is L/2, so differentiation with respect to x multiplies a ξ derivative by 2/L. The geometry map is affine here. Higher-order or distorted geometry requires its actual Jacobian.
What it calculates: Lagrange interpolation and the derivative transformation for a straight affine element.
Linear and quadratic bases
For nodes at −1 and 1, linear interpolation gives N1=(1−ξ)/2 and N2=(1+ξ)/2. Their sum is one and their derivatives sum to zero. A constant nodal translation therefore produces no strain. Substituting the nodal values of ax+b reconstructs that field exactly.
For nodes at −1, 0 and 1, apply the product to obtain the three quadratic functions. Node order is left, middle, right throughout this module. The middle function is a bubble, zero at both ends. It can change the interior field while preserving both end values. The endpoint functions can be negative inside the element, which is normal for this polynomial basis; positivity is not a general requirement for a displacement shape function.
What it calculates: Quadratic nodal basis at natural coordinates −1, 0 and 1.
What it calculates: Natural-coordinate derivatives; apply 2/L to obtain the strain-displacement row.
Completeness and continuity
Partition of unity is ΣNi=1. Linear completeness additionally requires ΣNi xi=x. Quadratic interpolation also reproduces x² under the stated affine map. Check these identities symbolically or at multiple independent points, including away from the nodes. A test performed only at nodes checks interpolation conditions but can miss an incorrect interior basis.
Adjacent displacement elements share the same displacement at their common node. The global field is continuous, or C⁰, while its derivative can jump. That is sufficient for the first-derivative energy of the axial problem. An Euler–Bernoulli beam formulated directly in transverse displacement has second derivatives in its energy and needs different continuity, often C¹ Hermite interpolation. Do not reuse an axial basis solely because both models describe a line. Completeness is necessary for approximation, but integration, mesh quality and stability also matter.
Continue with element integration and interpolation checks.
References and further study
Bathe, Finite Element Procedures (1996), §3.3.4, pp.124–127, was inspected for interpolation within a Galerkin formulation. MIT lecture 3 is further study on interpolation and element matrices. The basis, quadratic matrix and examples above are derived explicitly here. The calculations and exercises here are original. The numerical checks cover the stated assumptions; independent specialist review remains open.