Nonstandard finite difference schemes is a general set of methods in numerical analysis that gives numerical solutions to differential equations by constructing a discrete model. The general rules for such schemes are not precisely known.
Overview A finite difference (FD) model of a differential equation (DE) can be formed by simply replacing the derivatives with FD approximations. But this is a naive "translation." If we literally translate from English to Japanese by making a one-to-one correspondence between words, the original meaning is often lost. Similarly the naive FD model of a DE can be very different from the original DE, because the FD model is a difference equation with solutions that may be quite different from solutions of the DE. For a more technical definition see Mickens 2000. A nonstandard (NS) finite difference model, is a free and more accurate "translation" of a differential equation. For example, a parameter (call it v) in the DE may take another value u in the NS-FD model.
Example As an example let us model the wave equation,
( ∂ t 2 − v 2 ∂ x 2 ) Ψ ( x , t ) = 0. {\displaystyle (\partial _{t}^{2}-v^{2}\partial _{x}^{2})\Psi (x,t)=0.}
The naive finite difference model, which we now call the standard (S) FD model is found by approximating the derivatives with FD approximations. The central second order FD approximation of the first derivative is
f ′ ( x ) ≈ f ( x + Δ x / 2 ) − f ( x − Δ x / 2 ) Δ x . {\displaystyle f'(x)\approx {\frac {f(x+\Delta x/2)-f(x-\Delta x/2)}{\Delta x}}.}
Applying the above FD approximation to f ′ ( x ) {\displaystyle f'(x)} , we can derive the FD approximation for f ″ ( x ) {\displaystyle f''(x)} ,
f ″ ( x ) ≈ d x 2 f ( x ) Δ x 2 , {\displaystyle f''(x)\approx {\frac {{\text{d}}_{x}^{2}f(x)}{\Delta x^{2}}},}
where we have introduced the shortcut d x f ( x ) = f ( x + Δ x / 2 ) − f ( x − Δ x / 2 ) {\displaystyle {\text{d}}_{x}f(x)=f(x+\Delta x/2)-f(x-\Delta x/2)} for simplicity such that d x
2 f ( x ) = f ( x + Δ x ) + f ( x − Δ x ) − 2 f ( x ) {\displaystyle {\text{d}}_{x}{}^{2}f(x)=f(x+\Delta x)+f(x-\Delta x)-2f(x)} which can be check by applying d x {\displaystyle {\text{d}}_{x}} on f ( x ) {\displaystyle f(x)} twice. Approximating both derivatives in the wave equation, leads to the S-FD model,
[ d t 2 − ( v Δ t / Δ x ) 2 d x 2 ] Ψ ( x , t ) = 0. {\displaystyle \left[{\text{d}}_{t}^{2}-(v\Delta t/\Delta x)^{2}{\text{d}}_{x}^{2}\right]\Psi (x,t)=0.}
If you insert the solution ϕ ( x , t ) = e i ( k x − ω t ) {\displaystyle \phi (x,t)=e^{i(kx-\omega t)}} of the wave equation (with ω / k = v {\displaystyle \omega /k=v} )into the S-FD model you find that
… excerpt ends here. Continue reading the full article.
