AndalucíaAndalucía
MadridMadrid
CataluñaCataluña
GaliciaGalicia
MurciaMurcia
ValenciaValencia
En construcciónAñadimos comunidades, materias, años y soluciones de forma progresiva y constante.
Operaciones con matrices y ecuaciones matriciales
Problema
2022 · Extraordinaria · Titular
1
Examen
EJERCICIO 1

Se consideran las matrices

A=(112−2010−1−1),B=(−213102),C=(12−1−1−23)A = \begin{pmatrix} 1 & 1 & 2 \\ -2 & 0 & 1 \\ 0 & -1 & -1 \end{pmatrix}, \quad B = \begin{pmatrix} -2 & 1 \\ 3 & 1 \\ 0 & 2 \end{pmatrix}, \quad C = \begin{pmatrix} 1 & 2 \\ -1 & -1 \\ -2 & 3 \end{pmatrix}
a) Determine la matriz XX que verifica A⋅X+B=A2⋅CA \cdot X + B = A^2 \cdot C.b) Determine las dimensiones de dos matrices PP y QQ sabiendo que A⋅Pt+C=C⋅(Q⋅B)A \cdot P^t + C = C \cdot (Q \cdot B).
MatricesEcuación matricialDimensión de matrices
a) Determine la matriz XX que verifica A⋅X+B=A2⋅CA \cdot X + B = A^2 \cdot C.

La ecuación matricial es A⋅X+B=A2⋅CA \cdot X + B = A^2 \cdot C. Despejamos XX:

A⋅X=A2⋅C−BA \cdot X = A^2 \cdot C - B

Primero, calculamos el determinante de AA para verificar si es invertible:

∣A∣=∣112−2010−1−1∣=1(0−(−1))−1((−2)(−1)−0(1))+2((−2)(−1)−0(0))|A| = \begin{vmatrix} 1 & 1 & 2 \\ -2 & 0 & 1 \\ 0 & -1 & -1 \end{vmatrix} = 1(0 - (-1)) - 1((-2)(-1) - 0(1)) + 2((-2)(-1) - 0(0))
∣A∣=1(1)−1(2)+2(2)=1−2+4=3|A| = 1(1) - 1(2) + 2(2) = 1 - 2 + 4 = 3

Como ∣A∣=3≠0|A| = 3 \neq 0, la matriz AA es invertible, por lo que podemos multiplicar por A−1A^{-1} por la izquierda:

X=A−1(A2⋅C−B)X = A^{-1} (A^2 \cdot C - B)

Calculamos A2A^2:

A2=A⋅A=(112−2010−1−1)(112−2010−1−1)=(1−2+01+0−22+1−2−2+0+0−2+0−1−4+0−10+2+00+0+10−1+1)=(−1−11−2−3−5210)A^2 = A \cdot A = \begin{pmatrix} 1 & 1 & 2 \\ -2 & 0 & 1 \\ 0 & -1 & -1 \end{pmatrix} \begin{pmatrix} 1 & 1 & 2 \\ -2 & 0 & 1 \\ 0 & -1 & -1 \end{pmatrix} = \begin{pmatrix} 1-2+0 & 1+0-2 & 2+1-2 \\ -2+0+0 & -2+0-1 & -4+0-1 \\ 0+2+0 & 0+0+1 & 0-1+1 \end{pmatrix} = \begin{pmatrix} -1 & -1 & 1 \\ -2 & -3 & -5 \\ 2 & 1 & 0 \end{pmatrix}

Calculamos A2⋅CA^2 \cdot C:

A2⋅C=(−1−11−2−3−5210)(12−1−1−23)=(−1+1−2−2+1+3−2+3+10−4+3−152−1+04−1+0)=(−2211−1613)A^2 \cdot C = \begin{pmatrix} -1 & -1 & 1 \\ -2 & -3 & -5 \\ 2 & 1 & 0 \end{pmatrix} \begin{pmatrix} 1 & 2 \\ -1 & -1 \\ -2 & 3 \end{pmatrix} = \begin{pmatrix} -1+1-2 & -2+1+3 \\ -2+3+10 & -4+3-15 \\ 2-1+0 & 4-1+0 \end{pmatrix} = \begin{pmatrix} -2 & 2 \\ 11 & -16 \\ 1 & 3 \end{pmatrix}

Calculamos A2⋅C−BA^2 \cdot C - B:

A2⋅C−B=(−2211−1613)−(−213102)=(−2−(−2)2−111−3−16−11−03−2)=(018−1711)A^2 \cdot C - B = \begin{pmatrix} -2 & 2 \\ 11 & -16 \\ 1 & 3 \end{pmatrix} - \begin{pmatrix} -2 & 1 \\ 3 & 1 \\ 0 & 2 \end{pmatrix} = \begin{pmatrix} -2-(-2) & 2-1 \\ 11-3 & -16-1 \\ 1-0 & 3-2 \end{pmatrix} = \begin{pmatrix} 0 & 1 \\ 8 & -17 \\ 1 & 1 \end{pmatrix}

Calculamos la inversa de AA, A−1=1∣A∣Adj(A)tA^{-1} = \frac{1}{|A|} \text{Adj}(A)^t:La matriz de cofactores es:

Cof(A) = \begin{pmatrix} \begin{vmatrix} 0 & 1 \\ -1 & -1 \end{pmatrix} & -\begin{vmatrix} -2 & 1 \\ 0 & -1 \end{pmatrix} & \begin{vmatrix} -2 & 0 \\ 0 & -1 \end{pmatrix} \\ -\begin{vmatrix} 1 & 2 \\ -1 & -1 \end{pmatrix} & \begin{vmatrix} 1 & 2 \\ 0 & -1 \end{pmatrix} & -\begin{vmatrix} 1 & 1 \\ 0 & -1 \end{pmatrix} \\ \begin{vmatrix} 1 & 2 \\ 0 & 1 \end{pmatrix} & -\begin{vmatrix} 1 & 2 \\ -2 & 1 \end{pmatrix} & \begin{vmatrix} 1 & 1 \\ -2 & 0 \end{pmatrix} \end{pmatrix} = \begin{pmatrix} 1 & -2 & 2 \\ -1 & -1 & 1 \\ 1 & -5 & 2 \end{pmatrix}

La adjunta es la traspuesta de la matriz de cofactores:

Adj(A)=(1−11−2−1−5212)\text{Adj}(A) = \begin{pmatrix} 1 & -1 & 1 \\ -2 & -1 & -5 \\ 2 & 1 & 2 \end{pmatrix}
A−1=13(1−11−2−1−5212)A^{-1} = \frac{1}{3} \begin{pmatrix} 1 & -1 & 1 \\ -2 & -1 & -5 \\ 2 & 1 & 2 \end{pmatrix}

Finalmente, calculamos XX:

X=A−1(A2⋅C−B)=13(1−11−2−1−5212)(018−1711)X = A^{-1} (A^2 \cdot C - B) = \frac{1}{3} \begin{pmatrix} 1 & -1 & 1 \\ -2 & -1 & -5 \\ 2 & 1 & 2 \end{pmatrix} \begin{pmatrix} 0 & 1 \\ 8 & -17 \\ 1 & 1 \end{pmatrix}
X=13((1)(0)+(−1)(8)+(1)(1)(1)(1)+(−1)(−17)+(1)(1)(−2)(0)+(−1)(8)+(−5)(1)(−2)(1)+(−1)(−17)+(−5)(1)(2)(0)+(1)(8)+(2)(1)(2)(1)+(1)(−17)+(2)(1))X = \frac{1}{3} \begin{pmatrix} (1)(0)+(-1)(8)+(1)(1) & (1)(1)+(-1)(-17)+(1)(1) \\ (-2)(0)+(-1)(8)+(-5)(1) & (-2)(1)+(-1)(-17)+(-5)(1) \\ (2)(0)+(1)(8)+(2)(1) & (2)(1)+(1)(-17)+(2)(1) \end{pmatrix}
X=13(−719−131010−13)=(−7/319/3−13/310/310/3−13/3)X = \frac{1}{3} \begin{pmatrix} -7 & 19 \\ -13 & 10 \\ 10 & -13 \end{pmatrix} = \begin{pmatrix} -7/3 & 19/3 \\ -13/3 & 10/3 \\ 10/3 & -13/3 \end{pmatrix}
b) Determine las dimensiones de dos matrices PP y QQ sabiendo que A⋅Pt+C=C⋅(Q⋅B)A \cdot P^t + C = C \cdot (Q \cdot B).

Dadas las dimensiones de las matrices:

A3×3,B3×2,C3×2A_{3 \times 3}, \quad B_{3 \times 2}, \quad C_{3 \times 2}

Sea PP una matriz de dimensión m×nm \times n. Entonces PtP^t tendrá dimensión n×mn \times m.Para que el producto A⋅PtA \cdot P^t sea posible, el número de columnas de AA debe ser igual al número de filas de PtP^t.

A3×3⋅Pn×mt  ⟹  n=3A_{3 \times 3} \cdot P^t_{n \times m} \implies n=3

La matriz resultante A⋅PtA \cdot P^t tendrá dimensión 3×m3 \times m.Para que la suma A⋅Pt+CA \cdot P^t + C sea posible, A⋅PtA \cdot P^t y CC deben tener las mismas dimensiones.

(A⋅Pt)3×m=C3×2  ⟹  m=2(A \cdot P^t)_{3 \times m} = C_{3 \times 2} \implies m=2

Por lo tanto, PtP^t tiene dimensión 3×23 \times 2, lo que significa que PP tiene dimensión 2×32 \times 3.Ahora, consideremos el lado derecho de la ecuación: C⋅(Q⋅B)C \cdot (Q \cdot B).Sea QQ una matriz de dimensión r×sr \times s.Para que el producto Q⋅BQ \cdot B sea posible, el número de columnas de QQ debe ser igual al número de filas de BB.

Qr×s⋅B3×2  ⟹  s=3Q_{r \times s} \cdot B_{3 \times 2} \implies s=3

La matriz resultante Q⋅BQ \cdot B tendrá dimensión r×2r \times 2.Para que el producto C⋅(Q⋅B)C \cdot (Q \cdot B) sea posible, el número de columnas de CC debe ser igual al número de filas de Q⋅BQ \cdot B.

C3×2⋅(Q⋅B)r×2  ⟹  r=2C_{3 \times 2} \cdot (Q \cdot B)_{r \times 2} \implies r=2

La matriz resultante C⋅(Q⋅B)C \cdot (Q \cdot B) tendrá dimensión 3×23 \times 2.Ambos lados de la ecuación tienen la misma dimensión (3×23 \times 2), lo cual es consistente.Resumiendo las dimensiones encontradas:

La matriz P tiene dimensioˊn 2×3.\text{La matriz } P \text{ tiene dimensión } 2 \times 3.
La matriz Q tiene dimensioˊn 2×3.\text{La matriz } Q \text{ tiene dimensión } 2 \times 3.