An inverse matrix is a matrix that reverses another matrix under multiplication. In linear algebra, the inverse of a square matrix is denoted and satisfies
where is the identity matrix of the same size. A matrix possessing an inverse is called invertible or nonsingular; one without an inverse is singular. Inversion reverses the transformation represented by a matrix, rather than taking the reciprocal of each individual entry. (math.mit.edu)
Definition and existence
The usual theory concerns matrices with entries in a field, particularly the real numbers or complex numbers. The inverse, when it exists, is unique. Indeed, if and are both inverses of , associativity gives
For square matrices over a field, a one-sided inverse is sufficient: implies . The finite-dimensional, square-matrix assumption is essential to this statement. (arxiv.org)
Several equivalent conditions characterize invertibility:
- The determinant satisfies .
- The rank of is .
- Its columns are linearly independent and form a basis of the coordinate space.
- Its null space contains only the zero vector.
- The linear system has exactly one solution for every .
- Elimination produces nonzero pivots, allowing row exchanges. (math.mit.edu)
Geometrically, represents a linear map on a finite-dimensional vector space. Invertibility means that this map is an isomorphism: every output corresponds to exactly one input. A singular map loses information by sending some nonzero vector to zero, making complete reversal impossible. (math.ucla.edu)
Formulas and examples
For a matrix,
the inverse exists precisely when , and then
For example,
Direct multiplication in either order yields . By contrast, the matrix with rows and is singular because its determinant is zero. (math.mit.edu)
For an arbitrary invertible square matrix, the exact formula
uses the adjugate matrix, the transpose of the matrix of signed minors. This identity connects inversion with determinants and gives explicit algebraic expressions for the inverse entries. Computing many minors, however, makes it an unattractive general-purpose procedure for large matrices. (math.ucla.edu)
Algebraic properties
For invertible matrices and of the same size,
The reversed order is important: reversing two successive transformations requires undoing the last transformation first. It cannot generally be replaced by , because matrix multiplication is not commutative. (math.mit.edu)
Inversion also interacts with the transpose and determinant:
A real orthogonal matrix therefore has the especially simple inverse . (math.mit.edu)
If with , invertibility ensures , and multiplication by gives
Thus the eigenvalues of the inverse are reciprocals of those of , with the corresponding eigenvectors unchanged. (linear.pugetsound.edu)
Computation and numerical accuracy
A standard exact method is Gauss–Jordan elimination, a variant of Gaussian elimination. Elementary row operations transform the augmented matrix
The same operations that reduce to the identity accumulate its inverse in the right-hand block. Failure to obtain a pivot in every column indicates singularity. Equivalently, the columns of are the solutions of , where are the standard basis vectors. (math.mit.edu)
In numerical linear algebra, inversion can be organized through LU decomposition with pivoting and subsequent triangular solves. For solving , explicitly forming is usually unnecessary; numerical libraries instead solve the system using a factorization. This avoids computing an entire inverse when only its action on particular right-hand sides is required. (netlib.org)
Mathematical invertibility does not guarantee accurate results in floating-point arithmetic. Sensitivity is measured by the condition number
where the 's are singular values. A large ratio indicates ill-conditioning: small perturbations or rounding errors can produce substantial inaccuracies. An inversion routine may return a result for an ill-conditioned matrix without reporting failure. (numpy.org)
Rectangular matrices and generalized inverses
A rectangular matrix cannot have a two-sided inverse of the ordinary kind. Nevertheless, an matrix with full column rank has a left inverse, while one with full row rank has a right inverse. These one-sided inverses need not be unique. (ocw.mit.edu)
The Moore–Penrose pseudoinverse, denoted , extends inversion to rectangular and singular matrices. It can be constructed using singular value decomposition by reciprocating nonzero singular values and leaving zero singular values at zero. For invertible square matrices, ; otherwise, is the minimum-Euclidean-norm solution among those minimizing . This provides a generalized solution even when an exact solution is absent or nonunique. (numpy.org)