- Asked 2/12
- 2079 Jestha · 4 marks
- 2073 Magh · 4 marks
First and second order finite difference schemes
Short answer
First-order schemes (forward/backward differences) have truncation error O(Δx) causing numerical diffusion; the chord slope is offset from the tangent. Second-order schemes (central difference) have error O(Δx^2) causing numerical dispersion; the central chord nearly matches the tangent, giving higher accuracy.
With appropriate expressions and graphs, explain first and second order accurate schemes of finite differences of partial differential equations.
A finite difference scheme is of order if its truncation error (the terms dropped from the Taylor series) is proportional to (or ). Higher order means the error falls faster when the grid is refined.
First-order accurate schemes
From Taylor's series,
The forward difference and the backward difference are first-order accurate. Applied to with forward time and backward space:
Second-order accurate schemes
Subtract the two Taylor series for and ; the terms cancel:
This central difference is second-order accurate. Likewise . A second-order scheme in both variables is the four-point (box) scheme centred at :
Graphical meaning
f
| . f(i+1)
| . '
| f(i)
| .'
| f(i-1)
+----|---------|---------|----> x
i-1 i i+1
forward : chord i -> i+1
backward: chord i-1-> i
central : chord i-1-> i+1 (closest to tangent at i)
The slope of the chord approximates the slope of the tangent at . The forward and backward chords are tilted either side of the tangent (error proportional to ); the central chord is almost parallel to it (error proportional to ).
Grid view of the two PDE schemes
t
n+1 : o--------o o o
| | \ |
n : o x x-----x-----x
(i-1) (i) (i-1) (i) (i+1)
first order (forward t, second order (central
backward x): 2 known pts in x): 3 known points
Comparison
| First order | Second order | |
|---|---|---|
| Truncation error | ||
| Effect of halving | error halves | error falls to one quarter |
| Main numerical error | numerical diffusion (smearing) | numerical dispersion (oscillations) |
| Cost per step | small | slightly larger |
✓ Answer checked by Claude Opus 5.5 (high effort)
Related questions
- Finite difference method; explicit and implicit schemes · Computational Techniques in Civil Engineering, chapter 5 · asked 2×
- Saint-Venant, second-order explicit scheme · Computational Techniques in Civil Engineering, chapter 5 · asked 2×
- Second-order non-linear kinematic wave; FDM principle · Computational Techniques in Civil Engineering, chapter 5
- Second-order scheme, linear kinematic wave · Computational Techniques in Civil Engineering, chapter 5
- First-order implicit non-linear kinematic wave · Computational Techniques in Civil Engineering, chapter 5
- First-order kinematic wave, flood peak at community · Computational Techniques in Civil Engineering, chapter 5
- Models of zero, first and second order systems · Instrumentation and Measurement, chapter 4
- Classify a second order PDE · Mathematics III, chapter 4
- Solve a partial differential equation · Mathematics III, chapter 4
- Solve a partial differential equation · Mathematics III, chapter 4
All Computational Techniques in Civil Engineering chapter 5 questions →