The Range and Surjectivity
When does a system of linear equations have a solution for every possible right-hand side? This concrete question is about solvability, not just uniqueness. It is exactly the question of surjectivity for the linear map defined by the coefficient matrix. Given a linear map , its range collects every output can actually produce. This collection turns out to always be a subspace of . It is never just an arbitrary subset. Surjectivity then becomes the sharp statement that this subspace fills the entire codomain. The idea matters because it separates two independent questions we often conflate. One is "can hit everything?" (surjectivity, about the range). The other is "does ever collapse distinct vectors together?" (injectivity, about the kernel). Understanding the range as a subspace lets us measure how much of the codomain is missed. We use dimension as a precise numerical gauge. This is better than settling for a yes/no answer. The big picture is that range and kernel are the two fundamental subspaces attached to any linear map. Together they control everything about its behavior. This includes invertibility, rank, and the structure of solution sets to . This article isolates the range. We define it rigorously, and prove it is always a subspace. We characterize surjectivity in these terms. We also build the intuition needed before the payoff result. This uses a concrete matrix example and a picture of a map that misses most of its codomain. That result ties range and kernel together dimensionally. This article delivers a clean formal definition of range. It gives a complete proof that the range is a subspace. It offers a worked characterization of surjectivity through spanning sets and matrix columns. It includes two fully computed non-trivial examples. It also gives an explicit counterexample showing why linearity of cannot be dropped. It closes by placing surjectivity in its proper context. This points toward the dimensional bookkeeping of the Rank-Nullity Theorem.
- The range of is , the set of all actual outputs.
- The range is always a subspace of — this uses linearity of essentially, not just set-theoretic image-taking.
- is surjective (onto) precisely when , i.e. the range subspace is the whole codomain.
- For a matrix , (as a map) equals the column space of : the span of its columns.
- Surjectivity of with is impossible — a purely dimensional obstruction.
- Range measures solvability of ; it is the natural counterpart to the kernel, which measures uniqueness.
- Key idea: the range is never a random subset — linearity forces it to be closed under addition and scaling, making it a genuine subspace whose size (dimension) exactly measures how much of the codomain reaches.
Where this lives today
The concept of range underlies solvability analysis throughout applied mathematics: determining whether a linear system has a solution for a given is exactly asking whether , which is central to numerical linear algebra, optimization (feasibility of linear programs), and control theory (reachability of a linear system's state space). In quantum mechanics, the range of an operator determines which states are physically producible from an initial ensemble via that operator, relevant to measurement theory and the study of Hermitian and unitary operators. In statistics and data science, the range of a design matrix in linear regression determines exactly which response vectors can be fit exactly (zero residual), and the gap between the range and the full space of possible outcomes quantifies unavoidable prediction error. In coding theory and cryptography, the range of a linear encoding map determines the set of valid codewords, and surjectivity questions arise when checking whether an encoding scheme can represent every possible message digest. In computer graphics and robotics, the range of a Jacobian linear map captures which velocities or forces are achievable by a mechanism, directly informing controllability and singularity analysis.
Ask the tutor: How does the dimension of the range (the rank) combine with the dimension of the kernel to recover exactly, and why is that relationship forced by linearity?
Let and be vector spaces over a field , and let be a linear map. The range of (also called the image of ) is the set
The map is called surjective (or onto) if , that is, if for every there exists some with . Equivalently, is surjective if and only if the equation has at least one solution for every choice of .
Intuition
Think of as a machine: you feed in vectors from , and it produces vectors in . The range is the collection of all products this machine can ever make — the set of outputs, forgetting entirely which inputs produced them. Some vectors in might never come out of the machine no matter what you feed in; those live in . The key structural fact, which is not automatic for arbitrary functions, is that this set of outputs is always a subspace. If can produce and , linearity guarantees it can also produce and for any scalar — you simply add or scale the corresponding inputs. So the range is never a jagged or disconnected shape; it is always a flat, linear piece of : a point, a line through the origin, a plane through the origin, or a higher-dimensional subspace, and so on. Surjectivity is then the extreme case where this subspace is not a proper piece at all — it is everything. Picture a linear map from to that squashes space onto a plane through the origin: its range is a 2-dimensional subspace of a 3-dimensional codomain, so it misses "almost everything" and is very far from surjective. Contrast this with a map whose range genuinely fills out all of .
proof-supporting theorem
Let and be vector spaces over a field , and let be a linear map. Then:
(a) is a subspace of .
(b) is surjective if and only if .
(c) If spans , then spans . In particular, if is finite-dimensional, is finite-dimensional.
(a) is a subspace of . We use the subspace criterion: a nonempty subset is a subspace if and only if contains , and is closed under addition and scalar multiplication. Contains the zero vector. Since is linear, (this follows from , a basic property of linear maps). Hence , so is nonempty and contains the zero vector. Closed under addition. Let . By definition of the range, there exist with and . Since is a vector space, . By linearity of (additivity),
Thus is the image of the vector , so . Closed under scalar multiplication. Let and . There exists with . Since is a vector space, . By linearity of (homogeneity),
Thus is the image of , so . All three subspace conditions hold, so is a subspace of . This completes part (a).
(b) Surjectivity criterion. This is immediate from the definitions, but we spell out both directions for completeness. () Suppose is surjective, i.e. for every there exists with . Then every element of lies in by definition of the range, so . Since always holds (range is by definition a subset of ), we conclude . () Suppose . Let be arbitrary. Since , we have , which by definition means there exists with . As was arbitrary, is surjective.
(c) Spanning sets map to spanning sets of the range. Suppose spans . We claim spans . Let be arbitrary. By definition, there exists with . Since spans , we may write
for some scalars . Applying and using linearity (repeated additivity and homogeneity):
Thus is a linear combination of . Since was arbitrary, every element of is a linear combination of , i.e.
Conversely, each (it is the image of ), and by part (a) is a subspace, hence closed under linear combinations; so
Combining the two inclusions gives equality: , i.e. spans . If is finite-dimensional, take to be a basis of (which spans ); then is spanned by the finite set , so is finite-dimensional, with .
∎Worked examples
Example 1: A map that is not surjective. Let be given by the matrix
By Theorem part (c) applied to the standard basis of , is spanned by the columns of :
Note , so the second column is redundant; . We check and are linearly independent: if , then
The first equation gives ; substituting into the third gives . So is linearly independent, and
Since is a 2-dimensional subspace of the 3-dimensional space , we have . By Theorem part (b), is not surjective. We can verify concretely: is in the range? We'd need with
From the first equation . Substituting into the second: . Substituting into the third: , a contradiction. So indeed , confirming the map misses vectors in .
Example 2: A surjective map , verified via spanning columns. Let be given by
The range of is spanned by the columns
It suffices to show that just two of these already span all of : consider and . These are linearly independent, since the matrix has determinant . Two linearly independent vectors in the 2-dimensional space automatically span (any spanning-independent set of size is a basis). Hence , and since while also trivially, we get . By Theorem part (b), is surjective. Concretely, given any target , we can solve directly using only the first two columns (set ): we need and , so . For instance, if , then , , , and indeed
The theorem's proof that is a subspace relies crucially on the additivity and homogeneity of . If we drop linearity and merely take to be an arbitrary function between vector spaces, the "range" can fail to be a subspace. Define (a function, but not linear) by
Then is the unit circle in . This set is not a subspace of :
- It does not contain the zero vector: is not on the unit circle, since for all .
- It is not closed under addition: (take ) and (take ), but , and , so .
- It is not closed under scalar multiplication: , but has norm , so .
The proof of Theorem part (a) breaks down exactly where it invokes linearity: without , there is no way to produce a preimage for from preimages of and . This shows the hypothesis " is linear" cannot be weakened to " is any function" — it is used essentially, not just for convenience.
Scope, edge cases & common traps
| Situation | What to check |
|---|---|
| (finite-dim.) | can never be surjective: by Theorem (c), , so . |
| Surjectivity is possible but not automatic — must still check (equivalent, in this case, to injectivity, via the Rank-Nullity Theorem). | |
| infinite-dimensional | Range is still a subspace (part (a) needs no finite-dimensionality), but part (c)'s finiteness conclusion may fail; range can be infinite-dimensional or a proper infinite-dimensional subspace. |
| Zero map | , the smallest possible subspace; surjective only if . |
| Confusing range with codomain | The codomain is chosen as part of specifying ; the range is computed from and can be a proper subset of . |
The mathematician behind it
Origins · 1 minHermann Grassmann and how this was discovered
Hermann Grassmann was a German polymath — mathematician, linguist, and physicist — largely self-taught in advanced mathematics while working as a schoolteacher in Stettin. His 1844 treatise Die lineale Ausdehnungslehre ("The Theory of Linear Extension") introduced, in essentially modern form, the notions of vector spaces, linear independence, dimension, and linear combinations, decades before these ideas became standard. Grassmann's work was so abstract and idiosyncratically written that it was largely ignored by his contemporaries; recognition came only after his death, once mathematicians like Giuseppe Peano formalized and popularized the axiomatic vector space concept that Grassmann had anticipated. The modern notion of the range of a linear map, and its characterization as a subspace, traces its conceptual roots directly to this foundational work on linear structures.
Is the range the same thing as the image?
Yes — "range" and "image" are synonyms for the set in this context, and both terms appear across different textbooks. Some authors reserve "range" to mean the codomain itself (the set is declared to map into), which can cause confusion. In this article and in most modern linear algebra texts following Axler and Friedberg–Insel–Spence, "range" always means the image, i.e. the actual set of outputs, and this is the convention used throughout: , with equality exactly when is surjective.
Why does the range need to be a subspace — couldn't it just be some subset?
For a general function between sets, the image is indeed "just some subset" with no extra structure. What makes the range of a linear map special is that linearity forces algebraic closure: if can produce and as outputs, it can produce and any scalar multiple too, simply by combining the corresponding inputs. This is proved explicitly using additivity and homogeneity of . The subspace structure is not an assumption — it's a consequence, and it's what lets us use dimension-counting tools on the range at all.
How do I actually compute the range of a linear map given by a matrix?
If is given by for an matrix , then equals the column space of — the span of its columns — because is always a linear combination of the columns of with coefficients given by the entries of . In practice, row-reduce to identify a maximal linearly independent set of columns (the columns of corresponding to pivot positions in the row echelon form); those original columns of form a basis for .
If is surjective, does that mean it is also injective?
No — surjectivity and injectivity are logically independent properties in general, controlled by the range and the kernel respectively. A map can be surjective without being injective: for example, the projection , , is surjective (every is hit, e.g. by ) but not injective, since . The precise relationship between the two — and when one implies the other — is the content of the Rank-Nullity Theorem.
Can the range of a linear map equal ?
Yes. This happens exactly when is the zero map, sending every vector in to . In that case , which is indeed the smallest possible subspace of (every subspace contains the zero vector). More generally, the "size" of the range, i.e. its dimension, is called the rank of , and it ranges from (zero map) up to (when is as injective as possible, restricted by the dimension of the domain), foreshadowing the rank-nullity relationship.
Does the range depend on which basis I use for or ?
No. The range is defined purely in terms of the map and does not reference any basis or coordinate system. What does depend on a choice of basis is how you represent elements of the range as coordinate vectors, or which specific spanning set (e.g. images of basis vectors, or matrix columns) you use to describe it. The subspace itself, and its dimension, are basis-independent invariants of .
Is checking surjectivity the same as checking that a matrix is invertible?
Only when the domain and codomain have the same finite dimension, and even then it requires justification via rank-nullity (surjective injective invertible, in that special square case). In general, for with , invertibility (in the sense of a two-sided inverse) is impossible regardless of surjectivity — a map can be injective but never surjective, and a map can be surjective but never injective. Surjectivity alone concerns only the range; invertibility requires both surjectivity and injectivity together.