Académique Documents
Professionnel Documents
Culture Documents
1
0 10 1 0 1
3 0 0 y1 6
Ly = b () @ 1 3 0 A @ y2 A = @ 1 A :
1 1 3 y3 8
On obtient 0
1 0 1
y1 2
@ y2 A = @ 1 A :
y3 3
0 10 1 0 1
3 1 1 x1 2
LT x = y () @ 0 3 1 A @ x2 A = @ 1 A ;
0 0 3 x3 3
la solution est 0 1 0 1
x1 1
@ x2 A = @ 0 A :
x3 1
Exercice 2 (4 points)
On considère les matrices
0 1 0 1
4 1 0 0 0 1 2 1
B 2 4 2 0 C 1B C
A=B C; et A 1
= B 2 4 8 4 C:
@ 0 2 4 2 A 2 @ 4 8 14 7 A
0 0 6 4 6 12 21 10
et
X
n
kAk1 = max jaij j
1 i n
j=1
alors
kAk1 = max (5; 8; 8; 10) = 10
et
1 49
kAk1 = max (4; 18; 33; 49) =
2 2
donc
490
cond1 (A) = = 245:
2
2. On a, puisque k k1 est une norme matricielle subordonnée alors
2
alors
1 1
kAk1 : (1)
kxk1 kbk1
d’autre part, puisque A est inversible
Ax = b eb () x 1 eb
=) A (x e) = b
x e=A
x b
x = eb
Ae
ce qui implique
kx ek1
x A 1
b eb (2)
1 1
b eb
kx x ek1 1
cond1 (A)
kxk1 kbk1
7
245 10 :
Exercice 3 (3 points)
Soit la matrice
2 1
A=
2 2
1. Calculer p
la matrice d’itération BGS de l’algorithme de Gauss-Seidel.
T
2. Calculer (BGS BGS ) Qu’en déduisez vous sur la convergence de l’algorithme de Gauss-
Seidel?
Solution
1. On pose
A=D E F
avec
2 0 0 0 0 1
D= ;E = et F =
0 2 2 0 0 0
la matrice d’itération de Gauss-Seidel est
1
1 2 0 0 1
BGS = (D E) F =
2 2 0 0
1 1 0 0 1 1 0 1
= =
2 1 1 0 0 2 0 1
2.
T 1 0 0 0 1 1 0 0
BGS BGS = = :
4 1 1 0 1 4 0 2
T 1
Les valeurs propres de la matrice BGS B sont = 0 et = : ce qui implique que
p GS 1 2 2
p 2
T
BGS BGS = 21 et T
(BGS BGS ) = :
2
Comme q p
T 2
kBGS k2 = (BGS BGS ) = < 1;
2
3
La méthode de Gauss-Seidel est convergente.
Exercice 4 ( 7 points)
f : [0; 1] R !R
(t; y) 7 ! f (t; y) = 2ty
La fonction f est continue sur [0; 1] R et lipschitzienne de constante L = 2; puisque pour
tout t 2 [0; 1] et pour tout (y; z) 2 R2 on:
dy
= 2tdt
y
en intégrant on obtient
ln jyj = t2 + c
ce qui implique
t2 +c t2
y (t) = e = Ke :
La condition initiale permet de déterminer K = 1:
La solution du problème de Cauchy est
t2
y (t) = e :
h2 h3
y (tn+1 ) = y (tn ) + y 0 (tn ) h + y 00 (tn ) + y 000 ( n ) ; tn < n < tn+1 :
2 3!
Or
4
et
y (0) = y0 = 1
y (0:1) y1 = (1 0:01) 1 = 0:99:
y (tn+1 ) y (tn ) h @f @f
n+1 (h) = f (tn ; y (tn )) (tn ; y (tn )) + (tn ; y (tn )) f (tn ; y (tn )) ;
h 2 @t @y
h2 000
n+1 (h) = y ( n)
3!
et donc en utilisant l’indication
h2
j n+1 (h)j < 4
3!
< 6: 666 7 10 3 :