
THE METHOD OF FINITE-DIFFERENCES
HENRY JONES
1. Introduction
In numerical computations of complex differential equations, Finite-Difference
methods in general are used extensively to create sets of mesh points at which
derivatives are approximated and the particular initial or boundary value data are
imposed. Then systems of equations are solved to satisfy the differential equation.
This paper presents a derivation and overview of difference methods for linear and
non-linear, second order ordinary differential equations. With numerical solutions
to partial differential equations being the motivation for this project, discussion
of application of finite-difference methods to the wave equation will serve as a
conclusion.
2. 11.3 Finite-Difference Methods for Linear Problems
In comparison with earlier methods of differential equation approximation in
Chapter 11 of our text, finite-difference methods for linear problems have better sta-
bility characteristics, but require more computation to obtain a specified accuracy.
For boundary-value problems(BVP), finite difference methods replace each deriv-
ative in the ODE with the appropriate difference quotient approximation, many
of which were discussed in chapter 4 including the three and five point- midpoint
formulas for first and second derivatives.
Depending on the equation, the computational equipment, or the physical phe-
nomena being modelled, the difference quotient and step size are chosen to maintain
a certain order of truncation error. Due to the the instability of derivative approxi-
mations resulting from the dominance of round-off error for small step size h values,
our choice of h should not be excessively small.
Discrete Approximation
The finite difference method for the linear, second order BVP,
y
′′
= p(x)y
′
+ q(x)y + r(x) for a ≤ x ≤ b,
with y(a) = α and y(b) = β, necessitates the use of difference-quotient approxima-
tions for y
′
and y
′′
. First we select N such that h = (b − a)/(N + 1) and thus our
mesh points are defined by x
i
= a + ih for i = 0, 1, . . . , N + 1. Therefore at the
mesh points, the differential equation to be approximated is
y
′′
(x
i
) = p(x
i
)y
′
(x
i
) + q(x
i
)y(x
i
) + r(x
i
).
We can then expand y with two, third degree Taylor Polynomials centered at
x
i
and evaluated at x
i+1
and x
i−1
respectively. Note that we must assume that
1