![]()
MATH566 Lesson 13: Root-finding
|
Motivation: A first application of function approximation is to devise procedures to find the roots or zeros of a real function of single variavle . The procedures devised for scalar functions can be subsequently extended to multivariate and vector-valued functions
Calculus of real functions of one variable
The root-finding process
Root locations: qualitative plots
Interval reduction: bisection
![]()
Calculus of functions of one variable: Review
|
Calculus is the study of continuous change, based upon the fundamental concepts of:
Real numbers |
Functions |
Function limits |
Real numbers measure continuous quantities and are graphically represented by the real axis
associates input from (domain) to a single output from (codomain)
states that is the single output of the function for given input
is one-to-one if output is produced by a single input , in which case , is the inverse function of .
The limit describes the function at an infinity of points near to .
Formal definition: For any there exists a such that from it follows that .
![]()
Root-finding process
|
Problem: , find the null set of
Assume , ,
Root-finding phases:
Root localization. Find intervals , , for
Interval reduction (optional). Find sequence of smaller intervals containing a root:
Root refinement. Find approximation of to within:
maximum residual ,
maximum error , replaced usually by
maximum relative error
![]()
Root-finding mathematical problem
|
How hard is the root-finding problem?
Define root-finding mathematical problem, mapping
Input set , the set of functions whose zero sets are sought
Output set , the zero sets
Note: the mathematical root-finding problem is different from
Example:
Find solution of for given , .
is differentiable and has condition number
Intuitively, for , the root finding problem is hard, .
In general Gateaux derivative w.r.t. to function .
![]()
Qualitative function plots: root localization
|
![]()
Interval reduction: bisection
|
Idea:
Start from with
Obtain smaller interval by computing ,
If then redefine
If then redefine
Obtain a sequence of intervals of decreasing length containing the root
At iteration ,
Linear order of convergence
![]()
Bisection algorithm
|
Computational complexity: one function evaluation () per iteration
Algorithm - Bisection method Input: if then ;
while and ; ; if ; else ; return |
|