← All theory chapters
Theory / FEM

Shape Functions, Jacobians & Gauss Integration

Follow the mapping from a simple reference element to the physical mesh.

Theory · Educational notes · Related tools: Abaqus · LS-DYNA

Why does one integration point work for one field and fail for another?

Map a 100 mm line to ξ from −1 to 1. Integrate a constant and then ξ² with one- and two-point Gauss rules.

The Jacobian converts lengths and derivatives between coordinates. Quadrature samples the integrand, not the element label. A sample at zero sees ξ² as zero and misses its positive area; two off-centre samples recover the area exactly for this polynomial.

Connect the physical quantities

The Jacobian maps reference coordinates to physical coordinates and converts derivatives and integration measures. Gauss quadrature then approximates an integral using weighted samples. Its exactness depends on the integrand, not merely on the number of nodes.

The relationship used in this example

∫−11g(ξ) dξ≈∑qwqg(ξq)\int_{-1}^{1}g(\xi)\,\mathrm d\xi\approx\sum_qw_qg(\xi_q)

An isoparametric element uses shape functions to interpolate both geometry and the unknown field. The Jacobian converts derivatives and integration measures between coordinate systems. Numerical quadrature then approximates element integrals using weighted values at selected points.

Work through the example

Step 1

For a 100 mm linear map, dx/dξ = 50 mm.

Step 2

Two points ±1/√3 each have ξ² = 1/3 and weight 1.

Step 3

Their sum is 2/3; one sample at zero instead gives zero for ξ².

Full example conditions and reference values

For a line with x₁ = 0 mm and x₂ = 100 mm, J = 50 mm. Two Gauss points map to x = 21.1325 and 78.8675 mm. Independently, integrating g(ξ) = ξ² over [−1,1] gives exactly 2/3 with two-point Gauss quadrature. A one-point rule at ξ = 0 with weight 2 gives zero for this function. In contrast, one point integrates the constant stiffness integrand of a uniform linear axial bar exactly.

N1 falls from one to zero while N2 rises from zero to one over reference coordinate minus one to one. Dashed vertical lines indicate the two integration points.
Two linear shape functions sum to one. The two Gauss locations lie inside the reference element; they are not nodal positions.

Compare the numbers before judging the result

Compare the calculated values
ConditionIntegral of 1Integral of ξ²
One point20
Two points20.6666667
Analytical20.6666667

All integrals are over [−1,1]; agreement for one integrand does not establish another.

What the result means for a model

Positive Jacobians and accurate quadrature are necessary checks, not proof of mesh accuracy. Distortion changes mapping and can change the integration difficulty. Include the Jacobian in both derivative conversion and volume integration, with consistent conventions.

Curved mapping and varying material properties change the integrand. Inspect Jacobian sign and variation at the points actually used. A positive volume total does not rescue an element with a locally invalid mapping.

Another application: An integration rule can pass one test and fail another

One Gauss point integrates a constant stiffness integrand of a straight uniform two-node bar exactly. Applied to ξ² on [−1,1], however, it gives zero instead of 2/3. Two points at ±1/√3 recover 2/3. Exactness depends on the integrand, not merely on element name.

Further modeling details

Check interpolation first

For a standard nodal element, verify Ni at the nodes and the partition of unity ΣNi = 1. The latter allows a constant displacement to be represented. Geometry mapping and displacement interpolation must use compatible node ordering.

Derivatives and measure are different

The inverse Jacobian transforms derivatives; the determinant scales the integration measure. Omitting either can leave a numerically plausible but dimensionally incorrect stiffness. In 2D and 3D, the Jacobian is a matrix and its transpose convention must match the gradient convention.

Why element shape matters

A distorted or nearly singular mapping can amplify derivatives. A negative determinant indicates an invalid orientation for the assumed node ordering. Element quality screening and discretization-error checks serve different purposes.

Choose integration with the formulation

Full and reduced integration affect locking and zero-energy modes differently. Use the formulation’s documented rule and stabilization, then compare the intended output under refinement. More quadrature points do not automatically repair a poor approximation space.

A quadratic bar exposes underintegration

For a straight three-node axial bar ordered left–middle–right, N = [ξ(ξ−1)/2, 1−ξ², ξ(ξ+1)/2]. With uniform EA, one-point integration samples derivatives [−1/2, 0, 1/2] only at ξ = 0. It cannot detect the displacement pattern [0, δ, 0], although the middle moves relative to both ends. The resulting stiffness has rank one instead of two and contains an extra non-rigid zero-energy mode. Two Gauss points integrate this stiffness exactly and recover rank two; the remaining null mode is uniform translation.

Check stiffness and mass separately

For a linear uniform bar, B is constant so one point integrates BᵀEA B exactly. The consistent mass integrand contains NᵀρA N and is quadratic, so the same one-point rule is not exact. Similarly, quadratic-bar stiffness needs two points and its consistent mass generally needs three for uniform properties and straight geometry. These statements concern the stated 1D formulation, not every reduced-integration commercial element.

Numerical evidence and its boundary

An independent quadrature calculation gives normalized stiffness L K/(EA) = [[1,0,−1],[0,0,0],[−1,0,1]] with one point, and (1/3)[[7,−8,1],[−8,16,−8],[1,−8,7]] with two. For v = [0,1,0], vᵀ[L K/(EA)]v changes from zero to 16/3. This verifies the mathematical example. It is not a measured hourglass result from an EV pack or a commercial solver.

Formula and symbol reference

Open the complete formula reference
N1=1−ξ2,N2=1+ξ2N_1=\frac{1-\xi}{2},\quad N_2=\frac{1+\xi}{2}
x(ξ)=N1x1+N2x2x(\xi)=N_1x_1+N_2x_2
J=dxdξ=L2J=\frac{\mathrm dx}{\mathrm d\xi}=\frac L2
dNdx=dNdξ1J\frac{\mathrm dN}{\mathrm dx}=\frac{\mathrm dN}{\mathrm d\xi}\frac1J
∫−11g(ξ) dξ≈∑qwqg(ξq)\int_{-1}^{1}g(\xi)\,\mathrm d\xi\approx\sum_qw_qg(\xi_q)
ξ1,2=∓13,w1,2=1\xi_{1,2}=\mp\frac1{\sqrt3},\quad w_{1,2}=1
K1pt=EAL[10−1000−101]\mathbf K_{1\mathrm{pt}}=\frac{EA}{L}\begin{bmatrix}1&0&-1\\0&0&0\\-1&0&1\end{bmatrix}
K2pt=EA3L[7−81−816−81−87]\mathbf K_{2\mathrm{pt}}=\frac{EA}{3L}\begin{bmatrix}7&-8&1\\-8&16&-8\\1&-8&7\end{bmatrix}
SymbolMeaningUnit / convention
ξReference coordinate for a two-node line−1 to +1
N1, N2Linear shape functionsdimensionless
x1, x2, LPhysical node coordinates and positive element lengthmm
JOne-dimensional geometry Jacobianmm
wqReference-domain quadrature weightdimensionless

When this example stops applying

An n-point Gauss–Legendre rule is exact for reference-coordinate polynomials up to degree 2n−1. Distorted geometry, inverse Jacobians and nonlinear constitutive behavior can make an FE integrand non-polynomial. Exact integration of one example does not establish that reduced integration is appropriate for every element.

Check your interpretation

If a rule integrates a constant stiffness integrand exactly, must it integrate the same element’s mass integrand exactly?

Show the reasoning

No. A consistent mass integrand includes products of shape functions and can require higher quadrature order.

Lecture companions

Sources and calculation scope

The questions and comparison tables are independently authored teaching examples. Numbers illustrate the stated models; they are not measured cell/pack data or commercial-solver validation.

Comparison calculations (Python)

English / Korean · revised 1 November 2026