¿Qué es una matriz inversa?
An inverse matrix of a square matrix \(A\) is a matrix \(A^{-1}\) such that:
\[ A A^{-1} = A^{-1} A = I \]
Here \(I\) denotes the identity matrix of the same order as \(A\). Only square matrices may have inverses, and not all square matrices are invertible.
Condición de existencia
A square matrix \(A\) is invertible (also called nonsingular) if and only if its determinant is nonzero:
\[ \det(A) \neq 0 \]
Fórmulas y métodos comunes
Fórmula para matriz 2×2 (forma cerrada)
Para una matriz 2×2
\[ A = \begin{bmatrix} a & b \\ c & d \end{bmatrix} \quad\text{with}\quad \det(A)=ad-bc \]
When \(\det(A)\neq 0\), the inverse is
\[ A^{-1} = \dfrac{1}{ad-bc} \begin{bmatrix} d & -b \\ -c & a \end{bmatrix}. \]
Métodos para matrices más grandes (3×3 y superiores)
- Gaussian elimination / row reduction: augment \([A|I]\) and row-reduce to \([I|A^{-1}]\).
- Adjugate (classical adjoint) method: compute the matrix of cofactors, transpose it to get the adjugate, then divide by \(\det(A)\): \(A^{-1} = \dfrac{1}{\det(A)}\operatorname{adj}(A)\).
- Numerical methods / libraries: in practice use reliable numerical libraries (e.g. LAPACK-backed libraries) or this website's calculator for stability and speed.
Worked examples
Example 1 — 2×2 inverse
Given
\[ A = \begin{bmatrix} 2 & 1 \\ 3 & 4 \end{bmatrix} \]
Calcula el determinante:
\[ \det(A)=2\cdot4-1\cdot3=8-3=5 \]
Usa la fórmula de 2×2:
\[ A^{-1}=\dfrac{1}{5}\begin{bmatrix}4 & -1 \\ -3 & 2\end{bmatrix} = \begin{bmatrix} \tfrac{4}{5} & -\tfrac{1}{5} \\ -\tfrac{3}{5} & \tfrac{2}{5} \end{bmatrix}. \]
Example 2 — singular matrix (no inverse)
Given
\[ B = \begin{bmatrix} 1 & 2 \\ 2 & 4 \end{bmatrix} \]
Calcula el determinante:
\[ \det(B) = 1\cdot4 - 2\cdot2 = 0. \]
Since the determinant is zero, matrix \(B\) is singular and does not have an inverse.
Errores comunes y dificultades
- Forgetting to check \(\det(A)\): attempting to invert a singular matrix leads to incorrect results.
- Applying the 2×2 shortcut to larger matrices: the simple 2×2 formula does not generalize — use row reduction or adjugate for 3×3 and larger.
- Sign and position errors: when using the 2×2 formula, ensure the off-diagonal entries get negated and \(a\) and \(d\) are swapped.
- Numerical instability: for matrices with very small determinants or badly conditioned matrices, numerical inversion may be unstable — prefer solving linear systems via \(Ax=b\) algorithms rather than computing \(A^{-1}\) explicitly.
Practice problems (answers hidden)
Try the problems below by hand or paste them into the Matrix inverse multiplication calculator. Click each answer to expand.
Problema 1
Halla la inversa (si existe):
\[ A = \begin{bmatrix} 3 & 2 \\ 1 & 4 \end{bmatrix} \]
Mostrar respuesta
Compute determinant: \(\det(A)=3\cdot4-2\cdot1=12-2=10\).
Inversa:
\[ A^{-1}=\dfrac{1}{10}\begin{bmatrix}4 & -2 \\ -1 & 3\end{bmatrix} = \begin{bmatrix}\tfrac{2}{5} & -\tfrac{1}{5} \\ -\tfrac{1}{10} & \tfrac{3}{10} \end{bmatrix}. \]
Problema 2
Determina si la matriz es invertible:
\[ B = \begin{bmatrix} 2 & 6 \\ 1 & 3 \end{bmatrix} \]
Mostrar respuesta
Compute determinant: \(\det(B)=2\cdot3-6\cdot1=6-6=0\).
So \(B\) is singular and does not have an inverse.
Problem 3 (3×3)
Halla la inversa (usa la adjunta o reducción por filas):
\[ C = \begin{bmatrix} 1 & 0 & 2 \\ -1 & 3 & 1 \\ 2 & 1 & 0 \end{bmatrix} \]
Mostrar respuesta
One convenient method is to compute \(\operatorname{adj}(C)\) or perform row reduction on \([C|I]\). The (exact) inverse is:
\[ C^{-1} = \begin{bmatrix} -\tfrac{1}{7} & -\tfrac{2}{7} & \tfrac{3}{7} \\ -\tfrac{1}{7} & \tfrac{3}{7} & \tfrac{1}{7} \\ \tfrac{3}{7} & \tfrac{2}{7} & -\tfrac{2}{7} \end{bmatrix}. \]
(You may verify this by checking that \(C C^{-1} = I\).)
Problema 4
Calcula la inversa si existe:
\[ D = \begin{bmatrix} 4 & -1 \\ 2 & 5 \end{bmatrix} \]
Mostrar respuesta
Determinant: \(\det(D)=4\cdot5-(-1)\cdot2=20+2=22\).
Inversa:
\[ D^{-1} = \dfrac{1}{22}\begin{bmatrix}5 & 1 \\ -2 & 4 \end{bmatrix} = \begin{bmatrix} \tfrac{5}{22} & \tfrac{1}{22} \\ -\tfrac{1}{11} & \tfrac{2}{11} \end{bmatrix}. \]
Ayuda adicional y flujo de trabajo sugerido
- Comprueba siempre si la matriz es cuadrada y calcula primero el determinante.
- Para matrices 2×2, usa la fórmula cerrada por rapidez y claridad.
- Para matrices más grandes, prefiere la eliminación gaussiana o una biblioteca numérica de confianza.
- When solving \(Ax=b\), prefer solving the system directly instead of computing \(A^{-1}\) explicitly (numerical stability).
Preguntas Frecuentes (FAQ)
¿Cuándo existe la inversa de una matriz?
Una matriz tiene inversa si su determinante es distinto de cero.
¿La calculadora muestra los pasos?
Sí, explica cada paso del proceso de inversión.
Para entender mejor la matriz inversa, también puedes explorar la forma triangular superior, la descomposición LU y los valores propios.