Hubbry Logo
Invertible matrixInvertible matrixMain
Open search
Invertible matrix
Community hub
Invertible matrix
logo
7 pages, 0 posts
0 subscribers
Be the first to start a discussion here.
Be the first to start a discussion here.
Invertible matrix
Invertible matrix
from Wikipedia

In linear algebra, an invertible matrix (non-singular, non-degenerate or regular) is a square matrix that has an inverse. In other words, if a matrix is invertible, it can be multiplied by another matrix to yield the identity matrix. Invertible matrices are the same size as their inverse.

The inverse of a matrix represents the inverse operation, meaning if a matrix is applied to a particular vector, followed by applying the matrix's inverse, the result is the original vector.

Definition

[edit]

An n-by-n square matrix A is called invertible if there exists an n-by-n square matrix B such thatwhere In denotes the n-by-n identity matrix and the multiplication used is ordinary matrix multiplication.[1] 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. Matrix inversion is the process of finding the matrix which when multiplied by the original matrix gives the identity matrix.[2]

Examples

[edit]

Consider the following 2-by-2 matrix:

The matrix is invertible, as it has inverse which can be confirmed by computing

To check that it is invertible without finding an inverse, can be computed, which is non-zero.

On the other hand, this is a non-invertible matrix:

We can see the rank of this 2-by-2 matrix is 1, which is n − 1 ≠ n, so it is non-invertible. Additionally, we can compute that the determinant of is 0, which is a necessary and sufficient condition for a matrix to be non-invertible.

Methods of matrix inversion

[edit]

Gaussian elimination

[edit]

Gaussian elimination is a useful and easy way to compute the inverse of a matrix. To compute a matrix inverse using this method, an augmented matrix is first created with the left side being the matrix to invert and the right side being the identity matrix. Then, Gaussian elimination is used to convert the left side into the identity matrix, which causes the right side to become the inverse of the input matrix.

For example, take the following matrix:

The first step to compute its inverse is to create the augmented matrix

Call the first row of this matrix and the second row . Then, add row 1 to row 2 This yields

Next, subtract row 2, multiplied by 3, from row 1 which yields

Finally, multiply row 1 by −1 and row 2 by 2 This yields the identity matrix on the left side and the inverse matrix on the right:

Thus, It works because the process of Gaussian elimination can be viewed as a sequence of applying left matrix multiplication using elementary row operations using elementary matrices (), such as

Applying right-multiplication using we get And the right side which is the inverse we want.

To obtain we create the augmented matrix by combining A with I and applying Gaussian elimination. The two portions will be transformed using the same sequence of elementary row operations. When the left portion becomes I, the right portion applied the same elementary row operation sequence will become A−1.

Newton's method

[edit]

A generalization of Newton's method as used for a multiplicative inverse algorithm may be convenient if it is convenient to find a suitable starting seed:

Victor Pan and John Reif have done work that includes ways of generating a starting seed.[3][4]

Newton's method is particularly useful when dealing with families of related matrices that behave enough like the sequence manufactured for the homotopy above: sometimes a good starting point for refining an approximation for the new inverse can be the already obtained inverse of a previous matrix that nearly matches the current matrix. For example, the pair of sequences of inverse matrices used in obtaining matrix square roots by Denman–Beavers iteration. That may need more than one pass of the iteration at each new matrix, if they are not close enough together for just one to be enough. Newton's method is also useful for "touch up" corrections to the Gauss–Jordan algorithm which has been contaminated by small errors from imperfect computer arithmetic.

Cayley–Hamilton method

[edit]

The Cayley–Hamilton theorem allows the inverse of A to be expressed in terms of det(A), traces and powers of A:[5]

where n is size of A, and tr(A) is the trace of matrix A given by the sum of the main diagonal. The sum is taken over s and the sets of all satisfying the linear Diophantine equation

The formula can be rewritten in terms of complete Bell polynomials of arguments as

That is described in more detail under Cayley–Hamilton method.

Eigendecomposition

[edit]

If matrix A can be eigendecomposed, and if none of its eigenvalues are zero, then A is invertible and its inverse is given by

where Q is the square (N × N) matrix whose ith column is the eigenvector of A, and Λ is the diagonal matrix whose diagonal entries are the corresponding eigenvalues, that is, If A is symmetric, Q is guaranteed to be an orthogonal matrix, therefore Furthermore, because Λ is a diagonal matrix, its inverse is easy to calculate:

Cholesky decomposition

[edit]

If matrix A is positive definite, then its inverse can be obtained as

where L is the lower triangular Cholesky decomposition of A, and L* denotes the conjugate transpose of L.

Analytic solution

[edit]

Writing the transpose of the matrix of cofactors, known as an adjugate matrix, may also be an efficient way to calculate the inverse of small matrices, but the recursive method is inefficient for large matrices. To determine the inverse, we calculate a matrix of cofactors:

so that

where |A| is the determinant of A, C is the matrix of cofactors, and CT represents the matrix transpose.

Inversion of 2 × 2 matrices

[edit]

The cofactor equation listed above yields the following result for 2 × 2 matrices. Inversion of these matrices can be done as follows:[6]

This is possible because 1/(adbc) is the reciprocal of the determinant of the matrix in question, and the same strategy could be used for other matrix sizes.

The Cayley–Hamilton method gives

Inversion of 3 × 3 matrices

[edit]

A computationally efficient 3 × 3 matrix inversion is given by

(where the scalar A is not to be confused with the matrix A).

If the determinant is non-zero, the matrix is invertible, with the entries of the intermediary matrix on the right side above given by

The determinant of A can be computed by applying the rule of Sarrus as follows:

The Cayley–Hamilton decomposition gives

The general 3 × 3 inverse can be expressed concisely in terms of the cross product and triple product. If a matrix (consisting of three column vectors, , , and ) is invertible, its inverse is given by

The determinant of A, det(A), is equal to the triple product of x0, x1, and x2—the volume of the parallelepiped formed by the rows or columns:

The correctness of the formula can be checked by using cross- and triple-product properties and by noting that for groups, left and right inverses always coincide. Intuitively, because of the cross products, each row of A–1 is orthogonal to the non-corresponding two columns of A (causing the off-diagonal terms of be zero). Dividing by

causes the diagonal entries of I = A−1A to be unity. For example, the first diagonal is:

Inversion of 4 × 4 matrices

[edit]

With increasing dimension, expressions for the inverse of A get complicated. For n = 4, the Cayley–Hamilton method leads to an expression that is still tractable:

Blockwise inversion

[edit]

Let

where A, B, C and D are matrix sub-blocks of arbitrary size and is the Schur complement of A. (A must be square, so that it can be inverted. Furthermore, A and DCA−1B must be nonsingular.[7])

Matrices can also be inverted blockwise by using the analytic inversion formula:[8]

The strategy is particularly advantageous if A is diagonal and M / A is a small matrix, since they are the only matrices requiring inversion.

The nullity theorem says that the nullity of A equals the nullity of the sub-block in the lower right of the inverse matrix, and that the nullity of B equals the nullity of the sub-block in the upper right of the inverse matrix.

The inversion procedure that led to Equation (1) performed matrix block operations that operated on C and D first. Instead, if A and B are operated on first, and provided D and M / D := ABD−1C are nonsingular,[9] the result is

Equating the upper-left sub-matrices of Equations (1) and (2) leads to

where Equation (3) is the Woodbury matrix identity, which is equivalent to the binomial inverse theorem.

If A and D are both invertible, then the above two block matrix inverses can be combined to provide the simple factorization

By the Weinstein–Aronszajn identity, one of the two matrices in the block-diagonal matrix is invertible exactly when the other is.

This formula simplifies significantly when the upper right block matrix B is the zero matrix. This formulation is useful when the matrices A and D have relatively simple inverse formulas (or pseudo inverses in the case where the blocks are not all square. In this special case, the block matrix inversion formula stated in full generality above becomes

If the given invertible matrix is a symmetric matrix with invertible block A the following block inverse formula holds[10]

where . This requires 2 inversions of the half-sized matrices A and S and only 4 multiplications of half-sized matrices, if organized properly together with some additions, subtractions, negations and transpositions of negligible complexity. Any matrix has an associated positive semidefinite, symmetric matrix , which is exactly invertible (and positive definite), if and only if is invertible. By writing matrix inversion can be reduced to inverting symmetric matrices and 2 additional matrix multiplications, because the positive definite matrix satisfies the invertibility condition for its left upper block A.

Those formulas together allow to construct a divide and conquer algorithm that uses blockwise inversion of associated symmetric matrices to invert a matrix with the same time complexity as the matrix multiplication algorithm that is used internally.[10] Research into matrix multiplication complexity shows that there exist matrix multiplication algorithms with a complexity of O(n2.371552) operations, while the best proven lower bound is Ω(n2 log n).[11]

By Neumann series

[edit]

If a matrix A has the property that

then A is nonsingular and its inverse may be expressed by a Neumann series:[12]

Truncating the sum results in an "approximate" inverse which may be useful as a preconditioner. Note that a truncated series can be accelerated exponentially by noting that the Neumann series is a geometric sum. As such, it satisfies

Therefore, only 2L − 2 matrix multiplications are needed to compute 2L terms of the sum.

More generally, if A is "near" the invertible matrix X in the sense that

then A is nonsingular and its inverse is

If it is also the case that AX has rank 1 then this simplifies to

p-adic approximation

[edit]

If A is a matrix with integer or rational entries, and we seek a solution in arbitrary-precision rationals, a p-adic approximation method converges to an exact solution in O(n4 log2 n), assuming standard O(n3) matrix multiplication is used.[13] The method relies on solving n linear systems via Dixon's method of p-adic approximation (each in O(n3 log2 n)) and is available as such in software specialized in arbitrary-precision matrix operations, for example, in IML.[14]

Reciprocal basis vectors method

[edit]

Given an n × n square matrix , , with n rows interpreted as n vectors (Einstein summation assumed) where the are a standard orthonormal basis of Euclidean space (), then using Clifford algebra (or geometric algebra) we compute the reciprocal (sometimes called dual) column vectors:

as the columns of the inverse matrix Note that, the place "" indicates that "" is removed from that place in the above expression for . We then have , where is the Kronecker delta. We also have , as required. If the vectors are not linearly independent, then and the matrix is not invertible (has no inverse).

Properties

[edit]

Singularity

[edit]

Over a field, a square matrix that is not invertible is called singular or degenerate. A square matrix with entries in a field is singular if and only if its determinant is zero.

Invertible matrix theorem

[edit]

Let A be a square n-by-n matrix over a field K (e.g., the field of real numbers). The following statements are equivalent, i.e., they are either all true or all false for any given matrix:[15]

  • A is invertible, i.e. it has an inverse under matrix multiplication, i.e., there exists a B such that AB = In = BA. (In that statement, "invertible" can equivalently be replaced with "left-invertible" or "right-invertible" in which one-sided inverses are considered.)
  • The linear transformation mapping x to Ax is invertible, i.e., it has an inverse under function composition. (There, again, "invertible" can equivalently be replaced with either "left-invertible" or "right-invertible".)
  • The transpose AT is an invertible matrix.
  • A is row-equivalent to the n-by-n identity matrix In.
  • A is column-equivalent to the n-by-n identity matrix In.
  • A has n pivot positions.
  • A has full rank: rank A = n.
  • A has a trivial kernel: ker(A) = {0}.
  • The linear transformation mapping x to Ax is bijective; that is, the equation Ax = b has exactly one solution for each b in Kn. (There, "bijective" can equivalently be replaced with "injective" or "surjective".)
  • The columns of A form a basis of Kn. (In this statement, "basis" can equivalently be replaced with either "linearly independent set" or "spanning set")
  • The rows of A form a basis of Kn. (Similarly, here, "basis" can equivalently be replaced with either "linearly independent set" or "spanning set")
  • The determinant of A is nonzero: det A ≠ 0. In general, a square matrix over a commutative ring is invertible if and only if its determinant is a unit (i.e. multiplicatively invertible element) of that ring.
  • The number 0 is not an eigenvalue of A. (More generally, a number is an eigenvalue of A if the matrix is singular, where I is the identity matrix.)
  • The matrix A can be expressed as a finite product of elementary matrices.

Other properties

[edit]

Furthermore, the following properties hold for an invertible matrix A:

  • for nonzero scalar k
  • if A has orthonormal columns, where + denotes the Moore–Penrose inverse and x is a vector
  • For any invertible n-by-n matrices A and B, More generally, if are invertible n-by-n matrices, then
  • Left and right inverses are equal. That is, if and then .

The rows of the inverse matrix V of a matrix U are orthonormal to the columns of U (and vice versa interchanging rows for columns). To see this, suppose that UV = VU = I where the rows of V are denoted as and the columns of U as for Then clearly, the Euclidean inner product of any two This property can also be useful in constructing the inverse of a square matrix in some instances, where a set of orthogonal vectors (but not necessarily orthonormal vectors) to the columns of U are known. In which case, one can apply the iterative Gram–Schmidt process to this initial set to determine the rows of the inverse V.

A matrix that is its own inverse (i.e., a matrix A such that A = A−1 and consequently A2 = I) is called an involutory matrix.

In relation to its adjugate

[edit]

The adjugate of a matrix A can be used to find the inverse of A as follows:

If A is an invertible matrix, then

In relation to the identity matrix

[edit]

It follows from the associativity of matrix multiplication that if

for finite square matrices A and B, then also

[16]

Density

[edit]

Over the field of real numbers, the set of singular n-by-n matrices, considered as a subset of is a null set, that is, has Lebesgue measure zero. That is true because singular matrices are the roots of the determinant function. It is a continuous function because it is a polynomial in the entries of the matrix. Thus in the language of measure theory, almost all n-by-n matrices are invertible.

Furthermore, the set of n-by-n invertible matrices is open and dense in the topological space of all n-by-n matrices. Equivalently, the set of singular matrices is closed and nowhere dense in the space of n-by-n matrices.

In practice, however, non-invertible matrices may be encountered. In numerical calculations, matrices that are invertible but close to a non-invertible matrix may still be problematic and are said to be ill-conditioned.

Derivative of the matrix inverse

[edit]

Suppose that the invertible matrix A depends on a parameter t. Then the derivative of the inverse of A with respect to t is given by[17]

To derive the above expression for the derivative of the inverse of A, one can differentiate the definition of the matrix inverse using the product rule, and then solve for the derivative of the inverse of A:

Subtracting from both ends of this formula, and multiplying on the right by finishes the derivation.

If is a small number then the derivative formula gives:

Given a positive integer ,

In particular,

Generalizations

[edit]

Non-square matrices

[edit]

Non-square matrices, i.e. m-by-n matrices for which mn, do not have an inverse. However, in some cases such a matrix may have a left inverse or right inverse. If A is m-by-n and the rank of A is equal to n, (nm), then A has a left inverse, an n-by-m matrix B such that BA = In. If A has rank m (mn), then it has a right inverse, an n-by-m matrix B such that AB = Im.

Some of the properties of inverse matrices are shared by generalized inverses (such as the Moore–Penrose inverse), which can be defined for any m-by-n matrix.[18]

In Abstract algebra

[edit]

While the most common case is that of matrices over the real or complex numbers, all of those definitions can be given for matrices over any algebraic structure equipped with addition and multiplication (i.e. rings). However, in the case of a ring being commutative, the condition for a square matrix to be invertible is that its determinant is invertible in the ring, which in general is a stricter requirement than it being nonzero. For a noncommutative ring, the usual determinant is not defined. The conditions for existence of left-inverse or right-inverse are more complicated, since a notion of rank does not exist over rings.

The set of n × n invertible matrices together with the operation of matrix multiplication and entries from ring R form a group, the general linear group of degree n, denoted GLn(R).

Applications

[edit]

For most practical applications, it is not necessary to invert a matrix to solve a system of linear equations; however, for a unique solution, it is necessary for the matrix involved to be invertible.

Decomposition techniques like LU decomposition are much faster than inversion, and various fast algorithms for special classes of linear systems have also been developed.

Regression/least squares

[edit]

Although an explicit inverse is not necessary to estimate the vector of unknowns, it is the easiest way to estimate their accuracy and is found in the diagonal of a matrix inverse (the posterior covariance matrix of the vector of unknowns). However, faster algorithms to compute only the diagonal entries of a matrix inverse are known in many cases.[19]

Matrix inverses in real-time simulations

[edit]

Matrix inversion plays a significant role in computer graphics, particularly in 3D graphics rendering and 3D simulations. Examples include screen-to-world ray casting, world-to-subspace-to-world object transformations, and physical simulations.

Matrix inverses in MIMO wireless communication

[edit]

Matrix inversion also plays a significant role in the MIMO (Multiple-Input, Multiple-Output) technology in wireless communications. The MIMO system consists of N transmit and M receive antennas. Unique signals, occupying the same frequency band, are sent via N transmit antennas and are received via M receive antennas. The signal arriving at each receive antenna will be a linear combination of the N transmitted signals forming an N × M transmission matrix H. It is crucial for the matrix H to be invertible so that the receiver can figure out the transmitted information.[20]

See also

[edit]

References

[edit]

Further reading

[edit]
[edit]
Revisions and contributorsEdit on WikipediaRead on Wikipedia
from Grokipedia
An invertible matrix, also known as a nonsingular or nondegenerate matrix, is a square matrix AA of size n×nn \times n for which there exists another square matrix A1A^{-1}, called the inverse, such that AA1=InA A^{-1} = I_n and A1A=InA^{-1} A = I_n, where InI_n is the n×nn \times n identity matrix. This property ensures that multiplication by AA is a bijective linear transformation on Rn\mathbb{R}^n, preserving the dimension and allowing for unique solutions in systems of linear equations. Key properties of invertible matrices include the uniqueness of the inverse, as no matrix can have more than one inverse. The product of two invertible matrices is itself invertible, with the inverse given by (AB)1=B1A1(AB)^{-1} = B^{-1} A^{-1}, and this extends to products of multiple invertible matrices by reversing the order of the inverses. Additionally, if AA is invertible, the Ax=bAx = b has a unique solution for any vector bb, namely x=A1bx = A^{-1} b, and the null space of AA contains only the zero vector. The Invertible Matrix Theorem provides a comprehensive set of equivalent conditions for a square matrix AA to be invertible, including: the determinant det(A)0\det(A) \neq 0; the rank of AA is nn (full rank); on AA yields nn pivots; the columns (or rows) of AA form a basis for Rn\mathbb{R}^n; and the reduced of AA is the . These conditions are interconnected and are fundamental in linear algebra for determining invertibility without explicitly computing the inverse. Invertible matrices are central to many applications, such as solving linear systems, computing transformations in , and analyzing stability in dynamical systems, with the inverse often computed via methods like Gaussian-Jordan elimination, which requires approximately n3n^3 arithmetic operations. For matrices, the inverse has a explicit formula involving the and , provided the determinant is nonzero.

Fundamentals

Definition

In linear algebra, an invertible matrix is a square matrix that admits a multiplicative inverse with respect to matrix multiplication. Formally, an n×nn \times n matrix AA over a field (such as the real numbers R\mathbb{R} or complex numbers C\mathbb{C}) is invertible if there exists an n×nn \times n matrix BB such that AB=BA=InAB = BA = I_n, where InI_n denotes the n×nn \times n identity matrix. The matrix BB is unique and is denoted A1A^{-1}, the inverse of AA. This definition assumes the context of matrices representing linear transformations on finite-dimensional vector spaces over a field, ensuring that the algebraic structure supports the necessary operations without singularities arising from or similar issues in non-field rings. For square matrices over such fields, the existence of a one-sided inverse suffices for invertibility: if a left inverse BB exists such that BA=InBA = I_n, then AA also has a right inverse CC such that AC=InAC = I_n, and moreover B=CB = C, establishing a two-sided inverse. Conversely, a right inverse implies a left inverse. The concept of matrix inversion traces back to Arthur Cayley's foundational memoir, which introduced operations including inversion for square arrays of numbers, laying groundwork for modern matrix theory. The specific terminology "invertible matrix" gained prominence in early 20th-century linear algebra texts, as the subject formalized around abstract algebraic structures.

Characterization

A square matrix ARn×nA \in \mathbb{R}^{n \times n} is invertible if and only if it satisfies any of the following equivalent conditions, as stated in the invertible matrix theorem: the satisfies det(A)0\det(A) \neq 0; the rank of AA equals nn; the null space of AA is the trivial subspace {0}\{ \mathbf{0} \}; the columns of AA are linearly independent; the rows of AA are linearly independent; the columns of AA span Rn\mathbb{R}^n; and the linear transformation T:RnRnT: \mathbb{R}^n \to \mathbb{R}^n defined by T(x)=AxT(\mathbf{x}) = A\mathbf{x} is surjective. These conditions collectively characterize invertibility by ensuring that AA induces a bijective linear map on Rn\mathbb{R}^n, preserving both injectivity and surjectivity. The role of the determinant in this characterization is central: AA is invertible if and only if det(A)0\det(A) \neq 0. Geometrically, the determinant measures the volume scaling factor of the linear transformation associated with AA; a non-zero value indicates that the transformation does not collapse Rn\mathbb{R}^n to a lower-dimensional subspace, thereby maintaining full dimensionality and invertibility. The rank and kernel conditions further elucidate this equivalence. The rank of AA, defined as the of its column , equals nn precisely when the columns span all of Rn\mathbb{R}^n, ensuring the transformation is surjective. Complementarily, the null (or kernel) of AA being {0}\{ \mathbf{0} \} means the only solution to Ax=0A\mathbf{x} = \mathbf{0} is the zero vector, implying the transformation is injective; by the rank-nullity theorem for square matrices, this forces the rank to be nn. Linear independence of the columns (or rows) of AA ties directly to these : the nn columns form a basis for Rn\mathbb{R}^n they are linearly independent and span Rn\mathbb{R}^n, which occurs exactly when AA is invertible. This basis-forming condition guarantees that AA provides a complete, non-redundant for Rn\mathbb{R}^n.

Properties

Basic properties

A square matrix AA over a field FF has a unique inverse if it is invertible. To see this, suppose BB and CC are both inverses of AA, so AB=BA=IAB = BA = I and AC=CA=IAC = CA = I. Then B=BI=B(AC)=(BA)C=IC=CB = BI = B(AC) = (BA)C = IC = C. The inverse of a product of invertible matrices reverses the order of the factors. Specifically, if AA and BB are invertible n×nn \times n matrices over FF, then ABAB is invertible and (AB)1=B1A1(AB)^{-1} = B^{-1}A^{-1}. This follows by direct verification: (AB)(B1A1)=A(BB1)A1=AA1=I(AB)(B^{-1}A^{-1}) = A(BB^{-1})A^{-1} = AA^{-1} = I and similarly for the other side. The transpose operation preserves invertibility and interacts compatibly with inversion. If AA is an invertible n×nn \times n matrix over FF, then ATA^T is invertible and (AT)1=(A1)T(A^T)^{-1} = (A^{-1})^T. The proof relies on the identity (AB)T=BTAT(AB)^T = B^TA^T, applied to A1A=IA^{-1}A = I: (AA1)T=IT=I(AA^{-1})^T = I^T = I, so A1TAT=IA^{-1T}A^T = I, and similarly for the reverse order. Similarity preserves the property of invertibility. If AA and BB are n×nn \times n matrices over FF that are similar, meaning B=P1APB = P^{-1}AP for some invertible PP, then AA is invertible BB is invertible. This holds because similar matrices have the same rank, and a square matrix is invertible precisely when its rank equals nn. The set of all n×nn \times n invertible matrices over a field FF forms a group under , known as the general linear group GL(n,F)GL(n, F). The is the n×nn \times n II, the inverse of each element AGL(n,F)A \in GL(n, F) is A1A^{-1}, the operation is associative, and the set is closed since the product of invertible matrices is invertible.

Relation to adjugate and determinant

The inverse of an invertible AA can be expressed using its and through the classical formula A1=1det(A)adj(A),A^{-1} = \frac{1}{\det(A)} \mathrm{adj}(A), where adj(A)\mathrm{adj}(A) denotes the of AA./03%3A_Determinants_and_Diagonalization/3.02%3A_Determinants_and_Matrix_Inverses) This relation holds provided that det(A)0\det(A) \neq 0, which is the necessary and sufficient condition for AA to be invertible, ensuring the scalar division is well-defined and the result is a valid matrix inverse./03%3A_Determinants_and_Diagonalization/3.02%3A_Determinants_and_Matrix_Inverses) The adj(A)\mathrm{adj}(A) is defined as the of the cofactor matrix of AA. The cofactor matrix consists of the cofactors CijC_{ij} for each entry, where the cofactor CijC_{ij} is given by Cij=(1)i+jdet(Mij),C_{ij} = (-1)^{i+j} \det(M_{ij}), and MijM_{ij} is the minor of AA obtained by deleting the ii-th row and jj-th column. Thus, the (i,j)(i,j)-entry of adj(A)\mathrm{adj}(A) is CjiC_{ji}, reflecting the transposition. This construction leverages cofactor expansions of the , providing an explicit algebraic link between minors, determinants, and the inverse. Although theoretically significant for establishing properties of matrix inverses and enabling proofs in linear algebra, such as those involving , the adjugate-based formula is computationally inefficient for large matrices. Computing the adjugate requires evaluating n2n^2 determinants of (n1)×(n1)(n-1) \times (n-1) submatrices, leading to exponential in the matrix nn. Despite these limitations, the formula remains a cornerstone for theoretical developments and small-scale explicit computations./03%3A_Determinants_and_Diagonalization/3.02%3A_Determinants_and_Matrix_Inverses)

Density of invertible matrices

In the space of all n×nn \times n matrices over the real or complex numbers, denoted Mn(R)M_n(\mathbb{R}) or Mn(C)M_n(\mathbb{C}) and equipped with the standard , the general linear group GL(n,R)GL(n, \mathbb{R}) or GL(n,C)GL(n, \mathbb{C}) of invertible matrices is dense. This means that every matrix in Mn(R)M_n(\mathbb{R}) or Mn(C)M_n(\mathbb{C}) can be approximated arbitrarily closely by an invertible matrix in the Euclidean norm. A sketch of the proof proceeds as follows: for any matrix AMn(R)A \in M_n(\mathbb{R}) and any ε>0\varepsilon > 0, consider the family At=AtIA_t = A - tI where II is the and tRt \in \mathbb{R}. The det(At)\det(A_t) is a in tt of degree nn (up to sign), hence it has finitely many . Thus, there exists δ>0\delta > 0 such that det(At)[0](/page/0)\det(A_t) \neq [0](/page/0) for all 0<t<δ0 < |t| < \delta, making AtA_t invertible, and the distance AAt<ε\|A - A_t\| < \varepsilon for sufficiently small t|t|. The argument extends analogously to the complex case. This density has important implications: the set of singular (non-invertible) matrices is a proper algebraic variety defined by the vanishing of the determinant polynomial, which is closed and has empty interior, and moreover has Lebesgue measure zero in Rn2\mathbb{R}^{n^2} or Cn2\mathbb{C}^{n^2}. Consequently, a matrix chosen uniformly at random with respect to Lebesgue measure is invertible with probability 1, underscoring that singular matrices are exceptional or "rare" in this continuous setting. Over other fields, the situation differs. In finite fields Fq\mathbb{F}_q, the matrix space is finite and discrete, so GL(n,Fq)GL(n, \mathbb{F}_q) is not dense; instead, the proportion of invertible matrices is GL(n,Fq)/qn2=i=1n(1qi)|GL(n, \mathbb{F}_q)| / q^{n^2} = \prod_{i=1}^n (1 - q^{-i}), which is positive but less than 1. In the p-adic numbers Qp\mathbb{Q}_p, however, GL(n,Qp)GL(n, \mathbb{Q}_p) is open and dense in Mn(Qp)M_n(\mathbb{Q}_p) with respect to the p-adic topology, and the singular matrices have measure zero with respect to the Haar measure.

Examples

Invertible cases

A prominent example of an invertible matrix is the 2×2 rotation matrix, which represents a rotation in the plane by an angle θ: R(θ)=(cosθsinθsinθcosθ)R(\theta) = \begin{pmatrix} \cos \theta & -\sin \theta \\ \sin \theta & \cos \theta \end{pmatrix} This matrix is orthogonal, so its inverse is its transpose, equivalent to R(θ)R(-\theta), confirming invertibility for any θ. Another straightforward case is a diagonal matrix with non-zero entries on the diagonal, such as D=diag(d1,d2,,dn)D = \operatorname{diag}(d_1, d_2, \dots, d_n) where each di0d_i \neq 0. The inverse is also diagonal, with entries D1=diag(1/d1,1/d2,,1/dn)D^{-1} = \operatorname{diag}(1/d_1, 1/d_2, \dots, 1/d_n), as the product yields the identity matrix. The identity matrix II itself is invertible, serving as its own inverse since II=II \cdot I = I. A shear matrix provides a non-orthogonal example; consider the 2×2 horizontal shear S=(1101)S = \begin{pmatrix} 1 & 1 \\ 0 & 1 \end{pmatrix}, whose inverse is S1=(1101)S^{-1} = \begin{pmatrix} 1 & -1 \\ 0 & 1 \end{pmatrix}. To verify, compute the products: SS1=(1101)(1101)=(1001),S \cdot S^{-1} = \begin{pmatrix} 1 & 1 \\ 0 & 1 \end{pmatrix} \begin{pmatrix} 1 & -1 \\ 0 & 1 \end{pmatrix} = \begin{pmatrix} 1 & 0 \\ 0 & 1 \end{pmatrix}, S1S=(1101)(1101)=(1001).S^{-1} \cdot S = \begin{pmatrix} 1 & -1 \\ 0 & 1 \end{pmatrix} \begin{pmatrix} 1 & 1 \\ 0 & 1 \end{pmatrix} = \begin{pmatrix} 1 & 0 \\ 0 & 1 \end{pmatrix}. This confirms SS is invertible.

Singular cases

Singular matrices, also known as non-invertible matrices, fail to have a two-sided inverse because they do not satisfy the necessary conditions for invertibility, such as having a non-zero determinant or full rank. A classic example is the zero matrix, where all entries are zero; for instance, the 2×2 zero matrix (0000)\begin{pmatrix} 0 & 0 \\ 0 & 0 \end{pmatrix} has no inverse, as its product with any matrix cannot yield the identity matrix. This singularity arises because the zero matrix maps every vector to the zero vector, collapsing the space to a single point and preventing bijective behavior. Another common singular case is a diagonal matrix with at least one zero on the diagonal, such as (1000)\begin{pmatrix} 1 & 0 \\ 0 & 0 \end{pmatrix}; here, the determinant is zero, and the rank is 1, which is less than the matrix dimension of 2. This matrix represents a projection onto the first coordinate axis, where the second basis vector is sent to zero, resulting in a loss of information and no full-rank mapping. The rank deficiency directly implies non-invertibility, as the column space does not span the full vector space. Matrices with linearly dependent rows or columns also exemplify singularity; consider (1224)\begin{pmatrix} 1 & 2 \\ 2 & 4 \end{pmatrix}, where the second row is twice the first, leading to a determinant of zero and rank 1. Similarly, (1122)\begin{pmatrix} 1 & -1 \\ -2 & 2 \end{pmatrix} has rows that are scalar multiples (the second is -2 times the first), confirming linear dependence and thus singularity. In these cases, the rows or columns do not form a basis for the space, reducing the effective dimension and preventing the existence of an inverse. For square matrices over fields like the real or complex numbers, singularity implies no two-sided inverse exists, though one-sided inverses may occur in non-commutative settings or for rectangular matrices, but these do not restore full invertibility. Such matrices lead to either inconsistent or infinitely many solutions in linear systems, underscoring their practical limitations in applications like solving equations.

Computation methods

Gaussian elimination

Gaussian elimination, also known as Gauss-Jordan elimination in its full form for inversion, is a direct method to compute the inverse of an n×nn \times n invertible matrix AA by transforming the augmented matrix [AI][A \mid I] into [IA1][I \mid A^{-1}], where II is the n×nn \times n identity matrix. This approach solves the matrix equation AX=IA X = I simultaneously for all columns of X=A1X = A^{-1}. The process begins by forming the augmented matrix, which concatenates AA on the left with II on the right. Elementary row operations are then applied to reduce the left side to II, automatically transforming the right side into the inverse. These operations include: (1) interchanging any two rows, (2) multiplying a row by a nonzero scalar, and (3) adding a multiple of one row to another row. Such operations maintain row equivalence, ensuring the transformed system has the same solution as the original. The algorithm proceeds in two main phases: forward elimination and backward elimination (or back-substitution in the Gauss-Jordan variant). In forward elimination, row operations are used to zero out entries below each pivot position, progressing column by column from left to right, resulting in an upper triangular matrix on the left. Backward elimination then eliminates entries above the pivots to achieve the . For numerical implementation, partial pivoting is incorporated for stability: at each pivot step kk, the row with the largest absolute value in column kk (from row kk to nn) is swapped to the kk-th position to maximize the pivot size and minimize round-off error propagation. This strategy ensures numerical stability for well-conditioned matrices, where the condition number is not excessively large. The computational complexity of Gaussian elimination with partial pivoting for matrix inversion is O(n3)O(n^3) floating-point operations, requiring approximately 2n32n^3 operations overall. This cubic scaling arises from the nested loops over rows and columns during elimination. The method reveals singularity if, after row reduction, the left side is not full rank (i.e., rank <n< n), typically indicated by a zero pivot that cannot be avoided by swapping rows, leading to a row of zeros on the left with potentially nonzero entries on the right in the augmented matrix. In such cases, the process halts, confirming that AA is not invertible.

Analytic inversion for small matrices

For small matrices, analytic inversion provides explicit closed-form expressions using the determinant and cofactors, which is practical only for dimensions up to 4×4 due to rapidly increasing complexity. The simplest case is the 2×2 matrix. Consider a matrix A=(abcd)A = \begin{pmatrix} a & b \\ c & d \end{pmatrix}. Its determinant is det(A)=adbc\det(A) = ad - bc. If det(A)0\det(A) \neq 0, the inverse is given by A1=1det(A)(dbca).A^{-1} = \frac{1}{\det(A)} \begin{pmatrix} d & -b \\ -c & a \end{pmatrix}. This formula arises from the adjugate matrix, which for 2×2 matrices is simply the matrix of cofactors transposed. For 3×3 matrices, the inversion follows the general adjugate formula A1=1det(A)adj(A)A^{-1} = \frac{1}{\det(A)} \operatorname{adj}(A), where adj(A)\operatorname{adj}(A) is the transpose of the cofactor matrix. Let A=(a11a12a13a21a22a23a31a32a33)A = \begin{pmatrix} a_{11} & a_{12} & a_{13} \\ a_{21} & a_{22} & a_{23} \\ a_{31} & a_{32} & a_{33} \end{pmatrix}
Add your contribution
Related Hubs
User Avatar
No comments yet.