🔴  Lives #BAC2024

À partir du 12 mai, révise le bac avec nous sur YouTube tous les soirs à 19h30 ! Découvrir la chaîne →

Calcul matriciel

Sujet 22 - Exercice 2

40 min
65
Soit ss un nombre réel. On note par M=(s1s111001)M3(R)M = \begin{pmatrix} s & 1 & s \\ 1 & 1 & 1 \\ 0 & 0 & 1 \end{pmatrix} \in \mathcal{M}_3(\mathbb{R}).
Question 1

Déterminer les valeur de ss qui font que la matrice MM n'est pas inversible et déterminer l'expression de la matrice inverse M1M^{-1}. Vous préciserez les conditions associées à l'existence de la matrice M1M^{-1}.

Correction
Soit X=(x1x2x3)M3(R)X = \begin{pmatrix} x_1 \\ x_2 \\ x_3 \end{pmatrix} \in \mathcal{M}_3(\mathbb{R}) et Y=(y1y2y3)M3(R)Y = \begin{pmatrix} y_1 \\ y_2 \\ y_3 \end{pmatrix} \in \mathcal{M}_3(\mathbb{R}).
On a :
Y=MXM1Y=XY = MX \,\,\, \Longleftrightarrow \,\,\, M^{-1} Y = X
On a alors :
(y1y2y3)=(s1s111001)(x1x2x3)(y1y2y3)=(sx1+x2+sx3x1+x2+x3x3)\begin{pmatrix} y_1 \\ y_2 \\ y_3 \end{pmatrix} = \begin{pmatrix} s & 1 & s \\ 1 & 1 & 1 \\ 0 & 0 & 1 \end{pmatrix} \begin{pmatrix} x_1 \\ x_2 \\ x_3 \end{pmatrix} \,\,\, \Longleftrightarrow \,\,\, \begin{pmatrix} y_1 \\ y_2 \\ y_3 \end{pmatrix} = \begin{pmatrix} sx_1 + x_2 + sx_3 \\ x_1 + x_2 + x_3 \\ x_3 \end{pmatrix}
Donc :
{y1=sx1+x2+sx3y2=1x1+1x2+1x3y3=0x1+0x2+1x3\left\lbrace \begin{array}{rcl} y_1 & = & sx_1 + x_2 + sx_3 \\ y_2 & = & 1x_1 + 1x_2 + 1x_3 \\ y_3 & = & 0x_1 + 0x_2 + 1x_3 \end{array} \right.
En multipliant la deuxième ligne par ss on obtient :
{y1=sx1+x2+sx3sy2=sx1+sx2+sx3y3=0x1+0x2+1x3\left\lbrace \begin{array}{rcl} y_1 & = & sx_1 + x_2 + sx_3 \\ sy_2 & = & sx_1 + sx_2 + sx_3 \\ y_3 & = & 0x_1 + 0x_2 + 1x_3 \end{array} \right.
Nous allons remplacer la deuxième ligne par la première ligne moins la deuxième ligne. On a alors :
{y1=sx1+x2+sx3y1sy2=0x1+x2sx2+0x3y3=0x1+0x2+1x3{y1=sx1+x2+sx3y1sy2=0x1+x2(1s)+0x3y3=0x1+0x2+1x3\left\lbrace \begin{array}{rcl} y_1 & = & sx_1 + x_2 + sx_3 \\ y_1 - sy_2 & = & 0x_1 + x_2 - sx_2 + 0x_3 \\ y_3 & = & 0x_1 + 0x_2 + 1x_3 \end{array} \right. \,\,\, \Longleftrightarrow \,\,\, \left\lbrace \begin{array}{rcl} y_1 & = & sx_1 + x_2 + sx_3 \\ y_1 - sy_2 & = & 0x_1 + x_2(1 - s) + 0x_3 \\ y_3 & = & 0x_1 + 0x_2 + 1x_3 \end{array} \right.
Ainsi :
{y1=sx1+x2+sx311sy1s1sy2+0y3=x20y1+0y2+1y3=x3\left\lbrace \begin{array}{rcl} y_1 & = & sx_1 + x_2 + sx_3 \\ \dfrac{1}{1 - s}y_1 - \dfrac{s}{1 - s}y_2 + 0y_3 & = & x_2 \\ 0y_1 + 0y_2 + 1y_3 & = & x_3 \end{array} \right.
Donc :
{y1=sx1+11sy1s1sy2+sy311sy1s1sy2+0y3=x20y1+0y2+1y3=x3\left\lbrace \begin{array}{rcl} y_1 & = & sx_1 + \dfrac{1}{1 - s}y_1 - \dfrac{s}{1 - s}y_2 + sy_3 \\ \dfrac{1}{1 - s}y_1 - \dfrac{s}{1 - s}y_2 + 0y_3 & = & x_2 \\ 0y_1 + 0y_2 + 1y_3 & = & x_3 \end{array} \right.
Soit :
Donc :
{y111sy1+s1sy2sy3=sx111sy1s1sy2+0y3=x20y1+0y2+1y3=x3\left\lbrace \begin{array}{rcl} y_1 - \dfrac{1}{1 - s}y_1 + \dfrac{s}{1 - s}y_2 - sy_3 & = & sx_1 \\ \dfrac{1}{1 - s}y_1 - \dfrac{s}{1 - s}y_2 + 0y_3 & = & x_2 \\ 0y_1 + 0y_2 + 1y_3 & = & x_3 \end{array} \right.
Soit encore :
{(111s)y1+s1sy2sy3=sx111sy1s1sy2+0y3=x20y1+0y2+1y3=x3\left\lbrace \begin{array}{rcl} \left( 1 - \dfrac{1}{1 - s} \right) y_1 + \dfrac{s}{1 - s}y_2 - sy_3 & = & sx_1 \\ \dfrac{1}{1 - s}y_1 - \dfrac{s}{1 - s}y_2 + 0y_3 & = & x_2 \\ 0y_1 + 0y_2 + 1y_3 & = & x_3 \end{array} \right.
D'où :
{1s11sy1+s1sy2sy3=sx111sy1s1sy2+0y3=x20y1+0y2+1y3=x3\left\lbrace \begin{array}{rcl} \dfrac{1-s - 1}{1 - s} y_1 + \dfrac{s}{1 - s}y_2 - sy_3 & = & sx_1 \\ \dfrac{1}{1 - s}y_1 - \dfrac{s}{1 - s}y_2 + 0y_3 & = & x_2 \\ 0y_1 + 0y_2 + 1y_3 & = & x_3 \end{array} \right.
On trouve alors que :
{s1sy1+s1sy2sy3=sx111sy1s1sy2+0y3=x20y1+0y2+1y3=x3\left\lbrace \begin{array}{rcl} -\dfrac{s}{1 - s} y_1 + \dfrac{s}{1 - s}y_2 - sy_3 & = & sx_1 \\ \dfrac{1}{1 - s}y_1 - \dfrac{s}{1 - s}y_2 + 0y_3 & = & x_2 \\ 0y_1 + 0y_2 + 1y_3 & = & x_3 \end{array} \right.
Ce qui nous donne :
{11sy1+11sy21y3=x111sy1s1sy2+0y3=x20y1+0y2+1y3=x3\left\lbrace \begin{array}{rcl} -\dfrac{1}{1 - s} y_1 + \dfrac{1}{1 - s}y_2 - 1y_3 & = & x_1 \\ \dfrac{1}{1 - s}y_1 - \dfrac{s}{1 - s}y_2 + 0y_3 & = & x_2 \\ 0y_1 + 0y_2 + 1y_3 & = & x_3 \end{array} \right.
Sous forme matricielle on a :
(11s11s111ss1s0001)(y1y2y3)=(x1x2x3)(11s11s1s1s11ss1s0001s1s)(y1y2y3)=(x1x2x3)\begin{pmatrix} -\dfrac{1}{1 - s} & \dfrac{1}{1 - s} & -1 \\ \dfrac{1}{1 - s} & -\dfrac{s}{1 - s} & 0 \\ 0 & 0 & 1 \end{pmatrix} \begin{pmatrix} y_1 \\ y_2 \\ y_3 \end{pmatrix} = \begin{pmatrix} x_1 \\ x_2 \\ x_3 \end{pmatrix} \,\,\, \Longleftrightarrow \,\,\, \begin{pmatrix} -\dfrac{1}{1 - s} & \dfrac{1}{1 - s} & -\dfrac{1-s}{1 - s} \\ \dfrac{1}{1 - s} & -\dfrac{s}{1 - s} & 0 \\ 0 & 0 & \dfrac{1-s}{1 - s} \end{pmatrix} \begin{pmatrix} y_1 \\ y_2 \\ y_3 \end{pmatrix} = \begin{pmatrix} x_1 \\ x_2 \\ x_3 \end{pmatrix}
Ce qui nous donne aussi :
(11s11ss11s11ss1s0001s1s)(y1y2y3)=(x1x2x3)\begin{pmatrix} -\dfrac{1}{1 - s} & \dfrac{1}{1 - s} & \dfrac{s-1}{1 - s} \\ \dfrac{1}{1 - s} & -\dfrac{s}{1 - s} & 0 \\ 0 & 0 & \dfrac{1-s}{1 - s} \end{pmatrix} \begin{pmatrix} y_1 \\ y_2 \\ y_3 \end{pmatrix} = \begin{pmatrix} x_1 \\ x_2 \\ x_3 \end{pmatrix}
En factorisant par le terme 11s\dfrac{1}{1 - s} on trouve que :
11s(11s11s0001s)(y1y2y3)=(x1x2x3)\dfrac{1}{1 - s}\begin{pmatrix} -1 & 1 & s-1 \\ 1 & -s & 0 \\ 0 & 0 & 1-s \end{pmatrix} \begin{pmatrix} y_1 \\ y_2 \\ y_3 \end{pmatrix} = \begin{pmatrix} x_1 \\ x_2 \\ x_3 \end{pmatrix}
Or, on sait que M1Y=XM^{-1} Y = X. Donc par identification, on trouve que :
M1=11s(11s11s0001s)M^{-1} = \dfrac{1}{1 - s}\begin{pmatrix} -1 & 1 & s-1 \\ 1 & -s & 0 \\ 0 & 0 & 1-s \end{pmatrix}
Avec la condition d'existence suivante : s1s \neq 1.
En effet, si s=1s=1 alors 1s=01-s=0 et de fait le terme 11s\dfrac{1}{1 - s} n'existe pas, entrainant que la matrice inverse M1M^{-1} n'existe pas non plus.