Solving Equations
1.1 The Bisection Method
1) Root
Root: A number satisfying
Finding a root of is equivalent to solving the equation .
2) Bracketing a Root
Bracketing: Finding an interval whose endpoint function values have opposite signs.
If is continuous on , the Intermediate Value Theorem guarantees that at least one root lies in .
3) Bisection Method
Bisection Method: A bracketing method that repeatedly halves an interval containing a root.
At each step, calculate the midpoint
Then select the half interval in which the function changes sign:
or
The new interval continues to contain at least one root.
4) Bisection Error
After bisection steps, the interval length is
Using the midpoint as the approximate root gives
The Bisection Method therefore has a guaranteed error bound.
5) Required Number of Steps
To guarantee
the required number of steps satisfies
Thus,
6) Correct Decimal Places
Correct to Decimal Places: An approximation whose absolute error satisfies
7) Properties of the Bisection Method
- Requires a continuous function.
- Requires an initial sign-changing interval.
- Does not require derivatives.
- Guarantees convergence to a root within the bracket.
- Reduces the error by approximately one-half per step.
- Converges reliably but relatively slowly.
1.2 Fixed-Point Iteration
1) Fixed Point
Fixed Point: A number satisfying
An equation can often be rewritten in the fixed-point form
Different rearrangements of the same equation may have different convergence behavior.
2) Fixed-Point Iteration
Fixed-Point Iteration: An iterative method defined by
starting from an initial guess .
If the sequence converges to and is continuous, then
so is a fixed point.
3) Iteration Error
The error at step is
By the Mean Value Theorem,
for some between and .
Therefore,
Near the fixed point,
4) Fixed-Point Convergence Test
If
and
then Fixed-Point Iteration is locally convergent to .
The approximate convergence rate is
If
nearby iterates generally move away from the fixed point.
5) Linear Convergence
Linear Convergence: An iterative method converges linearly with rate if
For sufficiently large ,
A smaller value of means faster linear convergence.
6) Locally Convergent Method
Local Convergence: A method is locally convergent to if it converges to whenever the initial guess is sufficiently close to .
Local convergence does not guarantee convergence from every initial guess.
7) Cobweb Diagram
Cobweb Diagram: A graphical representation of Fixed-Point Iteration using the curves
The intersections of the two curves are fixed points.
A fixed point is locally attracting when
and locally repelling when
8) Stopping Criteria
Because the exact root is usually unknown, practical stopping criteria include
or
A maximum iteration count should also be used to prevent infinite iteration.
1.3 Limits of Accuracy
1) Forward Error
Forward Error: The distance between an approximate root and the exact root .
Forward error directly measures the accuracy of the computed solution.
2) Backward Error
Backward Error: The amount by which the equation fails to be satisfied at the approximate root.
For ,
A small backward error means that is an exact root of a nearby problem.
A small backward error does not always imply a small forward error.
3) Simple Root
Simple Root: A root satisfying
A simple root has multiplicity one.
4) Multiple Root
Root of Multiplicity : A root satisfying
and
A root is called a multiple root when
Equivalently, a function with a root of multiplicity can be written locally as
Functions are relatively flat near multiple roots, so a very small backward error may correspond to a much larger forward error.
5) Sensitivity
Sensitivity: The degree to which small changes in the input problem cause changes in the solution.
A problem is sensitive if small perturbations in the equation produce large changes in its roots.
6) Perturbed Root Problem
Suppose is a root of
and is a root of the perturbed equation
For a simple root and sufficiently small ,
This is the sensitivity formula for roots.
A small value of can cause a large change in the root.
7) Relative Error Magnification
Error Magnification Factor: The ratio of relative forward error to relative backward error.
For the perturbation ,
A large error magnification factor indicates a sensitive problem.
8) Condition Number
Condition Number: A measure of the maximum error magnification inherent in a mathematical problem.
- A problem with a condition number near is well-conditioned.
- A problem with a large condition number is ill-conditioned.
Conditioning is a property of the problem, not the algorithm.
9) Stability
Numerical Stability: A property of an algorithm that produces a solution with small backward error.
Stability describes error introduced or amplified by the algorithm.
Conditioning and stability are different:
- Conditioning concerns sensitivity of the problem.
- Stability concerns behavior of the algorithm.
A stable algorithm applied to a well-conditioned problem generally produces a small forward error.
1.4 Newton’s Method
1) Tangent-Line Approximation
Near the current approximation , the function can be approximated by its tangent line:
Setting this approximation equal to zero gives the next root estimate.
2) Newton’s Method
Newton’s Method: An iterative root-finding method defined by
Newton’s Method requires:
- An initial guess .
- Evaluation of .
- Evaluation of .
- A nonzero derivative at each iterate.
3) Newton Iteration Function
Newton’s Method can be viewed as Fixed-Point Iteration with
At a simple root ,
which explains its fast local convergence.
4) Quadratic Convergence
Quadratic Convergence: An iterative method converges quadratically if
for some constant .
Near a simple root,
Quadratic convergence approximately doubles the number of correct digits at each step.
5) Newton Convergence Theorem
If is twice continuously differentiable near and
then Newton’s Method is locally quadratically convergent to .
The asymptotic error satisfies
6) Newton’s Method at Multiple Roots
For a root of multiplicity , ordinary Newton’s Method converges only linearly.
The asymptotic error relation is
Thus, multiple roots remove the usual quadratic convergence.
7) Modified Newton’s Method
If the root multiplicity is known, use
Modified Newton’s Method: A version of Newton’s Method that restores quadratic convergence at a root of known multiplicity.
8) Failure of Newton’s Method
Newton’s Method can fail when:
- .
- The initial guess is too far from a root.
- Iterates diverge.
- Iterates enter a cycle.
- An iterate leaves the domain of the function.
- The function or derivative is evaluated inaccurately.
- The root is multiple and the method converges too slowly.
Newton’s Method is fast near a suitable root but does not guarantee global convergence.
1.5 Root-Finding without Derivatives
1) Secant Approximation
The derivative at can be approximated using two consecutive iterates:
This replaces the tangent line in Newton’s Method with a secant line.
2) Secant Method
Secant Method: A derivative-free iterative method defined by
The Secant Method requires two initial guesses, and .
Unlike the Bisection Method, the initial guesses do not have to bracket a root.
3) Superlinear Convergence
Superlinear Convergence: Convergence faster than linear but slower than quadratic.
For a simple root, the Secant Method has convergence order
Thus,
The Secant Method usually converges more slowly than Newton’s Method but does not require derivative evaluations.
4) Method of False Position
Method of False Position: A bracketing method that replaces the midpoint of the Bisection Method with the root of a secant line.
Given
the next approximation is
The new interval is chosen so that its endpoint values continue to have opposite signs.
False Position preserves the root bracket but may converge very slowly if one endpoint remains fixed.
5) Muller’s Method
Muller’s Method: A derivative-free method that fits a quadratic polynomial
through three previous points and uses a root of the quadratic as the next approximation.
Muller’s Method can locate both real and complex roots.
6) Inverse Quadratic Interpolation
Inverse Quadratic Interpolation: A method that fits an inverse quadratic polynomial
through three function values and evaluates it at .
Given the points
where
the interpolating polynomial is
The next approximation is
Inverse Quadratic Interpolation generally converges faster than the Secant Method.
7) Hybrid Method
Hybrid Method: A root-finding method that combines a reliable bracketing method with faster open methods.
A hybrid method attempts fast steps when they appear safe and falls back to a guaranteed bracketing step when necessary.
8) Brent’s Method
Brent’s Method: A hybrid root-finding method combining:
- Bisection
- Secant Method
- Inverse Quadratic Interpolation
Brent’s Method maintains an interval satisfying
It attempts Inverse Quadratic Interpolation or a secant step when the result is sufficiently reliable.
Otherwise, it uses a bisection step.
Brent’s Method provides:
- Guaranteed convergence for a continuous function with a valid bracket.
- Faster practical convergence than pure bisection.
- No requirement for derivative evaluations.
It is commonly used as a general-purpose one-dimensional root solver.
Comparison of Root-Finding Methods
| Method | Initial Requirement | Derivative | Convergence | Guaranteed |
|---|---|---|---|---|
| Bisection | Sign-changing interval | No | Linear | Yes |
| Fixed-Point Iteration | One initial guess | Depends on | Usually linear | No |
| Newton’s Method | One initial guess | Yes | Quadratic at simple roots | No |
| Secant Method | Two initial guesses | No | Superlinear | No |
| False Position | Sign-changing interval | No | Usually linear | Yes |
| Brent’s Method | Sign-changing interval | No | Superlinear in practice | Yes |
Essential Concepts
- Root: A value satisfying .
- Bracket: An interval whose endpoint function values have opposite signs.
- Bisection Method: Repeatedly halves a bracket containing a root.
- Bisection Error Bound: After steps, the midpoint error is less than .
- Fixed Point: A value satisfying .
- Fixed-Point Iteration: Generates approximations using .
- Local Convergence Test: Fixed-Point Iteration converges locally when .
- Linear Convergence: The error decreases by an approximately constant factor.
- Forward Error: The distance between the approximate and exact solutions.
- Backward Error: The residual of an approximate root.
- Root Multiplicity: The number of times a root occurs as a factor.
- Conditioning: Sensitivity inherent in the mathematical problem.
- Stability: Control of errors by the numerical algorithm.
- Newton’s Method: Uses tangent lines and converges quadratically near a simple root.
- Modified Newton’s Method: Restores quadratic convergence at a root of known multiplicity.
- Secant Method: Approximates Newton’s Method without evaluating derivatives.
- Superlinear Convergence: Faster than linear but slower than quadratic convergence.
- False Position: Combines a secant approximation with root bracketing.
- Inverse Quadratic Interpolation: Uses a quadratic model of the inverse function.
- Brent’s Method: Combines bisection, secant, and inverse quadratic interpolation.