Vous êtes sur la page 1sur 7

Cours MEF- Chapitre 1 : Rappels sur le calcul matriciel

Chapitre 1
Rappels sur le calcul matriciel

1.1.Définition d’une matrice


Une matrice est un ensemble d’éléments présentés sous forme de ligne et colonnes comme un
tableau. Si nous avons (𝑛) lignes et (𝑚) colonnes, ce tableau est nommé matrice 𝑛 × 𝑚 est dite
matrice d’ordre (𝑛 × 𝑚). Si 𝑛 = 𝑚 notre matrice est appelée matrice carrée.

L’élément de 𝑖 è𝑚𝑒 ligne et de la 𝑗 è𝑚𝑒 colonne d’une matrice est désigné par 𝑎𝑖𝑗 .

[𝐴𝑖𝑗 ] = = 𝐴𝑛𝑚

1.2. Matrice ligne et Matrice colonne


Une matrice qui comporte une seule ligne est dite matrice ligne.
[𝐴1×𝑚 ] = [𝑎1 … … .. 𝑎2 … … .. 𝑎𝑚 ]
Une matrice qui comporte une seule colonne est appelée matrice colonne.
𝑎1×1


𝑎
[𝐴𝑛×1 ] = 2×1


[𝑎𝑛×1 ]

1
Cours MEF- Chapitre 1 : Rappels sur le calcul matriciel

Si une matrice est d’ordre (1 × 1) elle appelée un scalaire.


1.3.Opération sur les matrices

1.3.1. Addition et soustraction


Ces opérations peuvent être réaliser uniquement sur des matrices de même ordre. La somme ou
la différence de deux matrices est obtenue par l’addition ou soustraction des éléments
correspondants.

Soit deux matrices [𝐴] [𝐵] et de même dimension 𝑛 × 𝑚, tel que [𝐴] = 𝑎𝑖𝑗 et [𝐵] = 𝑏𝑖𝑗

𝑎11 + 𝑏11 𝑎12 + 𝑏12 ⋯ 𝑎1𝑚 + 𝑏1𝑚


𝑎21 + 𝑏21 𝑎22 + 𝑏22 ⋯ 𝑎2𝑚 + 𝑏2𝑚
𝑎31 + 𝑏31 𝑎32 + 𝑏32 ⋯ 𝑎3𝑚 + 𝑏3𝑚
[𝐴] + [𝐵] =
𝑎41 + 𝑏41 𝑎42 + 𝑏42 ⋯ 𝑎4𝑚 + 𝑏4𝑚
⋮ ⋮ ⋱ ⋮
[𝑎𝑛1 + 𝑏𝑛1 𝑎𝑛2 + 𝑏𝑛2 ⋯ 𝑎𝑛𝑚 + 𝑏𝑛𝑚 ]

Dans le cas d’une différence des matrices [𝐴] et [𝐵], on posera de la même façon.

L’addition et la soustraction sont commutatives et associatives :

[𝐴] ∓ [𝐵] = ∓ [𝐵] + [𝐴]

(([𝐴] ∓ [𝐵]) ∓ [𝐶]) = ([𝐴] ∓ [𝐵] ∓ [𝐶])

Exemple :

0 1 2 6 4 8
[𝐴] = [8 −4 5 ] et [𝐵] = [3 0 1]
7 10 −3 5 −2 0

6 5 10 −6 −5 −6
[𝐴] + [𝐵] = [11 −4 6 ] et [𝐴] − [𝐵] = [ 5 −4 4 ]
12 8 −3 2 12 −3

1.3.2. Multiplication par un scalaire


Multiplier une matrice par un scalaire 𝑘 écrit avant ou après la matrice, c’est la multiplication
de chaque élément par le même scalaire.

𝑘𝑎11 𝑘𝑎12 𝑘𝑎1𝑚


𝑘[𝐴] = [𝐴]𝑘 = [ ⋮ ⋮ ⋱ ⋮ ]
𝑘𝑎𝑛1 𝑘𝑎𝑛2 𝑘𝑎𝑛𝑚

1.3.3. Multiplication des matrices


Pour faire multiplier des matrices il faut 𝑚 de la première matrice = 𝑛 de la deuxième matrice.

2
Cours MEF- Chapitre 1 : Rappels sur le calcul matriciel

Soit deux matrices [𝐴] [𝐵] de dimensions respectives 𝑛 × 𝑚 et 𝑚 × 𝑙, la matrice [𝐶], produit
des matrices [𝐴] et [𝐵], de dimension 𝑛 × 𝑙, sera obtenus en posant que les termes 𝑐𝑖𝑗 sont
égaux à :

𝑘=𝑚

𝐶𝑖𝑗 = ∑ 𝑎𝑖𝑘 × 𝑏𝑘𝑗 (𝑖 = 1,2, … . . 𝑛; 𝑗 = 1,2, … . 𝑙)


𝑘=1

Le produit matriciel n’est pas commutatif, [𝐴] × [𝐵] ≠ [𝐵] × [𝐴]

𝑎11 𝑎12 ⋯ 𝑎1𝑚


𝑎21 𝑎22 ⋯ 𝑎2𝑚 𝑏11 𝑏12 … 𝑏1𝑗 … 𝑏1𝑙
⋮ ⋮ ⋮ 𝑏21 𝑏22 … 𝑏2𝑗 … 𝑏2𝑙
[𝐴] × [𝐵] = 𝑎𝑖1 𝑎𝑖2 ⋯ 𝑎𝑖𝑚 ×
⋮ ⋮ ⋮ ⋮
⋮ ⋮ ⋮
[𝑏𝑚1 𝑏𝑚2 … 𝑏𝑚𝑗 … 𝑏𝑚𝑙 ]
[𝑎𝑛1 𝑎𝑛2 ⋯ 𝑎𝑛𝑚 ]

𝑐11 𝑐12 … 𝑐1𝑗 … 𝑐1𝑝


𝑐21 𝑐22 … 𝑐2𝑗 … 𝑐2𝑝
⋮ ⋮ ⋮ ⋮
= 𝑐
𝑖1 𝑐𝑖2 … 𝑐𝑖𝑗 … 𝑐𝑖𝑝 = [𝐶] (dimension 𝑛 × 𝑙 )
⋮ ⋮ ⋮ ⋮
[𝑐𝑛1 𝑐𝑛2 … 𝑐𝑛𝑗 … 𝑏𝑛𝑙 ]

Par exemple, on trouvera pour le premier terme :


𝐶11 = 𝑎11 . 𝑏11 + 𝑎12 . 𝑏21 + ⋯ … … … … + 𝑎1𝑚 . 𝑏𝑚1
Exemple :

6 4 8
[𝐴] = [ 2 8 5
] et [𝐵] = [3 0 1]
−4 6 7
5 −2 0

[𝐴] × [𝐵] = [ 2.6 + 8.3 + 5.5 2.4 + 8.0 + 5. −2 2.8 + 8.1 + 5.0
]
−4.6 + 6.3 + 7.5 −4.4 + 6.0 + 7. −2 −4.8 + 6.1 + 7.0

61 −2 24
= [ ]
29 −30 −26

1.3.4. Chaine de produit matricielle


Soit trois matrices [𝐴], [𝐵] et [𝐶] de dimensions respectives 𝑛 × 𝑚, 𝑚 × 𝑙 et 𝑙 × 𝑝, la matrice
[𝐹], produit des matrices [𝐴], [𝐵] et [𝐶], de dimension 𝑛 × 𝑝, sera obtenue en effectuant en

3
Cours MEF- Chapitre 1 : Rappels sur le calcul matriciel

premier temps soit le produit [𝐴] × [𝐵] soit celui de [𝐵] × [𝐶], les deux approches amenant au
même résultat.

[𝐷] [𝐸]

[𝐹] = [𝐴] × [𝐵] × [𝐶] = [𝐴] × ([𝐵] × [𝐶]) = [𝐴] × [𝐷] = ([𝐴] × [𝐵]) × [𝐶] = [𝐸] × [𝐶]

Exemple :

4 1
5 2 9 1
[𝐴] = [2 5 7 9
] , [𝐵] = [ ] et [𝐶] = [ ]
1 6 4 3 6 1 3 8
7 8

([𝐴] × [𝐵]) × [𝐶] = [138 91 9 1 1515 866


]× [ ]= [ ]
79 41 3 8 834 407

39 12
51 21
[𝐴] × ([𝐵] × [𝐶]) = [2 5 7 9
]×[ ]= [
1515 866
]
1 6 4 3 57 14 834 407
87 71

1.3.5. Matrice transposée


La transposée d’une matrice [𝐴] s’obtient en remplaçant les lignes de la matrice par ses
colonnes. Si la matrice [𝐴] est de dimension 𝑛 × 𝑚, la transposée [𝐴]𝑇 sera de dimension
𝑚 × 𝑛.

𝑎11 𝑎12 ⋯ 𝑎1𝑚 𝑇 𝑎11 𝑎21 ⋯ 𝑎𝑛1


𝑎 𝑎 ⋯ 𝑎 2𝑚 ] = [ 𝑎12 𝑎22 ⋯ 𝑎𝑛2 ]
[𝐴]𝑇 = [ 21 22
⋮ ⋮ ⋮ ⋮ ⋮ ⋮
𝑎𝑛1 𝑎𝑛2 … 𝑎𝑛𝑚 𝑎1𝑚 𝑎2𝑚 … 𝑎𝑛𝑚

Exemple :

2 1
5 6
[𝐴] = [2 5 7 9
] , [𝐴]𝑇 = [ ]
1 6 4 3 7 4
9 3
Soit [𝐴] et [𝐵] deux matrices et 𝑘 un scalaire :
1. ([𝐴] + [𝐵])𝑇 = [𝐴]𝑇 + [𝐵]𝑇
2. ([𝐴]𝑇 )𝑇 = [𝐴]
3. (𝑘[𝐴])𝑇 = 𝑘 [𝐴]𝑇
4. ([𝐴] × [𝐵])𝑇 = [𝐵]𝑇 × [𝐴]𝑇

4
Cours MEF- Chapitre 1 : Rappels sur le calcul matriciel

1.3.6. Matrice identité


La matrice identité, noté [𝐼], est une matrice carrée dont les termes diagonaux sont égaux à 1,
tous les autres étant nuls. De ce fait, le produit de la matrice identité par une matrice [𝐴]
quelconque est égal à la matrice [𝐴] elle-même.

1 0 0 … 0
0 1 0 … 0
[𝐼] = 0 0 1 … 0 et [𝐴] × [𝐼] = [𝐼] × [𝐴] = [𝐴]
⋮ ⋮ ⋮ ⋮ ⋮
[0 0 0 ⋮ 1]

1.3.7. Matrice inverse


La matrice inverse de [𝐴] noté [𝐴]−1 est définit telle que [𝐴] × [𝐴]−1 = [𝐴]−1 × [𝐴] = [𝐼]
Est peut-être calculée en posant :
1
[𝐴]−1 = . 𝐶𝑜𝑚 [𝐴]𝑇
det[𝐴]

Ou det[𝐴] est le déterminant de la matrice [𝐴] et 𝐶𝑜𝑚 [𝐴]𝑇 est comatrice de la matrice
transposée [𝐴]𝑇 .

La matrice [𝐴] sera donc inversible à condition que son déterminant soit différent de 0.

Calcul du déterminant 𝐝𝐞𝐭[𝑨]

Matrice 2 × 2 :

𝑎11 𝑎12 𝑎11 𝑎12


det[𝐴] = det [𝑎 ] = |𝑎21 𝑎22 | = 𝑎11 . 𝑎22 − 𝑎12 . 𝑎21
21 𝑎22

Matrice 3 × 3 :

𝑎11 𝑎12 𝑎13


𝑎22 𝑎23 𝑎21 𝑎23 𝑎21 𝑎22
det[𝐴] = det [𝑎21 𝑎22 𝑎23 ] = 𝑎11 |𝑎 | − 𝑎 | | + 𝑎 |𝑎31 𝑎32 |
32 𝑎33 𝑎31 𝑎33
12 13
𝑎31 𝑎32 𝑎33

= 𝑎11 (𝑎22 . 𝑎33 − 𝑎23 . 𝑎32 ) − 𝑎12 (𝑎21 . 𝑎33 − 𝑎23 . 𝑎31 ) + 𝑎13 (𝑎21 . 𝑎32 − 𝑎22 . 𝑎31 )

= 𝑎11 . 𝑎22 . 𝑎33 − 𝑎11 . 𝑎23 . 𝑎32 − 𝑎12 . 𝑎21 . 𝑎33 + 𝑎12 . 𝑎23 . 𝑎31 + 𝑎13 . 𝑎21 . 𝑎32 − 𝑎13 . 𝑎22 . 𝑎31

5
Cours MEF- Chapitre 1 : Rappels sur le calcul matriciel

Calcul de la comatrice 𝐂𝐨𝐦[𝑨]

La comatrice de [𝐴], noté Com[𝐴], correspond à la matrice des cofacteurs de [𝐴]. Le cofacteur
du terme 𝑖, 𝑗 de la matrice [𝐴] est obtenus en multipliant par (−1)𝑖+𝑗 le déterminant de sous-
matrice issue de la suppression des lignes 𝑖 et colonne 𝑗.

Matrice 2 × 2 :

𝑎11 𝑎12 𝑎22 −𝑎21


Com[𝐴] = Com [𝑎 𝑎 ] = [−𝑎 ]
21 22 12 𝑎11

Matrice 3 × 3 :

𝑎22 𝑎23 𝑎21 𝑎23 𝑎21 𝑎22


+ |𝑎 𝑎33 | − |𝑎31 𝑎33 | + |𝑎 𝑎32 |
𝑎11 𝑎12 𝑎13 32 31
𝑎12 𝑎13 𝑎11 𝑎13 𝑎11 𝑎12
Com[𝐴] = Com [ 21 𝑎22
𝑎 𝑎23 ] = − |
𝑎32 𝑎33 | + |𝑎31 𝑎33 | − |𝑎 𝑎32 |
31
𝑎31 𝑎32 𝑎33 𝑎12 𝑎13 𝑎11 𝑎13 𝑎11 𝑎12
[+ |𝑎22 𝑎23 | − |𝑎21 𝑎23 | + |𝑎
21 𝑎22 |]

𝑎22 . 𝑎33 − 𝑎23 . 𝑎32 𝑎23 . 𝑎31 − 𝑎21 . 𝑎33 𝑎21 . 𝑎32 − 𝑎22 . 𝑎31
= [ 𝑎13 . 𝑎32 − 𝑎12 . 𝑎33 𝑎11 . 𝑎33 − 𝑎13 . 𝑎31 𝑎12 . 𝑎31 − 𝑎11 . 𝑎32 ]
𝑎12 . 𝑎23 − 𝑎13 . 𝑎22 𝑎13 . 𝑎21 − 𝑎11 . 𝑎23 𝑎11 . 𝑎22 − 𝑎12 . 𝑎21
Propriétés :
1. Si [𝐴] est inversible, alors [𝐴]−1 est aussi inversible et ([𝐴]−1 )−1 = [𝐴]
2. Si [𝐴] est inversible, alors ([𝐴]−1 )𝑇 = ([𝐴]𝑇 )−1
3. Si [𝐴] et [𝐵] sont 2 matrices carrées inversibles de même dimension, alors leur produit
[𝐴] × [𝐵] est aussi inversible et ([𝐴] × [𝐵])−1 = [𝐵]−1 × [𝐴]−1

Exemple :

Calculer la matrice inverse [𝐴]−1 de la matrice [𝐴].

−1 2 5
[𝐴] = [ 1 2 3 ]
−2 8 10

−1 2 5
2 3 1 3 1 2
det[𝐴] = det [ 1 2 3 ] = −1 | |−2 | |+ 5 | |
8 10 −2 10 −2 8
−2 8 10

= −1. (2.10 − 3.8) − 2. (1.10 − 3. −2) + 5. (1.8 − 2. −2) = 32

6
Cours MEF- Chapitre 1 : Rappels sur le calcul matriciel

2 3 1 3 1 2
+| |−| |+ | |
−1 2 5 8 10 −2 10 −2 8
2 5 −1 5 −1 2
Com[𝐴] = Com [ 1 2 3 ] = − | |+| |− | |
8 10 −2 10 −2 8
−2 8 10 2 5 −1 5 −1 2
[+ |2 3
| − |
1 3
| + |
1 2]
|

−4 − 16 12
= [ 20 0 4]
−4 8 −4
−1 5 −1
8 8 8
1 −4 − 16 12 𝑇 1 −4 20 − 4 −1 1
[𝐴]−1 = . [ 20 0 4] = . [ −16 0 8] = 0
32 32 2 4
−4 8 −4 12 4 −4
3 1 −1
[8 8 8 ]

Vous aimerez peut-être aussi