Professional Documents
Culture Documents
Finite Difference Coefficient
Finite Difference Coefficient
Finite Difference Coefficient
coefficient
In mathematics, to approximate a
derivative to an arbitrary order of accuracy,
it is possible to use the finite difference. A
finite difference can be central, forward or
backward.
Derivative Accuracy −5 −4 −3 −2 −1 0 1 2
2 −1/2 0 1/2
2 1 −2 1
2 −1/2 1 0 −1 1/2
2 1 −4 6 −4 1
2 1 −6 15 −20 15 −6
central
coefficients .
These are given by the solution of the
linear equation system
where the only non-zero value on the right
hand side is in the -th row.
1 −1 1
2 −3/2 2 −1/2
1 1 −2 1
2 2 −5 4 −1
1 −1 3 −3 1
1 1 −4 6 −4 1
2 3 −14 26 −24 11 −2
Derivative Accuracy −8 −7 −6 −5 −4 −3 −2 −1 0
1 −1 1
1 2 1/2 −2 3/2
1 1 −2 1
2
2 −1 4 −5 2
1 −1 3 −3 1
3
2 3/2 −7 12 −9 5/2
1 1 −4 6 −4 1
4
2 −2 11 −24 26 −14 3
Example, for ,
order of differentiation :
The order of accuracy of the
approximation takes the usual form
See also
Finite difference method
Finite difference
Five-point stencil
Numerical differentiation
References
1. Fornberg, Bengt (1988), "Generation of
Finite Difference Formulas on
Arbitrarily Spaced Grids", Mathematics
of Computation, 51 (184): 699–706,
doi:10.1090/S0025-5718-1988-
0935077-0 , ISSN 0025-5718 .
2. "A Python package for finite difference
numerical derivatives in arbitrary
number of dimensions" .
3. Taylor, Cameron (12 December 2019).
"Finite Difference Coefficients
Calculator" . MIT.