The inverse of a matrix is defined for
Only square matrices
By Definition:
If A is a square matrix of order , and if there exists another square
matrix B of the same order , such that AB = BA = I, then B is called the
matrix of A and it is denoted by A– 1. In that case A is said to be invertible.