Block matrix inverse Created 2026-09-24 Updated 2026-10-18
A block matrix inverse expresses the matrix inverse in terms of smaller matrices. Partition a square matrix over a field as
If is an invertible matrix, define its Schur complement . Then is an invertible matrix exactly when is an invertible matrix, and
The order of the matrix products matters. In particular, the lower-right block is , rather than generally : the coupling through and changes the response.[ref]
For an original example, take
The Schur complement is . Substitution gives the concise answer
Multiplying in either order gives the identity matrix; the lower-right entry is , whereas . The difference records the feedback through the two eliminated variables.
Figure 1.
A block matrix inverse computed from the smaller Schur complement
. Original exact example. Colours mark the two-by-two block , the coupling blocks , and the scalar block . The same partition is retained in the matrix inverse; its blocks are not the entrywise inverses of the original blocks. Details.
Often the desired output is a solution of a linear system, rather than every entry of a matrix inverse. Block elimination solves with and then with , recovering the eliminated variables by back substitution. Reusing an LU decomposition of avoids explicitly forming . A favourable block diagonal matrix or tridiagonal matrix block can make this useful; merely partitioning an unstructured dense matrix does not guarantee a faster solve.[ref]
Cartesian basis Created 2026-09-24 Updated 2026-10-14
A Cartesian basis is an ordered basis of unit vectors along the mutually perpendicular axes of a Cartesian coordinate system. It is an orthonormal basis of a real Euclidean space: , with the Kronecker delta. In the plane, the familiar standard basis is , ; the vector is . A rotated pair of perpendicular unit vectors is also a Cartesian basis, even though its basis vectors have different standard basis entries.
The advantage is that coordinates can be measured separately by dot products, and the squared norm is the sum of their squares:
These are the real Euclidean space instances of the orthonormal basis expansion.[ref]
An orthogonal basis only requires perpendicular basis vectors; their lengths need not be one. For example, are orthogonal, but has coordinates , while its dot products with them are . For an orthogonal basis , the coordinate along is . Dividing each nonzero basis vector by its norm makes it a unit vector without changing its direction. Unit length alone does not imply orthogonality: and are both unit vectors but have dot product .
The examples below show why these distinctions matter: rotating a Cartesian basis changes the coordinate vector while keeping lengths easy to compute; using nonperpendicular basis vectors still gives unique coordinates, but requires the dual basis or a matrix inverse to extract them.
Rotate the standard basis through using the rotation matrix whose columns are the new basis vectors:
Here and , so is an orthogonal matrix with , where denotes transpose and is the identity matrix. For the same vector , its coordinate vector in this Cartesian basis is
Thus and : travel forwards along and a little backwards along to reconstruct . The orthogonal projections onto the two axes give these signed coordinates because the measuring vectors are both perpendicular and of unit length.
Figure 1.
The vector reconstructed from its orthogonal projections onto a rotated Cartesian basis
. Details.
The squared norm remains
This is useful when choosing axes aligned with a geometric feature: the coordinates change but distances and dot products retain the same sum-of-products formula. The two directions of the change of basis must be kept straight: reconstructs the vector in old coordinates, , and extracts its new coordinates. Applying to the old coordinate vector instead would actively rotate the vector.
A short proof explains both formulas. If , multiplication by gives . Then . Perpendicular unit-length columns make the matrix inverse equal the transpose; this is the computational convenience supplied by a Cartesian basis.
Change-of-basis matrix Created 2026-09-29 Updated 2026-10-18
Fix the convention: the columns of the change-of-basis matrix are the new basis vectors written in the old basis. Thus converts new coordinate vectors into old ones; its matrix inverse converts old coordinate vectors into new ones. For the preceding basis,
Its determinant is , so is an invertible matrix. Checking which direction converts is essential: different books may call either or the change-of-basis matrix.
For a linear operator, convert the input into the old basis, apply the old matrix, and convert the output back. Reading that sequence from right to left gives
For example, let the old diagonal matrix stretch horizontal components by and vertical components by . Then
The output represents , just as . The matrices look different because their bases differ, but they encode the same linear operator. This relation is called matrix similarity; it preserves the underlying action.[ref]
Cholesky decomposition Created 2026-09-28 Updated 2026-10-25
Every real symmetric matrix that is a positive-definite matrix has a unique Cholesky decomposition , where is a lower triangular matrix with positive diagonal entries.[ref] For a complex Hermitian positive-definite matrix, the corresponding factorization is , with the conjugate transpose and the diagonal of positive and real.[ref] The factorization turns a linear system into two triangular systems.
For example, matching entries in gives
Choose the positive square roots in order: , and . Therefore
The second radicand, , is the scalar Schur complement remaining after eliminating the first variable. A positive diagonal of alone would not guarantee that this quantity is positive; Sylvester's criterion explains the relevant leading principal minors.
Figure 1. . Original exact two-by-two example. Multiplying the displayed lower triangular matrix by its transpose recovers ; forward substitution and backward substitution in a triangular system give for . Details.
For that right-hand side, first use forward substitution to solve : and , so . Then use backward substitution in a triangular system to solve : and , giving . No matrix inverse is required. For several right-hand sides with the same , keep the same factor and repeat only these triangular solves.
For the continuously differentiable inverse function supplied by the inverse function theorem, the chain rule applied to gives
Here is the identity matrix. The matrix inverse is taken at the recovered input , not at the output . In one dimension this is the inverse function rule .
The formula also describes sensitivity. For a small output perturbation , differentiability gives . A large operator norm of permits large amplification in some directions. In the square root example, grows without bound as positive approaches zero. Existence of a local inverse function therefore does not imply that recovery is insensitive to measurement error.
Dual lattice Created 2026-09-28 Updated 2026-10-14
The dual lattice of a full-rank Euclidean lattice is
Here is the Euclidean inner product. If the columns of an invertible matrix form a basis of , then
Indeed, belongs to the dual lattice exactly when ; denotes the transpose of the matrix inverse. The reciprocal covolume follows by taking the determinant. With the Fourier transform kernel , these are precisely the frequencies of the characters of a real torus: translating by any leaves unchanged. In one dimension, for : increasing the spacing in physical space decreases the spacing in frequency space.
For a finite Markov chain in which an absorbing state is accessible from every state, order the nonabsorbing states first and write
Here is the identity matrix and is the matrix inverse of . With the first hitting time of the absorbing set,
Thus gives the expected occupation count before absorption, including the initial visit; is the absorption probability of state ; and is the expected hitting time of the absorbing set. The vector has every entry one. See Grinstead and Snell, section 11.2, theorems 11.4-11.6.
For the toy routine in absorbing state, direct matrix multiplication gives
The first row of says that starting at gives visits to and to before termination. Their sum is the mean duration . The identities , , and independently verify the inverse, outcome, and duration calculations. The absorbing set must be reachable from every state for these finite formulas: applying them to all nonabsorbing states in the closed-cycle example would leave a persistent cycle in and make singular.
Gauss-Seidel method Created 2026-10-05 Updated 2026-10-18
With , the Gauss-Seidel method solves . It uses each newly computed coordinate immediately in the remaining triangular solve. It is successive over-relaxation with parameter one, and converges from every start when is a symmetric positive-definite matrix.
To solve a linear system , split its matrix into the diagonal matrix and the strictly lower and upper parts , retaining their actual signs. Every diagonal entry must be nonzero. A sweep updates coordinates in order:
The Jacobi method uses the old vector throughout; the Gauss-Seidel method reuses each fresh coordinate. Thus the update order is part of the method.[ref]
The matrix splitting has , , so its iteration matrix is
Compute the update by forward substitution with the lower triangular matrix , rather than forming a matrix inverse. For a sparse matrix, a sweep only visits stored entries and can overwrite the working vector. Dependencies on fresh coordinates constrain parallel execution. This makes the Gauss-Seidel method an inexpensive solver component, including in a multigrid method.[ref]
Group representation Created 2026-09-24 Updated 2026-10-14
A group representation is a group homomorphism from a group to the general linear group of a vector space. It realizes abstract group elements as invertible linear transformations.
The defining identities are and , so an inverse element is represented by a matrix inverse. A choice of basis gives a matrix representation, but the underlying action does not depend on that choice. The action need not distinguish every group element: the trivial representation sends all of them to .
Implicit function theorem Created 2026-09-24 Updated 2026-10-14
An equation can define a function without giving an explicit formula for it. The implicit function theorem tells us when the constraint determines uniquely from nearby , and makes the resulting function continuously differentiable. It is useful when solving an equation explicitly is cumbersome or impossible: the partial derivatives already reveal whether local recovery is possible.
Let be a continuously differentiable map from an open subset of to . Suppose and the partial derivative is an invertible linear map. There are open neighbourhoods of and of and a unique continuously differentiable function such that, for ,
Thus the nearby level set is a graph of a function. The derivative of this graph is
The matrix inverse acts on the left; the order matters in several dimensions.
For example, take the unit circle, written as the level set . At , , so the local upper branch is . Implicit differentiation gives
This tangent line slope is available directly from the constraint. The negative square root branch is elsewhere on the same circle; it does not destroy uniqueness near the selected upper point.
Figure 1.
The same circle uses y as a function of x near its upper arc and x as a function of y near its rightmost point
. Details.
At , however, and the circle cannot be represented locally as one function : just to the left of there are two nearby values of . The circle is still smooth there. Since , use the other coordinate instead: , with . A failed coordinate choice is different from a geometric singularity.
The derivative condition is sufficient, not necessary for every possible implicit graph. For , the entire zero set is the smooth graph , even though vanishes there. In this case the defining equation itself has a degenerate derivative; the theorem's test gives no conclusion.
The connection to the inverse function theorem is particularly elegant. Augment the constraint to the map , whose Jacobian matrix is
Its determinant is . When this is nonzero, locally invert and set its second output to zero. The recovered second input is . In this way an implicit constraint becomes an ordinary inverse function problem. [ref]
If , then is invertible and its operator norm on satisfies the displayed bound. For , choose maximizing . The reverse triangle inequality gives . Taking proves injectivity and hence invertibility in finite dimensions; taking arbitrary proves the bound. The estimate is useful for converting strict diagonal dominance into quantitative matrix inverse stability.
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.
The norm of a linear-system residual, used to measure how closely an approximate solution satisfies its linear system. It differs from the solution-error norm . Their relationship depends on the matrix inverse and the condition number, so a small residual alone is not a scale-free relative-error guarantee.
LU decomposition Created 2026-09-29 Updated 2026-10-14
An LU decomposition writes a square matrix as , with a lower triangular matrix and an upper triangular matrix. We use a unit triangular matrix , meaning . The factors record Gaussian elimination: contains the reduced equations, while stores the elimination multipliers needed to reconstruct the original equations. This makes Reusing LU factors for multiple right-hand sides inexpensive.[ref]
For an invertible matrix, unpivoted LU decomposition requires nonzero pivot elements at every elimination step; invertibility alone does not guarantee this. In general use Pivoted LU decomposition, with the explicit convention and a permutation matrix . Once the factors exist, solving a linear system needs forward substitution followed by back substitution, rather than forming a matrix inverse.
Matrix commutation with an inverse Created 2026-10-18 Updated 2026-10-20
If two square matrices satisfy and is invertible, multiplication on the left and right by gives . Consequently a polynomial in a matrix commutes with the matrix inverse of any invertible polynomial in the same matrix.
Matrix determinant lemma Created 2026-09-24 Updated 2026-10-14
For an invertible matrix and real vectors , the matrix determinant lemma states
The expression is a scalar, so a rank-one matrix update changes the determinant by a single multiplicative factor. One need not expand the updated determinant entry by entry.
For the preceding example with , the dot product is . Hence the updated determinant is . Direct evaluation confirms
More generally, let for a real scalar . The same calculation gives . The determinant is one at , two at , and zero at .
Figure 1.
A rank-one correction can preserve, stretch, or collapse the area of a square
. Each panel maps the unit square by with and . Blue and orange arrows are the images of the two standard basis vectors. At , the parallelogram has area two, despite its strong skew. At , the images are linearly dependent and the full square collapses onto a line. Panel scales differ; the stated areas come from the determinant, rather than from comparing pixel areas. Details.
A compact proof explains the scalar reduction. Put and factor . If , choose a basis starting with . In that basis, , while every other basis vector changes only by a multiple of . Its matrix is triangular with diagonal , giving the required determinant. If , the correction vanishes. This uses multiplicativity of the determinant to restore the factor .
The denominator in the Sherman–Morrison formula is exactly this factor. The rank-one update singularity criterion therefore identifies when the updated matrix inverse ceases to exist. Batson, Spielman and Srivastava use both identities for the symmetric update in Twice-Ramanujan Sparsifiers, section 2.3, Lemmas 2.1–2.2.
Matrix geometric series Created 2026-09-24 Updated 2026-10-20
The finite matrix geometric series telescopes as stated in the title. If its partial sums converge, then their successive differences show . Passing to the limit gives , so the sum is the matrix inverse . Conversely, existence of the inverse alone does not imply series convergence: the scalar matrix is a counterexample. The Neumann series gives a sufficient condition from a matrix norm smaller than one.
For a nilpotent matrix with , convergence is automatic and the inverse is the finite polynomial . Multiplying by directly verifies this inverse without computing a determinant or diagonalizing.
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.
Matrix inverse from a decaying matrix exponential Created 2026-10-18 Updated 2026-10-20
If every eigenvalue of a finite square matrix has negative real part, its matrix exponential decays and its integral converges. The Jordan normal form shows that polynomial factors in are dominated by exponential decay. Integrating gives , proving the displayed matrix inverse formula. In particular, for a Hermitian matrix with negative eigenvalues, the spectral theorem reduces the integral to scalar exponentials with integrals . The minus sign is essential: the integral is positive definite in this Hermitian case, while has negative eigenvalues.