Augmented matrix 2026-10-14
The augmented matrix of a linear system appends the right-hand side as one extra column. Elementary row operations preserve its solution set. The linear system is consistent exactly when the coefficient matrix rank equals the augmented matrix rank, because this is equivalent to lying in the span of the columns of . A larger augmented matrix rank produces a zero coefficient row with a nonzero right-hand side during Gaussian elimination.
A complex nilpotent matrix of size six is determined up to matrix similarity by its matrix rank and nilpotency index. Its Nilpotent Jordan block sizes form an integer partition of six. If there are blocks and the largest size is , then its matrix rank is and its minimal polynomial is . The eleven possible size lists are
No two have the same pair , which proves the assertion by Jordan normal form. The dimension restriction matters: in size seven, block lists and both have matrix rank four and minimal polynomial , but give different Jordan normal forms.
Column space Created 2026-09-29 Updated 2026-10-18
The column space of a matrix is the linear span of its columns. It is the image of a linear map represented by .
If an matrix has columns , then matrix multiplication gives . Thus its column space consists of exactly the attainable output vectors in , and has a solution exactly when belongs to this column space. Its dimension is the matrix rank; the kernel instead describes input vectors in whose contributions cancel.[ref]
Imagine folding a sheet along its horizontal axis by the smooth map , . The inputs and have the same output. Along , horizontal motion still changes the output, but vertical motion produces no first-order change: . These inputs are critical points of a smooth map even though their differential is not the zero linear map. The missing direction in the target tangent space is what matters.
Figure 1.
The fold : critical inputs, critical outputs, and fibers
. Details.
Precisely, let be a smooth map between smooth manifolds without boundary. An input is a critical point of a smooth map when its differential
is not surjective, equivalently when its rank of a linear map is less than . An input where it is surjective is a regular point; a map with no critical points of a smooth map is a submersion. The threshold is the target dimension, not . In manifold charts, compute the matrix rank of the Jacobian matrix; changes of charts preserve that matrix rank. [ref]
For the fold,
Thus its set of critical points of a smooth map is the entire horizontal axis. Away from that axis, its differential can produce every infinitesimal target displacement. At the axis, it can produce only horizontal ones. This diagnoses where the two inverse branches in the picture merge.
For a scalar smooth function , the target dimension is one. A linear map to fails to be surjective exactly when it is zero, so here a critical point of a smooth map means . In Euclidean space this is precisely the familiar critical point condition : every first partial derivative vanishes. On a Riemannian manifold, it is equivalently for the chosen Riemannian metric; the Riemannian gradient depends on that metric, but whether it vanishes does not. See Loring W. Tu, An Introduction to Manifolds, Proposition 8.23 for the scalar coordinate criterion. The scalar smooth function has a critical point at zero without a local maximum or local minimum.
A source of lower dimension gives a different warning. For the smooth map , , the Jacobian matrix is the column , of matrix rank one at every input. Every input is a critical point of a smooth map, since the target dimension is two, even though this parametric curve has nonzero velocity everywhere and is an immersion. More generally, if , no differential can be surjective, so every input is critical. The terminology measures the ability to fill target directions, rather than whether the parametrized curve looks smooth.
Critical value 2026-10-14
A critical point of a smooth map is an input; a critical value is an output reached from at least one such input. For the fold , all inputs are critical points of a smooth map, and all outputs are critical values. The identical coordinate pairs live in different copies of . To classify an output , inspect its entire fiber of a function:
For both inputs have matrix rank two, so the output is a regular value. For its input has matrix rank one, so the output is a critical value. For the fiber of a function is the empty set, and the output is a regular value despite being outside the image of a function.
In general, for a smooth map , write for its set of critical points of a smooth map. Its set of critical values is . Equivalently, is a critical value if some has a differential that is not surjective. A regular value requires a surjective differential at every input in that fiber of a function. The universal condition holds vacuously for an empty fiber of a function: every output outside is a regular value. These quantifiers are explicit in Loring W. Tu, An Introduction to Manifolds, Definition 8.22 and its two following remarks.
Figure 1.
Regular circular fibers and a critical value reached from both critical and regular inputs
. Details.
The distinction is useful when solving equations. For a smooth map between smooth manifolds without boundary and a regular value with nonempty fiber of a function, the regular level set theorem makes an embedded submanifold of dimension , with tangent space
The implicit function theorem explains the freedom count: locally, independent equations fix coordinates and leave free. The rank-nullity theorem gives the same count for the displayed kernel of a linear map. See Eckhard Meinrenken, Differentiable Manifolds, Theorems 1.11 and 1.15 for the local projection description and its consequence for level sets.
For example, , , has gradient and just one critical point, the origin, with critical value zero. For , its fiber of a function is the circle of radius , a one-dimensional embedded submanifold; negative are regular values with empty fibers. At , the fiber of a function is a single point instead of a circle. A critical value does not force its fiber of a function to be nonsmooth: that singleton is itself a zero-dimensional embedded submanifold, but the regular dimension conclusion does not apply.
Nor does a single regular input certify a regular value. The scalar smooth function has and derivative . The input zero is a critical point, while the input one is regular because . Their shared output zero is nevertheless a critical value. Conversely, different critical points of a smooth map can share one critical value: sends both critical inputs and to zero. Counting inputs and counting critical outputs are different tasks.
Finally, for , every output on the parabola is a critical value, and every output off it is a regular value with empty fiber of a function. There is no nonempty regular fiber of a function here, so the negative expression never becomes a claimed manifold dimension. Both diagrams show exact mathematical examples, not measured data.
Eckart-Young-Mirsky theorem Created 2026-10-14 Updated 2026-10-25
For a finite matrix with singular values in nonincreasing order, truncating its singular value decomposition after terms minimizes the Frobenius norm error, whose square is the sum of the discarded squared singular values. It also minimizes the operator norm error, which equals the next singular value, or zero if none remain. See Mazeika, Section 4.3: Low rank approximation.
The problem of replacing a matrix by one of lower matrix rank is explicit in Eckart and Young's 1936 paper, [ref]. The publication predates the modern image compression example, showing how a general matrix question can support later applications.
Elementary matrix Created 2026-10-14 Updated 2026-10-25
An elementary matrix is obtained by applying one elementary row operation to the identity matrix. Multiplying by it on the left performs the same row operation on . Such a matrix is invertible: reverse a row swap, reverse a nonzero row scaling by its reciprocal, or reverse adding a multiple of another row by adding its negative. Right multiplication gives an elementary column operation. In particular these operations preserve matrix rank.
Finite-dimensional quantum compression converse Created 2026-10-06 Updated 2026-10-07
If encoding and decoding quantum channels factor through a -dimensional space, their composite Kraus operators all have matrix rank at most . The rank bound for a weighted operator trace and the Kraus formula for entanglement fidelity imply
Thus high operation fidelity requires the leading eigenvalues of the source density operator to carry almost all its probability. The bound applies to arbitrary completely positive trace-preserving encoders and decoders.
Full column rank Created 2026-09-28 Updated 2026-10-18
An matrix has full column rank when its matrix rank is , equivalently when its columns are linearly independent vectors. This requires . Its kernel is , so the represented linear map is injective and every solvable linear system has a unique solution. It need not reach every output.[ref]
For example,
has full column rank two, but its column space is the plane in . An attainable output fixes the input uniquely as ; an output outside this plane has no preimage.
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.
The real by matrices of matrix rank form an open smooth manifold . Indeed, it is the union of the open sets on which a chosen by minor has nonzero determinant, so its dimension is .
Inconsistent linear system Created 2026-10-25 Updated 2026-10-31
A linear system is inconsistent when it has no solution. In Gaussian elimination, a row with proves inconsistency. Equivalently the matrix rank of the augmented matrix is greater than the matrix rank of the coefficient matrix.
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.
Kernel jump in a parameter-dependent linear map Created 2026-10-06 Updated 2026-10-14
For a matrix whose entries depend on a parameter, a nonzero maximal minor certifies a fixed matrix rank away from its zeros. At a zero, other minors must still be checked: one vanishing minor does not itself imply a rank drop. Once the matrix rank is determined, the rank-nullity theorem gives the dimension of the kernel of a linear map. Exceptional parameters can then be solved separately to exhibit the additional kernel of a linear map directions.
Kernel of a Gram product 2026-10-25
For a real matrix , a Gram product has the displayed null space. Here Gram product means a product or .
Proof. The inclusion from right to left is immediate. Conversely, if , then
so . Similarly . Thus these positive semidefinite matrices retain the relevant matrix rank of . The argument uses the positive Euclidean norm; a corresponding statement for an arbitrary indefinite bilinear form need not hold.
Let and form the integer matrix with rows indexed by , , columns indexed by -subsets , and entry . Its matrix rank over any finite field is at most . Over the rational numbers, the row of a -subset is times the sum of the rows of all -subsets containing . Thus the rows of degree exactly span, giving the bound over the rational numbers. Every larger square minor therefore has integer determinant zero, and remains zero modulo . The matrix rank cannot increase under this reduction. This argument avoids dividing by an integer that might vanish in the finite field, and gives the sharp uniform-layer step in the Frankl-Wilson theorem.
Low-rank approximation 2026-10-14
A low-rank approximation replaces an matrix by a matrix of matrix rank at most a chosen integer , with , while making an explicitly chosen error norm small. The point is to describe many entries using a few shared patterns: an image compression may retain broad brightness patterns while discarding finer ones. The approximation is useful when the saved storage or computation justifies the lost detail. A small matrix rank alone says nothing about the error.
The compact representation is a sum of outer products, equivalently a product of two thin matrices:
Here are the columns of , and the star denotes the conjugate transpose; over the real numbers use the transpose. The rank bound for a matrix product gives . Conversely, choose a basis of the column space of as the columns of , and put the coordinates of each column of into ; pad with zero columns if the matrix rank is smaller than . Each nonzero outer product is a rank-one matrix: it repeats a single column pattern at different strengths across the columns.
Keeping the two factors stores scalars instead of . This saves space only when . The usual singular value decomposition representation stores scalars because it keeps the singular values separately; absorbing them into one factor removes that extra array. These are representation sizes at equal scalar precision, before file overhead. See Uschmajew and Vandereycken, §9.2: thin factors and their storage, and Illinois CS 357, Low-rank approximation: storing singular vectors and values.
The factors also give without forming the full matrix . Direct evaluation uses scalar multiplications, compared with for a dense matrix applied to a vector. For , the two factors contain scalars rather than , and the same counts describe these multiplication costs. Constructing the factors is a separate cost. Moreover, a low-rank approximation need not be a sparse matrix: the constant matrix whose entries are all has matrix rank despite having no zero entries.
For the standard unweighted problem, write a singular value decomposition with and singular values . Retain the first paired left singular vectors and right singular vectors:
The Eckart-Young-Mirsky theorem says that this same minimizes both of the following error norms over all matrices with matrix rank at most :
where and an empty sum is zero. Here the Frobenius norm is , whereas the operator norm is specifically induced by the Euclidean norm, . The first aggregates errors in all entries; the second bounds the worst output error for a unit vector input. These formulas apply to real and complex matrices. [ref]
For , a relative Frobenius norm tolerance is met precisely when the discarded squared singular values sum to at most . Thus one can choose the smallest suitable before reconstructing the matrix. Many individually small discarded singular values can still have a large combined error. An operator norm tolerance instead tests only the largest discarded singular value, . The two questions can therefore select different ranks.
The following stipulated matrix makes the tradeoff visible. Define four real vectors of length :
The vectors are orthonormal, so this is already a singular value decomposition written as outer products, with positive singular values . All entries lie between and and can be displayed as brightnesses. The first component is uniform brightness, the second distinguishes broad blocks, and the last two supply finer alternating patterns. This is a designed arithmetic example, not measured image data.
Figure 1.
Shared patterns in a stipulated matrix
. The first three panels use the same brightness scale. Rank one retains uniform brightness; rank two adds the broad blocks. The signed residual has its own color scale to expose the discarded patterns. The factors apply a linear map through just intermediate coordinates. Details.
Here has every entry equal to , while has entries within the two diagonal blocks and in the other two blocks. For instance, becomes : its error is . The full residual is , whose Frobenius norm is and whose operator norm is . Since , the relative Frobenius norm error is . Two thin factors use scalars, or if the normalized left singular vectors, right singular vectors, and singular values are stored separately, instead of dense entries.
Figure 2.
Error falls as storage rises for the stipulated matrix
. The exact Frobenius norm and operator norm errors are plotted for . The storage panel counts the two thin factors, or the normalized left singular vectors and right singular vectors plus separate singular values, at equal scalar precision. Lines join discrete rank choices; they do not represent intermediate ranks or measured data. Details.
Retaining three components reduces the Frobenius norm error to while using scalars in two factors. Retaining all four reconstructs exactly but uses scalars, giving no saving in this generic representation; keeping the singular values separately uses . Our particular sign patterns could be encoded more economically, but that would exploit an additional structure beyond the general low-rank approximation. The striking feature is that numerical error and storage can both be read from the decomposition, rather than judged only by how smooth the picture looks.
The constraint is deliberately matrix rank at most . The truncation has . If , the best approximation is itself, with zero error. Requiring matrix rank exactly can destroy attainment: for and , the matrices have matrix rank for , and both error norms equal . Their error has infimum zero, but no rank-two matrix attains it. If , the displayed does have matrix rank exactly and attains the same minimum under either constraint.
Optimality also does not always mean uniqueness. For , the best Frobenius norm approximation is unique when . [ref] A positive tie across the cutoff permits different choices: for and , both and have Frobenius norm error and operator norm error . More generally, is optimal for every real unit vector in the first two coordinate directions. Rotating which tied direction is kept changes the approximation. Repeated singular values entirely inside the retained group do not change its sum of outer products. At the only feasible matrix is zero; at the unique zero-error approximation is , even if some singular values are tied at zero.
A strict gap does not guarantee uniqueness for the operator norm. For and , every with has matrix rank and error , which is optimal. Only minimizes the Frobenius norm, since . An unchanged worst direction can hide extra error in another direction under the operator norm.
Finally, these guarantees concern the stated norms and the sole matrix rank constraint. They do not establish that a discarded pattern is noise or irrelevant to a particular task: the finer patterns in our constructed example were put there intentionally. Adding entrywise weights or restrictions on the factors changes the problem, so the Eckart-Young-Mirsky theorem above does not automatically solve it. For historical context, the original 1936 matrix problem is documented in the existing Eckart-Young-Mirsky theorem section.
For a resolved magnetic field, the unaveraged tensor describes magnetic tension; the isotropic magnetic pressure is treated separately in the magnetohydrodynamic total pressure. Its spatial or ensemble average need not have matrix rank one. Statistical isotropy in three dimensions gives , by taking the trace. In Alfvén velocity units this tensor has dimensions of squared velocity.
Matrix decomposition 2026-10-14
A matrix decomposition expresses a matrix as a matrix product of factors with simpler structure. An LU decomposition uses triangular factors, a QR decomposition uses an orthogonal matrix and a triangular factor, and a singular value decomposition separates input directions, stretching factors and output directions. The factorization is an identity; the chosen structure determines what it helps compute.
For an original two-by-two example,
The outer factors are a lower triangular matrix and an upper triangular matrix, each with unit diagonal as in a unit triangular matrix; the middle factor is a diagonal matrix. Their matrix product is , and the final diagonal entry is the Schur complement of the first entry . This is the scalar version of the factorization under block elimination.
To solve , solve with the three factors in their displayed order from left to right: first the lower triangular factor, then the diagonal factor, then the upper triangular factor. The intermediate vectors are and , giving the concise answer . A new right-hand side uses the same factors. This is why Reusing LU factors for multiple right-hand sides is useful: factorization records work that otherwise would be repeated, while forward substitution and back substitution apply it cheaply.[ref]
Different decompositions reveal different features. A Cholesky decomposition uses positive definiteness of a symmetric matrix, while a singular value decomposition also applies to rectangular matrices and exposes matrix rank. The existence and numerical behaviour of the factors depend on their own hypotheses; for example, an unpivoted LU decomposition can fail when a chosen pivot element is zero even though the matrix is an invertible matrix.
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.