Matrices et systèmes linéaires

icône de pdf
Signaler
Dans cette leçon, tu vas apprendre à résoudre des systèmes linéaires à l'aide des matrices, en utilisant la méthode de l'inversion de matrice. Tu découvriras comment représenter un système sous forme matricielle et comment utiliser l'inverse d'une matrice pour trouver la solution du système. Mots-clés : système linéaire, matrices, inversion de matrice, déterminant, équation matricielle, résolution de système.

I. Système linéaire

On considère le système linéaire suivant :

{a11x1+a12x2++a1nxn=b1a21x1+a22x2++a2nxn=b2=an1x1+an2x2++annxn=bn\left\lbrace\begin{matrix} a_{11}x_1 + a_{12}x_2 + \cdots + a_{1n}x_n = b_1 \\ a_{21}x_1 + a_{22}x_2 + \ldots + a_{2n}x_n = b_2\\ \qquad\cdots\qquad \quad\quad\quad\quad\quad\quad= \\ a_{n1}x_1 + a_{n2}x_2 + \ldots + a_{nn}x_n = b_n \end{matrix}\right.

Propriété : un système linéaire de la forme ci-dessus est équivalent à l’équation AX=BAX = B où :

picture-in-text

Si AA est inversible, alors l’équation AX=BAX = B admet pour unique solution : X=A1BX = A^{-1}B

II. Exemple de résolution d'un système linéaire à l'aide des matrices

Soit à résoudre le système {2x+3y=54x y=1\left\lbrace\begin{matrix}2x + 3y = 5 \\ 4x -~ y = 1\end{matrix}\right.

1.1. Transcription matricielle :

On pose : A=(2 341)A = \begin{pmatrix} 2 \quad ~3 \\ 4 \quad -1 \end{pmatrix} ; X=(xy)X = \begin{pmatrix} x \\ y \end{pmatrix} et B=(51)B = \begin{pmatrix} 5 \\ 1 \end{pmatrix}

Alors le système s’écrit : AX=BAX = B

2.2. Calcul du déterminant de AA :

det(A)=2×(1)4×3=212=14\det(A) = 2 \times (-1) - 4 \times 3 = -2 - 12 = -14

3.3. AA est inversible car det(A)0\det(A) \ne 0. Calcul de A1A^{-1} :

A1=1det(A)(134 2)=114(134 2)A^{-1} = \dfrac{1}{\det(A)} \begin{pmatrix} -1 \quad -3 \\ -4 \quad ~ 2 \end{pmatrix}= \dfrac{1}{-14} \begin{pmatrix} -1 \quad -3 \\ -4 \quad ~ 2 \end{pmatrix}

4.4. Calcul de X=A1BX = A^{-1}B :

X=114(1342)(51)X = \dfrac{1}{-14} \begin{pmatrix} -1 \quad -3 \\ -4 \quad 2 \end{pmatrix} \begin{pmatrix} 5 \\ 1 \end{pmatrix}

On effectue le produit matriciel :

(1×5+(3)×14×5+2×1)=(5320+2)=(818)\begin{pmatrix} -1 \times 5 + (-3) \times 1 \\ -4 \times 5 + 2 \times 1 \end{pmatrix} = \begin{pmatrix} -5 - 3 \\ -20 + 2 \end{pmatrix} = \begin{pmatrix} -8 \\ -18 \end{pmatrix}

Donc :

X=114(818)=(4797)X = \dfrac{1}{-14} \begin{pmatrix} -8 \\ -18 \end{pmatrix} = \begin{pmatrix} \dfrac{4}{7} \\ \dfrac{9}{7} \end{pmatrix}

5.5. Conclusion : la solution du système s'écrit S={(47;97)}S=\left\lbrace\left(\dfrac 47;\dfrac 97\right)\right\rbrace