Topics: Numerical Methods
Forward Difference is a first-order, finite difference method to numerically approximate the derivative of a function or a dataset. It estimates the derivative using the current point and the next point as
dtdf≈Δtf(t+Δt)−f(t)
Starting from the Taylor series expansion of f(t+Δt):
f(t+Δt)=f(t)+Δtdtdf(t)+2!Δt2dt2d2f(t)+3!Δt3dt3d3f(t)+O(Δt4)
Subtracting f(t) and dividing by Δt gives:
Δtf(t+Δt)−f(t)=dtdf(t)+2!Δtdt2d2f(t)+3!Δt2dt3d3f(t)+O(Δt3)
The terms after dtdf(t) form the error of the Forward Difference method. This error is O(Δt), i.e., it is proportional to Δt. This is why it is a first-order method.
- https://www.youtube.com/watch?v=9fGaTU1-f-0&pp=ygUgc3RldmUgYnJ1bnRvbiBmb3J3YXJkIGRpZmZlcmVuY2U%3D