ATLAS Ouvrir dans l'atlas →

ExerciceMaths Sup – MPSI, chapitre 16 — Matrices · Calcul matriciel

Exercice 1

Calcul

On pose A=(3−1−20)A = \begin{pmatrix} 3 & -1 \\ -2 & 0 \end{pmatrix} et B=(0132)B = \begin{pmatrix} 0 & 1 \\ 3 & 2 \end{pmatrix}.

1. Calculer (A+B)2(A + B)^{2} et A2+2AB+B2A^{2} + 2AB + B^{2}. Les comparer.

2. Calculer A2+AB+BA+B2A^{2} + AB + BA + B^{2}, et expliquer le résultat de la question 1.

3. À quelle condition sur deux matrices AA, B∈ℳn(𝕂)B \in \mathcal{M}_{n}(\mathbb{K}) a-t-on (A+B)2=A2+2AB+B2(A + B)^{2} = A^{2} + 2AB + B^{2} ?

Corrigé

1. Le calcul direct donne A+B=(3012),(A+B)2=(9054),AB=(−310−2),BA=(−205−3),A + B = \begin{pmatrix} 3 & 0 \\ 1 & 2 \end{pmatrix}, \qquad (A + B)^{2} = \begin{pmatrix} 9 & 0 \\ 5 & 4 \end{pmatrix}, \qquad AB = \begin{pmatrix} -3 & 1 \\ 0 & -2 \end{pmatrix}, \qquad BA = \begin{pmatrix} -2 & 0 \\ 5 & -3 \end{pmatrix}, et, avec A2=(11−3−62)A^{2} = \begin{pmatrix} 11 & -3 \\ -6 & 2 \end{pmatrix} et B2=(3267)B^{2} = \begin{pmatrix} 3 & 2 \\ 6 & 7 \end{pmatrix}, (A+B)2=(9054)≠(8105)=A2+2AB+B2\boxed{(A + B)^{2} = \begin{pmatrix} 9 & 0 \\ 5 & 4 \end{pmatrix} \neq \begin{pmatrix} 8 & 1 \\ 0 & 5 \end{pmatrix} = A^{2} + 2AB + B^{2}}

2. On trouve A2+AB+BA+B2=(9054)=(A+B)2A^{2} + AB + BA + B^{2} = \begin{pmatrix} 9 & 0 \\ 5 & 4 \end{pmatrix} = (A + B)^{2}. C'est le développement correct : par bilinéarité du produit (proposition 3), (A+B)(A+B)=A2+AB+BA+B2(A + B)(A + B) = A^{2} + AB + BA + B^{2}, et l'on ne peut regrouper AB+BAAB + BA en 2AB2AB que si AB=BAAB = BA, ce qui n'est pas le cas ici.

3. La différence vaut (A+B)2−(A2+2AB+B2)=BA−AB(A + B)^{2} - (A^{2} + 2AB + B^{2}) = BA - AB. (A+B)2=A2+2AB+B2  ⟺  AB=BA\boxed{(A + B)^{2} = A^{2} + 2AB + B^{2} \iff AB = BA} Piège. L'erreur la plus répandue est d'appliquer les identités remarquables, ou la formule du binôme, à des matrices qui ne commutent pas. Elles ne valent que dans un anneau commutatif, ou pour deux éléments qui commutent (chapitre 11).

Dans l'édifice

Thèmes

calcul matriciel

Notions

matrice, matrices (espace des)

Ouvrir dans l'atlas interactif →