Vector Spaces

⚡ Key Takeaways

A vector space is a set equipped with addition and scalar multiplication that satisfy eight axioms, generalizing the arithmetic of arrows in the plane to any setting — polynomials, functions, matrices, solutions of linear differential equations. Key result: every vector space has a basis, and its dimension (the size of any basis) is a well-defined invariant. Applies in: all of linear algebra, functional analysis, quantum mechanics, coding theory, computer graphics. Who/when: axiomatized by Giuseppe Peano (1888), building on Hamilton, Grassmann, and Cayley.

💡 The Core Insight

A vector space strips away everything specific about "arrows" and keeps only the rules of combination: you can add any two elements and scale any element, and these operations interact predictably (associativity, distributivity, identities, inverses). Once you accept those rules, every theorem about linear combinations, spans, independence, bases, and dimension follows — and applies identically to geometric vectors, polynomials, functions, and infinite sequences. Linearity is not a property of arrows; it is an abstract structure, and arrows are just one model of it.

Formal Statement

DefinitionVector Space

Let FF be a field (typically R\mathbb{R} or C\mathbb{C}). A vector space over FF is a set VV together with two operations,

1
+:V×V→V,⋅:F×V→V,\quad +: V \times V \to V, \qquad \cdot: F \times V \to V,

Derivation hint: these are the defining data; closure under both operations is built into the codomain VV. such that for all u,v,w∈V\mathbf{u}, \mathbf{v}, \mathbf{w} \in V and all a,b∈Fa, b \in F the following eight axioms hold:

2
(u+v)+w=u+(v+w)(associativity of +)\quad (\mathbf{u}+\mathbf{v})+\mathbf{w} = \mathbf{u}+(\mathbf{v}+\mathbf{w}) \quad\text{(associativity of }+)

Derivation hint: grouping of repeated additions is irrelevant — inherited from the abelian-group structure.

3
u+v=v+u(commutativity of +)\quad \mathbf{u}+\mathbf{v} = \mathbf{v}+\mathbf{u} \quad\text{(commutativity of }+)

Derivation hint: order of addition does not matter.

4
∃ 0∈V: v+0=v(additive identity)\quad \exists\, \mathbf{0}\in V:\ \mathbf{v}+\mathbf{0} = \mathbf{v} \quad\text{(additive identity)}

Derivation hint: the zero vector is a distinguished element fixed by all additions.

5
∀v ∃(−v): v+(−v)=0(additive inverse)\quad \forall \mathbf{v}\,\exists (-\mathbf{v}):\ \mathbf{v}+(-\mathbf{v}) = \mathbf{0} \quad\text{(additive inverse)}

Derivation hint: every element has an opposite; together with [2]–[4] this makes (V,+)(V,+) an abelian group.

6
a⋅(u+v)=a⋅u+a⋅v(distributivity over vector addition)\quad a\cdot(\mathbf{u}+\mathbf{v}) = a\cdot\mathbf{u} + a\cdot\mathbf{v} \quad\text{(distributivity over vector addition)}

Derivation hint: scaling a sum scales each part.

7
(a+b)⋅v=a⋅v+b⋅v(distributivity over field addition)\quad (a+b)\cdot\mathbf{v} = a\cdot\mathbf{v} + b\cdot\mathbf{v} \quad\text{(distributivity over field addition)}

Derivation hint: splitting the scalar splits the result.

8
\quad (ab)\cdot\mathbf{v} = a\cdot(b\cdot\mathbf{v}), \qquad 1\cdot\mathbf{v} = \mathbf{v} \quad\text{(compatibility & unit)}

Derivation hint: scalar multiplication respects field multiplication, and the field's unit acts trivially. Elements of VV are vectors; elements of FF are scalars.

DefinitionSubspace, Span, Linear Independence, Basis

A subspace W⊆VW \subseteq V is a nonempty subset closed under addition and scalar multiplication (hence itself a vector space). Given vectors v1,…,vn\mathbf{v}_1,\dots,\mathbf{v}_n, a linear combination is

9
∑i=1naivi,ai∈F,\quad \sum_{i=1}^{n} a_i \mathbf{v}_i, \qquad a_i \in F,

Derivation hint: closure axioms guarantee any finite linear combination lands back in VV. Their span is the set of all such combinations, the smallest subspace containing them. The set is linearly independent if

10
∑i=1naivi=0   ⟹   a1=⋯=an=0.\quad \sum_{i=1}^{n} a_i \mathbf{v}_i = \mathbf{0} \ \implies\ a_1=\cdots=a_n=0.

Derivation hint: the only "way to make zero" is the trivial way; otherwise one vector is redundant. A basis is a linearly independent spanning set; the dimension dim⁡V\dim V is the cardinality of any basis.

TheoremExistence and Invariance of Dimension

Every vector space has a basis (assuming the Axiom of Choice for infinite-dimensional spaces). Moreover, any two bases of the same vector space have the same cardinality. Hence dimension is a well-defined invariant, and two vector spaces over the same field are isomorphic if and only if they have the same dimension.

Why It Holds / Derivation

ProofTwo finite bases have equal size (Steinitz Exchange)

We prove the finite-dimensional case: if B={b1,…,bm}B = \{\mathbf{b}_1,\dots,\mathbf{b}_m\} spans VV and L={l1,…,ln}L = \{\mathbf{l}_1,\dots,\mathbf{l}_n\} is linearly independent, then n≤mn \le m. 1. Since BB spans, write l1=∑iaibi\mathbf{l}_1 = \sum_i a_i \mathbf{b}_i. Independence of LL forces l1≠0\mathbf{l}_1 \ne \mathbf{0}, so some coefficient ak≠0a_k \ne 0. Solve for bk\mathbf{b}_k in terms of l1\mathbf{l}_1 and the other bi\mathbf{b}_i. 2. Exchange step: replacing bk\mathbf{b}_k by l1\mathbf{l}_1 yields a new set B1B_1 that still spans VV (anything expressible via bk\mathbf{b}_k is now expressible via l1\mathbf{l}_1 and the rest). 3. Repeat: express l2\mathbf{l}_2 in terms of B1B_1. The coefficients of the l\mathbf{l}'s alone cannot vanish (that would contradict independence of LL), so some remaining b\mathbf{b}-coefficient is nonzero, and we exchange another b\mathbf{b} for l2\mathbf{l}_2. 4. Each exchange swaps one lj\mathbf{l}_j into the spanning set in place of a b\mathbf{b}. If n>mn > m we would run out of b\mathbf{b}'s before placing all the l\mathbf{l}'s, forcing a leftover l\mathbf{l} to be a combination of the already-placed ones — contradicting independence. Hence n≤mn \le m. 5. Now apply the result both ways: if BB and B′B' are both bases, each is independent and each spans, so ∣B∣≤∣B′∣|B| \le |B'| and ∣B′∣≤∣B∣|B'| \le |B|. Therefore ∣B∣=∣B′∣|B| = |B'|. ■\blacksquare

∎
mathematician · Giuseppe Peano | 1858–1932

Peano gave the first fully axiomatic definition of a vector space (he called it a "linear system") in his 1888 book Calcolo geometrico, listing essentially the modern axioms — including the abstract treatment of dimension and linear operators — decades before the concept became standard. Better known for his axioms of arithmetic and his space-filling curve, Peano also pioneered the formal, symbol-driven style of mathematical writing. His vector-space axioms were largely ignored at the time; the abstraction only took hold in the 1920s–30s through Banach, Weyl, and van der Waerden.

Building Intuition

🧠 Intuition

Think of a vector space as a set of things you can mix. Two operations are allowed: pour two together (addition) and amplify one (scalar multiplication). The axioms simply say mixing behaves sanely — pouring is order-independent, there is an "empty" element (zero) that changes nothing, every element can be undone, and amplification distributes over mixing. A basis is a minimal set of "pure ingredients" from which every possible mixture can be recreated in exactly one way; the dimension counts those ingredients. The deep point is that the geometry of arrows is not required — polynomials, audio signals, and quantum states all "mix" by the same rules, so all of linear-algebra's machinery transfers to them unchanged.

Figure
A 2D vector space: basis vectors spanning the plane, one vector as a unique linear combination
e₁ e₂ v = 3e₁ + 2e₂ 3e₁ 2e₂ Every point = unique combination of basis vectors

Worked Examples

ExampleVerifying a subspace and finding its dimension

Given: In R3\mathbb{R}^3, let W={(x,y,z):x+2y−z=0}W = \{(x,y,z) : x + 2y - z = 0\}. Is WW a subspace, and what is dim⁡W\dim W?

Steps: 1. Contains zero: (0,0,0)(0,0,0) satisfies 0+0−0=00+0-0=0. ✓ 2. Closed under addition: if (x1,y1,z1)(x_1,y_1,z_1) and (x2,y2,z2)(x_2,y_2,z_2) both satisfy the equation, add them: (x1+x2)+2(y1+y2)−(z1+z2)=0+0=0(x_1+x_2)+2(y_1+y_2)-(z_1+z_2) = 0+0 = 0. ✓ 3. Closed under scaling: ax+2(ay)−(az)=a(x+2y−z)=a⋅0=0a x + 2(ay) - (az) = a(x+2y-z) = a\cdot 0 = 0. ✓ So WW is a subspace. 4. Find a basis: solve z=x+2yz = x + 2y, with x,yx,y free. Then

11
(x,y,z)=x(1,0,1)+y(0,1,2).\quad (x,y,z) = x(1,0,1) + y(0,1,2).

Derivation hint: substitute z=x+2yz=x+2y and split the free parameters. 5. The two vectors (1,0,1)(1,0,1) and (0,1,2)(0,1,2) span WW and are independent (neither is a scalar multiple of the other).

Answer: W is a subspace with dim⁡W=2\boxed{W \text{ is a subspace with } \dim W = 2} (a plane through the origin).

ExamplePolynomials as a vector space — dimension by counting

Given: P3={a0+a1t+a2t2+a3t3:ai∈R}P_3 = \{a_0 + a_1 t + a_2 t^2 + a_3 t^3 : a_i \in \mathbb{R}\}, polynomials of degree ≤3\le 3. Show it is a vector space and find dim⁡P3\dim P_3. Then express p(t)=2−t+4t3p(t) = 2 - t + 4t^3 in the standard basis.

Steps: 1. Sum of two such polynomials is again degree ≤3\le 3; scalar multiple likewise. The eight axioms hold because polynomial addition and scaling are just coefficient-wise operations on R4\mathbb{R}^4. 2. The set {1,t,t2,t3}\{1, t, t^2, t^3\} spans (by definition) and is independent: a polynomial is the zero function only when all coefficients vanish. So it is a basis.

12
dim⁡P3=4.\quad \dim P_3 = 4.

Derivation hint: count the basis monomials t0,t1,t2,t3t^0,t^1,t^2,t^3. 3. Coordinate vector of pp relative to {1,t,t2,t3}\{1,t,t^2,t^3\}:

13
[p]=(2, −1, 0, 4).\quad [p] = (2,\,-1,\,0,\,4).

Derivation hint: read off the coefficients in order, inserting 00 for the missing t2t^2 term.

Answer: dim⁡P3=4,[p]{1,t,t2,t3}=(2,−1,0,4)\boxed{\dim P_3 = 4,\quad [p]_{\{1,t,t^2,t^3\}} = (2,-1,0,4)}. Note P3≅R4P_3 \cong \mathbb{R}^4 as vector spaces.

Common Misconceptions

⚠️ Common mistake

"Vectors are arrows / lists of numbers." They need not be either. Functions, matrices, infinite sequences, and polynomials are vectors in their own spaces. The word "vector" means any element of a vector space. Conversely, not every set of tuples is a subspace: a subspace must contain 0\mathbf{0} and be closed under both operations. A line not through the origin is not a subspace (it fails to contain zero), even though it "looks like" a line of vectors.

⚠️ Common mistake

"dim⁡\dim always equals the number of coordinates." The ambient Rn\mathbb{R}^n has dimension nn, but a subspace inside it can have any dimension from 00 to nn. Also, the zero vector space {0}\{\mathbf{0}\} has dimension 00 — its only basis is the empty set, not {0}\{\mathbf{0}\} (which is linearly dependent since 1⋅0=01\cdot\mathbf{0}=\mathbf{0}).

Counterexample

A "vector space" that fails an axiom. Let V=R2V = \mathbb{R}^2 with usual addition but redefine scaling as a⊙(x,y)=(ax,0)a \odot (x,y) = (ax, 0). Then axiom [8]'s unit law fails: 1⊙(x,y)=(x,0)≠(x,y)1 \odot (x,y) = (x,0) \ne (x,y). Despite "looking like" R2\mathbb{R}^2, this structure is not a vector space — confirming that all eight axioms must be checked, not just closure and the obvious-looking ones.

Connections

connection

Vector spaces are the objects of Linear Algebra; the structure-preserving maps between them are Linear Transformations, represented in coordinates by Matrices. Adding a notion of length and angle yields Inner Product Spaces, and completing those metrically gives Hilbert Spaces and Banach Spaces, the home of Functional Analysis. The set of all linear maps V→FV \to F forms the Dual Space, and the rank–nullity theorem links the dimensions of Kernel and Image. Generalizing the scalar field FF to an arbitrary ring produces Modules, of which vector spaces are the special "field" case.

Real-World Applications

🔬 Where this appears

Historical Development

⏳ History
- 1827 — August Möbius introduces barycentric coordinates, an early hint of coordinatized affine/vector structure.
- 1843 — William Rowan Hamilton discovers quaternions, the first non-commutative algebra with vector-like addition.
- 1844 — Hermann Grassmann publishes Die lineale Ausdehnungslehre, developing nn-dimensional spaces, linear independence, and the exterior product — far ahead of its time and largely unread.
- 1850s — Arthur Cayley and James Sylvester develop matrix theory, providing the operator side of linear algebra.
- 1888 — Giuseppe Peano gives the first axiomatic definition of an (abstract, possibly infinite-dimensional) vector space in Calcolo geometrico.
- 1918 — Hermann Weyl, in Raum, Zeit, Materie, uses the axiomatic vector-space framework to formulate general relativity's geometry.
- 1920s — Stefan Banach and Hans Hahn develop normed/complete vector spaces, founding functional analysis.
- 1930 — Bartel van der Waerden's Moderne Algebra canonizes the modern axiomatic treatment, making vector spaces standard undergraduate fare.
- 1932 — John von Neumann gives Hilbert spaces their definitive axioms, grounding quantum mechanics in vector-space language.

Subtleties & Limits

open-problem

For infinite-dimensional spaces the comfortable finite picture frays. The existence of a basis (a Hamel basis) for every vector space is equivalent to the Axiom of Choice — and such bases are non-constructive; no one can write down an explicit Hamel basis for R\mathbb{R} over Q\mathbb{Q}. In functional analysis one therefore prefers topological (Schauder) bases, where infinite linear combinations are allowed via convergence, but these need not exist (Per Enflo's 1973 counterexample showed some Banach spaces have no Schauder basis at all, settling the basis problem negatively). Cardinal arithmetic of dimensions also raises delicate questions: two infinite-dimensional spaces are isomorphic iff their bases have equal cardinality, which can depend on set-theoretic assumptions. These issues mark the boundary where pure linear algebra hands off to functional analysis and set theory.

See Also

Linear Algebra · Linear Transformations · Basis and Dimension · Inner Product Spaces · Dual Space · Hilbert Spaces · Modules · Fields