By determinant Let A be an n×n matrix of real or complex numbers. Then the inverse of A exists if and only if detA=0.