Docsity

Newton's Method for Nonlinear Equations: Derivation, Convergence, and Circuit Applications, Slides of Computer Science

Partial preview of the text

Download Newton's Method for Nonlinear Equations: Derivation, Convergence, and Circuit Applications and more Slides Computer Science in PDF only on Docsity!

CSE 245: Computer Aided Circuit

Simulation and Verification

Spring 2010

Nonlinear Equation

Outline

  • Nonlinear problems
  • Iterative Methods
  • Newton’s Method
    • Derivation of Newton
    • Quadratic Convergence
    • Examples
    • Convergence Testing
  • Multidimensonal Newton Method
    • Basic Algorithm
    • Quadratic convergence
    • Application to circuits
  • Improve Convergence
    • Limiting Schemes
      • Direction Corrupting
      • Non corrupting (Damped Newton)
    • Continuation Schemes
      • Source stepping

Nonlinear Equations

  • Given g(V)=I
  • It can be expressed as: f(V)=g(V)-I

 Solve g(V)=I equivalent to solve f(V)=

Hard to find analytical solution for f(x)=

Solve iteratively

Nonlinear Equations – Iterative Methods

  • Start from an initial value x

0

  • Generate a sequence of iterate x

n-

, x

n

, x

n+

which hopefully converges to the solution x*

  • Iterates are generated according to an

iteration function F: x

n+

=F(x

n

Ask

  • When does it converge to correct solution?
  • What is the convergence rate?

Newton-Raphson Method – Graphical View

Newton-Raphson Method – Algorithm

  • How about convergence?
  • An iteration {x(k)} is said to converge with order q if there exists a

vector norm such that for each kN :

Define iteration

Do k = 0 to ….

until convergence

k k q x xˆ x xˆ

1   

1 1 k

k k k

f x

dx

df x

x x

 

1 1 k

k k k

f x

dx

df x

x x

 

1 1 k

k k k

f x

dx

df x

x x

 

Subtracting

2 1 * 1 * 2 2

( ) [ ( )] ( )( )

k df^ k d^ f k x x x x x x dx d x

    

Convergence is quadratic

Dividing through

2 1 2

1 * *^2

Let [ ( )] ( )

then

k k

k k k

df d f x x K dx d x

x x K x x

Newton-Raphson Method – Convergence

  • 2 2

2 1 * ( )

)

~ ( ( )

( ) x x dx

d f x x x dx

df x k k

k

  

Local Convergence Theorem

If

Then Newton’s method converges given a

sufficiently close initial guess (and

convergence is quadratic)

K is bounded

bounded dx

d f b

bounded away from zero dx

df a

2

2

Newton-Raphson Method – Convergence

 

1 2

1 *

1

2 *

( ) 2

2 ( 0) ( 0)

1 0 0

( ) 0,

for 0 2

1 ( ) ( ) 2

0

k k

k k k

k k k

k k

df x x dx

x x x

x x x x

or x x x

f x

x

x x

   

    

  

  

Convergence is linear

Note : not bounded

away from zero

1 df

dx

      

Newton-Raphson Method – Convergence

Example 2

Newton-Raphson Method – Convergence

Example 1,

Need a "delta-x" check to avoid false convergence

X

f(x)

k 1 x

 k x

x

 

1 a

k f x  f

 

1 1 a r

k k k x x  (^) x x x

 

Newton-Raphson Method – Convergence

Convergence Check

Also need an " f (^)  x" check to avoid false convergence

X

f(x)

k 1 x

 k x

x

 

1 a

k f x f

 

1 1 a r

k k k x x  (^) x x x

 

Newton-Raphson Method – Convergence

Convergence Check

Convergence Depends on a Good Initial Guess

Newton-Raphson Method – Convergence

Local Convergence

Nodal Analysis

At Node 1: i 1  i 2  0

1

b v

i 1

i (^22) b v

i 3

3

b v

Nonlinear

Resistors

i  g v 

v

v

 g v 1   g v 1  v 2  0

At Node 2: i 3  i 2  0

 g v 3   g v 1  v 2   0

(^) Two coupled

nonlinear equations

in two unknowns

Nonlinear Problems – Multidimensional Example