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 R3\mathbb{R}^3. 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.

Key takeaways
  • A linear map T:V→WT: V \to W must satisfy T(u+v)=T(u)+T(v)T(u+v) = T(u) + T(v) and T(cv)=cT(v)T(cv) = cT(v) for all vectors and scalars.
  • The zero map and identity map are the trivial but indispensable extremes of the linear map universe.
  • Differentiation D(p)=p′D(p) = p' and integration I(p)=∫0xpI(p) = \int_0^x p 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 (P2=PP^2 = P), 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 DD for the derivative operator, an equation like y′′−3y′+2y=0y'' - 3y' + 2y = 0 becomes (D2−3D+2I)(y)=0(D^2 - 3D + 2I)(y) = 0, 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 DD on P3(R)\mathcal{P}_3(\mathbb{R}) from first principles, using the basis 1,x,x2,x31, x, x^2, x^3?

DefinitionLinear Map

Let VV and WW be vector spaces over the same field F\mathbb{F}. A function T:V→WT: V \to W is called a linear map (or linear transformation) if it satisfies both of the following conditions for all u,v∈Vu, v \in V and all scalars c∈Fc \in \mathbb{F}: 1. Additivity: T(u+v)=T(u)+T(v)T(u + v) = T(u) + T(v). 2. Homogeneity: T(cv)=c T(v)T(cv) = c\,T(v). Equivalently, TT is linear if and only if

T(au+bv)=a T(u)+b T(v)for all u,v∈V, a,b∈F.T(au + bv) = a\,T(u) + b\,T(v) \quad \text{for all } u,v \in V,\ a,b \in \mathbb{F}.

The set of all linear maps from VV to WW is denoted L(V,W)\mathcal{L}(V,W).

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 33, with basis 1,x,x2,x31, x, x^2, x^3, as a 44-dimensional coordinate space with axes labeled by these basis vectors. Differentiation moves each axis one slot to the left and rescales it, mapping x3↦3x2x^3 \mapsto 3x^2, x2↦2xx^2 \mapsto 2x, and so on. Integration (with the convention of integrating from 00) 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 xx-axis along the direction of a line of slope 11.

Figure
Projection of the plane onto the x-axis along the line y = x
x y 0 v₁+v₂ v = (2, 3) along direction (1,1) P(v) = (5, 0)

Central Theorem

TheoremVerification Criterion and Basic Properties of the Canonical Examples

Let F\mathbb{F} be a field, and let V,WV, W be vector spaces over F\mathbb{F}.

(a) A function T:V→WT: V \to W is linear if and only if for all u,v∈Vu,v \in V and all a,b∈Fa,b \in \mathbb{F},

T(au+bv)=aT(u)+bT(v).T(au+bv) = aT(u) + bT(v).

(b) If T:V→WT: V \to W is linear, then T(0V)=0WT(0_V) = 0_W.

(c) The following six maps are linear: (i) The zero map Z:V→WZ: V \to W defined by Z(v)=0WZ(v) = 0_W for all v∈Vv \in V. (ii) The identity map I:V→VI: V \to V defined by I(v)=vI(v) = v for all v∈Vv \in V. (iii) Differentiation D:Pn(R)→Pn−1(R)D: \mathcal{P}_n(\mathbb{R}) \to \mathcal{P}_{n-1}(\mathbb{R}), D(p)=p′D(p) = p', where Pn(R)\mathcal{P}_n(\mathbb{R}) denotes real polynomials of degree at most nn (and n≥1n \ge 1). (iv) Integration J:Pn(R)→Pn+1(R)J: \mathcal{P}_n(\mathbb{R}) \to \mathcal{P}_{n+1}(\mathbb{R}), J(p)(x)=∫0xp(t) dtJ(p)(x) = \int_0^x p(t)\,dt. (v) The right-shift map S:F∞→F∞S: \mathbb{F}^{\infty} \to \mathbb{F}^\infty on the space of all sequences (a1,a2,a3,… )(a_1, a_2, a_3, \dots), defined by

S(a1,a2,a3,… )=(0,a1,a2,… ).S(a_1, a_2, a_3, \dots) = (0, a_1, a_2, \dots).

(vi) The projection map P:F2→F2P: \mathbb{F}^2 \to \mathbb{F}^2 onto a subspace UU along a complementary subspace W′W', whenever F2=U⊕W′\mathbb{F}^2 = U \oplus W', defined by P(u+w)=uP(u + w) = u for the unique decomposition v=u+wv = u + w with u∈U,w∈W′u \in U, w \in W'.

Proof

Proof of (a). (⇒\Rightarrow) Suppose TT is linear, i.e., TT satisfies additivity and homogeneity. Let u,v∈Vu, v \in V and a,b∈Fa, b \in \mathbb{F}. Then

T(au+bv)=T(au)+T(bv)(additivity, applied to the vectors au,bv)T(au + bv) = T(au) + T(bv) \qquad \text{(additivity, applied to the vectors } au, bv\text{)}
=aT(u)+bT(v)(homogeneity, applied twice).= aT(u) + bT(v) \qquad \text{(homogeneity, applied twice)}.

(⇐\Leftarrow) Suppose T(au+bv)=aT(u)+bT(v)T(au+bv) = aT(u)+bT(v) for all u,v∈Vu,v\in V, a,b∈Fa,b\in\mathbb{F}. Setting a=b=1a=b=1 gives additivity: T(u+v)=T(u)+T(v)T(u+v) = T(u)+T(v). Setting b=0b = 0 (and using that the zero scalar times any vector of VV is 0V0_V, plus additivity/homogeneity is not yet assumed—so we must derive homogeneity directly) gives, with u=vu = v, b=0b=0:

T(av+0⋅v)=aT(v)+0⋅T(v)=aT(v).T(av + 0\cdot v) = aT(v) + 0\cdot T(v) = aT(v).

Since av+0⋅v=avav + 0\cdot v = av in VV (vector space axioms), the left side is T(av)T(av). Hence T(av)=aT(v)T(av) = aT(v), which is homogeneity. This proves the equivalence. ■\blacksquare (for part (a))

Proof of (b). Since TT is linear, apply homogeneity with c=0c = 0 and any vector v∈Vv \in V:

T(0V)=T(0⋅v)=0⋅T(v)=0W,T(0_V) = T(0 \cdot v) = 0 \cdot T(v) = 0_W,

using the vector space fact that 0⋅v=0V0\cdot v = 0_V for any vv, and that 0⋅w=0W0 \cdot w = 0_W for any w∈Ww \in W (both standard consequences of the vector space axioms, proved independently of linear maps). ■\blacksquare

Proof of (c). We verify each map using criterion (a): show T(au+bv)=aT(u)+bT(v)T(au+bv) = aT(u)+bT(v). (i) Zero map. For any u,v∈Vu, v \in V, a,b∈Fa,b \in \mathbb{F}:

Z(au+bv)=0W=a⋅0W+b⋅0W=aZ(u)+bZ(v),Z(au+bv) = 0_W = a\cdot 0_W + b \cdot 0_W = aZ(u) + bZ(v),

using that 0W0_W scaled by anything, or summed with itself scaled, remains 0W0_W. So ZZ is linear. (ii) Identity map. For any u,v∈Vu,v \in V, a,b∈Fa,b\in\mathbb{F}:

I(au+bv)=au+bv=a I(u)+b I(v),I(au+bv) = au+bv = a\,I(u) + b\,I(v),

directly from the definition I(v)=vI(v) = v. So II is linear. (iii) Differentiation. Let p,q∈Pn(R)p, q \in \mathcal{P}_n(\mathbb{R}) and a,b∈Ra,b \in \mathbb{R}. Write p(x)=∑k=0nαkxkp(x) = \sum_{k=0}^n \alpha_k x^k and q(x)=∑k=0nβkxkq(x) = \sum_{k=0}^n \beta_k x^k. Then

(ap+bq)(x)=∑k=0n(aαk+bβk)xk,(ap+bq)(x) = \sum_{k=0}^n (a\alpha_k + b\beta_k)x^k,

which is a polynomial of degree at most nn 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

D(ap+bq)(x)=∑k=1nk(aαk+bβk)xk−1=a∑k=1nkαkxk−1+b∑k=1nkβkxk−1=aD(p)(x)+bD(q)(x).D(ap+bq)(x) = \sum_{k=1}^n k(a\alpha_k+b\beta_k)x^{k-1} = a\sum_{k=1}^n k\alpha_k x^{k-1} + b\sum_{k=1}^n k\beta_k x^{k-1} = aD(p)(x) + bD(q)(x).

Since D(p)D(p) has degree at most n−1n-1, DD does map into Pn−1(R)\mathcal{P}_{n-1}(\mathbb{R}), and the computation shows D(ap+bq)=aD(p)+bD(q)D(ap+bq) = aD(p)+bD(q) as polynomials (equal at every xx, hence equal as coefficient sequences). So DD is linear. (iv) Integration. Let p,q∈Pn(R)p,q \in \mathcal{P}_n(\mathbb{R}), a,b∈Ra,b\in\mathbb{R}. By linearity of the (Riemann) integral in its integrand — a standard fact from calculus, itself proved from linearity of Riemann sums and limits —

J(ap+bq)(x)=∫0x(ap(t)+bq(t)) dt=a∫0xp(t) dt+b∫0xq(t) dt=aJ(p)(x)+bJ(q)(x).J(ap+bq)(x) = \int_0^x (ap(t)+bq(t))\,dt = a\int_0^x p(t)\,dt + b\int_0^x q(t)\,dt = aJ(p)(x) + bJ(q)(x).

Since J(p)J(p) is a polynomial of degree at most n+1n+1 with zero constant term, JJ maps into Pn+1(R)\mathcal{P}_{n+1}(\mathbb{R}), and the identity above holds for every xx, so J(ap+bq)=aJ(p)+bJ(q)J(ap+bq) = aJ(p)+bJ(q) as polynomials. So JJ is linear. (v) Shift map. Let u=(u1,u2,… )u = (u_1,u_2,\dots), v=(v1,v2,… )∈F∞v=(v_1,v_2,\dots) \in \mathbb{F}^\infty and a,b∈Fa,b\in\mathbb{F}. By the coordinatewise definitions of vector addition and scalar multiplication on F∞\mathbb{F}^\infty,

au+bv=(au1+bv1, au2+bv2, … ).au+bv = (au_1+bv_1,\ au_2+bv_2,\ \dots).

Then, directly from the definition of SS,

S(au+bv)=(0, au1+bv1, au2+bv2, … ).S(au+bv) = (0,\ au_1+bv_1,\ au_2+bv_2,\ \dots).

On the other hand,

aS(u)+bS(v)=a(0,u1,u2,… )+b(0,v1,v2,… )=(0, au1+bv1, au2+bv2,… ),aS(u)+bS(v) = a(0,u_1,u_2,\dots) + b(0,v_1,v_2,\dots) = (0,\ au_1+bv_1,\ au_2+bv_2,\dots),

again by coordinatewise addition and scaling. The two sequences agree in every coordinate, hence are equal. So SS is linear. (vi) Projection. Since F2=U⊕W′\mathbb{F}^2 = U \oplus W' (direct sum), every v∈F2v \in \mathbb{F}^2 has a unique decomposition v=u+wv = u + w with u∈Uu \in U, w∈W′w \in W'; this uniqueness is precisely what makes P(v):=uP(v) := u a well-defined function. To check linearity, let v=u+wv = u+w and v′=u′+w′v' = u'+w' be the decompositions of v,v′∈F2v,v' \in \mathbb{F}^2 (with u,u′∈Uu,u'\in U, w,w′∈W′w,w'\in W'), and let a,b∈Fa,b \in \mathbb{F}. Since UU and W′W' are subspaces, au+bu′∈Uau+bu' \in U and aw+bw′∈W′aw+bw' \in W' (closure under linear combinations). Moreover

av+bv′=a(u+w)+b(u′+w′)=(au+bu′)+(aw+bw′),av+bv' = a(u+w)+b(u'+w') = (au+bu') + (aw+bw'),

which exhibits av+bv′av+bv' as a sum of an element of UU and an element of W′W'. By the uniqueness of such decompositions for F2=U⊕W′\mathbb{F}^2 = U\oplus W', this must be the decomposition of av+bv′av+bv'. Hence

P(av+bv′)=au+bu′=aP(v)+bP(v′).P(av+bv') = au+bu' = aP(v) + bP(v').

So PP is linear. This also shows PP is idempotent, P2=PP^2 = P: for u∈Uu \in U, its own decomposition is u=u+0u = u + 0, so P(u)=uP(u) = u, and thus P(P(v))=P(u)=u=P(v)P(P(v)) = P(u) = u = P(v) for every vv. ■\blacksquare

∎

Worked examples

Example 1: Differentiation and integration on P3(R)\mathcal{P}_3(\mathbb{R}), tracked through an explicit non-symmetric polynomial. Let p(x)=4x3−3x2+x−7∈P3(R)p(x) = 4x^3 - 3x^2 + x - 7 \in \mathcal{P}_3(\mathbb{R}), and let D:P3(R)→P2(R)D: \mathcal{P}_3(\mathbb{R}) \to \mathcal{P}_2(\mathbb{R}) be differentiation and J:P2(R)→P3(R)J: \mathcal{P}_2(\mathbb{R}) \to \mathcal{P}_3(\mathbb{R}) be integration from 00. Compute D(p)D(p), then J(D(p))J(D(p)), and compare to pp. Step 1 — differentiate termwise:

D(p)(x)=ddx(4x3−3x2+x−7)=12x2−6x+1.D(p)(x) = \frac{d}{dx}\big(4x^3-3x^2+x-7\big) = 12x^2 - 6x + 1.

Step 2 — integrate D(p)D(p) from 00:

J(D(p))(x)=∫0x(12t2−6t+1) dt=[4t3−3t2+t]0x=4x3−3x2+x.J(D(p))(x) = \int_0^x \big(12t^2-6t+1\big)\,dt = \Big[4t^3 - 3t^2 + t\Big]_0^x = 4x^3-3x^2+x.

Comparing to the original p(x)=4x3−3x2+x−7p(x) = 4x^3-3x^2+x-7, we find

J(D(p))(x)=p(x)+7,J(D(p))(x) = p(x) + 7,

so J∘DJ \circ D is not the identity map: it recovers pp only up to the loss of the constant term −7-7. This is expected because DD kills constants (its kernel is exactly P0(R)\mathcal{P}_0(\mathbb{R}), the constants), so information about the constant term of pp cannot survive differentiation; integrating back in cannot restore what was destroyed. Concretely this also verifies that DD is not injective: D(p)=D(p−7)D(p) = D(p-7) but p≠p−7p \neq p - 7. By contrast, compute D(J(q))D(J(q)) for q(x)=2x2−5x+3∈P2(R)q(x) = 2x^2 - 5x + 3 \in \mathcal{P}_2(\mathbb{R}):

J(q)(x)=∫0x(2t2−5t+3) dt=23x3−52x2+3x,J(q)(x) = \int_0^x (2t^2-5t+3)\,dt = \frac{2}{3}x^3 - \frac{5}{2}x^2 + 3x,
D(J(q))(x)=ddx(23x3−52x2+3x)=2x2−5x+3=q(x).D(J(q))(x) = \frac{d}{dx}\left(\frac{2}{3}x^3-\frac{5}{2}x^2+3x\right) = 2x^2 - 5x + 3 = q(x).

Here D(J(q))=qD(J(q)) = q exactly: integrating first and then differentiating does recover the original polynomial, because JJ introduces no ambiguity (JJ is injective, as it always produces a polynomial with zero constant term uniquely determined by qq), and differentiation exactly undoes the antiderivative operation by the Fundamental Theorem of Calculus. This asymmetry, D∘J=ID\circ J = I but J∘D≠IJ \circ D \neq I, 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 R2\mathbb{R}^2, computed on an explicit vector. Let U=span⁡{(1,2)}U = \operatorname{span}\{(1,2)\} and W′=span⁡{(3,1)}W' = \operatorname{span}\{(3,1)\}. First check R2=U⊕W′\mathbb{R}^2 = U \oplus W': the vectors (1,2)(1,2) and (3,1)(3,1) are linearly independent (neither is a scalar multiple of the other, since 1/3≠2/11/3 \neq 2/1), and two linearly independent vectors in a 22-dimensional space span it, so U+W′=R2U + W' = \mathbb{R}^2 and U∩W′={0}U \cap W' = \{0\} (an element of both would have to be a multiple of (1,2)(1,2) and of (3,1)(3,1) simultaneously, forcing it to be 00 by the independence just noted). Hence the direct sum decomposition holds and the oblique projection PP onto UU along W′W' is well defined. Take v=(7,5)v = (7, 5). We must write v=a(1,2)+b(3,1)v = a(1,2) + b(3,1) for scalars a,ba,b, i.e., solve

a+3b=7,2a+b=5.a + 3b = 7, \qquad 2a + b = 5.

From the second equation, b=5−2ab = 5 - 2a. Substituting into the first:

a+3(5−2a)=7 ⟹ a+15−6a=7 ⟹ −5a=−8 ⟹ a=85.a + 3(5-2a) = 7 \ \Longrightarrow\ a + 15 - 6a = 7 \ \Longrightarrow\ -5a = -8 \ \Longrightarrow\ a = \frac{8}{5}.

Then b=5−2⋅85=5−165=95b = 5 - 2\cdot\frac{8}{5} = 5 - \frac{16}{5} = \frac{9}{5}. Check: a(1,2)+b(3,1)=85(1,2)+95(3,1)=(85+275, 165+95)=(355,255)=(7,5)=va(1,2)+b(3,1) = \frac{8}{5}(1,2) + \frac{9}{5}(3,1) = \left(\frac{8}{5}+\frac{27}{5},\ \frac{16}{5}+\frac{9}{5}\right) = \left(\frac{35}{5}, \frac{25}{5}\right) = (7,5) = v. ✓. So the decomposition is v=85(1,2)⏟∈U+95(3,1)⏟∈W′v = \underbrace{\tfrac{8}{5}(1,2)}_{\in U} + \underbrace{\tfrac{9}{5}(3,1)}_{\in W'}, and by definition

P(v)=85(1,2)=(85,165).P(v) = \frac{8}{5}(1,2) = \left(\frac{8}{5}, \frac{16}{5}\right).

As a sanity check on idempotence, apply PP again: since P(v)∈UP(v) \in U, its own decomposition is P(v)=P(v)+0P(v) = P(v) + 0, so P(P(v))=P(v)P(P(v)) = P(v), matching P2=PP^2 = P 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 (3,1)(3,1), illustrating that "projection" in the linear-algebra sense depends on the choice of complementary subspace, not merely on UU.

CounterexampleWhy homogeneity over the full field cannot be dropped

Suppose we relax the definition of linear map by requiring only additivity, T(u+v)=T(u)+T(v)T(u+v) = T(u)+T(v) for all u,vu,v, without requiring T(cv)=cT(v)T(cv) = cT(v) for all scalars cc. Does additivity alone force homogeneity, making the extra axiom redundant? Consider V=W=CV = W = \mathbb{C}, viewed as vector spaces over R\mathbb{R} — wait, to make the failure sharpest, consider V=W=CV = W = \mathbb{C} as vector spaces over C\mathbb{C} itself (the "expected" field), and define

T(z)=z‾(complex conjugation).T(z) = \overline{z} \quad \text{(complex conjugation)}.

Check additivity: for z1,z2∈Cz_1, z_2 \in \mathbb{C},

T(z1+z2)=z1+z2‾=z1‾+z2‾=T(z1)+T(z2),T(z_1+z_2) = \overline{z_1+z_2} = \overline{z_1}+\overline{z_2} = T(z_1)+T(z_2),

using the standard fact that conjugation distributes over addition. So TT is additive. Now check homogeneity over C\mathbb{C}: take c=ic = i and z=1z = 1. Then

T(cz)=T(i)=i‾=−i,T(cz) = T(i) = \overline{i} = -i,

while

c T(z)=i⋅T(1)=i⋅1‾=i⋅1=i.c\,T(z) = i\cdot T(1) = i \cdot \overline{1} = i \cdot 1 = i.

Since −i≠i-i \neq i (as 2i≠02i \neq 0 in C\mathbb{C}), we have T(cz)≠cT(z)T(cz) \neq cT(z). So TT is additive but not homogeneous over C\mathbb{C}, hence not a C\mathbb{C}-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 C\mathbb{C} or R\mathbb{R}) 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 Q\mathbb{Q}-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 ii.)

Scope, edge cases & common traps

SituationWhat to watch for
Differentiation DD on Pn\mathcal{P}_nDD is not injective: kernel is the constants P0(R)\mathcal{P}_0(\mathbb{R}). Also note codomain shrinks: degree drops by one.
Integration JJ on Pn\mathcal{P}_nJJ is injective but not surjective onto Pn+1\mathcal{P}_{n+1} (image misses polynomials with nonzero constant term).
Shift map SS on F∞\mathbb{F}^\inftySS (right-shift) is injective but not surjective (nothing maps to a sequence with nonzero first entry); the left-shift L(a1,a2,… )=(a2,a3,… )L(a_1,a_2,\dots)=(a_2,a_3,\dots) is surjective but not injective. Don't conflate the two shifts.
Oblique projection PPDepends on both UU and the complement W′W'; changing W′W' while fixing UU changes PP entirely (it is not simply "the projection onto UU").
Zero map on the zero vector spaceStill linear, trivially; do not think linearity requires V≠{0}V\neq\{0\}.
Additivity aloneDoes 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
HG
Hermann Grassmann
1809–1877 · German mathematician and linguist, pioneer of linear and multilinear algebra

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.

History
- 1844 — Grassmann publishes the Ausdehnungslehre, introducing an abstract calculus of linear extension in arbitrary dimensions.
- 1858 — Cayley develops matrix algebra, giving a concrete computational vessel for what Grassmann treated abstractly.
- 1888 — Peano gives the first fully explicit modern axioms for vector spaces and linear transformations between them.
- 1900s — Functional analysis (Hilbert, Fredholm) extends "linear map" to infinite-dimensional spaces of functions, formalizing differentiation and integration as linear operators.
- 1930s — von Neumann and others place differentiation and integration operators on rigorous footing within Hilbert space theory, cementing the operator viewpoint used today.
Is the zero map really worth calling an "example" of a linear map?

Yes — the zero map Z(v)=0WZ(v) = 0_W for all v∈Vv \in V is linear (trivially, since both sides of additivity and homogeneity reduce to 0W0_W), and it plays an essential structural role. It is the additive identity of the vector space L(V,W)\mathcal{L}(V,W) of all linear maps from VV to WW, meaning T+Z=TT + Z = T for every linear map TT. 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 L(V,W)\mathcal{L}(V,W) itself is built.

Why is the identity map considered an interesting example if it "does nothing"?

The identity map I:V→VI:V\to V, I(v)=vI(v)=v, is linear for trivial reasons, but its importance is structural rather than computational. It is the multiplicative identity for composition of linear maps (T∘I=I∘T=TT\circ I = I \circ T = T), 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 TT is invertible precisely when there exists T−1T^{-1} with T∘T−1=T−1∘T=IT\circ T^{-1} = T^{-1}\circ T = I. Without naming II explicitly, statements like "TT 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: D(c)=0D(c) = 0 for every constant cc, 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 00, by contrast, is injective on polynomials, because J(p)=J(q)J(p) = J(q) would force p=qp=q by differentiating both sides using D∘J=ID\circ J = I 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 PP satisfying P2=PP^2 = P, arising from a direct sum decomposition V=U⊕W′V = U \oplus W' by keeping the UU-component and discarding the W′W'-component. The subspace W′W' need not be the orthogonal complement of UU with respect to any inner product; it can be any complementary subspace, as in Example 2 where U=span⁡{(1,2)}U=\operatorname{span}\{(1,2)\} and W′=span⁡{(3,1)}W'=\operatorname{span}\{(3,1)\} are not perpendicular under the standard dot product. Orthogonal projection is the special case where W′W' is chosen to be the orthogonal complement of UU, 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 SS on F∞\mathbb{F}^\infty is injective (if S(a)=S(b)S(a) = S(b) then comparing all coordinates forces a=ba=b) but is not surjective, since no sequence S(a)S(a) can have a nonzero first coordinate. This is only possible because F∞\mathbb{F}^\infty 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 Pn(R)\mathcal{P}_n(\mathbb{R}), and the projection on R2\mathbb{R}^2) can be represented, once bases are fixed, by an explicit matrix whose columns record the images of basis vectors. For instance, differentiation on P3(R)\mathcal{P}_3(\mathbb{R}) with basis 1,x,x2,x31,x,x^2,x^3 has matrix (010000200003)\begin{pmatrix}0&1&0&0\\0&0&2&0\\0&0&0&3\end{pmatrix} 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 D(ap+bq)=aD(p)+bD(q)D(ap+bq) = aD(p)+bD(q) 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.

Before this

Where this leads