Top Banner
MATH 685/ CSI 700/ OR 682 Lecture Notes Lecture 8. Nonlinear equations
53

MATH 685/ CSI 700/ OR 682 Lecture Notes Lecture 8. Nonlinear equations.

Dec 25, 2015

Download

Documents

Piers Weaver
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: MATH 685/ CSI 700/ OR 682 Lecture Notes Lecture 8. Nonlinear equations.

MATH 685/ CSI 700/ OR 682 Lecture Notes

Lecture 8.

Nonlinear equations

Page 2: MATH 685/ CSI 700/ OR 682 Lecture Notes Lecture 8. Nonlinear equations.

Nonlinear Equations Given a function f, we are looking for a value x, s.t.

f(x)=0

(a root of the equation, or a zero of the function f). The problem is called root finding or zero finding.

Page 3: MATH 685/ CSI 700/ OR 682 Lecture Notes Lecture 8. Nonlinear equations.

Example

Page 4: MATH 685/ CSI 700/ OR 682 Lecture Notes Lecture 8. Nonlinear equations.

Existence/uniqueness

Page 5: MATH 685/ CSI 700/ OR 682 Lecture Notes Lecture 8. Nonlinear equations.

Examples in 1d

Page 6: MATH 685/ CSI 700/ OR 682 Lecture Notes Lecture 8. Nonlinear equations.

Example of a system in 2d

Page 7: MATH 685/ CSI 700/ OR 682 Lecture Notes Lecture 8. Nonlinear equations.

Multiplicity

Page 8: MATH 685/ CSI 700/ OR 682 Lecture Notes Lecture 8. Nonlinear equations.

Sensitivity and conditioning

Page 9: MATH 685/ CSI 700/ OR 682 Lecture Notes Lecture 8. Nonlinear equations.

Sensitivity and conditioning

Page 10: MATH 685/ CSI 700/ OR 682 Lecture Notes Lecture 8. Nonlinear equations.

Sensitivity and conditioning

Page 11: MATH 685/ CSI 700/ OR 682 Lecture Notes Lecture 8. Nonlinear equations.

Convergence rate

Page 12: MATH 685/ CSI 700/ OR 682 Lecture Notes Lecture 8. Nonlinear equations.

Convergence rate

Page 13: MATH 685/ CSI 700/ OR 682 Lecture Notes Lecture 8. Nonlinear equations.

Bisection method

Page 14: MATH 685/ CSI 700/ OR 682 Lecture Notes Lecture 8. Nonlinear equations.

Example: bisection iteration

Page 15: MATH 685/ CSI 700/ OR 682 Lecture Notes Lecture 8. Nonlinear equations.

Bisection method

Page 16: MATH 685/ CSI 700/ OR 682 Lecture Notes Lecture 8. Nonlinear equations.

Fixed-point iterations

Page 17: MATH 685/ CSI 700/ OR 682 Lecture Notes Lecture 8. Nonlinear equations.

Examples

Page 18: MATH 685/ CSI 700/ OR 682 Lecture Notes Lecture 8. Nonlinear equations.

Example: fixed point problems

Page 19: MATH 685/ CSI 700/ OR 682 Lecture Notes Lecture 8. Nonlinear equations.

Examples: FPI

Page 20: MATH 685/ CSI 700/ OR 682 Lecture Notes Lecture 8. Nonlinear equations.

Example: FPI

Page 21: MATH 685/ CSI 700/ OR 682 Lecture Notes Lecture 8. Nonlinear equations.

Convergence of FPI

Page 22: MATH 685/ CSI 700/ OR 682 Lecture Notes Lecture 8. Nonlinear equations.

Newton’s method

Page 23: MATH 685/ CSI 700/ OR 682 Lecture Notes Lecture 8. Nonlinear equations.

Newton’s method

Page 24: MATH 685/ CSI 700/ OR 682 Lecture Notes Lecture 8. Nonlinear equations.

Newton’s method

Page 25: MATH 685/ CSI 700/ OR 682 Lecture Notes Lecture 8. Nonlinear equations.

Convergence of Newton’s method

Page 26: MATH 685/ CSI 700/ OR 682 Lecture Notes Lecture 8. Nonlinear equations.

Newton’s method

Page 27: MATH 685/ CSI 700/ OR 682 Lecture Notes Lecture 8. Nonlinear equations.

Secant method

Page 28: MATH 685/ CSI 700/ OR 682 Lecture Notes Lecture 8. Nonlinear equations.

Secant method

Page 29: MATH 685/ CSI 700/ OR 682 Lecture Notes Lecture 8. Nonlinear equations.

Example

Page 30: MATH 685/ CSI 700/ OR 682 Lecture Notes Lecture 8. Nonlinear equations.

Higher-degree interpolation

Page 31: MATH 685/ CSI 700/ OR 682 Lecture Notes Lecture 8. Nonlinear equations.

Inverse interpolation

Page 32: MATH 685/ CSI 700/ OR 682 Lecture Notes Lecture 8. Nonlinear equations.

Inverse quadratic interpolation

Page 33: MATH 685/ CSI 700/ OR 682 Lecture Notes Lecture 8. Nonlinear equations.

Example

Page 34: MATH 685/ CSI 700/ OR 682 Lecture Notes Lecture 8. Nonlinear equations.

Linear fractional interpolation

Page 35: MATH 685/ CSI 700/ OR 682 Lecture Notes Lecture 8. Nonlinear equations.

Example

Page 36: MATH 685/ CSI 700/ OR 682 Lecture Notes Lecture 8. Nonlinear equations.

Safeguarded methods Rapidly convergent methods for solving nonlinear equations may

not converge unless started close to solution, but safe methods are slow

Hybrid methods combine features of both types of methods to achieve both speed and reliability

Use rapidly convergent method, but maintain bracket around solution

If next approximate solution given by fast method falls outside bracketing interval, perform one iteration of safe method, such as bisection

Fast method can then be tried again on smaller interval with greater chance of success

Ultimately, convergence rate of fast method should prevail Hybrid approach seldom does worse than safe method, and

usually does much better Popular combination is bisection and inverse quadratic

interpolation, for which no derivatives required

Page 37: MATH 685/ CSI 700/ OR 682 Lecture Notes Lecture 8. Nonlinear equations.

Zeros of polynomials

Page 38: MATH 685/ CSI 700/ OR 682 Lecture Notes Lecture 8. Nonlinear equations.

Systems of nonlinear equations

Solving systems of nonlinear equations is much more difficult than scalar case because:

Wider variety of behavior is possible, so determining existence and number of solutions or good starting guess is much more complex

There is no simple way, in general, to guarantee convergence to desired solution or to bracket solution to produce absolutely safe method

Computational overhead increases rapidly with dimension of problem

Page 39: MATH 685/ CSI 700/ OR 682 Lecture Notes Lecture 8. Nonlinear equations.

Fixed-point iteration (FPI)

Page 40: MATH 685/ CSI 700/ OR 682 Lecture Notes Lecture 8. Nonlinear equations.

Newton’s method

Page 41: MATH 685/ CSI 700/ OR 682 Lecture Notes Lecture 8. Nonlinear equations.

Example

Page 42: MATH 685/ CSI 700/ OR 682 Lecture Notes Lecture 8. Nonlinear equations.

Example

Page 43: MATH 685/ CSI 700/ OR 682 Lecture Notes Lecture 8. Nonlinear equations.

Convergence of Newton’s method

Page 44: MATH 685/ CSI 700/ OR 682 Lecture Notes Lecture 8. Nonlinear equations.

Cost of Newton’s method

Page 45: MATH 685/ CSI 700/ OR 682 Lecture Notes Lecture 8. Nonlinear equations.

Secant updating methods

Page 46: MATH 685/ CSI 700/ OR 682 Lecture Notes Lecture 8. Nonlinear equations.

Broyden’s method

Page 47: MATH 685/ CSI 700/ OR 682 Lecture Notes Lecture 8. Nonlinear equations.

Broyden’s method

Page 48: MATH 685/ CSI 700/ OR 682 Lecture Notes Lecture 8. Nonlinear equations.

Example

Page 49: MATH 685/ CSI 700/ OR 682 Lecture Notes Lecture 8. Nonlinear equations.

Example

Page 50: MATH 685/ CSI 700/ OR 682 Lecture Notes Lecture 8. Nonlinear equations.

Example

Page 51: MATH 685/ CSI 700/ OR 682 Lecture Notes Lecture 8. Nonlinear equations.

Example (cont)

Page 52: MATH 685/ CSI 700/ OR 682 Lecture Notes Lecture 8. Nonlinear equations.

Robust Newton-like methods

Page 53: MATH 685/ CSI 700/ OR 682 Lecture Notes Lecture 8. Nonlinear equations.

Trust-region methods