Derivation: three-point forward O(h²)
How to combine two Taylor expansions to eliminate the second derivative and get an order-2 forward difference for the first derivative.
Combining two expansions
Expand Taylor at and around :
Compute to cancel ; solving for gives an formula for the second derivative:
Substituting this into the first expansion and solving for cancels the order- term and leaves: