Sean las matrices $C = \begin{pmatrix}0 & 1 & 0\\ 1 & 0 & 1\\ 0 & 1 & 0\end{pmatrix}$ y $D = \begin{pmatrix}0 & 1 & 1\\ 1 & 0 & 1\\ 1 & 1 & 0\end{pmatrix}$.
a) (1.5 puntos) Resuelva la ecuación matricial $2\cdot X - C\cdot D = (I_3 + D)\cdot C$.
b) (1 punto) Si las matrices $C$ y $D$ son las matrices de adyacencia de dos grafos, de vértices $a, b, c$ y $1, 2, 3$, respectivamente, haga la representación gráfica de dichos grafos.
Solución paso a paso
Apartado a) Resolución de 2·X - C·D = (I₃ + D)·C
Despejamos $X$:
$$2X = (I_3 + D)\cdot C + C\cdot D \implies X = \frac{1}{2}\big[(I_3 + D)\cdot C + C\cdot D\big]$$Calculamos los productos intermedios:
$$I_3 + D = \begin{pmatrix}1 & 1 & 1\\ 1 & 1 & 1\\ 1 & 1 & 1\end{pmatrix} \implies (I_3 + D)\cdot C = \begin{pmatrix}1 & 1 & 1\\ 1 & 1 & 1\\ 1 & 1 & 1\end{pmatrix}\begin{pmatrix}0 & 1 & 0\\ 1 & 0 & 1\\ 0 & 1 & 0\end{pmatrix} = \begin{pmatrix}1 & 2 & 1\\ 1 & 2 & 1\\ 1 & 2 & 1\end{pmatrix}$$ $$C\cdot D = \begin{pmatrix}0 & 1 & 0\\ 1 & 0 & 1\\ 0 & 1 & 0\end{pmatrix}\begin{pmatrix}0 & 1 & 1\\ 1 & 0 & 1\\ 1 & 1 & 0\end{pmatrix} = \begin{pmatrix}1 & 0 & 1\\ 1 & 2 & 1\\ 1 & 0 & 1\end{pmatrix}$$Sumando y dividiendo entre $2$:
$$2X = \begin{pmatrix}2 & 2 & 2\\ 2 & 4 & 2\\ 2 & 2 & 2\end{pmatrix} \implies \mathbf{X = \begin{pmatrix}1 & 1 & 1\\ 1 & 2 & 1\\ 1 & 1 & 1\end{pmatrix}}$$Apartado b) Representación gráfica de los grafos
Ambas matrices son simétricas y de diagonal nula (grafos no dirigidos sin bucles):
- Grafo de $C$ (vértices $a, b, c$): $c_{12}=c_{21}=1$ y $c_{23}=c_{32}=1$, luego existen las aristas $\{a,b\}$ y $\{b,c\}$ (un camino de longitud 2 con vértice central $b$).
- Grafo de $D$ (vértices $1, 2, 3$): todas las entradas fuera de la diagonal valen $1$, luego es el grafo completo $K_3$ con aristas $\{1,2\}$, $\{1,3\}$ y $\{2,3\}$.
Criterios oficiales de corrección · 1.5 a) y 1 b).
- a): Hasta 1.5 puntos. Hasta 1,5 pts
- b): Hasta 1 punto. Hasta 1,0 pts