The Finite Element Method: First Principles / Mathematical foundations
Interpolation, systems and conditioning
Distinguish a field derivative from a nodal value. Use eigenvalues and conditioning to interpret a small system.
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 notesWhat you should already know
- Read vectors, tensors and coordinate changes first.
From nodal numbers to a differentiable field
An FEM displacement is a function uₕ(x) = ΣNᵢ(x)dᵢ. The nodal coefficients are constant when differentiating with respect to position. Thus uₕ′ = ΣNᵢ′dᵢ. In two dimensions a displacement gradient has components ∂uᵢ/∂xⱼ; symmetrising that gradient produces small strain. Integrating an element expression requires both its integrand and the geometric measure. For an axial member, ∫BᵀEAB dx has units N/m. Omitting A or the coordinate-transformation Jacobian changes the physical equation.
Differentiation often magnifies interpolation error. A displacement curve can look smooth while its derivative is inaccurate. In the linear axial element the derivative is constant in each element, even when the exact strain varies continuously. Evaluate both the field and the quantity derived from it.
Solve a system and inspect its spectrum
Consider two equal springs in series, each of stiffness k, with the first end fixed. In the two remaining coordinates, K = k[2, −1; −1, 1]. Apply P to the second coordinate. The first equation gives d₂ = 2d₁; the second gives d₁ = P/k. For k = 40 MN/m and P = 20 kN, displacements are 0.5 and 1.0 mm. Each spring carries 20 kN and the fixed reaction is −20 kN.
The characteristic polynomial of K/k is λ² − 3λ + 1. Its eigenvalues are (3 ± √5)/2, both positive. The Euclidean condition number is their ratio, approximately 6.854. Positivity establishes positive strain energy for every non-zero displacement in this restrained system. It does not establish that the spring model represents the intended structure. Dynamic natural frequencies instead solve Kφ = ω²Mφ; stiffness eigenvalues alone are not frequencies.
What it calculates: A small restrained system whose solution can be checked by spring equilibrium.
Residual, error and conditioning
For an approximate solution d̃, define r = f − Kd̃. The true displacement error satisfies K(d − d̃) = r. A small residual can coexist with a substantial error in a direction with very small stiffness. For fixed invertible K and the induced Euclidean norm, the relative error is bounded by κ₂(K) times the relative residual. The bound can be loose; it describes sensitivity rather than predicting the actual error.
As a counterexample, take the dimensionless matrix diag(1, 10⁻⁸), f = [1, 10⁻⁸]ᵀ and d̃ = [1, 0]ᵀ. The exact solution is [1, 1]ᵀ. The relative residual is about 10⁻⁸, but the relative solution error is 1/√2. A residual check therefore needs a scale, a conditioning assessment and a physical interpretation of soft modes. Use factorisation to solve systems; forming a matrix inverse explicitly is unnecessary.
What it calculates: A residual-based error bound for fixed nonsingular K and non-zero f.
Implementation exercise
Use the downloadable axial solver to assemble two 1 m elements with E = 200 GPa and A = 200 mm², then fix the left node and apply 20 kN to the right. Compare the reduced matrix and result with the spring calculation. Compute the residual using the original matrix. The expected strain energy is 10 J. Repeat after changing the units consistently to N and mm; convert the result back before comparing.
Continue to Continuum mechanics.
References and further study
Bathe, Finite Element Procedures (1996), §3.3.4, pp.124–127, supplies the inspected weak-form context for the discrete equations. The coordinate, eigenvalue and conditioning examples above are derived directly from the displayed matrices. The calculations and exercises here are original. The numerical checks cover the stated assumptions; independent specialist review remains open.