2.8 KB · commit a9602da
Many problems in science and engineering can be reduced to the problem of solving differential equations satisfying certain given conditions. The analytical methods of solution, with which the reader is assumed to be familiar, can be applied to solve only a selected class of differential equations. Those equations which govern physical systems do not possess, in general closed-form solutions, and hence recourse must be made to numerical methods for solving such differential equations.
To describe various numerical methods for the solution of ordinary differential equations, we consider the general first order differential equation dxdy=f(x,y)(8.1a) with the initial condition, y(x0)=y0(8.1b) and illustrate the theory with respect to this equation. The methods so developed can, in general, be applied to the solution of systems of first-order equations, and will yield the solution in one of the two forms:
(i) A series for y in terms of powers of x, from which the value of y can be obtained by direct substitution. (ii) A set of tabulated values of x and y.
The methods of Taylor and Picard belong to class (i), whereas those of Euler, Runge–Kutta, Adams–Bashforth, etc., belong to class (ii). These latter
methods are called step-by-step methods or marching methods because the values of y are computed by short steps ahead for equal intervals h of the independent variable. In the methods of Euler and Runge–Kutta, the interval length h should be kept small and hence these methods can be applied for tabulating y over a limited range only. If, however, the function values are desired over a wider range, the methods due to Adams–Bashforth, Adams–Moulton, Milne, etc., may be used. These methods use finite-differences and require 'starting values' which are usually obtained by Taylor's series or Runge–Kutta methods.
It is well-known that a differential equation of the nth order will have n arbitrary constants in its general solution. In order to compute the numerical solution of such an equation, we therefore need n conditions. Problems in which all the initial conditions are specified at the initial point only are called initial value problems. For example, the problem defined by Eqs. (8.1) is an initial value problem. On the other hand, in problems involving second-and higher-order differential equations, we may prescribe the conditions at two or more points. Such problems are called boundary value problems.
We shall first describe methods for solving initial value problems of the type (8.1), and at the end of the chapter we will outline methods for solving boundary value problems for second-order differential equations.