Examples of Linear Maps
Consider a function that takes a polynomial and returns its derivative. Is this an arbitrary rule? Or does it obey the same algebraic laws as multiplying a vector by a matrix? A remarkable fact underlies nearly all of applied and pure linear algebra. Differentiation, integration, coordinate shifts, and projections are all instances of one concept. That concept is the linear map. Recognizing this lets a student transfer theorems proved once, abstractly. Those theorems then apply to differential equations, signal processing, geometry, and probability. No reproving is needed from scratch. This matters because linear algebra earns its power from abstraction. A theorem about linear maps between arbitrary vector spaces applies automatically. It covers differentiation on polynomials and right-shifts on infinite sequences. It also covers orthogonal projection onto a plane in . This holds the instant each case satisfies the two defining axioms. The examples in this article are the load-bearing test cases. They are simple enough to check by hand. Yet they are rich enough to illustrate every phenomenon that appears in the general theory. This includes kernels, images, non-injectivity, and non-surjectivity. The big picture is this: a linear map is any function between vector spaces. It must respect addition and scalar multiplication. Once a map is known to be linear, an enormous machine becomes available. This includes matrix representations, rank-nullity, eigentheory, and duality. Before that machine can be built, one needs a stock of concrete, verified examples. Abstract definitions without instances are sterile. Instances without verification are unreliable. This article delivers exactly that. It presents five canonical linear maps: zero, identity, differentiation, integration, shift, and projection. Each is defined precisely. Each is checked rigorously against the linearity axioms. The article also includes a general theorem characterizing linearity. It provides two fully worked non-trivial examples. A counterexample shows what fails when linearity is dropped. It closes by pointing toward how these examples become building blocks. Those blocks are for maps determined by their action on a basis.
- A linear map must satisfy and for all vectors and scalars.
- The zero map and identity map are the trivial but indispensable extremes of the linear map universe.
- Differentiation and integration are linear maps on spaces of polynomials or functions.
- The shift map on sequences illustrates linear maps that are injective-but-not-surjective, or the reverse, depending on direction.
- Projections onto a subspace along a complementary subspace are linear, idempotent (), and geometrically fundamental.
- Key idea: linearity is a checkable algebraic property, and once verified for a map built from calculus or geometry, the entire linear-algebra toolkit applies to it for free.
Where this lives today
Differentiation and integration as linear maps underlie the entire theory of linear differential equations: writing for the derivative operator, an equation like becomes , turning solving the ODE into finding the kernel of a linear map — precisely the technique used across engineering and physics. In quantum mechanics, physical observables are modeled as linear operators on Hilbert spaces of wavefunctions, with differentiation operators representing momentum. In signal processing and cryptography, shift maps on sequences model delay lines and linear feedback shift registers, the latter foundational to stream ciphers. In computer graphics and computer vision, projection maps (often orthogonal projections rather than oblique ones) are used constantly to render 3D scenes onto 2D image planes, and to reduce data dimensionality via projection onto subspaces. In statistics, projection matrices are the essential tool in least-squares regression, projecting an observed data vector onto the column space of a design matrix. All of these depend, at bottom, on the fact — established here and generalized in linear maps determined by their action on a basis — that once a handful of canonical examples are shown to be linear, an entire structural theory (rank-nullity, invertibility, matrix representation) becomes available to analyze them.
Ask the tutor: Can you show me how to build the matrix of the differentiation map on from first principles, using the basis ?
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 for all and all scalars : 1. Additivity: . 2. Homogeneity: . Equivalently, is linear if and only if
The set of all linear maps from to is denoted .
Intuition
A linear map is a function that "commutes" with the two basic vector-space operations: it does not matter whether you add vectors first and then apply the map, or apply the map first and then add the results — the answer is the same. The same holds for scaling. This single requirement is extraordinarily restrictive: most functions one writes down (squaring, taking absolute value, adding a constant) fail it instantly. What makes calculus and geometry rich sources of linear maps is that several of their most basic operations do satisfy it, essentially because differentiation and integration are themselves defined through limits of sums and scalar multiples, and geometric projection is defined through a linear decomposition of space. It helps to picture the vector space of polynomials of degree at most , with basis , as a -dimensional coordinate space with axes labeled by these basis vectors. Differentiation moves each axis one slot to the left and rescales it, mapping , , and so on. Integration (with the convention of integrating from ) moves each axis one slot to the right and rescales oppositely. This "shift-and-scale" picture is exactly analogous to the sequence-shift map, which simply moves coordinates without rescaling — the same underlying mechanism, dressed differently. Projection is the geometric heart of the story: decompose space into two complementary directions, keep the component along one direction, and discard the component along the other. The picture below shows this in the plane, projecting onto the -axis along the direction of a line of slope .
Central Theorem
Let be a field, and let be vector spaces over .
(a) A function is linear if and only if for all and all ,
(b) If is linear, then .
(c) The following six maps are linear: (i) The zero map defined by for all . (ii) The identity map defined by for all . (iii) Differentiation , , where denotes real polynomials of degree at most (and ). (iv) Integration , . (v) The right-shift map on the space of all sequences , defined by
(vi) The projection map onto a subspace along a complementary subspace , whenever , defined by for the unique decomposition with .
Proof of (a). () Suppose is linear, i.e., satisfies additivity and homogeneity. Let and . Then
() Suppose for all , . Setting gives additivity: . Setting (and using that the zero scalar times any vector of is , plus additivity/homogeneity is not yet assumed—so we must derive homogeneity directly) gives, with , :
Since in (vector space axioms), the left side is . Hence , which is homogeneity. This proves the equivalence. (for part (a))
Proof of (b). Since is linear, apply homogeneity with and any vector :
using the vector space fact that for any , and that for any (both standard consequences of the vector space axioms, proved independently of linear maps).
Proof of (c). We verify each map using criterion (a): show . (i) Zero map. For any , :
using that scaled by anything, or summed with itself scaled, remains . So is linear. (ii) Identity map. For any , :
directly from the definition . So is linear. (iii) Differentiation. Let and . Write and . Then
which is a polynomial of degree at most obtained termwise, by the definitions of scalar multiplication and addition of polynomials (regarded as functions/coefficient tuples). Differentiating termwise (a standard fact from calculus: the derivative of a finite sum is the sum of derivatives, and the derivative of a scalar multiple is the scalar multiple of the derivative — both provable directly from the difference-quotient definition of the derivative via linearity of limits) gives
Since has degree at most , does map into , and the computation shows as polynomials (equal at every , hence equal as coefficient sequences). So is linear. (iv) Integration. Let , . By linearity of the (Riemann) integral in its integrand — a standard fact from calculus, itself proved from linearity of Riemann sums and limits —
Since is a polynomial of degree at most with zero constant term, maps into , and the identity above holds for every , so as polynomials. So is linear. (v) Shift map. Let , and . By the coordinatewise definitions of vector addition and scalar multiplication on ,
Then, directly from the definition of ,
On the other hand,
again by coordinatewise addition and scaling. The two sequences agree in every coordinate, hence are equal. So is linear. (vi) Projection. Since (direct sum), every has a unique decomposition with , ; this uniqueness is precisely what makes a well-defined function. To check linearity, let and be the decompositions of (with , ), and let . Since and are subspaces, and (closure under linear combinations). Moreover
which exhibits as a sum of an element of and an element of . By the uniqueness of such decompositions for , this must be the decomposition of . Hence
So is linear. This also shows is idempotent, : for , its own decomposition is , so , and thus for every .
∎Worked examples
Example 1: Differentiation and integration on , tracked through an explicit non-symmetric polynomial. Let , and let be differentiation and be integration from . Compute , then , and compare to . Step 1 — differentiate termwise:
Step 2 — integrate from :
Comparing to the original , we find
so is not the identity map: it recovers only up to the loss of the constant term . This is expected because kills constants (its kernel is exactly , the constants), so information about the constant term of cannot survive differentiation; integrating back in cannot restore what was destroyed. Concretely this also verifies that is not injective: but . By contrast, compute for :
Here exactly: integrating first and then differentiating does recover the original polynomial, because introduces no ambiguity ( is injective, as it always produces a polynomial with zero constant term uniquely determined by ), and differentiation exactly undoes the antiderivative operation by the Fundamental Theorem of Calculus. This asymmetry, but , is a first hint of the difference between one-sided inverses and true inverses, to be developed once invertibility of linear maps is formally treated.
Example 2: A non-trivial oblique projection on , computed on an explicit vector. Let and . First check : the vectors and are linearly independent (neither is a scalar multiple of the other, since ), and two linearly independent vectors in a -dimensional space span it, so and (an element of both would have to be a multiple of and of simultaneously, forcing it to be by the independence just noted). Hence the direct sum decomposition holds and the oblique projection onto along is well defined. Take . We must write for scalars , i.e., solve
From the second equation, . Substituting into the first:
Then . Check: . ✓. So the decomposition is , and by definition
As a sanity check on idempotence, apply again: since , its own decomposition is , so , matching proved in general above. Notice also that this projection is not the familiar orthogonal projection (which would use the standard inner product and project along the perpendicular direction); it is genuinely oblique, projecting along , illustrating that "projection" in the linear-algebra sense depends on the choice of complementary subspace, not merely on .
Suppose we relax the definition of linear map by requiring only additivity, for all , without requiring for all scalars . Does additivity alone force homogeneity, making the extra axiom redundant? Consider , viewed as vector spaces over — wait, to make the failure sharpest, consider as vector spaces over itself (the "expected" field), and define
Check additivity: for ,
using the standard fact that conjugation distributes over addition. So is additive. Now check homogeneity over : take and . Then
while
Since (as in ), we have . So is additive but not homogeneous over , hence not a -linear map, even though it satisfies half the definition perfectly. This shows that additivity alone is strictly weaker than linearity: dropping the homogeneity requirement (or trying to derive it from additivity alone, over an infinite field like or ) is unjustified in general, and the two axioms in the definition of linear map are independently necessary. (Additive-but-not-homogeneous maps do exist over -vector spaces satisfying homogeneity for rational scalars automatically — a classical fact tied to the axiom of choice — but conjugation already gives an elementary, choice-free counterexample once the scalar field is enlarged to include .)
Scope, edge cases & common traps
| Situation | What to watch for |
|---|---|
| Differentiation on | is not injective: kernel is the constants . Also note codomain shrinks: degree drops by one. |
| Integration on | is injective but not surjective onto (image misses polynomials with nonzero constant term). |
| Shift map on | (right-shift) is injective but not surjective (nothing maps to a sequence with nonzero first entry); the left-shift is surjective but not injective. Don't conflate the two shifts. |
| Oblique projection | Depends on both and the complement ; changing while fixing changes entirely (it is not simply "the projection onto "). |
| Zero map on the zero vector space | Still linear, trivially; do not think linearity requires . |
| Additivity alone | Does not imply linearity over general fields (see counterexample); do not assume the two axioms are redundant. |
The mathematician behind it
Origins · 1 minHermann Grassmann and how this was discovered
Hermann Grassmann worked largely outside the mainstream mathematical establishment of his time, as a secondary-school teacher in Stettin, yet produced in his 1844 treatise Die lineale Ausdehnungslehre ("The Theory of Linear Extension") a strikingly modern and general theory of vector spaces, linear dependence, dimension, and what we would now call linear maps between abstract spaces of arbitrary dimension, well before these ideas were standard. His work was so far ahead of contemporary notation and exposition that it was largely ignored for decades, and Grassmann eventually redirected much of his energy toward Sanskrit philology, where he achieved recognition more readily. Only later, through the influence of mathematicians such as Giuseppe Peano — who gave a cleaner axiomatic treatment of vector spaces — did Grassmann's ideas about linear structure become absorbed into the mainstream, feeding directly into the abstract formulation of linear maps used throughout modern linear algebra.
Is the zero map really worth calling an "example" of a linear map?
Yes — the zero map for all is linear (trivially, since both sides of additivity and homogeneity reduce to ), and it plays an essential structural role. It is the additive identity of the vector space of all linear maps from to , meaning for every linear map . It also serves as the baseline case in many proofs by induction or in showing a space of linear maps is nonempty. Far from being a degenerate curiosity, it is the anchor point around which the vector space structure of itself is built.
Why is the identity map considered an interesting example if it "does nothing"?
The identity map , , is linear for trivial reasons, but its importance is structural rather than computational. It is the multiplicative identity for composition of linear maps (), it is the canonical example showing every vector space admits at least one linear map to itself (namely itself), and it is the benchmark against which invertibility is defined: a linear map is invertible precisely when there exists with . Without naming explicitly, statements like " is invertible" cannot even be phrased.
Why does differentiation lose information but integration (from a fixed point) does not?
Differentiation is not injective because its kernel contains all constant polynomials: for every constant , so distinct polynomials differing only by a constant have the same derivative. This means the derivative alone cannot recover the original constant term. Integration from a fixed basepoint like , by contrast, is injective on polynomials, because would force by differentiating both sides using proven in the worked example, and this composite equation shows integration introduces no redundancy in its output. The asymmetry is exactly the algebraic shadow of the Fundamental Theorem of Calculus.
Is every projection map necessarily an orthogonal projection?
No. A projection in the linear-algebra sense is any linear map satisfying , arising from a direct sum decomposition by keeping the -component and discarding the -component. The subspace need not be the orthogonal complement of with respect to any inner product; it can be any complementary subspace, as in Example 2 where and are not perpendicular under the standard dot product. Orthogonal projection is the special case where is chosen to be the orthogonal complement of , which requires an inner product structure not assumed here.
Does the shift map on infinite sequences behave differently from a shift on finite-dimensional vectors?
Yes, dramatically. On a finite-dimensional space, a linear map that is injective must automatically be surjective (and vice versa), by the rank-nullity theorem. The right-shift on is injective (if then comparing all coordinates forces ) but is not surjective, since no sequence can have a nonzero first coordinate. This is only possible because is infinite-dimensional; rank-nullity simply does not apply, and injective-implies-surjective fails. This example is often the first place students see finite- and infinite-dimensional linear algebra diverge sharply.
How do these examples connect to matrices?
Each linear map here between finite-dimensional spaces (differentiation and integration on , and the projection on ) can be represented, once bases are fixed, by an explicit matrix whose columns record the images of basis vectors. For instance, differentiation on with basis has matrix mapping coefficient vectors to coefficient vectors. This translation — from an abstract linear rule to a concrete array of numbers — is exactly the content of representing linear maps determined by their action on a basis, the natural next topic after mastering these examples.
Why bother proving linearity for maps as "obvious" as differentiation?
Because "obvious" is not a proof, and the value of identifying a map as linear is that it unlocks every theorem already proved for abstract linear maps — rank-nullity, matrix representability, eigentheory — without redoing the work in each new context. The verification is also cheap: checking takes only a few lines using linearity of derivatives from calculus, and it converts an intuitive fact ("derivatives add up") into a rigorous algebraic guarantee that licenses using the full linear-algebra toolkit on differential equations, exactly as done in every course on ODEs and quantum mechanics.