Calcul matriciel

Exercices types : 22ème partie - Exercice 1

20 min
40
Question 1
On donne les matrices A=(1111)A=\left(\begin{array}{cc} {1} & {1} \\ {1} & {1} \end{array}\right) et P=(1111)P=\left(\begin{array}{cc} {-1} & {1} \\ {1} & {1} \end{array}\right)

Démontrer que la matrice PP est inversible et donner alors l'expression de P1P^{-1} .

Correction
  • Soit A=(abcd)A=\left(\begin{array}{cc} {\red{a}} & {\blue{b}} \\ {\pink{c}} & {\green{d}} \end{array}\right) une matrice carrée d'ordre 22. On appelle deˊterminant\red{\text{déterminant}} de AA le nombre det(A)=a×db×c\det \left(A\right)=\red{a}\times \green{d}-\blue{b}\times \pink{c} .
  • Une matrice est inversible\red{\text{inversible}} si et seulement si det(A)0\det \left(A\right)\ne 0 et la matrice inverse de AA est égale à A1=1det(A)(dbca)A^{-1} =\frac{1}{\det \left(A\right)} \left(\begin{array}{cc} {\green{d}} & {-\blue{b}} \\ {-\pink{c}} & {\red{a}} \end{array}\right)
Soit P=(1111)P=\left(\begin{array}{cc} {\red{-1}} & {\blue{1}} \\ {\pink{1}} & {\green{1}} \end{array}\right)
On a :
det(P)=1×11×1\det \left(P\right)=\red{-1}\times \green{1}-\blue{1}\times \pink{1}
det(P)=11\det \left(P\right)=-1-1
Finalement :
det(P)=2\det \left(P\right)=-2

Comme det(P)0\det \left(P\right)\ne 0 alors la matrice PP est inversible\red{\text{inversible}}.
La matrice inverse de PP notée P1P^{-1} est alors égale à :
P1=1det(P)(dbca)P^{-1} =\frac{1}{\det \left(P\right)} \left(\begin{array}{cc} {\green{d}} & {-\blue{b}} \\ {-\pink{c}} & {\red{a}} \end{array}\right)
P1=12(1111)P^{-1} =\frac{1}{-2} \left(\begin{array}{cc} {\green{1}} & {-\blue{1}} \\ {-\pink{1}} & {\red{-1}} \end{array}\right)
Finalement :
P1=(12121212)P^{-1} = \left(\begin{array}{cc} {-\frac{1}{2}} & {\frac{1}{2}} \\ {\frac{1}{2}} & {\frac{1}{2}} \end{array}\right)

Question 2
Soit DD la matrice carrée d'ordre 22 telle que : D=P1×A×PD=P^{-1} \times A\times P

Calculer DD.

Correction
Premieˋrement :\purple{\text{Premièrement :}} commençons par calculer P1×AP^{-1} \times A
P1×A=(12121212)(12×1+12×112×1+12×112×1+12×112×1+12×1)(1111)P^{-1} \times A=\left(\begin{array}{cc} {-\frac{1}{2} } & {\frac{1}{2} } \\ {\frac{1}{2} } & {\frac{1}{2} } \end{array}\right){\mathop{\left(\begin{array}{cc} {-\frac{1}{2} \times 1+\frac{1}{2} \times 1} & {-\frac{1}{2} \times 1+\frac{1}{2} \times 1} \\ {\frac{1}{2} \times 1+\frac{1}{2} \times 1} & {\frac{1}{2} \times 1+\frac{1}{2} \times 1} \end{array}\right)}\limits^{\left(\begin{array}{cc} {1} & {1} \\ {1} & {1} \end{array}\right)}}
P1×A=(12121212)(0011)(1111)P^{-1} \times A=\left(\begin{array}{cc} {-\frac{1}{2} } & {\frac{1}{2} } \\ {\frac{1}{2} } & {\frac{1}{2} } \end{array}\right){\mathop{\left(\begin{array}{cc} {0} & {0} \\ {1} & {1} \end{array}\right)}\limits^{\left(\begin{array}{cc} {1} & {1} \\ {1} & {1} \end{array}\right)}}
P1×A=(0011)\red{P^{-1} \times A=\left(\begin{array}{cc} {0} & {0} \\ {1} & {1} \end{array}\right)}
Deuxieˋmement:\purple{\text{Deuxièmement:}} nous pouvons calculer maintenant DD
D=P1×A×PD=\red{P^{-1} \times A}\times P
D=(0011)(0×(1)+0×10×1+0×11×1+1×11×1+1×1)(1111)D=\red{\left(\begin{array}{cc} {0} & {0} \\ {1} & {1} \end{array}\right)}{\mathop{\left(\begin{array}{cc} {0\times \left(-1\right)+0\times 1} & {0\times 1+0\times 1} \\ {-1\times 1+1\times 1} & {1\times 1+1\times 1} \end{array}\right)}\limits^{\left(\begin{array}{cc} {-1} & {1} \\ {1} & {1} \end{array}\right)}}
D=(0011)(0002)(1111)D=\left(\begin{array}{cc} {0} & {0} \\ {1} & {1} \end{array}\right){\mathop{\left(\begin{array}{cc} {0} & {0} \\ {0} & {2} \end{array}\right)}\limits^{\left(\begin{array}{cc} {-1} & {1} \\ {1} & {1} \end{array}\right)}}
Finalement :
D=(0002)D=\left(\begin{array}{cc} {0} & {0} \\ {0} & {2} \end{array}\right)
Question 3

Expliquer pourquoi nous pouvons écrire que : A=P×D×P1A= P\times D\times P^{-1}

Correction
D=P1×A×PD=P^{-1} \times A\times P .       \;\;\;Nous allons multiplier par la matrice P\red{P} à gauche de chaque membre de l'égalité .
P×D=P×P1×A×P\red{P\times} D=\red{P\times} P^{-1} \times A\times P
  • Une matrice carrée d'ordre AA est inversible si et seulement si il existe une matrice BB telle que A×B=InA\times B=I_{n} et\red{\text{et}} B×A=InB\times A=I_{n} InI_{n} correspond à la matrice identité .
  • Comme P1P^{-1} est la matrice inverse de PP alors P×P1=I2P\times P^{-1}=I_{2} et P1×P=I2P^{-1}\times P=I_{2} . Il vient alors que :
    P×D=I2×A×PP\times D=I_{2} \times A\times P .       \;\;\; Or : I2×A=AI_{2} \times A=A .
    P×D=A×PP\times D=A\times P
    P×D×P1=A×P×P1P\times D\pink{\times P^{-1}} =A\times P\pink{\times P^{-1}}       \;\;\;Nous allons multiplier par la matrice P1\pink{P^{-1}} à droite de chaque membre de l'égalité .
    P×D×P1=A×I2P\times D\times P^{-1} =A\times I_{2}
    Ainsi :
    P×D×P1=AP\times D\times P^{-1} =A

    Question 4

    Pour tout entier naturel nn non nul, conjecturer une expression de DnD^{n} .

    Correction
    D'après la question 22, nous savons que : D=(0002)D=\left(\begin{array}{cc} {0} & {0} \\ {0} & {2} \end{array}\right)
    A l'aide de la calculatrice, on remarque que :
    D2=(0004)D^{2}=\left(\begin{array}{cc} {0} & {0} \\ {0} & {4} \end{array}\right) que l'on peut écrire D2=(00022)D^{2}=\left(\begin{array}{cc} {0} & {0} \\ {0} & {2^2} \end{array}\right)
    D3=(0008)D^{3}=\left(\begin{array}{cc} {0} & {0} \\ {0} & {8} \end{array}\right) que l'on peut écrire D3=(00023)D^{3}=\left(\begin{array}{cc} {0} & {0} \\ {0} & {2^3} \end{array}\right)
    D4=(00016)D^{4}=\left(\begin{array}{cc} {0} & {0} \\ {0} & {16} \end{array}\right) que l'on peut écrire D4=(00024)D^{4}=\left(\begin{array}{cc} {0} & {0} \\ {0} & {2^4} \end{array}\right)
    D5=(00032)D^{5}=\left(\begin{array}{cc} {0} & {0} \\ {0} & {32} \end{array}\right) que l'on peut écrire D5=(00025)D^{5}=\left(\begin{array}{cc} {0} & {0} \\ {0} & {2^5} \end{array}\right)
    Pour tout entier naturel nn non nul, on conjecture que Dn=(0002n)D^{n}=\left(\begin{array}{cc} {0} & {0} \\ {0} & {2^n} \end{array}\right) .
    Question 5

    Démontrer cette conjecture par récurrence.

    Correction
    Pour tout entier naturel nn non nul , posons la propriété Pn:Dn=(0002n)P_{n} :D^{n} =\left(\begin{array}{cc} {0 } & {0} \\ {0} & {2^{n} } \end{array}\right)
    Etape d’initialisation :\red{\text{Etape d'initialisation :}}
    On sait que D1=DD^{1}=D
    La propriété P1P_{1} est vraie.
    Etape d’heˊreˊditeˊ :\red{\text{Etape d'hérédité :}}
    On suppose qu'il existe un entier kk tel que la propriété PkP_{k} soit vraie c'est-à-dire Dk=(0002k)D^{k} =\left(\begin{array}{cc} {0 } & {0} \\ {0} & {2^{k} } \end{array}\right) et vérifions si la propriété est également vraie au rang k+1k+1 c'est-à-dire Dk+1=(0002k+1)D^{k+1} =\left(\begin{array}{cc} {0 } & {0} \\ {0} & {2^{k+1} } \end{array}\right)
    Nous savons que Dk+1=Dk×DD^{k+1} =D^{k} \times D .
    Dk+1=(0002k)(0×0+0×00×0+0×00×0+2k×00×0+2k×2)(0002)D^{k+1} =\left(\begin{array}{cc} {0} & {0} \\ {0} & {2^{k} } \end{array}\right){\mathop{\left(\begin{array}{cc} {0\times 0+0\times 0} & {0\times 0+0\times 0} \\ {0\times 0+2^{k} \times 0} & {0\times 0+2^{k} \times 2} \end{array}\right)}\limits^{\left(\begin{array}{cc} {0} & {0} \\ {0} & {2} \end{array}\right)}}
    Dk+1=(0002k)(0002k+1)(0002)D^{k+1} =\left(\begin{array}{cc} {0} & {0} \\ {0} & {2^{k} } \end{array}\right){\mathop{\left(\begin{array}{cc} {0} & {0} \\ {0} & {2^{k+1} } \end{array}\right)}\limits^{\left(\begin{array}{cc} {0} & {0} \\ {0} & {2} \end{array}\right)}}
    Dk+1=(0002k+1)D^{k+1} =\left(\begin{array}{cc} {0} & {0} \\ {0} & {2^{k+1} } \end{array}\right)
    Ainsi la propriété Pk+1P_{k+1} est vraie.
    Conclusion :\red{\text{Conclusion :}}
    Puisque la propriété P1P_{1} est vraie et que nous avons prouvé l'hérédité, on peut en déduire, par le principe de récurrence que pour tout entier naturel nn non nul, on a PnP_{n} vraie, c'est à dire que pour tout entier naturel nn non nul, on a bien :
    Dn=(0002n)D^{n} =\left(\begin{array}{cc} {0 } & {0} \\ {0} & {2^{n} } \end{array}\right)

    Question 6
    Pour tout entier naturel nn non nul, on admet que : An=P×Dn×P1A^{n}= P\times D^{n}\times P^{-1}

    Pour tout entier naturel nn non nul, exprimer AnA^{n} en fonction de nn .

    Correction
    Premieˋrement :\purple{\text{Premièrement :}} commençons par calculer P×DnP \times D^{n}
    P×Dn=(1111)(1×0+1×01×0+1×2n1×0+1×01×0+1×2n)(0002n)P\times D^{n} =\left(\begin{array}{cc} {-1} & {1} \\ {1} & {1} \end{array}\right){\mathop{\left(\begin{array}{cc} {-1\times 0+1\times 0} & {-1\times 0+1\times 2^{n} } \\ {1\times 0+1\times 0} & {1\times 0+1\times 2^{n} } \end{array}\right)}\limits^{\left(\begin{array}{cc} {0} & {0} \\ {0} & {2^{n} } \end{array}\right)}}
    P×Dn=(1111)(02n02n)(0002n)P\times D^{n} =\left(\begin{array}{cc} {-1} & {1} \\ {1} & {1} \end{array}\right){\mathop{\left(\begin{array}{cc} {0} & {2^{n} } \\ {0} & {2^{n} } \end{array}\right)}\limits^{\left(\begin{array}{cc} {0} & {0} \\ {0} & {2^{n} } \end{array}\right)}}
    P×Dn=(02n02n)P\times D^{n} =\left(\begin{array}{cc} {0} & {2^{n} } \\ {0} & {2^{n} } \end{array}\right)
    Deuxieˋmement:\purple{\text{Deuxièmement:}} nous pouvons calculer maintenant AnA^n
    An=P×Dn×P1A^{n}= \red{P\times D^{n}}\times P^{-1}
    An=(02n02n)(0×(12)+2n×120×12+2n×120×(12)+2n×120×12+2n×12)(12121212)A^{n} =\red{\left(\begin{array}{cc} {0} & {2^{n} } \\ {0} & {2^{n} } \end{array}\right)}{\mathop{\left(\begin{array}{cc} {0\times \left(-\frac{1}{2} \right)+2^{n} \times \frac{1}{2} } & {0\times \frac{1}{2} +2^{n} \times \frac{1}{2} } \\ {0\times \left(-\frac{1}{2} \right)+2^{n} \times \frac{1}{2} } & {0\times \frac{1}{2} +2^{n} \times \frac{1}{2} } \end{array}\right)}\limits^{\left(\begin{array}{cc} {-\frac{1}{2} } & {\frac{1}{2} } \\ {\frac{1}{2} } & {\frac{1}{2} } \end{array}\right)}}
    An=(02n02n)(2n×122n×122n×122n×12)(12121212)A^{n} =\left(\begin{array}{cc} {0} & {2^{n} } \\ {0} & {2^{n} } \end{array}\right){\mathop{\left(\begin{array}{cc} {2^{n} \times \frac{1}{2} } & {2^{n} \times \frac{1}{2} } \\ {2^{n} \times \frac{1}{2} } & {2^{n} \times \frac{1}{2} } \end{array}\right)}\limits^{\left(\begin{array}{cc} {-\frac{1}{2} } & {\frac{1}{2} } \\ {\frac{1}{2} } & {\frac{1}{2} } \end{array}\right)}}
    An=(02n02n)(2n22n22n22n2)(12121212)A^{n} =\left(\begin{array}{cc} {0} & {2^{n} } \\ {0} & {2^{n} } \end{array}\right){\mathop{\left(\begin{array}{cc} {\frac{2^{n} }{2} } & {\frac{2^{n} }{2} } \\ {\frac{2^{n} }{2} } & {\frac{2^{n} }{2} } \end{array}\right)}\limits^{\left(\begin{array}{cc} {-\frac{1}{2} } & {\frac{1}{2} } \\ {\frac{1}{2} } & {\frac{1}{2} } \end{array}\right)}}
    An=(02n02n)(2n12n12n12n1)(12121212)A^{n} =\left(\begin{array}{cc} {0} & {2^{n} } \\ {0} & {2^{n} } \end{array}\right){\mathop{\left(\begin{array}{cc} {2^{n-1} } & {2^{n-1} } \\ {2^{n-1} } & {2^{n-1} } \end{array}\right)}\limits^{\left(\begin{array}{cc} {-\frac{1}{2} } & {\frac{1}{2} } \\ {\frac{1}{2} } & {\frac{1}{2} } \end{array}\right)}}
    Ainsi :
    An=(2n12n12n12n1)A^{n} =\left(\begin{array}{cc} {2^{n-1} } & {2^{n-1} } \\ {2^{n-1} } & {2^{n-1} } \end{array}\right)