• 沒有找到結果。

Sol. of Non-linear Systems

N/A
N/A
Protected

Academic year: 2022

Share "Sol. of Non-linear Systems"

Copied!
55
0
0

加載中.... (立即查看全文)

全文

(1)

Sol. of Non-linear Systems

1

Numerical Solutions of Nonlinear Systems of Equations

NTNU

Tsung-Min Hwang November 30, 2003

Department of Mathematics – NTNU Tsung-Min Hwang November 30, 2003

(2)

Sol. of Non-linear Systems

2

1 – Fixed Point method . . . 3 2 – Newton’s Method . . . 4 3 – Quasi-Newton’s Method . . . 8

Department of Mathematics – NTNU Tsung-Min Hwang November 30, 2003

(3)

Sol. of Non-linear Systems

3

1 – Fixed Point method

Definition 1 A function

G

from

D ⊂ R

n into

R

n has a fixed point at

p ∈ D

if

G(p) = p

.

Theorem 1 (Contraction Mapping Theorem) Let

D = {(x

1

, · · · , x

n

)

T

; a

i

≤ x

i

≤ b

i

, ∀ i = 1, . . . , n} ⊂ R

n. Suppose

G : D → R

n

is a continuous function with

G(x) ∈ D

whenever

x ∈ D

. Then

G

has a fixed point in

D

.

Suppose, in addition,

G

has continuous partial derivatives and a constant

α < 1

exists with

∂g

i

(x)

∂x

j

≤ α

n ,

whenever

x ∈ D,

for

j = 1, . . . , n

and

i = 1, . . . , n

. Then, for any

x

(0)

∈ D

,

x

(k)

= G(x

(k−1)

),

for each

k ≥ 1

converges to the unique fixed point

p ∈ D

and

k x

(k)

− p k

≤ α

k

1 − α k x

(1)

− x

(0)

k

.

Department of Mathematics – NTNU Tsung-Min Hwang November 30, 2003

(4)

Sol. of Non-linear Systems

3

1 – Fixed Point method

Definition 1 A function

G

from

D ⊂ R

n into

R

n has a fixed point at

p ∈ D

if

G(p) = p

.

Theorem 1 (Contraction Mapping Theorem) Let

D = {(x

1

, · · · , x

n

)

T

; a

i

≤ x

i

≤ b

i

, ∀ i = 1, . . . , n} ⊂ R

n. Suppose

G : D → R

n

is a continuous function with

G(x) ∈ D

whenever

x ∈ D

. Then

G

has a fixed point in

D

.

Suppose, in addition,

G

has continuous partial derivatives and a constant

α < 1

exists with

∂g

i

(x)

∂x

j

≤ α

n ,

whenever

x ∈ D,

for

j = 1, . . . , n

and

i = 1, . . . , n

. Then, for any

x

(0)

∈ D

,

x

(k)

= G(x

(k−1)

),

for each

k ≥ 1

converges to the unique fixed point

p ∈ D

and

k x

(k)

− p k

≤ α

k

1 − α k x

(1)

− x

(0)

k

.

Department of Mathematics – NTNU Tsung-Min Hwang November 30, 2003

(5)

Sol. of Non-linear Systems

4

2 – Newton’s Method

First consider solving the following system of nonlinear equations:

f

1

(x

1

, x

2

) = 0, f

2

(x

1

, x

2

) = 0.

Suppose

(x

(k)1

, x

(k)2

)

is an approximation to the solution of the system above, and we try to compute

h

(k)1 and

h

(k)2 such that

(x

(k)1

+ h

(k)1

, x

(k)2

+ h

(k)2

)

satisfies the system. By the Taylor’s theorem for two variables,

0 = f

1

(x

(k)1

+ h

(k)1

, x

(k)2

+ h

(k)2

)

≈ f

1

(x

(k)1

, x

(k)2

) + h

(k)1

∂f

1

∂x

1

(x

(k)1

, x

(k)2

) + h

(k)2

∂f

1

∂x

2

(x

(k)1

, x

(k)2

) 0 = f

2

(x

(k)1

+ h

(k)1

, x

(k)2

+ h

(k)2

)

≈ f

2

(x

(k)1

, x

(k)2

) + h

(k)1

∂f

2

∂x

1

(x

(k)1

, x

(k)2

) + h

(k)2

∂f

2

∂x

2

(x

(k)1

, x

(k)2

)

Department of Mathematics – NTNU Tsung-Min Hwang November 30, 2003

(6)

Sol. of Non-linear Systems

4

2 – Newton’s Method

First consider solving the following system of nonlinear equations:

f

1

(x

1

, x

2

) = 0, f

2

(x

1

, x

2

) = 0.

Suppose

(x

(k)1

, x

(k)2

)

is an approximation to the solution of the system above, and we try to compute

h

(k)1 and

h

(k)2 such that

(x

(k)1

+ h

(k)1

, x

(k)2

+ h

(k)2

)

satisfies the system.

By the Taylor’s theorem for two variables,

0 = f

1

(x

(k)1

+ h

(k)1

, x

(k)2

+ h

(k)2

)

≈ f

1

(x

(k)1

, x

(k)2

) + h

(k)1

∂f

1

∂x

1

(x

(k)1

, x

(k)2

) + h

(k)2

∂f

1

∂x

2

(x

(k)1

, x

(k)2

) 0 = f

2

(x

(k)1

+ h

(k)1

, x

(k)2

+ h

(k)2

)

≈ f

2

(x

(k)1

, x

(k)2

) + h

(k)1

∂f

2

∂x

1

(x

(k)1

, x

(k)2

) + h

(k)2

∂f

2

∂x

2

(x

(k)1

, x

(k)2

)

Department of Mathematics – NTNU Tsung-Min Hwang November 30, 2003

(7)

Sol. of Non-linear Systems

4

2 – Newton’s Method

First consider solving the following system of nonlinear equations:

f

1

(x

1

, x

2

) = 0, f

2

(x

1

, x

2

) = 0.

Suppose

(x

(k)1

, x

(k)2

)

is an approximation to the solution of the system above, and we try to compute

h

(k)1 and

h

(k)2 such that

(x

(k)1

+ h

(k)1

, x

(k)2

+ h

(k)2

)

satisfies the system. By the Taylor’s theorem for two variables,

0 = f

1

(x

(k)1

+ h

(k)1

, x

(k)2

+ h

(k)2

)

≈ f

1

(x

(k)1

, x

(k)2

) + h

(k)1

∂f

1

∂x

1

(x

(k)1

, x

(k)2

) + h

(k)2

∂f

1

∂x

2

(x

(k)1

, x

(k)2

) 0 = f

2

(x

(k)1

+ h

(k)1

, x

(k)2

+ h

(k)2

)

≈ f

2

(x

(k)1

, x

(k)2

) + h

(k)1

∂f

2

∂x

1

(x

(k)1

, x

(k)2

) + h

(k)2

∂f

2

∂x

2

(x

(k)1

, x

(k)2

)

Department of Mathematics – NTNU Tsung-Min Hwang November 30, 2003

(8)

Sol. of Non-linear Systems

5

Put this in matrix form

∂f1

∂x1

(x

(k)1

, x

(k)2

)

∂x∂f1

2

(x

(k)1

, x

(k)2

)

∂f2

∂x1

(x

(k)1

, x

(k)2

)

∂x∂f2

2

(x

(k)1

, x

(k)2

)

h

(k)1

h

(k)2

 +

f

1

(x

(k)1

, x

(k)2

) f

2

(x

(k)1

, x

(k)2

)

 ≈

 0 0

 .

The matrix

J(x

(k)1

, x

(k)2

) ≡

∂f1

∂x1

(x

(k)1

, x

(k)2

)

∂x∂f1

2

(x

(k)1

, x

(k)2

)

∂f2

∂x1

(x

(k)1

, x

(k)2

)

∂x∂f2

2

(x

(k)1

, x

(k)2

)

is called the Jacobian matrix. Set

h

(k)1 and

h

(k)2 be the solution of the linear system

J(x

(k)1

, x

(k)2

)

h

(k)1

h

(k)2

 = −

f

1

(x

(k)1

, x

(k)2

) f

2

(x

(k)1

, x

(k)2

)

then

x

(k+1)1

x

(k+1)2

 =

x

(k)1

x

(k)2

 +

h

(k)1

h

(k)2

is expected to be a better approximation. Department of Mathematics – NTNU Tsung-Min Hwang November 30, 2003

(9)

Sol. of Non-linear Systems

5

Put this in matrix form

∂f1

∂x1

(x

(k)1

, x

(k)2

)

∂x∂f1

2

(x

(k)1

, x

(k)2

)

∂f2

∂x1

(x

(k)1

, x

(k)2

)

∂x∂f2

2

(x

(k)1

, x

(k)2

)

h

(k)1

h

(k)2

 +

f

1

(x

(k)1

, x

(k)2

) f

2

(x

(k)1

, x

(k)2

)

 ≈

 0 0

 .

The matrix

J(x

(k)1

, x

(k)2

) ≡

∂f1

∂x1

(x

(k)1

, x

(k)2

)

∂x∂f1

2

(x

(k)1

, x

(k)2

)

∂f2

∂x1

(x

(k)1

, x

(k)2

)

∂x∂f2

2

(x

(k)1

, x

(k)2

)

is called the Jacobian matrix.

Set

h

(k)1 and

h

(k)2 be the solution of the linear system

J(x

(k)1

, x

(k)2

)

h

(k)1

h

(k)2

 = −

f

1

(x

(k)1

, x

(k)2

) f

2

(x

(k)1

, x

(k)2

)

then

x

(k+1)1

x

(k+1)2

 =

x

(k)1

x

(k)2

 +

h

(k)1

h

(k)2

is expected to be a better approximation. Department of Mathematics – NTNU Tsung-Min Hwang November 30, 2003

(10)

Sol. of Non-linear Systems

5

Put this in matrix form

∂f1

∂x1

(x

(k)1

, x

(k)2

)

∂x∂f1

2

(x

(k)1

, x

(k)2

)

∂f2

∂x1

(x

(k)1

, x

(k)2

)

∂x∂f2

2

(x

(k)1

, x

(k)2

)

h

(k)1

h

(k)2

 +

f

1

(x

(k)1

, x

(k)2

) f

2

(x

(k)1

, x

(k)2

)

 ≈

 0 0

 .

The matrix

J(x

(k)1

, x

(k)2

) ≡

∂f1

∂x1

(x

(k)1

, x

(k)2

)

∂x∂f1

2

(x

(k)1

, x

(k)2

)

∂f2

∂x1

(x

(k)1

, x

(k)2

)

∂x∂f2

2

(x

(k)1

, x

(k)2

)

is called the Jacobian matrix. Set

h

(k)1 and

h

(k)2 be the solution of the linear system

J(x

(k)1

, x

(k)2

)

h

(k)1

h

(k)2

 = −

f

1

(x

(k)1

, x

(k)2

) f

2

(x

(k)1

, x

(k)2

)

then

x

(k+1)1

x

(k+1)2

 =

x

(k)1

x

(k)2

 +

h

(k)1

h

(k)2

is expected to be a better approximation. Department of Mathematics – NTNU Tsung-Min Hwang November 30, 2003

(11)

Sol. of Non-linear Systems

5

Put this in matrix form

∂f1

∂x1

(x

(k)1

, x

(k)2

)

∂x∂f1

2

(x

(k)1

, x

(k)2

)

∂f2

∂x1

(x

(k)1

, x

(k)2

)

∂x∂f2

2

(x

(k)1

, x

(k)2

)

h

(k)1

h

(k)2

 +

f

1

(x

(k)1

, x

(k)2

) f

2

(x

(k)1

, x

(k)2

)

 ≈

 0 0

 .

The matrix

J(x

(k)1

, x

(k)2

) ≡

∂f1

∂x1

(x

(k)1

, x

(k)2

)

∂x∂f1

2

(x

(k)1

, x

(k)2

)

∂f2

∂x1

(x

(k)1

, x

(k)2

)

∂x∂f2

2

(x

(k)1

, x

(k)2

)

is called the Jacobian matrix. Set

h

(k)1 and

h

(k)2 be the solution of the linear system

J(x

(k)1

, x

(k)2

)

h

(k)1

h

(k)2

 = −

f

1

(x

(k)1

, x

(k)2

) f

2

(x

(k)1

, x

(k)2

)

then

x

(k+1)1

x

(k+1)2

 =

x

(k)1

x

(k)2

 +

h

(k)1

h

(k)2

is expected to be a better approximation.

Department of Mathematics – NTNU Tsung-Min Hwang November 30, 2003

(12)

Sol. of Non-linear Systems

6

In general, we solve the system of

n

nonlinear equations

f

i

(x

1

, · · · , x

n

) = 0

,

i = 1, . . . , n

.

Let

x = h

x

1

x

2

· · · x

n

i

T

and

F (x) = h

f

1

(x) f

2

(x) · · · f

n

(x) i

T

.

The problem can be formulated as solving

F (x) = 0, F : R

n

→ R

n

.

Let

J(x)

, where the

(i, j)

entry is ∂x∂fi

j

(x)

, be the

n × n

Jacobian matrix. Then the Newton’s iteration is defined as

x

(k+1)

= x

(k)

+ h

(k)

,

where

h

(k)

∈ R

n is the solution of the linear system

J(x

(k)

)h

(k)

= −F (x

(k)

).

Department of Mathematics – NTNU Tsung-Min Hwang November 30, 2003

(13)

Sol. of Non-linear Systems

6

In general, we solve the system of

n

nonlinear equations

f

i

(x

1

, · · · , x

n

) = 0

,

i = 1, . . . , n

. Let

x = h

x

1

x

2

· · · x

n

i

T

and

F (x) = h

f

1

(x) f

2

(x) · · · f

n

(x) i

T

.

The problem can be formulated as solving

F (x) = 0, F : R

n

→ R

n

.

Let

J(x)

, where the

(i, j)

entry is ∂x∂fi

j

(x)

, be the

n × n

Jacobian matrix. Then the Newton’s iteration is defined as

x

(k+1)

= x

(k)

+ h

(k)

,

where

h

(k)

∈ R

n is the solution of the linear system

J(x

(k)

)h

(k)

= −F (x

(k)

).

Department of Mathematics – NTNU Tsung-Min Hwang November 30, 2003

(14)

Sol. of Non-linear Systems

6

In general, we solve the system of

n

nonlinear equations

f

i

(x

1

, · · · , x

n

) = 0

,

i = 1, . . . , n

. Let

x = h

x

1

x

2

· · · x

n

i

T

and

F (x) = h

f

1

(x) f

2

(x) · · · f

n

(x) i

T

.

The problem can be formulated as solving

F (x) = 0, F : R

n

→ R

n

.

Let

J(x)

, where the

(i, j)

entry is ∂x∂fi

j

(x)

, be the

n × n

Jacobian matrix. Then the Newton’s iteration is defined as

x

(k+1)

= x

(k)

+ h

(k)

,

where

h

(k)

∈ R

n is the solution of the linear system

J(x

(k)

)h

(k)

= −F (x

(k)

).

Department of Mathematics – NTNU Tsung-Min Hwang November 30, 2003

(15)

Sol. of Non-linear Systems

6

In general, we solve the system of

n

nonlinear equations

f

i

(x

1

, · · · , x

n

) = 0

,

i = 1, . . . , n

. Let

x = h

x

1

x

2

· · · x

n

i

T

and

F (x) = h

f

1

(x) f

2

(x) · · · f

n

(x) i

T

.

The problem can be formulated as solving

F (x) = 0, F : R

n

→ R

n

.

Let

J(x)

, where the

(i, j)

entry is ∂x∂fi

j

(x)

, be the

n × n

Jacobian matrix.

Then the Newton’s iteration is defined as

x

(k+1)

= x

(k)

+ h

(k)

,

where

h

(k)

∈ R

n is the solution of the linear system

J(x

(k)

)h

(k)

= −F (x

(k)

).

Department of Mathematics – NTNU Tsung-Min Hwang November 30, 2003

(16)

Sol. of Non-linear Systems

6

In general, we solve the system of

n

nonlinear equations

f

i

(x

1

, · · · , x

n

) = 0

,

i = 1, . . . , n

. Let

x = h

x

1

x

2

· · · x

n

i

T

and

F (x) = h

f

1

(x) f

2

(x) · · · f

n

(x) i

T

.

The problem can be formulated as solving

F (x) = 0, F : R

n

→ R

n

.

Let

J(x)

, where the

(i, j)

entry is ∂x∂fi

j

(x)

, be the

n × n

Jacobian matrix. Then the Newton’s iteration is defined as

x

(k+1)

= x

(k)

+ h

(k)

,

where

h

(k)

∈ R

n is the solution of the linear system

J(x

(k)

)h

(k)

= −F (x

(k)

).

Department of Mathematics – NTNU Tsung-Min Hwang November 30, 2003

(17)

Sol. of Non-linear Systems

7

Algorithm 1 (Newton’s Method for Systems) Given a function

F : R

n

→ R

n, an initial guess

x

(0) to the zero of

F

, and stop criteria

M

,

δ

, and

ε

, this algorithm performs the Newton’s iteration to approximate one root of

F

.

Set

k = 0

and

h

(−1)

= e

1.

while

(k < M )

and

(k h

(k−1)

k≥ δ)

and

(k F (x

(k)

) k≥ ε

do

Calculate

J(x

(k)

) = [∂F

i

(x

(k)

)/∂x

j

]

.

Solve the

n × n

linear system

J(x

(k)

)h

(k)

= −F (x

(k)

)

.

Set

x

(k+1)

= x

(k)

+ h

(k) and

k = k + 1

.

end while

Output ( “Convergent

x

(k)”) or (“Maximum number of iterations exceeded”)

Remark 1

(i) quadratic convergence if the starting point is near the exact solution point in terms of vector norm.

(ii) At each iteration, a Jacobian matrix has to be evaluated and an

n × n

linear system involving this matrix must be solved.

Department of Mathematics – NTNU Tsung-Min Hwang November 30, 2003

(18)

Sol. of Non-linear Systems

7

Algorithm 1 (Newton’s Method for Systems) Given a function

F : R

n

→ R

n, an initial guess

x

(0) to the zero of

F

, and stop criteria

M

,

δ

, and

ε

, this algorithm performs the Newton’s iteration to approximate one root of

F

.

Set

k = 0

and

h

(−1)

= e

1.

while

(k < M )

and

(k h

(k−1)

k≥ δ)

and

(k F (x

(k)

) k≥ ε

do

Calculate

J(x

(k)

) = [∂F

i

(x

(k)

)/∂x

j

]

.

Solve the

n × n

linear system

J(x

(k)

)h

(k)

= −F (x

(k)

)

.

Set

x

(k+1)

= x

(k)

+ h

(k) and

k = k + 1

.

end while

Output ( “Convergent

x

(k)”) or (“Maximum number of iterations exceeded”) Remark 1

(i) quadratic convergence if the starting point is near the exact solution point in terms of vector norm.

(ii) At each iteration, a Jacobian matrix has to be evaluated and an

n × n

linear system involving this matrix must be solved.

Department of Mathematics – NTNU Tsung-Min Hwang November 30, 2003

(19)

Sol. of Non-linear Systems

8

3 – Quasi-Newton’s Method

Next we will extend secant method to solving system of nonlinear equations.

Recall that in one dimensional case, one uses the linear model

`

k

(x) = f (x

k

) + a

k

(x − x

k

)

to approximate the function

f (x)

at

x

k. That is,

`

k

(x

k

) = f (x

k

)

for any

a

k

∈ R

. If we

further require that

`

0

(x

k

) = f

0

(x

k

)

, then

a

k

= f

0

(x

k

)

. The zero of

`

k

(x)

is used to

give a new approximate for the zero of

f (x)

, that is,

x

k+1

= x

k

− 1

f

0

(x

k

) f (x

k

)

which yields Newton’s method. Department of Mathematics – NTNU Tsung-Min Hwang November 30, 2003

(20)

Sol. of Non-linear Systems

8

3 – Quasi-Newton’s Method

Next we will extend secant method to solving system of nonlinear equations. Recall that in one dimensional case, one uses the linear model

`

k

(x) = f (x

k

) + a

k

(x − x

k

)

to approximate the function

f (x)

at

x

k.

That is,

`

k

(x

k

) = f (x

k

)

for any

a

k

∈ R

. If we

further require that

`

0

(x

k

) = f

0

(x

k

)

, then

a

k

= f

0

(x

k

)

. The zero of

`

k

(x)

is used to

give a new approximate for the zero of

f (x)

, that is,

x

k+1

= x

k

− 1

f

0

(x

k

) f (x

k

)

which yields Newton’s method. Department of Mathematics – NTNU Tsung-Min Hwang November 30, 2003

(21)

Sol. of Non-linear Systems

8

3 – Quasi-Newton’s Method

Next we will extend secant method to solving system of nonlinear equations. Recall that in one dimensional case, one uses the linear model

`

k

(x) = f (x

k

) + a

k

(x − x

k

)

to approximate the function

f (x)

at

x

k. That is,

`

k

(x

k

) = f (x

k

)

for any

a

k

∈ R

.

If we further require that

`

0

(x

k

) = f

0

(x

k

)

, then

a

k

= f

0

(x

k

)

. The zero of

`

k

(x)

is used to

give a new approximate for the zero of

f (x)

, that is,

x

k+1

= x

k

− 1

f

0

(x

k

) f (x

k

)

which yields Newton’s method. Department of Mathematics – NTNU Tsung-Min Hwang November 30, 2003

(22)

Sol. of Non-linear Systems

8

3 – Quasi-Newton’s Method

Next we will extend secant method to solving system of nonlinear equations. Recall that in one dimensional case, one uses the linear model

`

k

(x) = f (x

k

) + a

k

(x − x

k

)

to approximate the function

f (x)

at

x

k. That is,

`

k

(x

k

) = f (x

k

)

for any

a

k

∈ R

. If we

further require that

`

0

(x

k

) = f

0

(x

k

)

, then

a

k

= f

0

(x

k

)

.

The zero of

`

k

(x)

is used to

give a new approximate for the zero of

f (x)

, that is,

x

k+1

= x

k

− 1

f

0

(x

k

) f (x

k

)

which yields Newton’s method. Department of Mathematics – NTNU Tsung-Min Hwang November 30, 2003

(23)

Sol. of Non-linear Systems

8

3 – Quasi-Newton’s Method

Next we will extend secant method to solving system of nonlinear equations. Recall that in one dimensional case, one uses the linear model

`

k

(x) = f (x

k

) + a

k

(x − x

k

)

to approximate the function

f (x)

at

x

k. That is,

`

k

(x

k

) = f (x

k

)

for any

a

k

∈ R

. If we

further require that

`

0

(x

k

) = f

0

(x

k

)

, then

a

k

= f

0

(x

k

)

. The zero of

`

k

(x)

is used to

give a new approximate for the zero of

f (x)

, that is,

x

k+1

= x

k

− 1

f

0

(x

k

) f (x

k

)

which yields Newton’s method.

Department of Mathematics – NTNU Tsung-Min Hwang November 30, 2003

(24)

Sol. of Non-linear Systems

9

If

f

0

(x

k

)

is not available, one instead asks the linear model to satisfy

`

k

(x

k

) = f (x

k

)

and

`

k

(x

k−1

) = f (x

k−1

).

In doing this, the identity

f (x

k−1

) = `

k

(x

k−1

) = f (x

k

) + a

k

(x

k−1

− x

k

)

gives

a

k

= f (x

k

) − f (x

k−1

) x

k

− x

k−1

.

Solving

`

k

(x) = 0

yields the secant iteration

x

k+1

= x

k

− x

k

− x

k−1

f (x

k

) − f (x

k−1

) f (x

k

).

Department of Mathematics – NTNU Tsung-Min Hwang November 30, 2003

(25)

Sol. of Non-linear Systems

9

If

f

0

(x

k

)

is not available, one instead asks the linear model to satisfy

`

k

(x

k

) = f (x

k

)

and

`

k

(x

k−1

) = f (x

k−1

).

In doing this, the identity

f (x

k−1

) = `

k

(x

k−1

) = f (x

k

) + a

k

(x

k−1

− x

k

)

gives

a

k

= f (x

k

) − f (x

k−1

) x

k

− x

k−1

.

Solving

`

k

(x) = 0

yields the secant iteration

x

k+1

= x

k

− x

k

− x

k−1

f (x

k

) − f (x

k−1

) f (x

k

).

Department of Mathematics – NTNU Tsung-Min Hwang November 30, 2003

(26)

Sol. of Non-linear Systems

9

If

f

0

(x

k

)

is not available, one instead asks the linear model to satisfy

`

k

(x

k

) = f (x

k

)

and

`

k

(x

k−1

) = f (x

k−1

).

In doing this, the identity

f (x

k−1

) = `

k

(x

k−1

) = f (x

k

) + a

k

(x

k−1

− x

k

)

gives

a

k

= f (x

k

) − f (x

k−1

) x

k

− x

k−1

.

Solving

`

k

(x) = 0

yields the secant iteration

x

k+1

= x

k

− x

k

− x

k−1

f (x

k

) − f (x

k−1

) f (x

k

).

Department of Mathematics – NTNU Tsung-Min Hwang November 30, 2003

(27)

Sol. of Non-linear Systems

10

In multiple dimension, the analogue affine model becomes

M

k

(x) = F (x

k

) + A

k

(x − x

k

),

where

x, x

k

∈ R

n and

A

k

∈ R

n×n, and satisfies

M

k

(x

k

) = F (x

k

),

for any

A

k.

The zero of

M

k

(x)

is then used to give a new approximate for the zero of

F (x)

, that is,

x

k+1

= x

k

− A

k 1

F (x

k

).

The Newton’s method chooses

A

k

= F

0

(x

k

) ≡ J(x

k

) =

the Jacobian matrix

.

and yields the iteration

x

k+1

= x

k

− (F

0

(x

k

))

1

F (x

k

).

Department of Mathematics – NTNU Tsung-Min Hwang November 30, 2003

(28)

Sol. of Non-linear Systems

10

In multiple dimension, the analogue affine model becomes

M

k

(x) = F (x

k

) + A

k

(x − x

k

),

where

x, x

k

∈ R

n and

A

k

∈ R

n×n, and satisfies

M

k

(x

k

) = F (x

k

),

for any

A

k. The zero of

M

k

(x)

is then used to give a new approximate for the zero of

F (x)

, that is,

x

k+1

= x

k

− A

k 1

F (x

k

).

The Newton’s method chooses

A

k

= F

0

(x

k

) ≡ J(x

k

) =

the Jacobian matrix

.

and yields the iteration

x

k+1

= x

k

− (F

0

(x

k

))

1

F (x

k

).

Department of Mathematics – NTNU Tsung-Min Hwang November 30, 2003

(29)

Sol. of Non-linear Systems

10

In multiple dimension, the analogue affine model becomes

M

k

(x) = F (x

k

) + A

k

(x − x

k

),

where

x, x

k

∈ R

n and

A

k

∈ R

n×n, and satisfies

M

k

(x

k

) = F (x

k

),

for any

A

k. The zero of

M

k

(x)

is then used to give a new approximate for the zero of

F (x)

, that is,

x

k+1

= x

k

− A

k 1

F (x

k

).

The Newton’s method chooses

A

k

= F

0

(x

k

) ≡ J(x

k

) =

the Jacobian matrix

.

and yields the iteration

x

k+1

= x

k

− (F

0

(x

k

))

1

F (x

k

).

Department of Mathematics – NTNU Tsung-Min Hwang November 30, 2003

(30)

Sol. of Non-linear Systems

11

When the Jacobian matrix

J(x

k

) ≡ F

0

(x

k

)

is not available, one can require

M

k

(x

k−1

) = F (x

k−1

).

Then

F (x

k−1

) = M

k

(x

k−1

) = F (x

k

) + A

k

(x

k−1

− x

k

),

which gives

A

k

(x

k

− x

k−1

) = F (x

k

) − F (x

k−1

)

and this is the so-called secant equation. Let

h

k

= x

k

− x

k−1 and

y

k

= F (x

k

) − F (x

k−1

).

The secant equation becomes

A

k

h

k

= y

k

.

Department of Mathematics – NTNU Tsung-Min Hwang November 30, 2003

(31)

Sol. of Non-linear Systems

11

When the Jacobian matrix

J(x

k

) ≡ F

0

(x

k

)

is not available, one can require

M

k

(x

k−1

) = F (x

k−1

).

Then

F (x

k−1

) = M

k

(x

k−1

) = F (x

k

) + A

k

(x

k−1

− x

k

),

which gives

A

k

(x

k

− x

k−1

) = F (x

k

) − F (x

k−1

)

and this is the so-called secant equation.

Let

h

k

= x

k

− x

k−1 and

y

k

= F (x

k

) − F (x

k−1

).

The secant equation becomes

A

k

h

k

= y

k

.

Department of Mathematics – NTNU Tsung-Min Hwang November 30, 2003

(32)

Sol. of Non-linear Systems

11

When the Jacobian matrix

J(x

k

) ≡ F

0

(x

k

)

is not available, one can require

M

k

(x

k−1

) = F (x

k−1

).

Then

F (x

k−1

) = M

k

(x

k−1

) = F (x

k

) + A

k

(x

k−1

− x

k

),

which gives

A

k

(x

k

− x

k−1

) = F (x

k

) − F (x

k−1

)

and this is the so-called secant equation. Let

h

k

= x

k

− x

k−1 and

y

k

= F (x

k

) − F (x

k−1

).

The secant equation becomes

A

k

h

k

= y

k

.

Department of Mathematics – NTNU Tsung-Min Hwang November 30, 2003

(33)

Sol. of Non-linear Systems

11

When the Jacobian matrix

J(x

k

) ≡ F

0

(x

k

)

is not available, one can require

M

k

(x

k−1

) = F (x

k−1

).

Then

F (x

k−1

) = M

k

(x

k−1

) = F (x

k

) + A

k

(x

k−1

− x

k

),

which gives

A

k

(x

k

− x

k−1

) = F (x

k

) − F (x

k−1

)

and this is the so-called secant equation. Let

h

k

= x

k

− x

k−1 and

y

k

= F (x

k

) − F (x

k−1

).

The secant equation becomes

A

k

h

k

= y

k

.

Department of Mathematics – NTNU Tsung-Min Hwang November 30, 2003

參考文獻

相關文件

Department of Mathematics National Cheng Kung

Department of Mathematics National Cheng Kung

Department of Mathematics National Cheng Kung

Department of Mathematics National Cheng Kung

Department of Mathematics National Cheng Kung

Department of Mathematics National Cheng Kung

Department of Mathematics National Cheng Kung

Department of Mathematics National Cheng Kung