In mathematics and especially linear algebra, an

*n*-by-

*n*matrix

*A*is called

**invertible**or

**non-singular**if there exists another

*n*-by-

*n*matrix

*B*such that

*AB*=*BA*=*I*_{n},

*I*

_{n}denotes the

*n*-by-

*n*identity matrix and the multiplication used is ordinary matrix multiplication. If this is the case, then the matrix

*B*is uniquely determined by

*A*and is called the

**inverse**of

*A*, denoted by

*A*

^{−1}. A square matrix that is not invertible is called

**singular**. While the most common case is that of matrices over the real or complex numbers, all these definitions can be given for matrices over any ring.

Table of contents |

2 Further properties and facts 3 Generalizations |

## Invertible Matrix Theorem

Let *A* be a square *n* by *n* matrix over a field *K* (for example the field **R** of real numbers). The following statements are equivalent and must all be true for *A* to be invertible:

*A*is row equivalent to the*n*by*n*identity matrix*I*_{n}*A*has*n*pivot positions- det
*A*≠ 0 - rank
*A*=*n* - The equation
*Ax = 0*has only the trivial solution*x*= 0 (i.e. Nul*A*= {0}). - The equation
*Ax = b*has at most one solution for each*b*in*K*^{n} - The equation
*Ax = b*has at least one solution for each*b*in*K*^{n\} - The equation
*Ax = b*has exactly one solution for each*b*in*K*^{n} - The columns of A are linearly independent.
- The columns of
*A*span*K*^{n}(i.e. Col*A*=*K*^{n}) - The columns of
*A*form a basis of*K*^{n} - The linear transformation
*x*`|->`*Ax*from*K*^{n}to*K*^{n}is one-to-one - The linear transformation
*x*`|->`*Ax*from*K*^{n}to*K*^{n}is onto - The linear transformation
*x*`|->`*Ax*from*K*^{n}to*K*^{n}is bijective - There is an
*n*by*n*matrix*B*such that*BA*=*I*_{n} - There is an
*n*by*n*matrix*B*such that*AB*=*I*_{n} - The transpose
*A*^{T}is an invertible matrix. - The number 0 is not an eigenvalue of
*A*

## Further properties and facts

To check whether a given matrix is invertible, and to compute the inverse in small examples, one typically uses the Gauss-Jordan elimination algorithm. Other methods are explained under matrix inversion.

The inverse of an invertible matrix *A* is itself invertible, with

- (
*A*^{−1})^{−1}=*A*.

*A*and

*B*of the same size is again invertible, with the inverse given by

- (
*AB*)^{−1}=*B*^{−1}*A*^{−1}

*n*-by-

*n*matrices forms a group, known as the general linear group Gl(

*n*).

As a rule of thumb, "almost all" matrices are invertible. Over the field of real numbers, this can be made precise as follows: the set of singular *n*-by-*n* matrices, considered as a subset of **R**^{n×n}, is a null set, i.e. has Lebesgue measure zero. Intuitively, this means that if you pick a random square matrix over the reals, the probability that it be singular is zero. The reason for this is that singular matrices can be thought of as the roots of the polynomial function given by the determinant.

A square matrix with entries from some commutative ring is invertible if and only if its determinant is a unit in that ring.