Linear Maps: Definition and Basic Properties
Suppose you know how a function treats two vectors. Suppose you also know how it scales any single vector. Can you predict what it does to every linear combination? This applies to combinations built from your entire vector space. For a special and enormously important class of functions called linear maps, the answer is yes. Knowing the output on a handful of vectors pins down the output everywhere else. That "everywhere else" means anywhere those vectors can reach by addition and scaling. This rigidity is not a limitation. It is the entire reason linear algebra is computable. It is also why matrices, determinants, eigenvalues, and nearly every tool in the subject exist in the first place. Linear maps matter because they are the structure-preserving functions between vector spaces. This holds in the same sense that continuous functions preserve topological structure. It also holds in the same sense that group homomorphisms preserve algebraic structure. A function between vector spaces that is not linear can do almost anything. A linear map, by contrast, is entirely determined by its action on a basis. This fact turns infinite-dimensional questions into finite computations. It also turns geometric transformations into objects we can manipulate directly. These transformations include rotations, projections, reflections, differentiation, and integration. We can add, scale, and compose them just like the vectors they act on. The big picture is this: fix two vector spaces and over the same field. Once we do, the collection of all linear maps from to is itself a vector space. It is denoted . This is a small but structurally deep fact. It means linear maps are not just functions we study one at a time. Instead, they are points in a new space. That space has its own addition, scalar multiplication, zero vector, and additive inverses. Studying as a vector space is the first step toward representing linear maps by matrices. This correspondence makes the entire subject computational. This article develops the formal definition of a linear map. It proves two basic consequences. Every linear map must send the zero vector to the zero vector. Every linear map must also respect linear combinations. It further establishes that is a vector space in its own right. These facts are foundational. Everything from Null Space and Injectivity to Range and Surjectivity rests on them. The matrix representation of linear maps also rests on the definitions and lemmas proved here.
- A linear map is a function satisfying additivity and homogeneity .
- Every linear map sends the zero vector of to the zero vector of : this is a consequence of linearity, not part of the definition.
- Linearity is equivalent to preserving arbitrary finite linear combinations: .
- The set of all linear maps from to forms a vector space under pointwise addition and scalar multiplication.
- A linear map is completely determined by its values on a basis of , and those values may be prescribed arbitrarily.
- Key idea: linearity is exactly the condition that a map commutes with all linear combinations, which is why one linear map can encode infinitely much information in finitely many numbers.
Where this lives today
Linear maps are the working vocabulary of essentially every quantitative discipline. In physics, the transformations relating reference frames (rotations, Lorentz boosts) are linear maps on vector spaces of coordinates, and quantum mechanics represents observables as linear operators on Hilbert spaces — the additivity and homogeneity from this article become the defining axioms of a quantum-mechanical operator. In computer science and machine learning, a single "layer" of a neural network before the nonlinearity is applied is exactly a linear map, and understanding which parts of a network are linear (and hence composable via matrix multiplication) versus nonlinear is central to both theory and efficient implementation. In cryptography, linear maps over finite fields underlie linear feedback shift registers and error-correcting codes, where the vector space structure over makes the additivity axiom directly load-bearing. In statistics, linear regression and the general linear model are, at their core, the search for a linear map (or affine map, a linear map plus a translation) best approximating observed data, and the vector-space structure of underlies the fact that sums and scalar multiples of fitted linear models are again linear models. Engineering disciplines from signal processing (linear time-invariant systems) to structural analysis (linear elasticity, small-deformation approximations) rest on the same additivity-and-homogeneity backbone proved rigorously here.
Ask the tutor: Why must a linear map's behavior on a basis determine it everywhere, and what breaks if the spanning set isn't linearly independent?
Let and be vector spaces over the same field . A function is called a linear map (or linear transformation) if it satisfies both of the following conditions.
Additivity. For all ,
Homogeneity. For all and all ,
Here denotes ; this abbreviated notation is standard for linear maps. The set of all linear maps from to is denoted .
Intuition
Think of a linear map as a function that "does not know" how to distinguish between performing an operation on the input and performing it on the output. If you add two vectors first and then apply , you get the same answer as applying to each vector separately and then adding the results. If you scale a vector first and then apply , you get the same answer as applying first and then scaling by the same amount. This is a very strong compatibility requirement, and most functions you can write down do not satisfy it: , , are all non-linear on , while is linear. The picture to hold in mind is that a linear map is completely controlled by what it does to a basis. If is a basis of , then every can be written uniquely as , and additivity plus homogeneity force
So the entire function , defined a priori on the (possibly infinite) set , collapses into a finite list of data: the vectors in . This is the seed from which matrix representations grow. The figure below shows a linear map sending basis vectors and to and . The vector is sent to , illustrating that the map's effect on an arbitrary vector is dictated entirely by its effect on the basis.
The zero-vector consequence: a picture worth keeping
Before stating the main theorem, notice something conceptually important: nowhere in the definition above does it say . That fact is a theorem, proved from additivity and homogeneity, not an axiom bolted onto the definition. This distinction matters because it shows that linearity is a genuinely restrictive pair of conditions from which other properties can be derived, rather than a checklist of unrelated requirements.
Let and be vector spaces over a field , and let be a linear map. Then:
(a) , where and denote the zero vectors of and respectively.
(b) For all , .
(c) (Preservation of linear combinations) For every , every , and every ,
(d) Conversely, if is any function satisfying the identity in (c) for all , all , and all , then is linear (additive and homogeneous). Furthermore, if is a basis of a finite-dimensional vector space , and are arbitrary vectors in (not assumed distinct or otherwise special), then there exists a unique linear map with for each .
We prove each part in turn, using only the additivity and homogeneity axioms from the Linear Map definition and basic vector space axioms (existence of zero vector, additive inverses, distributivity of scalar multiplication) from Vector Space theory.
(a) . Since in (this is the defining property of the zero vector under vector addition), additivity gives
Let . We have shown in . Add the additive inverse (which exists in since is a vector space) to both sides:
The left side is by the additive inverse axiom. On the right side, associativity of addition in gives . Hence , as claimed. Alternatively (a second, equally valid route), homogeneity applied with gives , using the vector space fact that for any . Both routes confirm the claim without circularity, since neither uses any property of linear maps beyond the two axioms.
(b) . By definition where is the additive inverse of in , and is the additive inverse of in (a standard vector space fact: ). By additivity,
By homogeneity applied with scalar ,
Combining, , using the vector space identity in .
(c) Preservation of finite linear combinations, by induction on . Base case : the statement is exactly homogeneity. Inductive step: suppose the identity holds for some , i.e., for all and ,
Let and be given. Write
Applying additivity (with and the second summand ) gives
By the inductive hypothesis, the first term equals ; by homogeneity, the second term equals . Hence
completing the induction. By the principle of mathematical induction, the identity holds for all .
(d) Converse: preserving pairwise linear combinations implies linearity. Assume for all , . Additivity: set . Then , using the vector space fact . Homogeneity: fix and ; set , (any fixed vector will do, we use the zero vector for concreteness), , . Then
The left side simplifies: (vector space fact) and , so the left side is . The right side is (using , a vector space fact not dependent on this theorem). Hence . Both additivity and homogeneity hold, so is linear. This shows the hypothesis in (c) restricted to is in fact equivalent to linearity, not merely a consequence of it.
Existence and uniqueness given values on a basis. Let be a basis of finite-dimensional , and let be arbitrary. Existence. Since is a basis, every has a unique representation with (this is precisely what "basis" means: spanning plus linear independence, guaranteeing existence and uniqueness of coordinates). Define
This is well-defined as a function precisely because the coefficients are uniquely determined by . We check is linear using part (d)'s criterion directly (equivalently, checking additivity and homogeneity by hand). Let , , and . Then
by distributivity in , and these are the (unique) basis representations of and respectively. So by definition of ,
using distributivity and scalar-multiplication axioms in . Thus is linear, and by construction for each (taking the representation ). Uniqueness. Suppose is any linear map with for all . For arbitrary , part (c) (already proved, applied to ) gives
Since this holds for every , as functions. This establishes uniqueness, completing the proof.
∎Let and be vector spaces over the same field . Define, for and , the pointwise operations
Then and are themselves linear maps in , and , equipped with these operations, is a vector space over .
We proceed in two stages: first showing is closed under the two operations (i.e., sums and scalar multiples of linear maps are again linear), then verifying the vector space axioms.
Closure. is linear. Let and . Using the definition of , additivity of and of individually, and associativity/commutativity of addition in :
This is additivity for . For homogeneity, using homogeneity of and individually and distributivity of scalars over sums in :
So . is linear. For :
using additivity of and distributivity of the scalar over sums in . For homogeneity, for :
using homogeneity of , associativity of scalar multiplication in acting on , and commutativity of multiplication in . So .
Vector space axioms. We verify each axiom, in each case reducing the claimed identity between functions to the corresponding identity between vectors in , evaluated pointwise, and invoking the fact that is a vector space. 1. Commutativity of addition. For all : , using commutativity of addition in . Since this holds for all , as functions. 2. Associativity of addition. For and all : , using associativity in . 3. Additive identity. Define by for all . This is linear: and , using -type facts in . For any and all : (additive identity axiom in ), so . 4. Additive inverses. For , define . This is linear by the closure argument above applied with (i.e., ), which we've already shown is in . For all : (additive inverse axiom in ), matching the zero map from item 3, so . 5. Multiplicative identity for scalars. for all , using the scalar identity axiom in ; so . 6. Compatibility of scalar multiplication with field multiplication. For : for all , using associativity of scalar multiplication in . Hence . 7. Distributivity over vector addition (in ). for all , using distributivity of over sums in . Hence . 8. Distributivity over scalar addition. for all , using distributivity in . Hence . Every vector space axiom holds for with these operations, and we have already shown closure. Therefore is a vector space over .
∎Worked examples
Example 1: Verifying linearity directly, and computing with basis data. Let and , both over . Define by
Checking linearity. Let , , and . Additivity:
Regrouping each coordinate (using distributivity and commutativity in ):
Homogeneity:
So is linear. Sanity check via Theorem (a). We must have . Indeed . ✓. Using the basis-determination principle. The standard basis of is , , . Compute:
By Theorem (c), for any ,
which matches the original formula exactly — confirming that is fully reconstructed from just three vectors , in agreement with the existence/uniqueness clause of the theorem.
Example 2: Building a linear map from scratch by prescribing basis images, and testing a non-example. Let , the space of real polynomials of degree at most , with basis . Let . Define by prescribing
By the existence/uniqueness clause of the Theorem, this data determines a unique linear map on all of , given explicitly by extending via Theorem (c): for ,
Numerical check. Take , so . Then
Let's verify additivity numerically with , so :
Now , i.e. coefficients , so
Compare to . They agree, confirming additivity in this instance (as guaranteed by the theorem in general). A deliberate non-example, to see where linearity fails. Define by , i.e. . Test additivity with the same above: , so first coordinate of is ; , giving first coordinate . Sum of first coordinates: . But , so has first coordinate . Since , fails additivity and is not linear — the squaring operation breaks the compatibility with vector addition that Theorem (a)–(c) rely on.
The theorem's basis-extension property, and indeed the entire structure of , relies on both additivity and homogeneity holding for all scalars in the field. If we only assume additivity and drop homogeneity, the conclusion that a map is determined by rational or "nice" scalar behavior can fail dramatically, and the map need not respect scalar multiplication by irrational numbers at all. Consider , viewed as a vector space over (this is a legitimate vector space: is a -vector space, using ordinary addition and the restriction of multiplication to rational scalars). It is a classical fact (using the axiom of choice to build a Hamel basis of over ) that there exist functions satisfying
(so is additive, hence automatically -homogeneous: for all , which follows from additivity alone by an induction argument extended to negative and reciprocal rationals) but for which
Such functions (Hamel-basis pathological solutions of Cauchy's functional equation) are wildly discontinuous, non-measurable, and cannot be described by any formula; their graphs are dense in . This shows that additivity alone — without homogeneity holding for the full field of scalars — is not enough to conclude linearity over : such an is a linear map when is regarded as a vector space over , but it is not linear when is regarded as a vector space over itself, precisely because homogeneity fails for irrational scalars. It also shows why Theorem (d)'s hypothesis — preserving combinations for all scalars in the field, not just rational ones — cannot be weakened to rational scalars alone if we want a conclusion about -linearity: the resulting map genuinely fails to be linear over , breaking the basis-determination principle central to the Theorem (a map linear over is not determined by its value on an -basis of , since no such nontrivial finite basis exists over itself, but is instead determined by a Hamel basis, an uncountable and non-constructive object).
Scope, edge cases & common traps
| Situation | What holds | What can go wrong |
|---|---|---|
| over the same field | Definition applies directly | If fields differ (e.g. real, complex without restriction of scalars) "linear map" is undefined until scalars are matched |
| infinite-dimensional | Theorem (c) still holds for finite sums; basis-extension needs care with infinite Hamel bases | Cannot naively extend to infinite linear combinations (convergence is a topological notion, absent in pure algebra) |
| Only additivity assumed, scalars = | Additivity implies -homogeneity automatically | Over or , additivity alone does not imply homogeneity (counterexample above) |
| Always true for linear | Common trap: treating as part of the definition; it is a consequence, and checking it is a quick necessary (not sufficient) test for linearity | |
| Prescribing images of a spanning set that is not independent | Extension may not exist or may be non-unique | Basis-extension theorem requires linear independence and spanning; a mere spanning set overdetermines |
The mathematician behind it
Origins · 1 minHermann Grassmann and how this was discovered
Grassmann developed, in his 1844 treatise Die lineale Ausdehnungslehre ("The Theory of Linear Extension"), an abstract algebra of vectors, linear combinations, and multi-dimensional extension that anticipated the modern axiomatic notion of vector space and linear map by more than half a century. His work was so far ahead of the notational and conceptual conventions of his time that it was largely ignored by contemporaries, and Grassmann spent much of his career as a secondary-school teacher, later turning to Sanskrit philology, where he achieved more immediate recognition. It was only after his death, as mathematicians like Giuseppe Peano formalized vector spaces axiomatically, that the depth of Grassmann's ideas — including a precursor to the very additivity-and-homogeneity structure central to this article — was fully appreciated.
Why isn't included directly in the definition of a linear map?
Mathematical definitions aim to state the minimal independent conditions from which everything else follows by proof, avoiding redundancy. Additivity and homogeneity alone already force , as shown in Theorem (a): setting in additivity, or setting in homogeneity, both derive it. Including as a third axiom would be logically redundant — it adds no new information beyond what additivity and homogeneity already guarantee. Keeping the definition to exactly two conditions also clarifies why the property holds (it is forced by compatibility with vector addition and scaling), rather than treating it as a separate assumption to check by hand every time.
Is every additive function () automatically linear?
Not in general, though it depends on the field. Over , additivity alone implies homogeneity for all rational scalars, by an induction and division argument, so additive maps between -vector spaces are automatically linear. Over or , however, additivity does not imply homogeneity for irrational or non-rational scalars in general; pathological additive-but-non-linear functions exist, constructed using a Hamel basis of over (see the counterexample above). Such functions are extremely irregular — non-measurable and discontinuous everywhere — and never arise in ordinary calculations, but their existence shows homogeneity is a logically independent axiom, not a free consequence of additivity over general fields.
Why does the vector space structure on matter, beyond being a curiosity?
Once is known to be a vector space, all the machinery of linear algebra — bases, dimension, subspaces, linear maps between spaces of linear maps — applies to collections of linear maps, not just to individual ones. This is the first step toward showing that is isomorphic to a space of matrices once bases are chosen, with in the finite-dimensional case. It also justifies operations engineers and physicists use constantly, such as superposing two linear systems () or rescaling a linear transformation (), confirming these operations stay within the same well-behaved class of maps.
Does the basis-extension theorem work for infinite-dimensional vector spaces?
Yes, with the same proof structure, provided has a basis in the (possibly infinite) Hamel-basis sense: every vector space has a basis, a fact that for infinite-dimensional spaces requires the axiom of choice (via Zorn's Lemma). Given a basis of (any index set ) and arbitrary vectors in , there is a unique linear map with , because every is still a finite linear combination of basis vectors (this is part of the definition of basis even in infinite dimensions), so Theorem (c)'s finite-sum identity applies unchanged.
Can a linear map send a nonzero vector to zero?
Yes — this does not violate any part of the definition or the theorem proved here. A linear map sending some nonzero to is not injective, but injectivity is a separate property, not implied by linearity itself. For example, the map , , is linear and sends the nonzero vector to . The set of vectors a linear map sends to zero is called its null space (or kernel), and its structure is the subject of Null Space and Injectivity.
How does this relate to matrices?
Once and are finite-dimensional with chosen bases, the basis-extension theorem above shows a linear map is completely encoded by the finite list of vectors (the images of a basis of ), each expressed in coordinates relative to a basis of . Arranging these coordinate vectors as the columns of a rectangular array produces the matrix representing . This correspondence, which turns abstract linear maps into concrete arrays of numbers amenable to computation (row reduction, determinants, eigenvalues), is developed in Examples of Linear Maps and the matrix representation theory that follows.
Why does the counterexample use versus instead of a simpler example?
Because no simple formula-based function can serve as a counterexample here: any additive function built from elementary formulas on (polynomials, exponentials, trigonometric combinations) that is additive turns out to automatically be homogeneous too (in fact, of the form ), a consequence of additivity plus continuity or measurability. To genuinely separate additivity from full homogeneity over , one is forced into a non-constructive object, built from an uncountable Hamel basis via the axiom of choice, since these pathological solutions are provably impossible to describe by any explicit formula, continuous or measurable.