The original PDF puts both neighbouring values at time . Thus the actual scheme is Backward Euler method in time with a centered three-point approximation to the second spatial derivative. The old-time neighbours in the TeX transcription describe a different method.
Let and . Insert a sufficiently smooth exact solution and divide by . Expanding at givesThe PDE cancels the term. Therefore the normalized local truncation error is andFor compatible smooth data with exact nodal initialization, the stability of a numerical method established below gives global error on fixed time intervals, by summing the one-step defects with the contraction bound. Thus no relation between and is needed for stability; choosing makes both consistency contributions .
Let be the tridiagonal matrix with diagonal two and adjacent entries minus one, incorporating zero Dirichlet boundary conditions. The actual PDF scheme isAn orthonormal basis of eigenvectors of has components , and substitution givesThey form an orthonormal basis by the spectral theorem for real symmetric matrices. Hence is invertible for every , and the amplification eigenvalues are . For the discrete L2 norm ,This bound has constant one independent of time step and mesh, which is the required stability of a numerical method. Therefore every positive Courant number is stable. If a forcing or local-defect sequence is added, the discrete variation-of-constants formula gives a bound by the initial norm plus the sum of those perturbation norms; this also justifies the global error conclusion in part (a).
Use distinct periodic grid points , , and . Values at the two ends of the interval represent the same point, so the endpoint must not be stored twice. With indices interpreted modulo , setThis replaces the Dirichlet matrix by the periodic discrete Laplacian. The normalized Fourier modes form an orthonormal basis and have amplification factorsEach satisfies for every . The Parseval identity therefore gives in the discrete L2 norm, uniformly in the grid and time step. Thus all positive Courant numbers remain stable. The constant mode has , expressing preservation of the spatial mean; all nonconstant modes decay. The formula with modulo indices also handles small grids, where two neighbours can coincide.
Articles by others on the same topic
There are currently no matching articles.