- Practice · 6 marks
Derive forward, backward, central differences
Short answer
From Taylor series: forward difference (f_{i+1}−f_i)/h, truncation error O(h); backward (f_i−f_{i-1})/h, O(h); central (f_{i+1}−f_{i-1})/(2h), O(h²). Halving h halves error for first order, quarters for second order.
Using Taylor series expansion, derive the forward, backward and central difference approximations for the first derivative and state the truncation error and order of accuracy of each.
The finite difference method (FDM) replaces derivatives by algebraic differences of function values at grid points, spaced apart. The basis is the Taylor series.
Taylor expansions about
Forward difference
Rearrange the first series for :
Backward difference
Rearrange the second series:
Central difference
Subtract the second series from the first; the even-order terms cancel:
Summary
| Scheme | Formula | Truncation error | Order |
|---|---|---|---|
| Forward | 1st | ||
| Backward | 1st | ||
| Central | 2nd |
Halving halves the error of the first-order schemes but reduces the central-difference error to one quarter. Forward and backward differences are used at boundaries and in upwind schemes, where only one side is available.
✓ Answer checked by Claude Opus 5.5 (high effort)
Related questions
- Second derivative central difference scheme · Applied Computational Fluid Dynamics, chapter 3
- Order of accuracy, consistency and stability · Applied Computational Fluid Dynamics, chapter 3
- Boundary derivative with one-sided differences · Applied Computational Fluid Dynamics, chapter 3
- Numerical check of difference schemes · Applied Computational Fluid Dynamics, chapter 3
- Upwind versus central scheme for convection · Applied Computational Fluid Dynamics, chapter 3
- Governing equations; forward, backward, central differencing · Computational Techniques in Civil Engineering, chapter 5
- First four terms of Taylor series about z = 2 · Applied Mathematics, chapter 1
- Taylor series expansion · Mathematics III, chapter 2
- Taylor series expansion · Mathematics III, chapter 2
All Applied Computational Fluid Dynamics chapter 3 questions →