The bilinear square finite element contains the terms . In anticlockwise corner order beginning at , its shape functions are
The mass matrix has entries . Each product separates into one-dimensional factors, with and . Diagonal, adjacent-corner and opposite-corner entries are respectively , , . Thus
Number global grid nodes by , with , and . For an interior node, four elements contribute to its diagonal, two to each axial neighbour and one to each diagonal neighbour. Its global row therefore has the nine-point stencil
In the stated ordering the axial entries occur at columns and ; the four diagonal ones occur at . No boundary degrees of freedom have been removed.
For general valid quadrilaterals, use an isoparametric finite element. Map the unit square to an element by and define physical shape functions . Require a one-to-one nondegenerate map and compatible common edges. On a shared edge the map and the trace of each shape function are linear between the same endpoints; the neighbouring traces therefore agree. The assembled functions are continuous and lie in , giving a conforming finite element space. On a non-parallelogram the pulled-back functions are generally not bilinear polynomials in the physical coordinates themselves.
Use the usual bounded Lipschitz domain assumptions so that the Sobolev trace is defined. Multiplication by and Green's first identity give
The Robin boundary condition substitutes in the boundary integral. The resulting Weak formulation of the Robin Poisson problem is therefore: find such that
The boundary values in the integral mean Sobolev traces; no classical normal derivative is required of the weak solution. For uniqueness, subtract two solutions and test by their difference . This yields . Thus , so is constant on each connected component, and its vanishing boundary Sobolev trace makes each constant zero. The weak solution is unique.
For a bilinear square finite element with corners numbered anticlockwise from the lower-left corner, introduce local coordinates , . The four shape functions are
The local stiffness matrix has entries . The factor from the area element cancels the two factors from the gradients. Symmetry leaves three types: diagonal, adjacent corners, and opposite corners. For representatives,
Consequently
For an element whose left edge lies on , the boundary term in the weak formulation adds . Only and are nonzero on that edge. Integrating , and gives the extra contribution
Its entries are added at the corresponding global node numbers during finite element assembly. Additional boundary edges contribute their own analogous edge matrices. The Robin boundary condition is represented by these integrals, so boundary nodes remain unknowns.
Shape function 2026-10-31
A shape function is a local basis function associated with a degree of freedom of a finite element. For nodal degrees of freedom it is one at its own node and zero at the other nodes, allowing local interpolation from the nodal values. For a bilinear square finite element, the four products of linear coordinate functions provide the nodal shape functions.