Model TG calcul matriciel

Table des matières

  1. Exercice 1: Puissance n-ième d’une matrice et formule du binôme

1. Exercice 1: Puissance n-ième d’une matrice et formule du binôme

1.1 Décomposition de la matrice A et calcul des puissances de B

La matrice A est donnée par: A=(211021002)A = \begin{pmatrix} 2 & 1 & 1 \\ 0 & 2 & 1 \\ 0 & 0 & 2 \end{pmatrix} 1.

Pour décomposer A sous la forme A=2I3+BA = 2I_3 + B, où I3I_3 est la matrice identité d'ordre 3, on identifie B. B=A−2I3=(211021002)−2(100010001)=(011001000)B = A - 2I_3 = \begin{pmatrix} 2 & 1 & 1 \\ 0 & 2 & 1 \\ 0 & 0 & 2 \end{pmatrix} - 2 \begin{pmatrix} 1 & 0 & 0 \\ 0 & 1 & 0 \\ 0 & 0 & 1 \end{pmatrix} = \begin{pmatrix} 0 & 1 & 1 \\ 0 & 0 & 1 \\ 0 & 0 & 0 \end{pmatrix} 1.

Calculons B2B^2 et B3B^3: B2=B×B=(011001000)(011001000)=(001000000)B^2 = B \times B = \begin{pmatrix} 0 & 1 & 1 \\ 0 & 0 & 1 \\ 0 & 0 & 0 \end{pmatrix} \begin{pmatrix} 0 & 1 & 1 \\ 0 & 0 & 1 \\ 0 & 0 & 0 \end{pmatrix} = \begin{pmatrix} 0 & 0 & 1 \\ 0 & 0 & 0 \\ 0 & 0 & 0 \end{pmatrix} 1.

B3=B2×B=(001000000)(011001000)=(000000000)B^3 = B^2 \times B = \begin{pmatrix} 0 & 0 & 1 \\ 0 & 0 & 0 \\ 0 & 0 & 0 \end{pmatrix} \begin{pmatrix} 0 & 1 & 1 \\ 0 & 0 & 1 \\ 0 & 0 & 0 \end{pmatrix} = \begin{pmatrix} 0 & 0 & 0 \\ 0 & 0 & 0 \\ 0 & 0 & 0 \end{pmatrix} 1.

1.2 Calcul de BkB^k pour k≥3k \ge 3

Puisque B3B^3 est la matrice nulle, toutes les puissances de B d'ordre supérieur ou égal à 3 seront également la matrice nulle.

  • Pour tout k≥3k \ge 3, Bk=0B^k = 0 1.

1.3 Expression de AnA^n à l'aide de la formule du binôme de Newton

La matrice A peut être écrite comme A=2I3+BA = 2I_3 + B. Les matrices 2I32I_3 et BB commutent, car 2I32I_3 est un multiple scalaire de la matrice identité, qui commute avec toute matrice.

On peut donc appliquer la formule du binôme de Newton: (X+Y)n=∑k=0n(nk)Xn−kYk(X+Y)^n = \sum_{k=0}^{n} \binom{n}{k} X^{n-k} Y^k 1.

En appliquant cette formule à An=(2I3+B)nA^n = (2I_3 + B)^n: An=∑k=0n(nk)(2I3)n−kBkA^n = \sum_{k=0}^{n} \binom{n}{k} (2I_3)^{n-k} B^k 1.

Comme Bk=0B^k = 0 pour k≥3k \ge 3, la somme se réduit aux termes pour k=0,1,2k=0, 1, 2. An=(n0)(2I3)nB0+(n1)(2I3)n−1B1+(n2)(2I3)n−2B2A^n = \binom{n}{0} (2I_3)^n B^0 + \binom{n}{1} (2I_3)^{n-1} B^1 + \binom{n}{2} (2I_3)^{n-2} B^2 1.

En rappelant que I3m=I3I_3^m = I_3 pour tout mm et B0=I3B^0 = I_3: An=1⋅2nI3+n⋅2n−1I3⋅B+n(n−1)2⋅2n−2I3⋅B2A^n = 1 \cdot 2^n I_3 + n \cdot 2^{n-1} I_3 \cdot B + \frac{n(n-1)}{2} \cdot 2^{n-2} I_3 \cdot B^2 1.

Simplifions: An=2nI3+n2n−1B+n(n−1)22n−2B2A^n = 2^n I_3 + n 2^{n-1} B + \frac{n(n-1)}{2} 2^{n-2} B^2 1.

En substituant les matrices I3I_3, BB et B2B^2: An=2n(100010001)+n2n−1(011001000)+n(n−1)22n−2(001000000)A^n = 2^n \begin{pmatrix} 1 & 0 & 0 \\ 0 & 1 & 0 \\ 0 & 0 & 1 \end{pmatrix} + n 2^{n-1} \begin{pmatrix} 0 & 1 & 1 \\ 0 & 0 & 1 \\ 0 & 0 & 0 \end{pmatrix} + \frac{n(n-1)}{2} 2^{n-2} \begin{pmatrix} 0 & 0 & 1 \\ 0 & 0 & 0 \\ 0 & 0 & 0 \end{pmatrix} 1.

An=(2n0002n0002n)+(0n2n−1n2n−100n2n−1000)+(00n(n−1)22n−2000000)A^n = \begin{pmatrix} 2^n & 0 & 0 \\ 0 & 2^n & 0 \\ 0 & 0 & 2^n \end{pmatrix} + \begin{pmatrix} 0 & n 2^{n-1} & n 2^{n-1} \\ 0 & 0 & n 2^{n-1} \\ 0 & 0 & 0 \end{pmatrix} + \begin{pmatrix} 0 & 0 & \frac{n(n-1)}{2} 2^{n-2} \\ 0 & 0 & 0 \\ 0 & 0 & 0 \end{pmatrix} 1.

En additionnant les matrices: An=(2nn2n−1n2n−1+n(n−1)22n−202nn2n−1002n)A^n = \begin{pmatrix} 2^n & n 2^{n-1} & n 2^{n-1} + \frac{n(n-1)}{2} 2^{n-2} \\ 0 & 2^n & n 2^{n-1} \\ 0 & 0 & 2^n \end{pmatrix} 1.

On peut simplifier le terme en haut à droite: n2n−1+n(n−1)22n−2=n2⋅2n−2+n(n−1)22n−2=(2n+n(n−1)2)2n−2=(4n+n2−n2)2n−2=(n2+3n2)2n−2=n(n+3)22n−2n 2^{n-1} + \frac{n(n-1)}{2} 2^{n-2} = n 2 \cdot 2^{n-2} + \frac{n(n-1)}{2} 2^{n-2} = (2n + \frac{n(n-1)}{2}) 2^{n-2} = (\frac{4n + n^2 - n}{2}) 2^{n-2} = (\frac{n^2 + 3n}{2}) 2^{n-2} = \frac{n(n+3)}{2} 2^{n-2} 1.

Donc, la matrice AnA^n est: An=(2nn2n−1n(n+3)22n−202nn2n−1002n)A^n = \begin{pmatrix} 2^n & n 2^{n-1} & \frac{n(n+3)}{2} 2^{n-2} \\ 0 & 2^n & n 2^{n-1} \\ 0 & 0 & 2^n \end{pmatrix} 1.

TermeExpression
AnA^n2nI3+n2n−1B+n(n−1)22n−2B22^n I_3 + n 2^{n-1} B + \frac{n(n-1)}{2} 2^{n-2} B^2

Voir aussi