Numerical_Analysis (1)
Numerical_Analysis (1)
November 12,2024
1 Introduction
3 Example
1 Introduction
3 Example
f1 (x1 , x2 , . . . , xn ) = 0,
f (x , x , . . . , x ) = 0,
2 1 2 n
(1)
..
.
fn (x1 , x2 , . . . , xn ) = 0,
F(x) = 0. (2)
Definition
A function G from D ⊂ Rn into Rn has a fixed point at p ∈ D if
G(p) = p.
1 Introduction
3 Example
a11 (x) a12 (x) · · · a1n (x)
a21 (x) a22 (x) · · · a2n (x)
A((x)) = .
.. ..
(3)
.. ..
. . .
an1 (x) an2 (x) · · · ann (x)
Now, we will give a theorem that will help us to express G in terms of its
Theorem
Let p be a solution of G(x) = x. Suppose a number δ > 0 exists with
∂gi
1 ∂xj is continuous on Nδ = {x | ∥x − p∥ < δ}, for each i = 1, 2, . . . , n
and j = 1, 2, . . . , n;
Theorem
Let p be a solution of G(x) = x. Suppose a number δ > 0 exists with
∂gi
1 ∂xj is continuous on Nδ = {x | ∥x − p∥ < δ}, for each i = 1, 2, . . . , n
and j = 1, 2, . . . , n;
∂ 2 gi (x) ∂ 2 gi (x)
2 (∂xj ∂xk ) is continuous, and | (∂xj ∂xk ) |≤ M for some constant M,
k = 1, 2, . . . , n.
Theorem
Let p be a solution of G(x) = x. Suppose a number δ > 0 exists with
∂gi
1 ∂xj is continuous on Nδ = {x | ∥x − p∥ < δ}, for each i = 1, 2, . . . , n
and j = 1, 2, . . . , n;
∂ 2 gi (x) ∂ 2 gi (x)
2 (∂xj ∂xk ) is continuous, and | (∂xj ∂xk ) |≤ M for some constant M,
k = 1, 2, . . . , n.
∂gi (p)
3 ∂xk = 0, for each i = 1, 2, . . . , n and k = 1, 2, . . . , n.
Theorem
Let p be a solution of G(x) = x. Suppose a number δ > 0 exists with
∂gi
1 ∂xj is continuous on Nδ = {x | ∥x − p∥ < δ}, for each i = 1, 2, . . . , n
and j = 1, 2, . . . , n;
∂ 2 gi (x) ∂ 2 gi (x)
2 (∂xj ∂xk ) is continuous, and | (∂xj ∂xk ) |≤ M for some constant M,
k = 1, 2, . . . , n.
∂gi (p)
3 ∂xk = 0, for each i = 1, 2, . . . , n and k = 1, 2, . . . , n.
functions from Rn into Rn in the form of Eq. (3), where the specific
entries will be chosen later. Moreover, that A(x) is non singular near a
solution p of F(x) = 0, and let bij x denote the entry of A(x)−1 in the ith
n
X
gi (x) = xi − bij (x)fj (x).
j=1
∂bij
1 − nj=1 bij (x) ∂x
∂fi
P
∂gi
k
(x) + ∂xk (x)fj (x) if i = k,
(x) =
∂xk
∂bij
− n ∂fi
P
j=1 bij (x) ∂xk (x) + ∂xk (x)fj (x) if i ̸= k.
∂gi
Above theorem implies that we need ∂xk = 0, for each i = 1, 2, . . . , n and
n
X ∂fj
0=1− bij (p) (p),
xi
j=1
that is,
n
X ∂fj
bij (p) (p) = 1. (4)
xi
j=1
When k ̸= i,
n
X ∂fj
− bij (p) (p) = 0,
xi
j=1
n
X ∂fj
bij (p) (p) = 0. (5)
xi
j=1
∂f1 ∂f1 ∂f1
∂x1 (x) ∂x2 (x) ··· ∂xn (x)
∂f2 ∂f2 ∂f2
∂x1 (x) ∂x2 (x) ··· ∂xn (x)
J(x) =
.. .. ..
. (6)
..
.
. . .
∂fn ∂fn ∂fn
∂x1 (x) ∂x2 (x) ··· ∂xn (x)
Then conditions (4) and (5) require that A(p)−1 J(p) = I, the identity
An appropriate choice for A(x) is, consequently, A(x) = J(x) since this
satisfies condition (3) in the above theorem. The function G is defined by
and the functional iteration procedure evolves from selecting x(0) and
generating, for k ≥ 1.
1 Introduction
3 Example
1
3x1 − cos(x2 x3 ) − = 0,
2
10π − 3
e−x1 x2 + 20x3 + = 0.
3
Apply Newton’s method to this problem with x(0) = (0.1, 0.1, −0.1)t .
Define
where
1
f1 (x1 , x2 , x3 ) = 3x1 − cos(x2 x3 ) − ,
2
10π − 3
f3 (x1 , x2 , x3 ) = e−x1 x2 + 20x3 + .
3
3 x3 sinx2 x3x2 sinx2 x3
J(x1 , x2 , x3 ) =
2x1 −162(x2 + 0.1) cosx3
−x2 e−x1 x2 −x1 e−x1 x2 20
3 9.999833334 × 10−4 9.999833334 × 10−4
(0)
J(x =
0.2 −32.4 0.9950041653
−0.09900498337 −0.09900498337 20
(0) (0)
Solving
the linear system, J(x
)y = −F(x(0) ) gives
0.3998996728 0.499869782
(0)
(1) (0) (0)
y = −0.08053315147 and x = x + y = 0.01946684853
−04215204718 −0.5215204718
Rahul Choudhary Numerical Analysis(MA 653) November 12,2024 22 / 25
Solution
where
(k−1)
y1
(k−1) (k−1) (k−1) (k−1) −1 (k−1) (k−1) (k−1)
y2 = −(J(x1 , x2 , x3 )) F(x1 , x2 , x3 ).
(k−1)
y3
Thus at the kth step, the linear system J(x(k−1) )y(k−1) = −F(x(k−1) )
must be solved, where
Rahul Choudhary Numerical Analysis(MA 653) November 12,2024 23 / 25
Solution
J(x (k−1) ) =
(k−1) (k−1) (k−1) (k−1) (k−1) (k−1)
3 x3 sinx2 x3 x2 sinx2 x3
(k−1) (k−1) (k−1)
2x1 −162(x2 + 0.1) cosx3 ,
(k−1) −x(k−1) x(k−1) (k−1) −x(k−1) x(k−1)
−x2 e 1 2 −x1 e 1 2 20
(k−1)
y1
(k−1)
(k−1)
y = y2
and
(k−1)
y3