Note also that only square matrices can have an inverse. The definition of an
Is inverse only for square matrix?
Inverses only exist for square matrices. That means if you don't the same number of equations as variables, then you can't use this method. Not every square matrix has an inverse.
Which matrices do not have an inverse?
A singular matrix does not have an inverse. To find the inverse of a square matrix A , you need to find a matrix A−1 such that the product of A and A−1 is the identity matrix.