Skip to content

Exercice 2 : Inversion de matrices par la formule de la comatrice

🌐 Énoncé du problème / Cadre d’étude

Section titled “🌐 Énoncé du problème / Cadre d’étude”

Soit n∈N∗n \in \mathbb{N}^* un entier supérieur ou égal à 22. On note Mn(R)M_n(\mathbb{R}) l’espace vectoriel des matrices carrées de taille nn à coefficients dans R\mathbb{R}, et GLn(R)GL_n(\mathbb{R}) le groupe linéaire des matrices inversibles de Mn(R)M_n(\mathbb{R}).

Pour toute matrice A=(ai,j)1≤i,j≤n∈Mn(R)A = (a_{i,j})_{1 \le i,j \le n} \in M_n(\mathbb{R}), on définit le cofacteur associé au coefficient ai,ja_{i,j} par : Ci,j=(−1)i+jdet⁡(Δi,j)C_{i,j} = (-1)^{i+j} \det(\Delta_{i,j}) où Δi,j\Delta_{i,j} est la matrice de taille (n−1)(n-1) obtenue en supprimant la ii-ème ligne et la jj-ème colonne de AA.

La comatrice de AA, notée Com⁡(A)\operatorname{Com}(A), est la matrice dont le coefficient d’indice (i,j)(i,j) est le cofacteur Ci,jC_{i,j} : Com⁡(A)=(Ci,j)1≤i,j≤n\operatorname{Com}(A) = (C_{i,j})_{1 \le i,j \le n}

L’objectif de ce problème est d’établir la relation fondamentale liant une matrice, sa comatrice et son déterminant, puis de l’appliquer à l’inversion explicite de matrices de taille 33 et à l’étude de propriétés algébriques de la comatrice.


  1. Calcul direct en dimension 2 : Soit A=(abcd)∈M2(R)A = \begin{pmatrix} a & b \\ c & d \end{pmatrix} ∈ M_2(\mathbb{R}). Calculer explicitement la comatrice Com⁡(A)\operatorname{Com}(A) et vérifier la relation ACom⁡(A)T=Com⁡(A)TA=det⁡(A)I2A \operatorname{Com}(A)^T = \operatorname{Com}(A)^T A = \det(A) I_2.

  2. Formule générale de la comatrice : Rappeler le théorème du développement par rapport à une ligne ou une colonne pour exprimer le déterminant d’une matrice, et en déduire l’identité matricielle fondamentale : ACom⁡(A)T=Com⁡(A)TA=det⁡(A)InA \operatorname{Com}(A)^T = \operatorname{Com}(A)^T A = \det(A) I_n

  3. Inversibilité et formule d’inversion : En déduire que si AA est inversible, alors Com⁡(A)\operatorname{Com}(A) est inversible et donner l’expression de A−1A^{-1} en fonction de Com⁡(A)\operatorname{Com}(A) et det⁡(A)\det(A).

  4. Application numérique : Soit la matrice A=(1022−13418)A = \begin{pmatrix} 1 & 0 & 2 \\ 2 & -1 & 3 \\ 4 & 1 & 8 \end{pmatrix}. Calculer det⁡(A)\det(A), déterminer Com⁡(A)\operatorname{Com}(A) et en déduire l’inverse A−1A^{-1}.

  5. Propriété de la comatrice d’une matrice inversible : Démontrer que pour toute matrice A∈GLn(R)A \in GL_n(\mathbb{R}), on a : Com⁡(A−1)=(Com⁡(A))−1=1det⁡(A)AT\operatorname{Com}(A^{-1}) = (\operatorname{Com}(A))^{-1} = \frac{1}{\det(A)} A^T


💡 Pistes & Indications méthodologiques

Section titled “💡 Pistes & Indications méthodologiques”
  • Pour la Q1 : Appliquez rigoureusement la définition des cofacteurs en dimension 2. Attention aux signes (−1)i+j(-1)^{i+j}.
  • Pour la Q2 : Le produit d’une ligne de AA par une colonne de Com⁡(A)T\operatorname{Com}(A)^T correspond au calcul d’un déterminant où l’on a substitué une ligne par une autre (propriété des déterminants nuls).
  • Pour la Q4 : Méthode systématique : calculez d’abord det⁡(A)\det(A) pour vérifier l’inversibilité, puis calculez les 9 cofacteurs un par un en faisant très attention aux alternances de signes.
  • Pour la Q5 : Partez de la relation fondamentale appliquée à A−1A^{-1} ou utilisez l’expression de l’inverse via la comatrice.

📋 Corrigé détaillé et vérification des résultats

Section titled “📋 Corrigé détaillé et vérification des résultats”

Soit A=(abcd)A = \begin{pmatrix} a & b \\ c & d \end{pmatrix}. Les cofacteurs s’obtiennent en barrant une ligne et une colonne :

  • C1,1=(−1)1+1det⁡(d)=dC_{1,1} = (-1)^{1+1} \det(d) = d
  • C1,2=(−1)1+2det⁡(c)=−cC_{1,2} = (-1)^{1+2} \det(c) = -c
  • C2,1=(−1)2+1det⁡(b)=−bC_{2,1} = (-1)^{2+1} \det(b) = -b
  • C2,2=(−1)2+2det⁡(a)=aC_{2,2} = (-1)^{2+2} \det(a) = a

La comatrice de AA est donc : Com⁡(A)=(d−c−ba)\operatorname{Com}(A) = \begin{pmatrix} d & -c \\ -b & a \end{pmatrix} Sa transposée est : Com⁡(A)T=(d−b−ca)\operatorname{Com}(A)^T = \begin{pmatrix} d & -b \\ -c & a \end{pmatrix} Calculons le produit ACom⁡(A)TA \operatorname{Com}(A)^T : ACom⁡(A)T=(abcd)(d−b−ca)=(ad−bc−ab+abcd−dc−bc+da)=(det⁡(A)00det⁡(A))=det⁡(A)I2A \operatorname{Com}(A)^T = \begin{pmatrix} a & b \\ c & d \end{pmatrix} \begin{pmatrix} d & -b \\ -c & a \end{pmatrix} = \begin{pmatrix} ad - bc & -ab + ab \\ cd - dc & -bc + da \end{pmatrix} = \begin{pmatrix} \det(A) & 0 \\ 0 & \det(A) \end{pmatrix} = \det(A) I_2 De même, on vérifie aisément que Com⁡(A)TA=det⁡(A)I2\operatorname{Com}(A)^T A = \det(A) I_2.

Question 2 : Formule générale de la comatrice

Section titled “Question 2 : Formule générale de la comatrice”

Par définition du développement du déterminant par rapport à la ii-ème ligne d’une matrice A=(ai,j)A = (a_{i,j}), on a : ∑j=1nai,jCi,j=det⁡(A)\sum_{j=1}^n a_{i,j} C_{i,j} = \det(A) Si l’on considère le produit de la ii-ème ligne de AA par la jj-ème colonne de Com⁡(A)T\operatorname{Com}(A)^T (c’est-à-dire la jj-ème ligne de Com⁡(A)\operatorname{Com}(A)), pour i=ji = j on obtient det⁡(A)\det(A). Pour i≠ji \neq j, cette somme correspond au développement du déterminant d’une matrice où la jj-ème ligne a été remplacée par une copie de la ii-ème ligne. Ce déterminant est donc nul.

Ainsi, le coefficient (i,j)(i,j) du produit ACom⁡(A)TA \operatorname{Com}(A)^T vaut δi,jdet⁡(A)\delta_{i,j} \det(A) (où δi,j\delta_{i,j} est le symbole de Kronecker). On a donc bien l’identité matricielle : ACom⁡(A)T=Com⁡(A)TA=det⁡(A)InA \operatorname{Com}(A)^T = \operatorname{Com}(A)^T A = \det(A) I_n

Question 3 : Inversibilité et formule d’inversion

Section titled “Question 3 : Inversibilité et formule d’inversion”

Si AA est inversible, alors det⁡(A)≠0\det(A) \neq 0. En divisant l’identité précédente par det⁡(A)\det(A), on obtient : A(1det⁡(A)Com⁡(A)T)=(1det⁡(A)Com⁡(A)T)A=InA \left( \frac{1}{\det(A)} \operatorname{Com}(A)^T \right) = \left( \frac{1}{\det(A)} \operatorname{Com}(A)^T \right) A = I_n Par unicité de l’inverse, AA est inversible si et seulement si det⁡(A)≠0\det(A) \neq 0, et dans ce cas : A−1=1det⁡(A)Com⁡(A)TA^{-1} = \frac{1}{\det(A)} \operatorname{Com}(A)^T Cette formule montre également que Com⁡(A)\operatorname{Com}(A) est inversible puisque det⁡(A)≠0\det(A) \neq 0 et Com⁡(A)T=det⁡(A)A−1\operatorname{Com}(A)^T = \det(A) A^{-1}.

Soit A=(1022−13418)A = \begin{pmatrix} 1 & 0 & 2 \\ 2 & -1 & 3 \\ 4 & 1 & 8 \end{pmatrix}.

  1. Calcul du déterminant de AA par développement par rapport à la première ligne : det⁡(A)=1⋅∣−1318∣−0⋅∣2348∣+2⋅∣2−141∣\det(A) = 1 \cdot \begin{vmatrix} -1 & 3 \\ 1 & 8 \end{vmatrix} - 0 \cdot \begin{vmatrix} 2 & 3 \\ 4 & 8 \end{vmatrix} + 2 \cdot \begin{vmatrix} 2 & -1 \\ 4 & 1 \end{vmatrix} det⁡(A)=1⋅((−1)×8−3×1)+2⋅(2×1−(−1)×4)=1⋅(−11)+2⋅(6)=−11+12=1\det(A) = 1 \cdot ((-1)\times 8 - 3 \times 1) + 2 \cdot (2 \times 1 - (-1) \times 4) = 1 \cdot (-11) + 2 \cdot (6) = -11 + 12 = 1 Puisque det⁡(A)=1≠0\det(A) = 1 \neq 0, la matrice AA est inversible.

  2. Calcul des cofacteurs Ci,jC_{i,j} :

  • C1,1=+∣−1318∣=−8−3=−11C_{1,1} = + \begin{vmatrix} -1 & 3 \\ 1 & 8 \end{vmatrix} = -8 - 3 = -11

  • C1,2=−∣2348∣=−(16−12)=−4C_{1,2} = - \begin{vmatrix} 2 & 3 \\ 4 & 8 \end{vmatrix} = -(16 - 12) = -4

  • C1,3=+∣2−141∣=2−(−4)=6C_{1,3} = + \begin{vmatrix} 2 & -1 \\ 4 & 1 \end{vmatrix} = 2 - (-4) = 6

  • C2,1=−∣0218∣=−(0−2)=2C_{2,1} = - \begin{vmatrix} 0 & 2 \\ 1 & 8 \end{vmatrix} = -(0 - 2) = 2

  • C2,2=+∣1248∣=8−8=0C_{2,2} = + \begin{vmatrix} 1 & 2 \\ 4 & 8 \end{vmatrix} = 8 - 8 = 0

  • C2,3=−∣1041∣=−(1−0)=−1C_{2,3} = - \begin{vmatrix} 1 & 0 \\ 4 & 1 \end{vmatrix} = -(1 - 0) = -1

  • C3,1=+∣02−13∣=0−(−2)=2C_{3,1} = + \begin{vmatrix} 0 & 2 \\ -1 & 3 \end{vmatrix} = 0 - (-2) = 2

  • C3,2=−∣1223∣=−(3−4)=1C_{3,2} = - \begin{vmatrix} 1 & 2 \\ 2 & 3 \end{vmatrix} = -(3 - 4) = 1

  • C3,3=+∣102−1∣=−1−0=−1C_{3,3} = + \begin{vmatrix} 1 & 0 \\ 2 & -1 \end{vmatrix} = -1 - 0 = -1

La comatrice de AA est donc : Com⁡(A)=(−11−4620−121−1)\operatorname{Com}(A) = \begin{pmatrix} -11 & -4 & 6 \\ 2 & 0 & -1 \\ 2 & 1 & -1 \end{pmatrix}

  1. Calcul de l’inverse A−1A^{-1} : Puisque det⁡(A)=1\det(A) = 1, on a A−1=Com⁡(A)TA^{-1} = \operatorname{Com}(A)^T : A−1=(−1122−4016−1−1)A^{-1} = \begin{pmatrix} -11 & 2 & 2 \\ -4 & 0 & 1 \\ 6 & -1 & -1 \end{pmatrix}

Vérification dimensionnelle et calculatoire : AA−1=(1022−13418)(−1122−4016−1−1)=(−11+0+122+0−22+0−2−22+4+184+0−34−1−3−44−4+488+0−88+1−8)=I3A A^{-1} = \begin{pmatrix} 1 & 0 & 2 \\ 2 & -1 & 3 \\ 4 & 1 & 8 \end{pmatrix} \begin{pmatrix} -11 & 2 & 2 \\ -4 & 0 & 1 \\ 6 & -1 & -1 \end{pmatrix} = \begin{pmatrix} -11+0+12 & 2+0-2 & 2+0-2 \\ -22+4+18 & 4+0-3 & 4-1-3 \\ -44-4+48 & 8+0-8 & 8+1-8 \end{pmatrix} = I_3 Le résultat est exact.

Question 5 : Propriété de la comatrice d’une matrice inversible

Section titled “Question 5 : Propriété de la comatrice d’une matrice inversible”

Soit A∈GLn(R)A \in GL_n(\mathbb{R}). D’après la relation fondamentale appliquée à A−1A^{-1} : A−1Com⁡(A−1)T=det⁡(A−1)In=1det⁡(A)InA^{-1} \operatorname{Com}(A^{-1})^T = \det(A^{-1}) I_n = \frac{1}{\det(A)} I_n Multiplions cette expression à gauche par AA : Com⁡(A−1)T=1det⁡(A)A\operatorname{Com}(A^{-1})^T = \frac{1}{\det(A)} A En transposant cette égalité (sachant que det⁡(A)\det(A) est un scalaire) : Com⁡(A−1)=1det⁡(A)AT\operatorname{Com}(A^{-1}) = \frac{1}{\det(A)} A^T Par ailleurs, en partant de A−1=1det⁡(A)Com⁡(A)TA^{-1} = \frac{1}{\det(A)} \operatorname{Com}(A)^T, on a : Com⁡(A)=det⁡(A)(A−1)T\operatorname{Com}(A) = \det(A) (A^{-1})^T En remplaçant AA par A−1A^{-1} dans cette dernière formule : Com⁡(A−1)=det⁡(A−1)((A−1)−1)T=1det⁡(A)AT=(Com⁡(A))−1\operatorname{Com}(A^{-1}) = \det(A^{-1}) ((A^{-1})^{-1})^T = \frac{1}{\det(A)} A^T = (\operatorname{Com}(A))^{-1} On a ainsi démontré que : Com⁡(A−1)=(Com⁡(A))−1=1det⁡(A)AT\operatorname{Com}(A^{-1}) = (\operatorname{Com}(A))^{-1} = \frac{1}{\det(A)} A^T