Solution

ID: past-exam-of-the-mathematics-course-of-the-university-of-cambridge/2009/iii/paper-72/1/b/solution

Take a uniform finite element mesh , , , and interior piecewise-linear hat functions . Write . The Ritz method gives with
The derivative part has diagonal , neighboring entries and zero other entries. For the affine-weighted hat mass matrix, symmetry around gives
On , the product of the two hats is symmetric about the midpoint, integrates to , and therefore has weighted integral
Consequently the explicit tridiagonal equations are
for , with . The reaction coefficient has been integrated exactly; replacing it by an unweighted constant mass matrix would give a different system. For a nonzero coefficient vector, the represented function is nonzero and , so the matrix is symmetric positive-definite and the algebraic solution is unique.
Uniform spacing is a choice, not a requirement of the method. On a general finite element mesh with , the corresponding entries are
with symmetric lower entries. These reduce to the displayed uniform-grid system.

New to topics? Read the docs here!