Vector Spaces and Subspaces

Vector spaces are sets equipped with addition and scalar multiplication satisfying eight axioms; subspaces are subsets that are themselves vector spaces under the inherited operations. Key result: a nonempty subset is a subspace iff it is closed under addition and scalar multiplication. Applies anywhere linear structure appears — function spaces, solution sets of linear ODEs, signal processing, quantum mechanics. Axiomatized by Giuseppe Peano (1888), building on work by Hermann Grassmann (1844).

A vector space over a field is a set together with two operations — vector addition and scalar multiplication — satisfying eight axioms that abstract the familiar arithmetic of arrows in the plane. The concept matters because it isolates exactly what is needed to do "linear algebra": once you know something is a vector space, every theorem about dimension, bases, linear maps, and coordinates immediately applies, whether the "vectors" are arrows, polynomials, matrices, or solutions of differential equations. A subspace is a subset that is closed enough under the operations to form a vector space in its own right. The surprising fact: spaces that look wildly different — the plane , degree- polynomials, matrices — are indistinguishable as vector spaces (all isomorphic), so abstract reasoning loses nothing and gains everything.

The Core Insight

Linearity is a structure, not a formula. The eight vector space axioms capture precisely the operations under which "taking linear combinations" makes sense: must again live in the space. Everything in linear algebra — span, independence, basis, dimension, rank — is a consequence of closure under linear combinations. A subspace is just the smallest meaningful self-contained unit carrying this structure.

Formal Statement

Vector Space

Let be a field (typically or ). A vector space over is a set with operations (addition) and (scalar multiplication) such that for all and all :

Additive axioms (making an abelian group):
1
⟳This is an axiom, asserted directly; not derived.
2
⟳Axiom; guarantees unambiguous finite sums.
3
⟳Existence axiom; uniqueness is provable (see proof block).
4
⟳Existence axiom; the inverse is unique once is fixed.
Scalar-multiplication axioms:
5
⟳Axiom linking the two operations.
6
⟳Axiom; here is addition in , not in .
7
⟳Axiom; relates scalar multiplication to multiplication in .
8
⟳Axiom; is the multiplicative identity of . Essential — without it is possible.

Elements of are vectors; elements of are scalars.

Subspace

A subset of a vector space over is a subspace if is itself a vector space under the operations inherited from . Equivalently (the Subspace Test), is a subspace iff:

9
⟳Closure under and suffices; the other axioms are inherited from automatically. See theorem below.

The two closure conditions combine into a single one-line test:

10
⟳Set to get scalar closure; set to get additive closure. Equivalence with [9] is immediate.

Subspace Test

A nonempty subset is a subspace of if and only if it is closed under vector addition and scalar multiplication (equation [10]). In particular every subspace contains .

Why It Holds / Derivation

The closure conditions imply all eight axioms hold in $W$

We show that closure under and (equation [9]) is sufficient for to be a vector space.

Step 1 — . Since , pick any . By scalar closure, . We prove : by [6], ; adding to both sides gives . Hence . Step 2 — additive inverses lie in . For , scalar closure gives . We show : by [6] and [8], . So . Step 3 — closure makes and well-defined operations on . Equation [9] guarantees the results stay inside . Step 4 — the remaining axioms [1],[2],[5],[6],[7],[8] are universally quantified equalities that hold for all elements of . Since , they automatically hold for elements of . No verification is needed.

Therefore satisfies all eight axioms and is a vector space — a subspace of .

Uniqueness of $\mathbf{0}$ and elementary consequences

Uniqueness of zero: Suppose and both satisfy [3]. Then , using [3] twice and [1]. Uniqueness of inverses: If and , then . : by [5]; cancel one copy. or : If , multiply by and use [7],[8]: .

Giuseppe Peano | 1858–1932

Italian mathematician who, in his 1888 book Calcolo geometrico secondo l'Ausdehnungslehre di H. Grassmann, gave the first fully axiomatic definition of a finite-dimensional vector space over the reals — essentially the eight axioms used today, including a precise treatment of linear independence, dimension, and linear maps. Peano recognized that the algebraic essence of Grassmann's geometry could be captured in a short list of axioms, decades before this viewpoint became standard. He also worked on the foundations of arithmetic (the Peano axioms) and constructed the famous space-filling Peano curve.

Building Intuition

Think of a vector space as a playground with two legal moves: you may slide vectors together (addition) and stretch or shrink them (scalar multiplication). The axioms are the rulebook ensuring these moves never throw you off the playground and always behave predictably. A subspace is a smaller region of the same playground that you can never leave using legal moves — start anywhere inside it, add and scale to your heart's content, you stay inside.

Geometrically, in the subspaces are exactly: the origin , every line through the origin, every plane through the origin, and all of . The phrase "through the origin" is forced — the origin must belong to any subspace (Step 1 of the proof), so a line or plane missing the origin is not a subspace. This is the single most useful sanity check: if it doesn't contain , it isn't a subspace.

Subspaces of $\mathbb{R}^3$: only flat objects through the origin qualify

x z y plane (subspace) line (subspace) 0 (origin) line not through 0 — NOT a subspace

Worked Examples

Is a plane a subspace of $\mathbb{R}^3$?

Given: . Determine whether is a subspace. Step 1 — nonempty / contains : gives . ✓ So . Step 2 — additive closure: Take , in , so and . Then for :
✓ Step 3 — scalar closure: For , :
✓ Boxed answer:

(The key feature: the defining equation is homogeneous — equals zero. A nonzero right-hand side, e.g. , fails Step 1.)

A subspace of a function space, with a dimension count

Given: Let , the space of real polynomials of degree . Let
Show is a subspace and find its dimension. Step 1 — closure: Write . The conditions are linear in the coefficients:
If satisfy both equations then does too, since each condition is a homogeneous linear equation in the coefficients. Hence is a subspace (and contains the zero polynomial). Step 2 — solve the constraints: From and , we get . Free parameters: . General element:
Step 3 — read off a basis: spans and is linearly independent. Boxed answer:

(Check: ; two independent constraints drop the dimension by , giving . ✓)

Common Misconceptions

A subspace must contain the zero vector — always check this first. It is the fastest disqualifier. Sets defined by non-homogeneous equations ( with ), the first quadrant of (fails scalar closure under negative scalars), the unit circle, and any line not through the origin are not subspaces. Closure must hold for all scalars in the field , not just positive ones, not just integers. The set is closed under addition but fails . Axiom [8], , cannot be dropped. Without it, pathological "spaces" exist where for all ; these satisfy axioms [1]–[7] but are not what we want. The empty set is not a subspace (it fails / lacks ), but — the trivial subspace — is.

A set closed under addition but not a subspace

Let , the closed first quadrant. It is closed under addition: summing two vectors with nonnegative components gives nonnegative components. It contains . Yet it is not a subspace, because scalar multiplication by fails: but . This shows additive closure plus containing is not enough — scalar closure for all scalars is essential.

Union of two subspaces usually fails

Let (the -axis) and (the -axis), both subspaces of . Their union is not a subspace: and , but their sum lies on neither axis. (In general is a subspace iff or .) The correct subspace-producing operation is the sum , which here equals all of .

Connections

Vector spaces are the stage on which the rest of linear algebra is performed. A subspace is generated by taking the Span and Linear Combinations of any set of vectors, and the size of a minimal spanning set is governed by Linear Independence and Basis, leading directly to Dimension of a Vector Space. Maps that respect the structure are Linear Transformations, whose kernel and image are themselves subspaces — connecting to the Rank-Nullity Theorem. When the field is or and an inner product is added, subspaces acquire orthogonal complements (Inner Product Spaces). The intersection of two subspaces is always a subspace, while their union rarely is; the corrective operation is the Sum and Direct Sum of Subspaces.

Real-World Applications

  1. Quantum mechanics — physical states are unit vectors in a complex Hilbert (vector) space; superposition is literally a linear combination, and observables' eigenspaces are subspaces.
  2. Signal processing & JPEG/MP3 compression — signals are vectors; restricting to a low-dimensional subspace (e.g. dominant Fourier or DCT components) achieves lossy compression.
  3. Solutions of homogeneous linear ODEs — the set of solutions of forms a 2-dimensional vector space; the general solution is a basis-spanned combination.
  4. Machine learning — PCA — Principal Component Analysis finds the best-fitting low-dimensional subspace approximating high-dimensional data.
  5. Computer graphics — 3D transformations act on the vector space (or with homogeneous coordinates); rotations preserve subspaces.
  6. Error-correcting codes — linear codes (Hamming, Reed–Solomon) are subspaces of ; their dimension determines the information rate.
  7. Control theory — controllable and unobservable subspaces of a linear system determine which states can be steered or detected.

Historical Development

  • 1843–1844 — Hermann Grassmann publishes Die lineale Ausdehnungslehre, introducing -dimensional spaces and linear combinations far ahead of his time; the work is largely ignored due to its difficulty.
  • 1844 — William Rowan Hamilton discovers quaternions, an early example of structure that is a real vector space (and more).
  • 1857 — Arthur Cayley develops matrix algebra, providing concrete realizations of linear maps on .
  • 1888 — Giuseppe Peano gives the first modern axiomatic definition of a (finite-dimensional) vector space over , including dimension and linear maps.
  • 1898 — Cesare Burali-Forti and others extend and popularize Peano's vectorial calculus.
  • 1918 — Hermann Weyl, in Raum, Zeit, Materie, uses axiomatic vector spaces in the foundations of relativity.
  • 1920s — Stefan Banach and Hans Hahn develop infinite-dimensional normed vector spaces, founding functional analysis.
  • 1932 — Banach's Théorie des opérations linéaires codifies the abstract theory of (complete normed) vector spaces.
  • 1930s–1940s — Vector spaces over arbitrary fields become standard in abstract algebra textbooks (van der Waerden, Bourbaki), cementing the modern viewpoint.

Subtleties & Limits

Infinite dimensions break intuition. Every vector space has a basis — but proving this in infinite dimensions requires the Axiom of Choice (it is in fact equivalent to it, a result of Andreas Blass, 1984). Such a "Hamel basis" for over , or for spaces like , cannot be exhibited explicitly; it is purely non-constructive. Subspaces in infinite dimensions need not be closed. In a normed infinite-dimensional space, a subspace can be dense (its closure is the whole space) yet proper — e.g. the polynomials inside . This forces functional analysis to distinguish algebraic subspaces from closed subspaces, a distinction invisible in finite dimensions. Over finite fields, counting subspaces leads to Gaussian binomial coefficients and deep combinatorics (matroid theory, the -analogue program), and questions about the lattice of subspaces connect to projective geometry and unresolved problems in combinatorial design theory.

See Also

Span and Linear Combinations · Linear Independence and Basis · Dimension of a Vector Space · Linear Transformations · Rank-Nullity Theorem · Sum and Direct Sum of Subspaces · Inner Product Spaces · Quotient Spaces

Before this

Where this leads