-
Notifications
You must be signed in to change notification settings - Fork 69
7. Numerical Derivatives with Finite Difference Approach
If we apply a small difference to
Only the first one or two terms have a significant effect in the Taylor expansion given above. Therefore the first derivative of a function can be written as follows:
Similar to the "First Forward", if the difference is used as
For a more precise approximation, one can use the both directions and still keep the difference
According to the situation that is raised by the definition of the function, such as sharp extremum points, one may want to increase the number of points.
Three Point Forward Approximation with the points
Three Point Backward Approximation with the points
Four Point Central Approximation with the points
Note: Do these points always have to be in the same direction?