Numerical Solutions of Differential Equations
Numerical Solutions: Approximation, Refinement, and Verification
Numerical solution of a differential equation represents an unknown continuous trajectory by computed values at selected times or positions. It is useful when an analytic formula is unavailable, inconvenient, or insufficient for a realistic model.
A numerical answer is an approximation and should be accompanied by a method description, step size or resolution, relevant assumptions, and an error or convergence assessment.
Refining a grid means reducing step size. If a stable, consistent method is applied within an appropriate regime, results at a fixed target point often settle toward a limiting value as the step size decreases.
Agreement between two resolutions is evidence, not a proof of exactness; a meaningful comparison uses the same model, initial conditions, target point, and stopping rule.
Check the computation against the governing equation and the model's physical constraints. A residual, a conservation or positivity check where appropriate, and a refinement study expose different failure modes.
Numerical behaviour depends on the problem as well as the algorithm: a rapidly changing solution can need smaller steps, and an unstable calculation can look precise while being inaccurate.
At the same target time, a computation gives 1.392 with step size h, 1.410 with step size h/2, and 1.414 with step size h/4. Which conclusion is best supported?
A numerical simulation of a quantity that should remain nonnegative produces a small negative value after a time step. Which response is most defensible before interpreting the negative value as a physical prediction?