Inversion of matrices
Introduction
Square matrices
are invertible if and only if their determinant is not zero.
Matrices that are not invertible are called singular or degenerate.
Matrices that are invertible are called regular or non-singular.
The inverse of a matrix is a matrix that when multiplied with the original matrix produces the identity matrix.
Inverse matrix can be calculated using sub determinant matrixes.
Inverse calculation
Let
be a square matrix. The inverse of A is calculated using the following steps:
- Calculate the determinant of the matrix
- Calculate the sub determinant matrixes
- Calculate the cofactor matrix
- Calculate the adjugate matrix
- Calculate the inverse matrix
Determinant
The determinant of a matrix is calculated recursively using the following formula:
where
Sub determinant matrices
The sub determinant matrixes are calculated by removing the i-th row and the j-th column from the original matrix.
Cofactor matrix
The cofactor matrix is calculated using the following formula:
where
is the cofactor of the i-th row and the j-th column.
Adjugate matrix
The adjugate matrix is calculated by transposing the cofactor matrix.
The adjugate matrix is also called the classical adjoint matrix or the adjugate of A.
Inverse matrix
The inverse matrix is calculated using the following formula:
The result is checked by multiplying the original matrix with the inverse matrix.
Notes
- The inverse matrix is calculated only if the original matrix is invertible.
- The inverse matrix is calculated only for square matrices.
Example
Let
be a square matrix. The inverse of A is calculated using the following steps:
Determinant
Determinant of A is 26. Since the determinant is not zero, the inverse matrix exists.
Sub determinant matrices
Sub determinants:
Cofactor matrix
Adjugate matrix
The adjugate matrix is also called the classical adjoint matrix or the adjugate of A.
Inverse matrix
The result is checked by multiplying the original matrix with the inverse matrix.
