Inverse of a Matrix

==2024-12-03


To invert, it should be invertible.


Theory

A matrix is said to be invertible if it’s determinant is not 0 or it is not a square matrix.

is invertible if:

Then, the Inverse of the Matrix is defined as:

where, = Adjoint of a Matrix = where, = Matrix of Cofactors = where, Cofactor at i,j position = and, is the Minor of Matrix at i,j position.


Implementation

To find the inverse of a given square matrix for large matrices, we use Partitioned Matrices.


PTR