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]
Cayley-Hamilton theorem Created 2026-09-24 Updated 2026-10-18
Every square matrix satisfies its own characteristic polynomial. More explicitly, for an -by- matrix over a commutative ring with identity, form
Then
Here is the zero matrix, and the constant term multiplies the identity matrix. This is a polynomial evaluated at a matrix; it is stronger than saying that each eigenvalue is a root of a polynomial. Neither diagonalizability nor distinct eigenvalues is required.[ref]
The practical payoff is that arbitrarily high matrix powers can be reduced to a combination of . These powers arise when repeatedly applying a linear map, solving a linear recurrence relation, or evolving a finite state space model. The characteristic polynomial turns that repeated action into a fixed-order scalar recurrence. The minimal polynomial may reduce the number of required powers further.
Cube root of a matrix 2026-10-25
A cube root of a matrix is a square matrix of the same size over the specified field satisfying . Every complex invertible matrix has one: put it in Jordan normal form, choose a scalar cube root of each nonzero eigenvalue, and apply the truncated binomial cube root of the identity plus a nilpotent matrix on each block. The Nilpotent Jordan block has none, even though its square is nonzero. If , then , making a nilpotent matrix of size three; the Cayley-Hamilton theorem then gives , a contradiction.
Cyclic property of the trace Created 2026-09-24 Updated 2026-10-14
If is an -by- matrix and is an -by- matrix over the same field, both products are square matrices and
The products can even have different sizes: for and , and , but both have trace .[ref]
Grouping all but one factor proves that is unchanged by a cyclic permutation whenever the cyclic products are defined and square. In particular, every commutator has trace zero, since by linearity.
Cyclic rotation does not allow arbitrary reordering. For
one has , so , but , so . Rotating to or preserves its trace; swapping just and need not.
Full row rank Created 2026-09-28 Updated 2026-10-18
An matrix has full row rank when its matrix rank is , equivalently when its rows are linearly independent vectors. This requires . Its column space is all of , so the represented linear map is surjective and every linear system is solvable. If , its nullity is , so solutions are not unique.[ref]
For example, the matrix transpose of the matrix in full column rank is
It has full row rank two. Every output has solutions , with . A square matrix of size has full row rank and full column rank together exactly when its matrix rank is ; then it is an invertible matrix. A nonsquare matrix cannot have both properties, and has no two-sided inverse: such an inverse would make its linear map a linear isomorphism between vector spaces of different dimensions.
Gershgorin circle theorem Created 2026-09-24 Updated 2026-10-18
The Gershgorin circle theorem locates every eigenvalue of a square matrix using only its entries. A diagonal entry supplies a centre in the complex plane, and the sum of the off-diagonal absolute values in its row supplies a radius. Small off-diagonal couplings therefore confine the eigenvalues near the diagonal entries. This turns a global eigenvalue problem into a picture built one row at a time.
Precisely, let , with , and define the closed Gershgorin discs
Every eigenvalue of satisfies , including eigenvalues on the boundaries. No symmetry or diagonalizability is required. Despite the name, the theorem uses filled disks, not just their circular boundaries.[ref]
The short reason is the triangle inequality. For a nonzero eigenvector with , choose with . The th row gives
Thus the largest eigenvector coordinate identifies a Gershgorin disc containing , even though that eigenvector need never be computed to use the bound.
This is useful when a full eigenvalue computation would be expensive: forming the Gershgorin discs needs one pass over the nonzero entries of a sparse matrix. If lies outside every Gershgorin disc, then is an invertible matrix, since zero is not an eigenvalue. The condition is exactly in every row, namely strict diagonal dominance. This connects diagonal dominance to solvability of a linear system; the inverse infinity-norm bound from diagonal dominance adds a quantitative bound. It is a sufficient test: failure to exclude zero does not prove singularity.
For a concrete symmetric matrix, take
The three Gershgorin discs have centres and are pairwise disjoint. The finite-dimensional spectral theorem makes the eigenvalues real, so their possible locations reduce to the intervals , , and . Gershgorin eigenvalue counting gives exactly one eigenvalue in each. Independently, the characteristic polynomial is
whose numerical polynomial roots are , , and , rounded to six decimal places. All are positive, as Gershgorin bounds for symmetric matrices already guarantee without finding those polynomial roots.
Figure 1.
Three separated Gershgorin discs, each containing one real eigenvalue of the symmetric example
. Details.
S. Gerschgorin published the result in 1931 in Über die Abgrenzung der Eigenwerte einer Matrix, in the Bulletin de l'Académie des Sciences de l'URSS, issue 6, pages 749–754. The original paper's §2 states both eigenvalue inclusion and counting in separated groups of Gershgorin discs; §3 already discusses column bounds and transformations preserving the eigenvalues. Thus both the localization picture and ways to sharpen it were part of the original development.[ref]
Gershgorin disc Created 2026-10-06 Updated 2026-10-14
A row Gershgorin disc of a square matrix is the closed disk in the complex plane with centre and radius . A zero radius gives a single point. The Gershgorin disc theorem places every eigenvalue in the union of these disks. For a Hermitian matrix, the real intervals cut out by the Gershgorin discs bound the eigenvalues, including energy levels when the matrix represents a Hamiltonian operator.
Applying the Gershgorin circle theorem to the transpose gives column Gershgorin discs with the same centres and radii . Since and have the same characteristic polynomial, every eigenvalue lies in the intersection of the row-disc union and the column-disc union. This is an intersection of two unions; one cannot generally replace each row radius by . An isolated row Gershgorin disc contains exactly one eigenvalue by Gershgorin eigenvalue counting.[ref]
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.
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.
When a square matrix satisfies , its powers reduce to and . Absolute convergence of the matrix exponential allows even and odd subseries to be separated. Thus and . For real , these are and . For , they are and . At , , including nonzero nilpotent matrices of square zero. This also explains the limiting sine-over-argument coefficients without dividing by zero.
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 similarity Created 2026-10-03 Updated 2026-10-14
Two square matrices over the same field are similar if for an invertible matrix . They can describe one linear operator using two different ordered bases, with the same basis used for input and output in each description. Fix the convention : is the old coordinate vector, the new coordinate vector, and the columns of are the new basis vectors in old coordinates. This is the convention of the change-of-basis matrix.[ref]
For a concrete linear operator on the physical plane, let double horizontal components and multiply vertical components by five. In the old standard basis , its matrix of a linear map is . Choose the new ordered basis with , . Then
The second column of says . Its off-diagonal entry records how the chosen basis vectors describe the output; the physical linear operator still stretches along the old horizontal and vertical directions.
Take the physical vector . Its two coordinate vectors, and the two descriptions of , are
Reconstruction gives . The output coordinate vectors differ, but the endpoint in the physical plane is the same.
Figure 1.
One linear operator and the same two physical vectors described in a standard basis and an oblique basis
. Both panels use the same physical plane and scale. The blue arrow is , and the orange arrow is . Dotted paths reconstruct them from their respective basis vectors; the right grid follows , . Details.
This is why matrix similarity is useful: a convenient basis can simplify calculations without changing the linear operator. A diagonalizable matrix can be replaced by a diagonal matrix, making repeated application a calculation with powers of its eigenvalues. In the example, makes the two independent stretch factors visible, while expresses the same action in directions chosen for another purpose. Matrix similarity invariants separate properties of the linear operator from features of its address system.
Matrix trace Created 2026-09-24 Updated 2026-10-14
For an -by- square matrix over a field, its matrix trace is the sum of its diagonal entries:
For example, has trace . Adding corresponding diagonal entries immediately proves linearity:
Thus matrix trace is a linear functional on the vector space of -by- matrices.[ref]
The surprising point is that the sum is intrinsic to a linear operator, even though individual diagonal entries depend on the basis. The cyclic property of the trace gives, for any invertible matrix ,
Hence matrix similarity preserves trace. For the example above, choose the change-of-basis matrix . Then
The diagonal entries have changed but their sum has not. This makes trace useful for extracting a feature of the underlying linear operator without finding a preferred basis.
Over the complex numbers, or over the real numbers after allowing complex eigenvalues, the trace equals their sum with algebraic multiplicity:
No diagonalizable matrix hypothesis is needed.[ref] To see why, use triangularization over an algebraically closed field: an upper triangular matrix similar to has the eigenvalues on its diagonal, counted with algebraic multiplicity, because its characteristic polynomial is . Similarity preserves trace, so summing that diagonal proves the formula.
For instance,
There is only one independent eigenvector, since , so is not a diagonalizable matrix. Nevertheless its repeated eigenvalue contributes twice. For our earlier , the characteristic polynomial is , its eigenvalues are and , and their sum is . An inexpensive diagonal sum therefore gives spectral information before solving the characteristic polynomial.
The trace of a real matrix does not give that linear map's volume factor: that factor is the absolute value of its determinant. For example, has trace and area factor , but has trace and volume factor . Their occasional numerical agreement in two dimensions is a coincidence. The connection between trace and local volume change gives a geometric interpretation near the identity matrix, and describes the volume rate of a flow map generated by a linear system of differential equations.
Minimal polynomial Created 2026-09-24 Updated 2026-10-18
For a square matrix over a field, the minimal polynomial is the unique monic polynomial of least degree satisfying . The Cayley-Hamilton theorem guarantees at least one such polynomial: the characteristic polynomial. The minimal polynomial divides every polynomial that annihilates , so reducing matrix powers modulo can need fewer coefficients than reducing modulo the characteristic polynomial.
For example, has minimal polynomial , whereas the Jordan block has minimal polynomial . Both have the same characteristic polynomial. Their different matrix powers are illustrated in repeated eigenvalues in the Cayley-Hamilton theorem.
For a real square matrix of odd size, if , then has a positive real eigenvalue. Its characteristic polynomial is monic of odd degree, so and as . The intermediate value theorem supplies a positive root. This proves the claim without assuming that all eigenvalues are real. The odd-size hypothesis is essential: in even dimension has positive determinant and only the negative eigenvalue .
Let be the square matrix whose th column is . The Leibniz formula for determinants is precisely the stated contraction:
A square matrix has zero determinant exactly when its columns are linearly dependent, proving the required equivalence. One direction also follows directly from multilinearity and antisymmetry of a multilinear map: replacing one column by a linear combination of the others leaves only terms with repeated columns, each zero. Conversely, nonzero determinant gives an inverse matrix and hence independent columns.
An invertible matrix is a square matrix admitting a matrix inverse with , where is the identity matrix. Equivalently, its associated linear map is bijective.
Let with eigenvector . The eigenvalue cannot be zero: otherwise applying gives . Apply to the eigenvector equation:
Thus is an eigenvalue of with the same eigenvector.
For an invertible matrix whose columns give the new basis in old coordinates, the new matrix is . Multiplicativity of the determinant gives
since .
To justify the cyclic property of the trace directly, for two square matrices ,
Apply it with and :
Thus both the determinant and trace are invariant under change of basis.
The definition of an eigenvalue and the kernel criterion for a singular square matrix give
For the second equivalence, a linear map from a finite-dimensional vector space to itself has zero kernel exactly when its rank of a linear map is the full dimension, by the rank-nullity theorem, and therefore exactly when it is invertible. This proves both directions.
A two-sided matrix inverse requires a square matrix, so is necessary. It exists only if that square matrix is also an invertible matrix, equivalently ; choosing the dimension alone does not ensure invertibility.