Matrices positivas e irreducibles, Teorema de Perron-Frobenius, matrices estocásticas, vectores de punto fijo y cadenas de Markov.
Las matrices cuadradas positivas aparecen en procesos estocásticos, modelos económicos y múltiples aplicaciones. Conocer el signo de sus entradas es fundamental para garantizar soluciones con sentido real.
Sean las matrices no negativas:
$$A = \begin{pmatrix} 3 & 0 & 1 \\ 2 & 1 & 2 \\ 3 & 4 & 1 \end{pmatrix}, \qquad B = \begin{pmatrix} 0 & 0 & 1 \\ 1 & 1 & 2 \\ 3 & 1 & 1 \end{pmatrix}$$Suma y producto resultan también no negativos:
$$A + B = \begin{pmatrix} 3 & 0 & 2 \\ 3 & 2 & 4 \\ 6 & 5 & 2 \end{pmatrix}, \qquad AB = \begin{pmatrix} 3 & 1 & 4 \\ 7 & 3 & 6 \\ 7 & 5 & 12 \end{pmatrix}$$Todos los elementos de ambos resultados son \(\geq 0\) ✅
Sea \(A = \begin{pmatrix} 0 & 1 \\ 1 & 1 \end{pmatrix}\). Como \(n = 2\), calculamos \((I+A)^3\):
$$I + A = \begin{pmatrix} 1 & 1 \\ 1 & 2 \end{pmatrix} \quad \Rightarrow \quad (I+A)^3 = \begin{pmatrix} 5 & 8 \\ 8 & 13 \end{pmatrix} > 0 \checkmark$$Todas las entradas estrictamente positivas → \(A\) es irreducible.
Asociamos a la matriz \(A = (a_{ij}) \geq 0\) un grafo con \(n\) vértices: hay una arista dirigida \(i \to j\) si \(a_{ij} > 0\).
Irreducible ✅ \(A = \begin{pmatrix} 0 & 1 & 0 \\ 0 & 0 & 1 \\ 1 & 0 & 0 \end{pmatrix}\)
Grafo: \(1 \to 2 \to 3 \to 1\). Desde cualquier vértice se llega a todos.
Reducible ❌ \(B = \begin{pmatrix} 0 & 1 & 1 \\ 0 & 1 & 0 \\ 1 & 0 & 0 \end{pmatrix}\)
No existe camino desde todos los vértices hacia todos los demás.
Este teorema es la base del algoritmo PageRank de Google y garantiza la existencia de soluciones con sentido económico en el modelo de Leontief.
Para que la solución tenga sentido económico se necesita \(X > 0\), lo que requiere \([I - A]^{-1} > 0\).
La inversa de Leontief es positiva, confirmando el teorema.
Cada fila suma 1 y todos los elementos son \(\geq 0\) → es estocástica ✅
Sus autovalores: \(\lambda_1 = 0,\ \lambda_2 = \tfrac{1}{3},\ \lambda_3 = 1\). Radio espectral = 1. ✅
Sea \(A = \begin{pmatrix} 1/3 & 2/3 \\ 1 & 0 \end{pmatrix}\). Autovalores: \(\lambda_1 = 1,\ \lambda_2 = -\tfrac{2}{3}\).
Para \(\lambda = 1\), resolvemos \((A - I)\mathbf{v} = \mathbf{0}\):
$$\begin{pmatrix} -2/3 & 2/3 \\ 1 & -1 \end{pmatrix}\begin{pmatrix} x_1 \\ x_2 \end{pmatrix} = \begin{pmatrix} 0 \\ 0 \end{pmatrix} \;\Rightarrow\; x_1 = x_2 \;\Rightarrow\; \mathbf{v} = \begin{pmatrix} 1 \\ 1 \end{pmatrix} \checkmark$$Sea \(A = \begin{pmatrix} 1 & 2 \\ 2 & 2 \end{pmatrix}\). Sumas por fila: 3 y 4.
$$\Sigma A = \begin{pmatrix} 3 & 0 \\ 0 & 4 \end{pmatrix}, \quad N(A) = \begin{pmatrix} 1/3 & 0 \\ 0 & 1/4 \end{pmatrix}\begin{pmatrix} 1 & 2 \\ 2 & 2 \end{pmatrix} = \begin{pmatrix} 1/3 & 2/3 \\ 1/2 & 1/2 \end{pmatrix}$$Cada fila suma 1 → \(N(A)\) es estocástica ✅
Planteamos \([x;\, y;\, 1-x-y] \cdot A = [x;\, y;\, 1-x-y]\). El sistema resulta:
$$\begin{cases} 0 = x \\ y + 0{,}25(1-x-y) = y \\ x + 0{,}75(1-x-y) = 1-x-y \end{cases} \;\Rightarrow\; x = 0,\ y = 1$$Vector de punto fijo: \(\mathbf{v} = (0;\; 1;\; 0)\).
Verificación: \((0, 1, 0) \cdot A = (0, 1, 0)\) ✅
Sea \(\mathbf{p}(k) = (p_1(k), \ldots, p_n(k))^T\) el vector de probabilidades en el tiempo \(k\). La evolución es:
donde \(A = (p_{ij}(k))\) es la matriz de transición: \(p_{ij}\) es la probabilidad de pasar del estado \(i\) al \(j\).
Marcas A, B, C con distribución inicial \(\mathbf{p}(0) = (0{,}6;\; 0{,}3;\; 0{,}1)^T\) y matriz de transición:
$$A = \begin{pmatrix} 0{,}75 & 0{,}15 & 0{,}10 \\ 0{,}25 & 0{,}60 & 0{,}15 \\ 0{,}30 & 0{,}20 & 0{,}50 \end{pmatrix}$$Calculamos \(\mathbf{p}(4) = (A^T)^4\,\mathbf{p}(0)\):
$$(A^T)^4 \approx \begin{pmatrix} 0{,}544 & 0{,}485 & 0{,}5 \\ 0{,}274 & 0{,}318 & 0{,}29 \\ 0{,}181 & 0{,}196 & 0{,}21 \end{pmatrix}$$ $$\mathbf{p}(4) \approx \begin{pmatrix} 0{,}5225 \\ 0{,}2891 \\ 0{,}1884 \end{pmatrix}$$A los 4 períodos: A tiene ~52,25%, B ~28,91%, C ~18,84% del mercado.
Tres supermercados X, Y, Z. Distribución inicial: \(\mathbf{u}(0) = (0{,}2;\; 0{,}3;\; 0{,}5)^T\).
$$A = \begin{pmatrix} 0{,}8 & 0{,}2 & 0{,}1 \\ 0{,}1 & 0{,}7 & 0{,}3 \\ 0{,}1 & 0{,}1 & 0{,}6 \end{pmatrix}$$Tomando \(k \to \infty\) (diagonalizando \(A^T\) y llevando las potencias al límite):
$$\lim_{k \to \infty}\mathbf{p}(k) = \begin{pmatrix} 0{,}40 \\ 0{,}35 \\ 0{,}20 \end{pmatrix}$$En el largo plazo: X retiene 40%, Y 35%, Z 20%, independientemente de la distribución inicial.
Para que \(f: K \to K\) tenga al menos un punto fijo, se requiere que \(K\) sea compacto (acotado y cerrado) y convexo, y que \(f\) sea continua.
\(f(1) < 0\) y \(f(2) > 0\) → raíz en \([1, 2]\). Tomamos \(x_0 = 1{,}5\). Tres candidatas a \(g\):
Usamos (b). Iteraciones con \(g(x) = \sqrt{10-x^3}\,/\,2\):
| Iteración | \(x_n\) | \(g(x_n)\) |
|---|---|---|
| \(x_0\) | 1,5000 | 1,2870 |
| \(x_1\) | 1,2870 | 1,4025 |
| \(x_3\) | 1,3455 | 1,3752 |
| \(x_7\) | 1,3639 | 1,3659 |
| \(x_{14}\) | 1,36524 | 1,36522 |
Raíz aproximada: \(\alpha \approx 1{,}3652\). Error en la iteración 14:
$$E\% = \left|\frac{1{,}36524 - 1{,}36521}{1{,}36521}\right| \times 100 \approx 0{,}0026\%$$