First-order differentiation matrix. Accurate eigenvalue approximations can be obtained even when continuum boundary conditions are not exactly represented in the discrete formulation. Repeat the above discretization xk=kh, k=1,,m, h=1/(m+1) for the first-order differentiation operator x with eigenvalues ξ associated with eigenfunctions eξx

xeξx=ξeξx.

The derivative may be approximated by

uk'=(xeξx)keξ(xk+h)-eξ(xk-h)2h=eξh-e-ξh2heξkh=1hsinh(ξh)eξkh=1hsinh(ξh)uk. (1)

The eigenproblem

𝒖'=𝑫𝒖,𝑫=12hdiag([ -1 0 1 ])m×m,

differs from the discretization (1)

𝒖'=𝑫𝒖+𝒃,b1=-u02h,bm=um+12h,

hence sin(ξh)/h

Figure 1. Comparison of eigenvalues of second-order differentiation matrix 𝑫 (blue circles) with those