Determinación de matrices inversas mediante Gauss-Jordan

📚 TP-5-2026.pdf

Resumen breve

Este documento detalla el método Gauss-Jordan para calcular la matriz inversa. Explica la identificación de matrices invertibles y no invertibles, fundamental para la resolución de sistemas lineales y otras aplicaciones matemáticas.

Puntos clave

  • Determinación de matrices inversas mediante el método Gauss-Jordan.
  • Identificación de matrices invertibles y no invertibles.
  • Ejemplos prácticos de cálculo de inversas.
  • Criterios para la no existencia de inversa.

1. Determinación de matrices inversas mediante Gauss-Jordan

1.1 El método de Gauss-Jordan para hallar matrices inversas

El método de Gauss-Jordan permite calcular la matriz inversa de una matriz cuadrada. Se basa en transformaciones elementales de fila.

El procedimiento consiste en aumentar la matriz dada con la matriz identidad del mismo tamaño. Luego, se aplican operaciones de fila para transformar la matriz original en la matriz identidad.

La matriz resultante en la posición de la matriz identidad original será la matriz inversa buscada.

🔑 Importante: Si durante el proceso de Gauss-Jordan aparece una fila de ceros en la parte de la matriz original, la matriz dada no es invertible.

1.1.1 Proceso general

  1. Formación de la matriz ampliada: Se crea una matriz uniendo la matriz original AA y la matriz identidad II. La forma es [A∣I][A | I].
  2. Transformaciones de fila: Se aplican operaciones elementales de fila a toda la matriz ampliada. Estas operaciones son:
    • Intercambiar dos filas.
    • Multiplicar una fila por un escalar no nulo.
    • Sumar un múltiplo de una fila a otra fila.
  3. Objetivo: El objetivo es obtener la matriz identidad en el lado izquierdo (donde originalmente estaba AA).
  4. Resultado: Si se logra, la matriz ampliada se transforma en [I∣A−1][I | A^{-1}]. La parte derecha es ahora la matriz inversa A−1A^{-1}.

🔑 Importante: Si en el proceso se obtiene una fila de ceros en la sección izquierda, la matriz AA no tiene inversa.

1.1.2 Ejemplos de matrices invertibles

Consideremos la matriz A=(3212)A = \begin{pmatrix} 3 & 2 \\ 1 & 2 \end{pmatrix}. Para encontrar su inversa, formamos la matriz ampliada:

\left[\begin{array}{cc|cc} 3 & 2 & 1 & 0 \\ 1 & 2 & 0 & 1 \end{array}\right

Aplicando operaciones de fila:

  • Intercambiar R1R_1 y R2R_2: \left[\begin{array}{cc|cc} 1 & 2 & 0 & 1 \\ 3 & 2 & 1 & 0 \end{array}\right
  • R2←R2−3R1R_2 \leftarrow R_2 - 3R_1: \left[\begin{array}{cc|cc} 1 & 2 & 0 & 1 \\ 0 & -4 & 1 & -3 \end{array}\right
  • R2←−14R2R_2 \leftarrow -\frac{1}{4}R_2: \left[\begin{array}{cc|cc} 1 & 2 & 0 & 1 \\ 0 & 1 & -\frac{1}{4} & \frac{3}{4} \end{array}\right
  • R1←R1−2R2R_1 \leftarrow R_1 - 2R_2: \left[\begin{array}{cc|cc} 1 & 0 & \frac{1}{2} & -\frac{1}{2} \\ 0 & 1 & -\frac{1}{4} & \frac{3}{4} \end{array}\right

La matriz inversa de AA es A−1=(1/2−1/2−1/43/4)A^{-1} = \begin{pmatrix} 1/2 & -1/2 \\ -1/4 & 3/4 \end{pmatrix}.

Consideremos ahora la matriz B=(7544)B = \begin{pmatrix} 7 & 5 \\ 4 & 4 \end{pmatrix}. La matriz ampliada es:

\left[\begin{array}{cc|cc} 7 & 5 & 1 & 0 \\ 4 & 4 & 0 & 1 \end{array}\right

  • R1←17R1R_1 \leftarrow \frac{1}{7}R_1: \left[\begin{array}{cc|cc} 1 & \frac{5}{7} & \frac{1}{7} & 0 \\ 4 & 4 & 0 & 1 \end{array}\right
  • R2←R2−4R1R_2 \leftarrow R_2 - 4R_1: \left[\begin{array}{cc|cc} 1 & \frac{5}{7} & \frac{1}{7} & 0 \\ 0 & \frac{8}{7} & -\frac{4}{7} & 1 \end{array}\right
  • R2←78R2R_2 \leftarrow \frac{7}{8}R_2: \left[\begin{array}{cc|cc} 1 & \frac{5}{7} & \frac{1}{7} & 0 \\ 0 & 1 & -\frac{1}{2} & \frac{7}{8} \end{array}\right
  • R1←R1−57R2R_1 \leftarrow R_1 - \frac{5}{7}R_2: \left[\begin{array}{cc|cc} 1 & 0 & \frac{1}{2} & -\frac{5}{8} \\ 0 & 1 & -\frac{1}{2} & \frac{7}{8} \end{array}\right

La matriz inversa de BB es B−1=(1/2−5/8−1/27/8)B^{-1} = \begin{pmatrix} 1/2 & -5/8 \\ -1/2 & 7/8 \end{pmatrix}.

1.1.3 Matrices no invertibles

Una matriz cuadrada no es invertible si, al aplicar el método de Gauss-Jordan, se obtiene una fila de ceros en la porción de la matriz original. Esto indica que las filas (o columnas) de la matriz son linealmente dependientes, lo que significa que una fila puede expresarse como una combinación lineal de las otras.

Consideremos la matriz A=(1122)A = \begin{pmatrix} 1 & 1 \\ 2 & 2 \end{pmatrix}. Su matriz ampliada es:

\left[\begin{array}{cc|cc} 1 & 1 & 1 & 0 \\ 2 & 2 & 0 & 1 \end{array}\right

  • R2←R2−2R1R_2 \leftarrow R_2 - 2R_1: \left[\begin{array}{cc|cc} 1 & 1 & 1 & 0 \\ 0 & 0 & -2 & 1 \end{array}\right

Observamos una fila de ceros en la parte izquierda (00\begin{smallmatrix} 0 & 0 \end{smallmatrix}). Esto confirma que la matriz AA no es invertible.

La matriz B=(−10202040)B = \begin{pmatrix} -10 & 20 \\ 20 & 40 \end{pmatrix} tampoco es invertible. Al aplicar Gauss-Jordan, se llegaría a una situación similar con una fila nula.

📝 Ejemplo: Si al realizar las operaciones de fila se llega a [10ab00cd]\left[\begin{array}{cc|cc} 1 & 0 & a & b \\ 0 & 0 & c & d \end{array}\right] con c≠0c \neq 0 o d≠0d \neq 0, la matriz original no tiene inversa.

1.1.4 Matrices identidad y diagonales

Las matrices escalares (un múltiplo de la matriz identidad) son fáciles de invertir. Si A=kIA = kI, entonces A−1=1kIA^{-1} = \frac{1}{k}I.

Para la matriz A=(500050005)A = \begin{pmatrix} 5 & 0 & 0 \\ 0 & 5 & 0 \\ 0 & 0 & 5 \end{pmatrix}, que es 5I5I, su inversa es A−1=15I=(1/50001/50001/5)A^{-1} = \frac{1}{5}I = \begin{pmatrix} 1/5 & 0 & 0 \\ 0 & 1/5 & 0 \\ 0 & 0 & 1/5 \end{pmatrix}.

Para la matriz B=(5000−300010)B = \begin{pmatrix} 5 & 0 & 0 \\ 0 & -3 & 0 \\ 0 & 0 & 10 \end{pmatrix}, que es una matriz diagonal, su inversa se obtiene tomando el recíproco de cada elemento de la diagonal: B−1=(1/5000−1/30001/10)B^{-1} = \begin{pmatrix} 1/5 & 0 & 0 \\ 0 & -1/3 & 0 \\ 0 & 0 & 1/10 \end{pmatrix}.

1.1.5 Determinación de inversas para matrices 3x3

Consideremos la matriz A=(12−11−2−116−1)A = \begin{pmatrix} 1 & 2 & -1 \\ 1 & -2 & -1 \\ 1 & 6 & -1 \end{pmatrix}. Su matriz ampliada es:

\left[\begin{array}{ccc|ccc} 1 & 2 & -1 & 1 & 0 & 0 \\ 1 & -2 & -1 & 0 & 1 & 0 \\ 1 & 6 & -1 & 0 & 0 & 1 \end{array}\right

Aplicando Gauss-Jordan:

  • R2←R2−R1R_2 \leftarrow R_2 - R_1, R3←R3−R1R_3 \leftarrow R_3 - R_1: \left[\begin{array}{ccc|ccc} 1 & 2 & -1 & 1 & 0 & 0 \\ 0 & -4 & 0 & -1 & 1 & 0 \\ 0 & 4 & 0 & -1 & 0 & 1 \end{array}\right
  • R3←R3+R2R_3 \leftarrow R_3 + R_2: \left[\begin{array}{ccc|ccc} 1 & 2 & -1 & 1 & 0 & 0 \\ 0 & -4 & 0 & -1 & 1 & 0 \\ 0 & 0 & 0 & -2 & 1 & 1 \end{array}\right

Se obtiene una fila de ceros en la parte izquierda. Por lo tanto, la matriz AA no tiene inversa.

Para la matriz B=(11−112−134−3)B = \begin{pmatrix} 1 & 1 & -1 \\ 1 & 2 & -1 \\ 3 & 4 & -3 \end{pmatrix}:

\left[\begin{array}{ccc|ccc} 1 & 1 & -1 & 1 & 0 & 0 \\ 1 & 2 & -1 & 0 & 1 & 0 \\ 3 & 4 & -3 & 0 & 0 & 1 \end{array}\right

  • R2←R2−R1R_2 \leftarrow R_2 - R_1, R3←R3−3R1R_3 \leftarrow R_3 - 3R_1: \left[\begin{array}{ccc|ccc} 1 & 1 & -1 & 1 & 0 & 0 \\ 0 & 1 & 0 & -1 & 1 & 0 \\ 0 & 1 & 0 & -3 & 0 & 1 \end{array}\right
  • R3←R3−R2R_3 \leftarrow R_3 - R_2: \left[\begin{array}{ccc|ccc} 1 & 1 & -1 & 1 & 0 & 0 \\ 0 & 1 & 0 & -1 & 1 & 0 \\ 0 & 0 & 0 & -2 & -1 & 1 \end{array}\right

De nuevo, se obtiene una fila de ceros. La matriz BB no tiene inversa.

🔑 Importante: La presencia de una fila de ceros en la matriz original tras las operaciones de Gauss-Jordan es la señal inequívoca de que la matriz no es invertible.

1.1.6 Sistemas lineales y matrices inversas

Los sistemas de ecuaciones lineales de la forma Ax=bAx = b, donde AA es la matriz de coeficientes, xx es el vector de incógnitas y bb es el vector de términos independientes, pueden resolverse utilizando la matriz inversa si esta existe.

Si A−1A^{-1} existe, la solución única del sistema es x=A−1bx = A^{-1}b.

a) Sistema: x+y−z=1x + y - z = 1 x−z=2x - z = 2 −x+y=3-x + y = 3

Forma Ax=bAx = b: A=(11−110−1−110)A = \begin{pmatrix} 1 & 1 & -1 \\ 1 & 0 & -1 \\ -1 & 1 & 0 \end{pmatrix}, x=(xyz)x = \begin{pmatrix} x \\ y \\ z \end{pmatrix}, b=(123)b = \begin{pmatrix} 1 \\ 2 \\ 3 \end{pmatrix}

Utilizando Gauss-Jordan para AA, se obtiene A−1=(1/2−1/2−1/2−1/21/21/21−1−1)A^{-1} = \begin{pmatrix} 1/2 & -1/2 & -1/2 \\ -1/2 & 1/2 & 1/2 \\ 1 & -1 & -1 \end{pmatrix}. La solución es x=A−1bx = A^{-1}b: x=(1/2−1/2−1/2−1/21/21/21−1−1)(123)=(1/2−1−3/2−1/2+1+3/21−2−3)=(−22−4)x = \begin{pmatrix} 1/2 & -1/2 & -1/2 \\ -1/2 & 1/2 & 1/2 \\ 1 & -1 & -1 \end{pmatrix} \begin{pmatrix} 1 \\ 2 \\ 3 \end{pmatrix} = \begin{pmatrix} 1/2 - 1 - 3/2 \\ -1/2 + 1 + 3/2 \\ 1 - 2 - 3 \end{pmatrix} = \begin{pmatrix} -2 \\ 2 \\ -4 \end{pmatrix} Por lo tanto, x=−2x = -2, y=2y = 2, z=−4z = -4.

b) Sistema: x−y−z=2x - y - z = 2 x−y=4x - y = 4 x−2y−z=−1x - 2y - z = -1

Forma Ax=bAx = b: A=(1−1−11−101−2−1)A = \begin{pmatrix} 1 & -1 & -1 \\ 1 & -1 & 0 \\ 1 & -2 & -1 \end{pmatrix}, x=(xyz)x = \begin{pmatrix} x \\ y \\ z \end{pmatrix}, b=(24−1)b = \begin{pmatrix} 2 \\ 4 \\ -1 \end{pmatrix}

Al intentar calcular la inversa de AA mediante Gauss-Jordan, se obtendría una fila de ceros. Esto significa que la matriz AA no es invertible, y el sistema lineal no tiene una solución única.

📝 Ejemplo: Si el sistema es x+y=1x+y=1 y 2x+2y=22x+2y=2, la matriz de coeficientes A=(1122)A = \begin{pmatrix} 1 & 1 \\ 2 & 2 \end{pmatrix} no es invertible, indicando que el sistema tiene infinitas soluciones o ninguna, pero no una única.

🔑 Importante: Un sistema lineal Ax=bAx=b tiene solución única si y solo si la matriz de coeficientes AA es invertible. El método de Gauss-Jordan es clave tanto para hallar la inversa como para determinar si existe.

Ver también