Linear Maps Determined by Action on a Basis
Suppose you want to build a linear map from the plane to three-dimensional space. Must you specify where every vector goes? That would be an infinite amount of data. The remarkable answer is no. You only ever need to specify where the vectors of a single basis go. The rest of the map is forced. This economy is one of the most useful facts in linear algebra. It converts questions about linear maps — infinite objects defined on infinite sets — into questions about finite lists of vectors. This principle explains why linear algebra is computable at all. Fix a basis of the domain first. Then a linear map between finite-dimensional spaces is completely captured by a finite table of numbers. These numbers are the coordinates of the images of the basis vectors. This is the seed from which the entire theory of matrices grows. Before writing down a single matrix, however, one needs the underlying theorem. That theorem states: assigning arbitrary target vectors to a basis always produces exactly one linear map extending that assignment. This holds no matter what those target vectors are. The result has two halves, and both matter. Existence: no matter how wildly or arbitrarily you choose images for the basis vectors, a linear map always realizes that assignment. They need not be independent, need not span, and can even repeat. Uniqueness: there is never more than one such map. Together these say that a linear map is the same data as a function from a basis to the target space. The map and the assignment determine each other completely. This article proves that theorem carefully, starting from the definitions of linear map, basis, and coordinates. It builds the intuition behind it. It also shows how the theorem is used in two genuinely different flavored examples. It sets up the next natural steps in the subject. One step is encoding the assignment as a literal array of numbers — The Matrix of a Linear Map. Another is using this freedom of assignment to characterize when two spaces are structurally identical, via Isomorphisms and Isomorphic Vector Spaces.
- A linear map out of a finite-dimensional space is pinned down entirely by its values on one basis.
- You may assign the images of basis vectors arbitrarily — any vectors at all, in any target space — and a linear map always exists extending that assignment.
- That extension is unique: two linear maps agreeing on a basis are identical everywhere.
- The proof rests on writing every domain vector as a unique linear combination of the basis (coordinates).
- This is the theoretical root of representing linear maps by matrices.
- Key idea: specifying a linear map is exactly the same thing as specifying a function on a basis — no more, no less.
Where this lives today
This theorem is the quiet engine behind representing linear maps as matrices: once a basis of the domain is fixed, recording the coordinates of in a chosen basis of the codomain produces the matrix of , and the theorem guarantees this recording loses no information and can always be inverted to reconstruct — the subject of The Matrix of a Linear Map. In numerical linear algebra and computer graphics, transformations (rotations, projections, shears) are specified by giving the images of a handful of basis vectors — three columns for a transform — precisely because the theorem guarantees this finite data is equivalent to specifying the transformation on every point in space. In quantum mechanics, linear operators on state spaces are routinely defined by declaring their action on basis states (energy eigenstates, spin states) and then extended linearly to superpositions; this is a direct, everyday invocation of the theorem. In machine learning, a fully connected linear layer is defined by its weight matrix, whose columns are exactly the images of the standard basis vectors under the layer's linear map. In abstract algebra and the study of Isomorphisms and Isomorphic Vector Spaces, the theorem is the tool used to construct explicit isomorphisms between spaces of the same dimension by matching up basis vectors.
Ask the tutor: If I only know on a linearly independent set that doesn't span , exactly how many different linear extensions of to all of are possible, and how would I count or parametrize them?
Let and be vector spaces over the same field . A function is a linear map if for all and all scalars :
A list of vectors in is a basis of if it is linearly independent and spans ; equivalently (and this is the fact we use below), every can be written as
for a unique choice of scalars . Given a basis of and an arbitrary list of vectors in (no conditions on the at all), the extension problem asks: does there exist a linear map with
and if so, how many such maps are there?
Intuition
Think of a basis as a minimal set of "control knobs" for the vector space. Every vector in is some specific combination of the basis vectors — a unique recipe of coordinates — so if you know how a linear map treats each basis vector, linearity forces the map to treat every combination the same way it treats the ingredients: additively and homogeneously. There is no freedom left over once the basis vectors' images are fixed, because every other vector's image is computed from them by a fixed formula. That is the uniqueness half. The existence half is the surprising part: you are allowed to send the basis vectors anywhere, with total disregard for whether the images are independent, whether they span, or whether they are even distinct. The formula still defines a bona fide linear map, because the coordinates of each are unique — there's no ambiguity in the recipe, so no ambiguity in the output. Independence of the basis is precisely what guarantees this recipe is well-defined; if the spanning list were not independent, the same vector could be written two different ways, and the formula could try to assign it two different images at once. Picture with basis . Choose any two vectors , even , or linearly dependent. There is still exactly one linear map sending , : namely .
Let and be vector spaces over a field , and suppose is finite-dimensional with basis . Let be any list of vectors in (not assumed independent, spanning, or distinct). Then: 1. (Existence) There exists a linear map such that for every . 2. (Uniqueness) This map is unique: if is linear and for every , then . Equivalently: for a fixed basis of , the map
is a bijection, where denotes the set of all linear maps from to .
We prove existence and uniqueness separately. The technique for existence is direct construction via coordinates; the technique for uniqueness is a linearity unwinding argument.
Setup (coordinates are well-defined). Since is a basis of , it spans , so every can be written as
for some scalars . These scalars are unique: if also , then subtracting gives
and linear independence of forces for every , i.e. . So each has a well-defined, unique coordinate tuple relative to this basis. Call this tuple .
Step 1: Existence. Define by the formula
This is a legitimate function precisely because is unique for each (shown above) — there is no ambiguity in which output names. hits the basis correctly. Fix . Writing itself in the basis, its coordinate tuple is the standard tuple with a in position and elsewhere, i.e. ; this is a valid representation, and by uniqueness of coordinates it is the representation. Hence
exactly as required. is additive. Let with coordinate tuples and respectively, so and . Then
using the vector space axioms (commutativity/associativity of addition and distributivity of scalar multiplication over vector addition) to regroup. Since are scalars and the form a basis, this is the coordinate representation of (unique, by the setup above), so . Therefore, by definition of ,
where the middle equality again uses distributivity and commutativity of addition in . is homogeneous. Let have coordinates , so , and let . Then
using distributivity of scalar multiplication over the sum and associativity of scalar multiplication. By uniqueness of coordinates this is the representation of , so , and hence
All three required properties (well-defined function, additivity, homogeneity) hold, so is a linear map with for all . This proves existence.
Step 2: Uniqueness. Suppose is linear and satisfies for all . Let be arbitrary, with (unique) coordinates so that . Using linearity of — first additivity applied repeatedly to split the -term sum, then homogeneity on each term — we get
(The first equality of sums is proved by induction on from the two-term additivity axiom , applied times to peel off one summand at a time.) But the right-hand side, , is exactly by the defining formula for constructed in Step 1. Hence for every , i.e. as functions. This shows any linear map agreeing with the assignment must equal the specific built above; combined with Step 1's existence of , this proves the assignment determines a unique linear map.
Step 3: The bijection statement. Steps 1–2 show that for every there is exactly one with . This says precisely that is both surjective (existence, Step 1) and injective (uniqueness, Step 2 shows ), hence bijective.
∎If are linear, finite-dimensional with basis , and for all , then as functions on all of . (This is exactly uniqueness in the theorem, applied to the common assignment .)
Worked examples
Example 1 — a genuinely "wild" assignment. Let with the standard basis , and let . Choose the assignment
Notice , so is linearly dependent and does not span on its own in an independent way — the theorem places no restriction on the at all, so this is perfectly admissible. By the theorem there is exactly one linear map realizing this, given explicitly by the formula from the proof:
Check it reproduces the assignment: ✓, ✓, ✓. Check linearity directly on a specific pair to see the mechanism at work: take and , .
The theorem guarantees this is not a coincidence for these particular vectors: it must hold for all , because was built by the coordinate formula, and the proof shows that formula is always additive and homogeneous, regardless of how dependent or degenerate the chosen images are.
Example 2 — a non-standard domain basis, testing uniqueness. Let , but use the non-standard basis — one should check this is indeed a basis: it is independent since and are not scalar multiples of each other, and any two independent vectors in a -dimensional space automatically span it. Let and assign
To find for a general vector, first find the coordinates of relative to : solve , giving , . Then by the formula in the proof,
Expanding,
Sanity check on the basis vectors: ✓ matches ; ✓ matches . Now test uniqueness concretely: suppose someone proposes a different rule hoping it also sends and . Check: at , the extra term is , so ; at , the extra term is , so . So actually fails to extend the assignment — and indeed is not linear at all (the extra term is quadratic), consistent with the theorem: no function other than the specific linear above can extend this assignment linearly, and this attempted "different" extension simply isn't linear.
The theorem needs to be a basis of , not merely a spanning list. Drop independence and existence itself can fail — the assignment becomes contradictory. Let and consider the spanning-but-dependent list . This list spans but is not independent, since . Attempt the assignment
If a linear satisfying all three existed, linearity applied to the dependence relation would force
But the assignment demands . Contradiction — no linear map can satisfy this assignment. The existence half of the theorem fails completely once the spanning list is allowed to be dependent, because dependent lists impose hidden consistency conditions on any admissible assignment (here, the assigned images must satisfy the same relation the vectors do), and an arbitrary assignment generically violates them. Contrast this with a basis: because a basis has coordinates that are always unique, there is no relation like lurking among basis vectors to violate, so every assignment is automatically consistent. This is exactly why the theorem restricts to bases.
Scope, edge cases & common traps
| Situation | What happens |
|---|---|
| infinite-dimensional, a (Hamel) basis | Theorem still holds verbatim; every still has a unique finite coordinate combination |
| Domain list spans but is dependent | Existence can fail (see counterexample); uniqueness is also moot since no valid may even exist |
| Domain list independent but does not span | The "assignment" only pins down on the subspace spanned by the ; is not unique on all of — many linear extensions to the rest of are possible |
| Images chosen dependent/repeated/zero | No problem: existence and uniqueness hold regardless, exactly as the theorem states |
| The unique linear map is the zero map, consistent with the theorem ( for all forced) |
The mathematician behind it
Origins · 1 minHermann Grassmann and how this was discovered
Grassmann, a schoolteacher and self-taught mathematician in Stettin, developed in his 1844 Die lineale Ausdehnungslehre an abstract theory of vector spaces, linear dependence, dimension, and linear combinations decades before these ideas became standard. His work was so far ahead of the notation and expectations of his time that it was largely ignored by his contemporaries; only later mathematicians, including Peano who gave the first modern axiomatic definition of a vector space, recognized how much of what we now call linear algebra — bases, dimension, and the extension property behind this very theorem — Grassmann had already anticipated.
Why does the domain list need to be a basis and not just any spanning set?
A spanning-but-dependent list has hidden linear relations among its vectors, such as . Linearity of any map automatically forces the same relation among the images: must equal . If you assign images that violate this forced relation, no linear map can possibly satisfy your assignment, so existence fails. A basis has no such relations — independence guarantees every vector has a unique coordinate representation — so there are no hidden constraints to violate, and any assignment whatsoever is automatically consistent. That is exactly why the theorem requires a basis, not merely a spanning set.
Do the images need to be linearly independent or span ?
No — this is one of the most important and surprising parts of the theorem. The images can be zero, repeated, or all multiples of each other; none of this affects existence or uniqueness of the linear map with . What the images do determine is the properties of itself: if the images are independent, turns out to be injective; if they span , turns out to be surjective. But none of that is required for to exist and be unique in the first place.
Does this theorem work for infinite-dimensional vector spaces?
Yes, provided "basis" is understood in the Hamel sense: a linearly independent set such that every vector is a finite linear combination of basis elements. Every vector space has such a basis (a consequence of the Axiom of Choice, via Zorn's Lemma), and the same coordinate argument used in the proof works verbatim, because coordinates are always finite sums even in infinite dimension. The subtlety in infinite dimensions lies elsewhere — such bases are typically impossible to write down explicitly — but the logical structure of the existence/uniqueness proof is unchanged.
How does this relate to writing a linear map as a matrix?
Once you fix a basis of and a basis of , the theorem says a linear map is completely and losslessly encoded by the list . Writing each in coordinates relative to the chosen basis of and stacking these coordinate columns side by side produces exactly the matrix of . The theorem is precisely the statement that this encoding is a bijection between linear maps and matrices (of the appropriate size), which is why matrix algebra faithfully mirrors the algebra of linear maps.
Can the same reasoning define a map on part of a basis and extend it however I like elsewhere?
Yes, and this is a useful trick. If is a linearly independent list that is not a full basis, you can extend it to a full basis (a standard fact about extending independent lists in finite-dimensional spaces), assign the first images however you like to satisfy some condition, and then assign the remaining completely freely, even arbitrarily. The theorem guarantees a single linear map realizes all of these choices simultaneously, which is exactly why non-uniqueness appears whenever your original list under-spans .
Is the map constructed in the proof actually computable, or just theoretically guaranteed to exist?
It is fully computable, and the proof is constructive, not just an abstract existence argument. Given any vector , you find its unique coordinates relative to the basis (a linear algebra computation, e.g. solving a linear system), and then is simply . Both worked examples in this article carry out exactly this recipe explicitly, producing closed-form formulas for .
What goes wrong if I only check that is linear on the basis vectors themselves, instead of on all of ?
Checking for basis vectors alone says nothing about linearity on general vectors like ; linearity is a universally quantified statement over all vectors and scalars in , not just over the finitely many basis vectors. The content of the theorem's proof is precisely that verifying compatibility of an assignment on a basis, combined with the coordinate uniqueness of the basis, is enough to force full linearity everywhere — but this requires the construction and proof given above, not merely eyeballing the basis vectors.