For periodic , the conforming Galerkin method has , with mass matrix and . Integration by parts and periodicity give . Therefore
The conserved quantity is the squared L2 norm of the finite element function. On a uniform one-dimensional mesh of spacing , the piecewise-linear hat functions give , , and .
L2 inner product 2026-10-05
The L2 inner product is the inner product on L2 space. Its induced norm is the L2 norm, and the mass matrix represents it in a finite element basis.
Mass matrix 2026-10-05
The mass matrix is the Gram matrix of a finite element basis in the L2 inner product. Its coefficient quadratic form is the squared L2 norm of the represented trial function, so it is a positive-definite matrix for a linearly independent basis.
Let be a uniform periodic mesh, with indices interpreted modulo the number of nodes. Write the finite element approximation as using the chapeau functions. The Galerkin method requires
The mass matrix has and . The spatial matrix has and , with zero diagonal. Therefore the semidiscrete equations are
or equivalently . The coefficients come from integrating the products of the two overlapping piecewise-linear hat functions on each interval; periodicity supplies the wraparound entries.
Stiffness matrix 2026-10-05
The stiffness matrix represents a variational bilinear form in a finite element basis. A symmetric coercive bilinear form gives a positive-definite matrix. Local support of the piecewise-linear hat functions produces a sparse matrix, allowing efficient numerical solution.