Invertible matrix Created 2026-09-24 Updated 2026-10-14
An -by- square matrix over a field is invertible when it has a two-sided matrix inverse. Equivalently, its linear map is a bijection: every output comes from exactly one input. For a square matrix, the following conditions are equivalent:
Here matrix rank means both full column rank and full row rank. The square hypothesis matters: a rectangular matrix can have full column rank without reaching every output, or full row rank without determining every input.[ref]
The equivalences explain why invertibility is a question about retaining information. A trivial kernel makes the linear map injective; the rank-nullity theorem then gives matrix rank , so its columns form a basis and the linear map is also surjective. Assigning to each output its unique input gives a linear map: the preimage of is . The determinant is nonzero precisely when the columns are linearly independent. Thus algebraic solvability and independent directions describe the same phenomenon; over the real numbers, nonzero oriented volume supplies its geometric interpretation.
Matrix inverse Created 2026-09-24 Updated 2026-10-14
For an -by- square matrix over a field, its matrix inverse is an -by- matrix satisfying both identities
where is the identity matrix. It exists exactly when is an invertible matrix, equivalently when its matrix rank is or its determinant is nonzero. It reverses the linear map: applying and then recovers the input, while applying and then recovers the output.[ref]
The matrix inverse is unique. If and both satisfy the identities, then . Although the definition is two-sided, for finite square matrices either identity alone suffices: forces a trivial kernel, whereas forces surjectivity; either makes an invertible matrix by the rank-nullity theorem. Rectangular matrices may have only one of these properties.
For a concrete example, take
Direct matrix multiplication gives
Consequently the vector follows a reversible journey:
The columns and are the images of the standard basis vectors. They turn the unit square into a parallelogram; the matrix inverse restores both the square and its surrounding grid. Since , this example changes shape while preserving area, illustrating that invertibility does not require preserving lengths or angles.
Figure 1.
A matrix inverse restores a grid and a vector; a singular matrix merges distinct inputs
. Details.
For comparison, the singular matrix
cannot have a matrix inverse: the output cannot specify which of the two inputs occurred. Their difference belongs to its kernel. Indeed collapses the plane to a line, its matrix rank is one, and its determinant is zero. No subsequent function of the output alone can reconstruct every input.
An important use of the matrix inverse is describing the unique solution of a linear system:
For , the preceding computation solves and , giving . In computation, usually solve the linear system using Gaussian elimination and a factorization such as an LU decomposition, rather than forming every entry of the matrix inverse. The inverse formula specifies the answer; a factorization provides a reusable way to compute it for each right-hand side.[ref]
Here the LU decomposition is especially simple:
Solve by forward substitution in a triangular system: and . Then solve by backward substitution in a triangular system: and . The same factors work when changes. If the whole matrix inverse is actually needed, its th column is the solution of , where is the th standard basis vector.
Reversing several operations means undoing the last one first. For invertible matrices of the same size,
because , and the product in the other order is also . This is why a change-of-basis matrix uses its matrix inverse to reverse the direction of coordinate conversion.
When a measurement model is a linear map , its kernel records changes that its readout cannot distinguish. For example, the rectangular kernel and solution-fibre example measures only and . Even exact readouts leave the whole fiber possible. Repeating either readout with greater precision cannot distinguish those inputs: their outputs agree exactly. This ambiguity follows from a nontrivial kernel, rather than from measurement error.
Additional information can remove a null direction of a linear map. In that example, adding a third linear functional that reads distinguishes , because its third readout is . More generally, additional linear functionals give unique recovery of all inputs exactly when
This follows by applying the trivial kernel criterion to the combined linear map . Merely adding repeated linear equations does not meet this condition. On a finite-dimensional input vector space, each added scalar readout can increase the matrix rank by at most one, so at least extra independent readouts are needed for recovery of unrestricted inputs.
Restrictions on the possible inputs can also make recovery unique. If the allowed inputs form a set , two allowed inputs are indistinguishable exactly when their difference is in the kernel. Thus is injective on precisely when no difference of distinct points of is a kernel vector. Such a restriction is extra information about the input; the original readout alone determines only its fiber.
For , the equation forces . It has a solution in exactly when
For example, defines an element of , but its forced preimage is the constant sequence , which is not in . Thus existence can fail. Since every is nonzero, has trivial kernel and any solution is unique.
Trivial kernel Created 2026-09-28 Updated 2026-10-14
A linear map has a trivial kernel when : the zero vector is the only input producing the zero output. The kernel is a singleton set, not the empty set, because every linear map sends zero to zero. Equivalently, its nullity is zero and is injective. This holds even without a finite-dimensional hypothesis; see Linear Algebra Done Right by Sheldon Axler (4th edition).
The reason this zero-output test controls all outputs is linearity:
With a trivial kernel, equal outputs force equal inputs. Therefore every equation has at most one solution. Existence is a separate question: must belong to the image of a linear map. In the fiber description under nullity, is just the single point .
For example, the linear map , , has trivial kernel and full column rank:
The output comes from exactly , while is unreachable. Conversely, , , is surjective and has full row rank, but its kernel is : every output comes from the solution straight line .
For an matrix, a trivial kernel is equivalent to matrix rank and linear independence of its columns. It can therefore occur only if . If , the rank-nullity theorem also forces surjectivity, giving an invertible matrix; if , the example shows why unique recovery of reachable inputs does not imply that every output is reachable. Finally, a trivial kernel guarantees exact uniqueness without guaranteeing numerical stability: the singular matrix example has trivial kernel for every , even as its condition number grows without bound when approaches zero.