Differentiation at multiple grid points
Differentiation matrix as the discrete version of the differentiation operator
Consider f:ℝ→ℝ, sampled at {x0,x1,…,xn}, fj≡f(xj), 𝒇=[ f0 … fn ]T
Evaluate f' at points {x0',x1',…,xm'}, fj'≅f'(xj'), 𝒇'=[ f0' … fm' ]T
Finite difference formulas: derivative approximations as linear combinations
f:ℝ→ℝ, sampled at {x0,x1,…,xn}, fj≡f(xj), 𝒇=[ f0 … fn ]T
Evaluate f' at points {x1,…,xn-1}, fj'≅f'(xj), 𝒇'=[ f1' … fn-1' ]T
Centered finite difference fj'≅(fj+1-fj-1)/(2h)
Sampling at half interval: {x0,x1/2,…,xn}, fj≡f(xj), 𝒇=[ f0 … fn ]T
Calculus: differentiation operator D=d/dt, higher order derivatives:
Similar properties hold for differentation matrices, e.g., 𝒇''=𝑫h𝑫h⁡𝒇
Applying 𝑫h2 to 𝒇 leads to
Taylor series analysis