Matemàtiques
Àlgebra lineal · Operacions amb matrius
Problema
Donades les matrius:
Calcula, si és possible:
\[ \begin{array}{lll} \text{(a)}\ A\cdot C & \text{(b)}\ A+C & \text{(c)}\ C\cdot D \\[8pt] \text{(d)}\ D\cdot C & \text{(e)}\ A\cdot B+B^t & \text{(f)}\ (A+B)\cdot C \\[8pt] \text{(g)}\ D\cdot D^t & \text{(h)}\ D^t\cdot D & \text{(i)}\ (A+I)^2 \end{array} \]Producte de matrius: A · C
La matriu \(A\) és de dimensió \(3\times3\) i la matriu \(C\) és de dimensió \(3\times2\). Com que les dimensions interiors coincideixen, el producte està definit.
\[ (3\times3)\cdot(3\times2)=3\times2 \] \[ AC= \begin{pmatrix} 2&4&-3\\ 0&5&6\\ 4&-5&1 \end{pmatrix} \begin{pmatrix} 4&3\\ -4&0\\ 7&-6 \end{pmatrix} \]Calculem els elements de la matriu producte:
\[ \begin{aligned} (AC)_{11}&=2\cdot4+4(-4)+(-3)7=-29\\ (AC)_{12}&=2\cdot3+4\cdot0+(-3)(-6)=24\\ (AC)_{21}&=0\cdot4+5(-4)+6\cdot7=22\\ (AC)_{22}&=0\cdot3+5\cdot0+6(-6)=-36\\ (AC)_{31}&=4\cdot4+(-5)(-4)+1\cdot7=43\\ (AC)_{32}&=4\cdot3+(-5)\cdot0+1(-6)=6 \end{aligned} \]Suma de matrius: A + C
La suma de dues matrius només està definida quan totes dues tenen les mateixes dimensions.
\[ \operatorname{dim}(A)=3\times3 \qquad \operatorname{dim}(C)=3\times2 \]Les matrius tenen un nombre diferent de columnes. Per tant, no és possible sumar-les.
\[ \boxed{A+C\text{ no està definida}} \]Producte de matrius: C · D
Perquè el producte de dues matrius estigui definit, el nombre de columnes de la primera ha de coincidir amb el nombre de files de la segona.
\[ \operatorname{dim}(C)=3\times2 \qquad \operatorname{dim}(D)=1\times3 \]En aquest cas, les dimensions interiors són diferents: \(2\neq1\).
Producte de matrius: D · C
En aquest cas, el producte està definit perquè:
\[ (1\times3)\cdot(3\times2)=1\times2 \] \[ DC= \begin{pmatrix} 1&-2&0 \end{pmatrix} \begin{pmatrix} 4&3\\ -4&0\\ 7&-6 \end{pmatrix} \] \[ \begin{aligned} DC &= \begin{pmatrix} 1\cdot4+(-2)(-4)+0\cdot7 & 1\cdot3+(-2)\cdot0+0(-6) \end{pmatrix}\\[5pt] &= \begin{pmatrix} 12&3 \end{pmatrix} \end{aligned} \]Producte i transposició: A · B + Bᵗ
Primer calculem el producte \(AB\):
\[ AB= \begin{pmatrix} 2&4&-3\\ 0&5&6\\ 4&-5&1 \end{pmatrix} \begin{pmatrix} 1&-3&0\\ 5&2&7\\ 9&-1&1 \end{pmatrix} \] \[ AB= \begin{pmatrix} -5&5&25\\ 79&4&41\\ -12&-23&-34 \end{pmatrix} \]A continuació, obtenim la transposada de \(B\), intercanviant les files per les columnes:
\[ B^t= \begin{pmatrix} 1&5&9\\ -3&2&-1\\ 0&7&1 \end{pmatrix} \]Sumem les dues matrius:
\[ AB+B^t= \begin{pmatrix} -5&5&25\\ 79&4&41\\ -12&-23&-34 \end{pmatrix} + \begin{pmatrix} 1&5&9\\ -3&2&-1\\ 0&7&1 \end{pmatrix} \]Propietat distributiva: (A + B) · C
Comencem sumant les matrius \(A\) i \(B\):
\[ A+B= \begin{pmatrix} 3&1&-3\\ 5&7&13\\ 13&-6&2 \end{pmatrix} \]Multipliquem el resultat per \(C\):
\[ (A+B)C= \begin{pmatrix} 3&1&-3\\ 5&7&13\\ 13&-6&2 \end{pmatrix} \begin{pmatrix} 4&3\\ -4&0\\ 7&-6 \end{pmatrix} \] \[ \begin{aligned} (A+B)C &= \begin{pmatrix} 12-4-21&9+18\\ 20-28+91&15-78\\ 52+24+14&39-12 \end{pmatrix}\\[5pt] &= \begin{pmatrix} -13&27\\ 83&-63\\ 90&27 \end{pmatrix} \end{aligned} \]Producte d’una matriu per la seva transposada: D · Dᵗ
La transposada de \(D\) és:
\[ D^t= \begin{pmatrix} 1\\ -2\\ 0 \end{pmatrix} \]Multipliquem:
\[ DD^t= \begin{pmatrix} 1&-2&0 \end{pmatrix} \begin{pmatrix} 1\\ -2\\ 0 \end{pmatrix} \] \[ DD^t=1^2+(-2)^2+0^2 \] \[ DD^t=1+4+0=5 \]El resultat és una matriu d’ordre \(1\times1\), que podem identificar amb l’escalar \(5\).
Producte invers: Dᵗ · D
Invertim l’ordre dels factors:
\[ D^tD= \begin{pmatrix} 1\\ -2\\ 0 \end{pmatrix} \begin{pmatrix} 1&-2&0 \end{pmatrix} \]El resultat és una matriu de dimensió \(3\times3\):
\[ D^tD= \begin{pmatrix} 1\cdot1&1(-2)&1\cdot0\\ (-2)\cdot1&(-2)(-2)&(-2)\cdot0\\ 0\cdot1&0(-2)&0\cdot0 \end{pmatrix} \]Potència d’una matriu: (A + I)²
La matriu identitat d’ordre 3 és:
\[ I= \begin{pmatrix} 1&0&0\\ 0&1&0\\ 0&0&1 \end{pmatrix} \]Calculem primer la suma:
\[ A+I= \begin{pmatrix} 2&4&-3\\ 0&5&6\\ 4&-5&1 \end{pmatrix} + \begin{pmatrix} 1&0&0\\ 0&1&0\\ 0&0&1 \end{pmatrix} \] \[ A+I= \begin{pmatrix} 3&4&-3\\ 0&6&6\\ 4&-5&2 \end{pmatrix} \]Elevar una matriu al quadrat significa multiplicar-la per ella mateixa:
\[ (A+I)^2=(A+I)(A+I) \] \[ = \begin{pmatrix} 3&4&-3\\ 0&6&6\\ 4&-5&2 \end{pmatrix} \begin{pmatrix} 3&4&-3\\ 0&6&6\\ 4&-5&2 \end{pmatrix} \]Calculem els elements:
\[ \begin{aligned} (A+I)^2_{11}&=9-12=-3\\ (A+I)^2_{12}&=12+24+15=51\\ (A+I)^2_{13}&=-9+24-6=9\\ (A+I)^2_{21}&=24\\ (A+I)^2_{22}&=36-30=6\\ (A+I)^2_{23}&=36+12=48\\ (A+I)^2_{31}&=12+8=20\\ (A+I)^2_{32}&=16-30-10=-24\\ (A+I)^2_{33}&=-12-30+4=-38 \end{aligned} \]Resum dels resultats
| Apartat | Operació | Resultat |
|---|---|---|
| (a) | \(AC\) | \(\begin{pmatrix}-29&24\\22&-36\\43&6\end{pmatrix}\) |
| (b) | \(A+C\) | No definida |
| (c) | \(CD\) | No definit |
| (d) | \(DC\) | \(\begin{pmatrix}12&3\end{pmatrix}\) |
| (e) | \(AB+B^t\) | \(\begin{pmatrix}-4&10&34\\76&6&40\\-12&-16&-33\end{pmatrix}\) |
| (f) | \((A+B)C\) | \(\begin{pmatrix}-13&27\\83&-63\\90&27\end{pmatrix}\) |
| (g) | \(DD^t\) | \(5\) |
| (h) | \(D^tD\) | \(\begin{pmatrix}1&-2&0\\-2&4&0\\0&0&0\end{pmatrix}\) |
| (i) | \((A+I)^2\) | \(\begin{pmatrix}-3&51&9\\24&6&48\\20&-24&-38\end{pmatrix}\) |