ROOTFINDING
FOR NONLINEAR
EQUATIONS
Finding one
or
more roots of an equation
f(x)=O
(2.0.1)
is
one
of
the more commonly occurring problems of applied mathematics. In
most cases explicit solutions are not available and
we
must be satisfied with being
able to find a root to any specified degree of accuracy. The numerical methods
for finding the_roots-are-called
iterative methods,
and
they are the main subject of
this chapter.
We begin with iterative methods for solving (2.0.1) when
f(x)
is
any continu-
ously differentiable real valued function of a real variable x. The iterative
methods for this quite general class of equations will require knowledge of one
or
more initial guesses x
0
for the desired root
o:
of
f(x).
An initial guess x
0
can
usually
be
found by using the context in which the problem first arose; otherwise,
a simple graph of y =
f(x)
will often suffice for estimating x
0
•
A second major problem discussed in this chapter is that
of
finding one
or
more roots of a polynomial equation
(2.0.2)
The methods
of
the first problem are often specialized to deal with (2.0.2), and
that will be our approach. But there
is
a
large.
literature
on
methods that have
been developed especially for polynomial equations, using their special properties
in an essential way. These are the most important methods used in creating
automatic computer programs for solving (2.0.2),
and
we will reference some such
methods.
The third class of problems to be discussed
is
the solution
of
nonlinear systems
of
equations. These systems are very diverse in form, and the associated numeri-
cal analysis
is
both extensive and sophisticated.
We
will
just
touch on this
subject, indicating some successful methods that are fairly general in applicabil-
ity. An adequate development
of
the subject requires a good knowledge of both
theoretical and numerical linear algebra, and these topics are not taken up until
Chapters 7 through
9.
The last class of problems discussed in this chapter are optimization problems.
In this case,
we
seek to maximize or minimize a real valued function
/(x
1
,
.•.
,
xn)
and to find the point
(x
1
,
••.
,
xn)
at which the optimum is attained. Such
53