Tle Mathématiques Exercices Gratuit

Exercices — Les matrices

💡 Conseil : fais chaque exercice au brouillon avant d’ouvrir le corrigé — c’est en te trompant que tu progresses.

Exercice 1 — Opérations sur les matrices

On considère les matrices A=(1234)A = \begin{pmatrix} 1 & 2 \\ 3 & 4 \end{pmatrix} et B=(0123)B = \begin{pmatrix} 0 & 1 \\ 2 & 3 \end{pmatrix}.

  1. Calculer A+BA + B, 3A3A et A2BA - 2B.
  2. Calculer ABAB et BABA. Que constate-t-on ?
Voir le corrigé

1. Somme et produit par un réel se font coefficient par coefficient :

A+B=(1357)3A=(36912)A2B=(10223446)=(1012)A + B = \begin{pmatrix} 1 & 3 \\ 5 & 7 \end{pmatrix} \qquad 3A = \begin{pmatrix} 3 & 6 \\ 9 & 12 \end{pmatrix} \qquad A - 2B = \begin{pmatrix} 1 - 0 & 2 - 2 \\ 3 - 4 & 4 - 6 \end{pmatrix} = \begin{pmatrix} 1 & 0 \\ -1 & -2 \end{pmatrix}

2. Pour ABAB, on parcourt les lignes de AA et les colonnes de BB :

AB=(1×0+2×21×1+2×33×0+4×23×1+4×3)=(47815)AB = \begin{pmatrix} 1 \times 0 + 2 \times 2 & 1 \times 1 + 2 \times 3 \\ 3 \times 0 + 4 \times 2 & 3 \times 1 + 4 \times 3 \end{pmatrix} = \begin{pmatrix} 4 & 7 \\ 8 & 15 \end{pmatrix}

Dans l’autre sens :

BA=(0×1+1×30×2+1×42×1+3×32×2+3×4)=(341116)BA = \begin{pmatrix} 0 \times 1 + 1 \times 3 & 0 \times 2 + 1 \times 4 \\ 2 \times 1 + 3 \times 3 & 2 \times 2 + 3 \times 4 \end{pmatrix} = \begin{pmatrix} 3 & 4 \\ 11 & 16 \end{pmatrix}

On constate que ABBAAB \neq BA : le produit matriciel n’est pas commutatif.

Réflexe à retenir : pour chaque coefficient d’un produit, récite « ligne de la première, colonne de la seconde » — et ne change jamais l’ordre d’un produit de matrices sans justification, car en général ABBAAB \neq BA.

Exercice 2 — Puissances et récurrence

Soit A=(1101)A = \begin{pmatrix} 1 & 1 \\ 0 & 1 \end{pmatrix}.

  1. Calculer A2A^2 et A3A^3.
  2. Conjecturer l’expression de AnA^n pour tout entier n1n \geq 1.
  3. Démontrer cette conjecture par récurrence.
Voir le corrigé

1. A2=A×A=(1×1+1×01×1+1×101)=(1201)A^2 = A \times A = \begin{pmatrix} 1 \times 1 + 1 \times 0 & 1 \times 1 + 1 \times 1 \\ 0 & 1 \end{pmatrix} = \begin{pmatrix} 1 & 2 \\ 0 & 1 \end{pmatrix}, puis :

A3=A2×A=(1201)(1101)=(1301)A^3 = A^2 \times A = \begin{pmatrix} 1 & 2 \\ 0 & 1 \end{pmatrix}\begin{pmatrix} 1 & 1 \\ 0 & 1 \end{pmatrix} = \begin{pmatrix} 1 & 3 \\ 0 & 1 \end{pmatrix}

2. Le coefficient en haut à droite augmente de 11 à chaque produit : on conjecture An=(1n01)A^n = \begin{pmatrix} 1 & n \\ 0 & 1 \end{pmatrix}.

3. Initialisation : pour n=1n = 1, A1=(1101)A^1 = \begin{pmatrix} 1 & 1 \\ 0 & 1 \end{pmatrix} : la formule est vraie. Hérédité : supposons An=(1n01)A^n = \begin{pmatrix} 1 & n \\ 0 & 1 \end{pmatrix} pour un entier n1n \geq 1. Alors :

An+1=An×A=(1n01)(1101)=(11+n01)A^{n+1} = A^n \times A = \begin{pmatrix} 1 & n \\ 0 & 1 \end{pmatrix}\begin{pmatrix} 1 & 1 \\ 0 & 1 \end{pmatrix} = \begin{pmatrix} 1 & 1 + n \\ 0 & 1 \end{pmatrix}

qui est bien la formule au rang n+1n + 1. Conclusion : pour tout entier n1n \geq 1, An=(1n01)A^n = \begin{pmatrix} 1 & n \\ 0 & 1 \end{pmatrix}.

Réflexe à retenir : pour une formule de puissance de matrice, le plan est toujours calculer A2A^2, A3A^3 → conjecturer → récurrence, et l’hérédité s’écrit An+1=An×AA^{n+1} = A^n \times A. Pense à vérifier ta conjecture sur A3A^3 avant de te lancer dans la récurrence.

Exercice 3 — Inverse d’une matrice 2×2

  1. La matrice A=(3275)A = \begin{pmatrix} 3 & 2 \\ 7 & 5 \end{pmatrix} est-elle inversible ? Si oui, donner A1A^{-1}.
  2. Vérifier le résultat en calculant AA1AA^{-1}.
  3. La matrice B=(2412)B = \begin{pmatrix} 2 & 4 \\ 1 & 2 \end{pmatrix} est-elle inversible ?
Voir le corrigé

1. Déterminant : adbc=3×52×7=1514=10ad - bc = 3 \times 5 - 2 \times 7 = 15 - 14 = 1 \neq 0 : AA est inversible, et :

A1=11(5273)=(5273)A^{-1} = \frac{1}{1}\begin{pmatrix} 5 & -2 \\ -7 & 3 \end{pmatrix} = \begin{pmatrix} 5 & -2 \\ -7 & 3 \end{pmatrix}

(on échange les coefficients diagonaux, on change le signe des deux autres, on divise par le déterminant).

2. AA1=(3×5+2×(7)3×(2)+2×37×5+5×(7)7×(2)+5×3)=(1001)=I2AA^{-1} = \begin{pmatrix} 3 \times 5 + 2 \times (-7) & 3 \times (-2) + 2 \times 3 \\ 7 \times 5 + 5 \times (-7) & 7 \times (-2) + 5 \times 3 \end{pmatrix} = \begin{pmatrix} 1 & 0 \\ 0 & 1 \end{pmatrix} = I_2 ✓.

3. Déterminant : 2×24×1=02 \times 2 - 4 \times 1 = 0 : BB n’est pas inversible. (Aucune matrice CC ne pourra vérifier BC=I2BC = I_2.)

Réflexe à retenir : déterminant d’abord (adbcad - bc), inverse ensuite — et la vérification AA1=I2AA^{-1} = I_2 est un contrôle gratuit qui détecte 100 % des erreurs de signe.

Exercice 4 — Résoudre un système avec les matrices

On considère le système (S):{3x+2y=47x+5y=9(S) : \begin{cases} 3x + 2y = 4 \\ 7x + 5y = 9 \end{cases}

  1. Écrire (S)(S) sous la forme AX=BAX = B en précisant les matrices AA, XX et BB.
  2. Justifier que AA est inversible et rappeler A1A^{-1} (voir exercice 3).
  3. En déduire l’unique solution du système, puis la vérifier.
Voir le corrigé

1. (S)(S) s’écrit AX=BAX = B avec :

A=(3275)X=(xy)B=(49)A = \begin{pmatrix} 3 & 2 \\ 7 & 5 \end{pmatrix} \qquad X = \begin{pmatrix} x \\ y \end{pmatrix} \qquad B = \begin{pmatrix} 4 \\ 9 \end{pmatrix}

2. D’après l’exercice 3, detA=10\det A = 1 \neq 0 : AA est inversible et A1=(5273)A^{-1} = \begin{pmatrix} 5 & -2 \\ -7 & 3 \end{pmatrix}.

3. En multipliant à gauche par A1A^{-1} : AX=B    X=A1BAX = B \iff X = A^{-1}B, soit :

X=(5273)(49)=(5×42×97×4+3×9)=(21)X = \begin{pmatrix} 5 & -2 \\ -7 & 3 \end{pmatrix}\begin{pmatrix} 4 \\ 9 \end{pmatrix} = \begin{pmatrix} 5 \times 4 - 2 \times 9 \\ -7 \times 4 + 3 \times 9 \end{pmatrix} = \begin{pmatrix} 2 \\ -1 \end{pmatrix}

L’unique solution est (x;y)=(2;1)(x\,;\,y) = (2\,;\,-1). Vérification : 3×2+2×(1)=43 \times 2 + 2 \times (-1) = 4 ✓ et 7×2+5×(1)=97 \times 2 + 5 \times (-1) = 9 ✓.

Réflexe à retenir : un système linéaire, c’est AX=BAX = B, et si detA0\det A \neq 0 la solution est X=A1BX = A^{-1}B — multiplication à gauche, l’ordre est imposé. Réinjecte toujours la solution dans le système de départ : deux lignes de calcul mental pour une certitude.

Exercice 5 — Une suite de matrices colonnes (type contrôle ⭐)

Deux suites (an)(a_n) et (bn)(b_n) vérifient a0=2a_0 = 2, b0=1b_0 = 1 et, pour tout entier naturel nn :

an+1=an+bnetbn+1=2bna_{n+1} = a_n + b_n \qquad \text{et} \qquad b_{n+1} = 2b_n

On pose Un=(anbn)U_n = \begin{pmatrix} a_n \\ b_n \end{pmatrix}.

  1. Déterminer la matrice AA telle que Un+1=AUnU_{n+1} = AU_n pour tout nn, puis calculer U1U_1 et U2U_2.
  2. Montrer par récurrence que, pour tout n1n \geq 1 : An=(12n102n)A^n = \begin{pmatrix} 1 & 2^n - 1 \\ 0 & 2^n \end{pmatrix}.
  3. En déduire l’expression de UnU_n, puis celles de ana_n et bnb_n en fonction de nn.
Voir le corrigé

1. Les relations s’écrivent (an+1bn+1)=(1102)(anbn)\begin{pmatrix} a_{n+1} \\ b_{n+1} \end{pmatrix} = \begin{pmatrix} 1 & 1 \\ 0 & 2 \end{pmatrix}\begin{pmatrix} a_n \\ b_n \end{pmatrix}, donc A=(1102)A = \begin{pmatrix} 1 & 1 \\ 0 & 2 \end{pmatrix}. Puis :

U1=AU0=(2+12×1)=(32)U2=AU1=(3+22×2)=(54)U_1 = AU_0 = \begin{pmatrix} 2 + 1 \\ 2 \times 1 \end{pmatrix} = \begin{pmatrix} 3 \\ 2 \end{pmatrix} \qquad U_2 = AU_1 = \begin{pmatrix} 3 + 2 \\ 2 \times 2 \end{pmatrix} = \begin{pmatrix} 5 \\ 4 \end{pmatrix}

2. Initialisation : pour n=1n = 1, la formule donne (1211021)=(1102)=A\begin{pmatrix} 1 & 2^1 - 1 \\ 0 & 2^1 \end{pmatrix} = \begin{pmatrix} 1 & 1 \\ 0 & 2 \end{pmatrix} = A ✓. Hérédité : supposons la formule vraie au rang nn. Alors :

An+1=An×A=(12n102n)(1102)=(11+2(2n1)02×2n)=(12n+1102n+1)A^{n+1} = A^n \times A = \begin{pmatrix} 1 & 2^n - 1 \\ 0 & 2^n \end{pmatrix}\begin{pmatrix} 1 & 1 \\ 0 & 2 \end{pmatrix} = \begin{pmatrix} 1 & 1 + 2(2^n - 1) \\ 0 & 2 \times 2^n \end{pmatrix} = \begin{pmatrix} 1 & 2^{n+1} - 1 \\ 0 & 2^{n+1} \end{pmatrix}

car 1+2×2n2=2n+111 + 2 \times 2^n - 2 = 2^{n+1} - 1. La formule est héréditaire. Conclusion : elle vaut pour tout n1n \geq 1.

3. Comme Un+1=AUnU_{n+1} = AU_n pour tout nn, on a Un=AnU0U_n = A^n U_0, d’où :

Un=(12n102n)(21)=(2+2n12n)=(2n+12n)U_n = \begin{pmatrix} 1 & 2^n - 1 \\ 0 & 2^n \end{pmatrix}\begin{pmatrix} 2 \\ 1 \end{pmatrix} = \begin{pmatrix} 2 + 2^n - 1 \\ 2^n \end{pmatrix} = \begin{pmatrix} 2^n + 1 \\ 2^n \end{pmatrix}

Donc an=2n+1a_n = 2^n + 1 et bn=2nb_n = 2^n pour tout nn — cohérent avec U1=(3;2)U_1 = (3\,;\,2) et U2=(5;4)U_2 = (5\,;\,4) calculés à la main ✓.

Réflexe à retenir : deux suites couplées se rangent dans une colonne UnU_n, la récurrence devient Un+1=AUnU_{n+1} = AU_n, et tout se ramène à Un=AnU0U_n = A^n U_0 : trouve AA, prouve la formule de AnA^n par récurrence, multiplie par U0U_0. Vérifie toujours le résultat final sur U1U_1 et U2U_2.


Envie d’aller plus loin ? Reçois gratuitement le classeur de fiches de ta classe par email : l’essentiel du cours, prêt à imprimer, pour réviser tout le programme.

Revoir le cours

← Tous les chapitres de Maths Terminale