Addition map of subspaces Created 2026-10-25 Updated 2026-10-31
For vector subspaces of a common vector space, this is a surjective linear map. Its kernel of a linear map is , which has a linear isomorphism to by . The rank-nullity theorem and the direct sum basis give the dimension formula for a sum of subspaces. The paired domain keeps the two contributions separate even when their underlying vectors overlap.
In exact classical identification of an unknown linear Boolean function , a function oracle call returns one bit . The query complexity is exactly for . Queries on the standard basis inputs reveal , proving sufficiency. For necessity, a depth- decision tree has at most answer histories and must distinguish hidden binary strings; hence , even with adaptive inputs. A reversible circuit that preserves and updates a known target by exclusive or reveals the same one bit per call.
There is also a useful linear algebra proof. Along a fixed history, the chosen inputs form the rows of a matrix over the two-element finite field, and the replies specify . If there are queries, the rank-nullity theorem gives a nonzero vector with . Then and give identical replies throughout this history. This also explains why adaptive choices cannot evade the bound: equal earlier replies force the same later choices.
Cokernel Created 2026-09-29 Updated 2026-10-14
The cokernel records output information that a linear map cannot produce. For , it is the quotient vector space
Its elements are cosets . Two vectors represent the same class exactly when is in the image of a linear map. The zero class is the whole image of a linear map, so
Changing by an attainable output does not change its obstruction. This is useful because one can test compatibility before trying to find an input. The quotient vector space construction is described in Axler's §3E. [ref]
For the linear map given by , the image of a linear map is the horizontal line. All outputs with the same second coordinate have the same cokernel class, because their difference is horizontal. Thus this cokernel is isomorphic to via . In particular, has zero class and is attainable, while has nonzero class and is unattainable.
Figure 1.
The second output coordinate is a cokernel obstruction to solving
. The horizontal axis is the image of a linear map . The class of is the parallel line , which never meets the image. The projection is attainable but has a different cokernel class. Details.
If is finite-dimensional, the dimension rule for a quotient vector space gives
Compare this with the rank-nullity theorem, . The kernel counts invisible inputs; the cokernel counts missing output directions. They need not have the same dimension: has a two-dimensional kernel and a one-dimensional cokernel. A linear map is surjective exactly when its cokernel is zero.
The cokernel is a quotient, rather than a chosen perpendicular vector subspace. With a finite-dimensional inner product space as output, one may represent each class by its unique component in the orthogonal complement of the image of a linear map. That representation depends on the chosen inner product. For matrices over the complex numbers, this complement is , leading to the cokernel compatibility equations.
The same quotient definition applies to a group homomorphism of abelian groups. For given by , the cokernel is . The equation is solvable exactly when is an even integer; the two cosets record integer parity. A quotient captures the obstruction here just as it captures a missing output coordinate for a linear map.
For closed subspaces of a Hilbert space, set . The two positive cosines bound and its adjoint operator below. The first bound gives a closed range and injectivity; the second makes the range dense by image-kernel orthogonality for an adjoint. Thus is a bounded bijection, and yields the unique direct sum decomposition . In equal finite dimensions, a lower bound on alone suffices by the rank-nullity theorem.
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.
For two polynomials over the complex numbers of equal positive degree of a polynomial with no common root of a polynomial, there are unique polynomials of degree of a polynomial less than such that . To prove the bound, let be the vector space of polynomials of degree of a polynomial at most , including the zero polynomial. The linear map from to has zero kernel of a linear map: if , each root of a polynomial of , counted with its multiplicity of a root, must occur in because it does not occur in , forcing by the degree of a polynomial bound, and then . Both vector spaces have dimension , so the rank-nullity theorem makes the linear map a bijection, and has a unique preimage.
Let be a linear map between finite-dimensional vector spaces and a vector subspace of . The preimage is a vector subspace containing . To compute its dimension, choose a basis of and a basis of . Lift each to with . Then is a basis of : applying proves linear independence, and subtracting a suitable linear combination of the lifts reduces every element of the preimage to the kernel. This proves the displayed formula without using the rank-nullity theorem. Taking then proves the rank-nullity theorem itself.
Dual image and kernel annihilator identity Created 2026-10-06 Updated 2026-10-14
For a linear map between finite-dimensional vector spaces, the image of its dual map is the annihilator of a vector subspace given by its kernel. Inclusion follows by composition. Conversely a linear functional vanishing on the kernel descends to the image and extends to the target by basis extension. The identity and the rank-nullity theorem show that a linear map and its dual have equal rank.
Endomorphism Created 2026-09-24 Updated 2026-10-14
An endomorphism is a morphism : its source and target are the same object, with the same specified structure. For a group it is an operation-preserving group homomorphism back into that group; for a vector space it is a linear endomorphism; for a ring it is a ring endomorphism. A self-map must satisfy the chosen compatibility conditions to qualify. The notation records the category in which these conditions are imposed. See Riehl, Category Theory in Context, Definition 1.1.10 and the following paragraph.
An endomorphism can lose information or miss part of its target. On the additive integers, preserves addition and is injective, but is not surjective: no integer maps to . On the vector space over the real numbers, the linear endomorphism loses the second coordinate, so it is neither injective nor surjective. Neither is an automorphism. The same doubling rule becomes a group isomorphism when its target is the additive even integers, as explained under isomorphism.
The finite cyclic group offers a small example of information loss that can be drawn completely. With addition in modular arithmetic, the endomorphism sends the inputs to . Its image of a group homomorphism is and its kernel of a group homomorphism is . Each reached output has two inputs; the other three outputs are missed.
Figure 1.
Two endomorphisms of the additive cyclic group modulo six
. Every arrow maps an input to its output, rather than taking one step of repeated addition. The endomorphism collapses pairs; the group automorphism is a bijection. Orange marks the kernel of a group homomorphism in each panel. Source. Details.
For an endomorphism of a group or ring with a finite underlying set, injectivity is equivalent to surjectivity by counting; either condition makes it an automorphism. The additive integers example shows why the finiteness assumption matters. A linear endomorphism of a finite-dimensional vector space also has equivalent injectivity and surjectivity, this time by the rank-nullity theorem even when its underlying set is infinite.
Self-maps can be iterated without changing the object: , , and so on. Composition in a category and the identity morphism make the endomorphisms of a fixed object in a locally small category into a monoid. This packages repeated compatible operations, including irreversible ones, into a single structure.
The general language has a documented historical milestone in the 1945 paper of Samuel Eilenberg and Saunders Mac Lane. They defined categories of objects and compatible maps, and distinguished maps admitting inverses within that category. Their examples included groups, vector spaces, and topological spaces. This gave a common framework for compatible self-maps and their invertible cases. See Eilenberg and Mac Lane, General Theory of Natural Equivalences, pp. 234 and 237–239.
For a binary linear code , the linear functional records Hamming weight modulo two. Its kernel of a linear map is the even-weight subcode. If vanishes, this is all of ; otherwise rank-nullity theorem gives dimension . This also proves closure under addition without treating ordinary integer weight as a linear function.
Every linear endomorphism of a finite-dimensional vector space admits the displayed direct sum of vector spaces. It separates the part on which repeated application is invertible from the part eventually sent to zero.
Proof. Stabilization of images of powers of a linear map gives . The rank-nullity theorem and nested null spaces give . If also satisfies , then , so . Thus the displayed summands have zero intersection. Their dimensions sum to by the rank-nullity theorem, proving the decomposition.
Both summands are preserved by . On , stabilization makes a surjective linear map, hence invertible in finite dimension. On , its th power is zero, so the restriction is a nilpotent linear map.
Homogeneous linear system 2026-10-14
A linear system is homogeneous when its forcing is zero. Its solution set is the kernel of a linear map, a vector subspace. If has a particular solution , all its solutions are : subtracting the particular solution leaves a homogeneous linear system. The rank-nullity theorem gives the dimension of this freedom.
Proof. If , the quadratic-form criterion for a skew-symmetric matrix gives , so . The rank-nullity theorem makes the square matrix invertible. More generally is invertible for every nonzero real , since its null space would imply . Equivalently, the only possible real eigenvalue of a real skew-symmetric matrix is zero.
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.
Johnson–Lindenstrauss lemma Created 2026-09-28 Updated 2026-10-14
For and any points in a Hilbert space, there is a linear map into Euclidean dimension that multiplies every pairwise distance by a factor between and .
The striking feature is that the target dimension depends on the number of points and the allowed error, independently of the ambient dimension. Fix a finite set , with , and . An equivalent sufficient statement uses squared Euclidean distances: a linear map exists, with , such that
The finite-set theorem cited here supplies an explicit sufficient target dimension for this squared-distance formulation. [ref]
Taking square roots gives distance factors and , which lie inside . Conversely, bounds on distances only give squared-distance bounds ; the same numerical tolerance should not be silently used for both. Under the squared-distance bounds, the bi-Lipschitz distortion is at most .
The Johnson–Lindenstrauss lemma preserves this fixed finite set, rather than every vector in the ambient Euclidean space. A linear map with has a nonzero kernel by the rank-nullity theorem, so some nonzero vectors collapse completely. For finitely many points in a real Hilbert space, apply the finite-dimensional argument on their linear span and extend by orthogonal projection onto that linear span. If the sufficient target dimension exceeds the ambient dimension, the identity map already preserves every Euclidean distance exactly, with zero padding if a larger target is requested.
For a nilpotent linear map with minimal polynomial , set and , with . Then
For strictness, choose with . The vector belongs to for . For the second inequality, the rank-nullity theorem gives
The first image is contained in the second because .
If the Nilpotent Jordan block sizes are , then
Thus successive increments count the Jordan blocks reaching a given size, and counts blocks of size exactly , with . The nullities determine the entire Jordan normal form. Conversely any positive nonincreasing integer increments summing to are realized by taking the corresponding numbers of each Nilpotent Jordan block.
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.
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 rank Created 2026-09-24 Updated 2026-10-18
The matrix rank of an matrix over a field is the dimension of its column space, equivalently the dimension of its row space. It counts linearly independent column directions, with . Counting nonzero matrix entries gives a different quantity: an all-ones matrix can have arbitrarily many nonzero matrix entries and still have matrix rank one.[ref]
Consider the following matrix over the real numbers, with columns written as vectors:
The vectors are linearly independent: requires both and , so . The third column adds no new direction to their linear span, hence despite all nine matrix entries being nonzero. The second row likewise repeats twice the first row.
The column space is a plane through the origin:
Every output has second coordinate twice its first coordinate. Conversely, any vector equals , so this condition describes the entire plane, not just part of it. For example, is attainable, whereas lies outside the plane.
Figure 1.
Three column vectors span a two-dimensional plane: , is attainable, and is outside the column space
. Details.
Elementary row operations expose the same count algebraically. Apply and , interchange the last two rows, multiply the second row by , and subtract twice the second row from the first. The resulting reduced row echelon form is
There are two pivot columns, so the matrix rank is two. The corresponding original columns form a basis of the original column space. The pivot columns of itself span the different plane with third coordinate zero: row operations preserve column linear relations, but generally move the column space.[ref]
Solving the homogeneous linear system gives and . Taking the free variable gives
The kernel is the input direction that trades one unit of each of the first two columns for one unit of the third. This trade leaves the output unchanged. The rank-nullity theorem expresses the general balance: for an matrix of matrix rank , the nullity is . The column space describes reachable outputs; the kernel describes invisible changes to inputs.[ref]
For the attainable output , one solution is . Every solution lies in the affine solution space of a linear equation
Indeed, and . Conversely, subtracting from any solution gives a vector in the kernel, so this describes every solution. For , the same row operations on the augmented matrix expose : the second requirement demands where twice the first requires .
Figure 2.
Two pivot columns, one kernel direction, and the same row operations distinguishing attainable from impossible
. Details.
In general, a linear system is solvable exactly when appending leaves the matrix rank unchanged:
Appending a vector outside the column space adds an independent direction. When a solution exists, every solution is , because . Thus one count predicts both how many output directions are reachable and, through the rank-nullity theorem, how many independent input directions remain free.[ref]
Nullity of a composition 2026-10-31
For finite-dimensional linear maps and , the restriction of to maps onto and has kernel . The rank-nullity theorem on this restriction proves the title identity. Since the intersection has dimension at most , it implies . Equivalently, , the rank inequality for a composition. Also directly gives the upper bounds .