Use the full continuous piecewise linear space , including endpoint basis functions, because the boundary conditions are Neumann. Define
Choose as the projection of onto . For each time step seek with
This is the conforming Crank-Nicolson method. The reaction coefficient and the diffusion are both treated at the midpoint; integration by parts has removed the boundary flux through the homogeneous Neumann condition.
Test the discrete equation with . The identity yields
Since on the interval, . Therefore the requested inequality holds:
Discarding the nonnegative second term and iterating proves for every positive , with no restriction relating it to . This is unconditional stability; the initial projection also satisfies .
Write and define the mass matrix and reaction-diffusion stiffness matrix
Then each step is
Both component matrices are symmetric, so is symmetric. For a nonzero coefficient vector , its finite element function is nonzero and
Thus is also positive definite and every update has a unique solution. Because nonneighboring hats have disjoint interior supports, the matrix is tridiagonal in nodal order.

Articles by others on the same topic (0)

There are currently no matching articles.