← Back to College Math

Vector Spaces

College Math · Linear AlgebraPreview

1. Introduction

A vector space is the central abstraction of linear algebra — a setting in which we can add objects together and scale them by numbers, while obeying a short list of natural rules. The objects need not be the familiar arrows of Rn\mathbb{R}^n: they can be polynomials, matrices, continuous functions, or solutions of a differential equation. By stripping away everything except addition and scalar multiplication, the vector-space framework lets a single theory describe all of these at once. A theorem proved about abstract vector spaces applies instantly to every concrete example.

The genius of the theory is that a vast space can be reconstructed from a tiny, finite skeleton. A basis is a minimal set of vectors from which every other vector is built uniquely as a linear combination, and the size of that basis — the dimension — is an intrinsic number that pins down the space up to isomorphism. Concepts like linear independence, span, basis, dimension, and coordinates turn vague geometric intuition ("how many independent directions are there?") into precise, computable algebra.

This article develops the structure rigorously: the vector-space axioms, subspaces and the subspace test, linear combinations and span, linear independence, bases and the uniqueness of coordinates, dimension and its invariance, the four fundamental subspaces of a matrix, and the Rank–Nullity Theorem with proof. The aim is to move fluently between abstract definitions and concrete computations with row reduction.

The vector-space abstraction is what makes linear algebra universal: the same theorems govern arrows in R3\mathbb{R}^3, polynomials, matrices, and solutions of differential equations. Dimension is the precise answer to "how many independent degrees of freedom does this system have?" — a question that arises in physics, computer science, statistics, and engineering.

2. Core Concepts

2.1 The Vector Space Axioms

A vector space VV over a field F\mathbb{F} (usually R\mathbb{R}) is a set with addition u+v\mathbf{u}+\mathbf{v} and scalar multiplication cvc\mathbf{v} satisfying ten axioms: closure, commutativity, associativity, zero vector, additive inverses, distributivity, scalar associativity, and 1v=v1\mathbf{v}=\mathbf{v}.

Familiar examples: Rn\mathbb{R}^n; PnP_n (polynomials of degree n\le n); Mm×nM_{m\times n} (matrices); C[a,b]C[a,b] (continuous functions).

2.2 Subspaces and the Subspace Test

A subspace WVW\subseteq V is a subset that is itself a vector space. Verify with three conditions:

  1. 0W\mathbf{0}\in W;
  2. Closed under addition;
  3. Closed under scalar multiplication.

Examples: lines/planes through the origin; solutions of Ax=0A\mathbf{x}=\mathbf{0}; symmetric matrices in Mn×nM_{n\times n}.

2.3 Linear Combinations and Span

A linear combination is c1v1++ckvkc_1\mathbf{v}_1+\cdots+c_k\mathbf{v}_k. The span is all such combinations: span{v1,,vk}={c1v1++ckvk:ciF}.\operatorname{span}\{\mathbf{v}_1,\dots,\mathbf{v}_k\} = \{\,c_1\mathbf{v}_1+\cdots+c_k\mathbf{v}_k : c_i\in\mathbb{F}\,\}. The span is always a subspace — the smallest subspace containing the given vectors.

2.4 Linear Independence

{v1,,vk}\{\mathbf{v}_1,\dots,\mathbf{v}_k\} is linearly independent if c1v1++ckvk=0c_1\mathbf{v}_1+\cdots+c_k\mathbf{v}_k=\mathbf{0} implies all ci=0c_i=0. Otherwise the set is dependent, and at least one vector is redundant.

2.5 Basis and Coordinates

A basis is a set that is both independent and spanning. Every vV\mathbf{v}\in V has a unique representation v=c1v1++cnvn\mathbf{v}=c_1\mathbf{v}_1+\cdots+c_n\mathbf{v}_n, and (c1,,cn)(c_1,\dots,c_n) are the coordinates in that basis. Standard basis of R3\mathbb{R}^3: {e1,e2,e3}\{\mathbf{e}_1,\mathbf{e}_2,\mathbf{e}_3\}. Standard basis of P2P_2: {1,x,x2}\{1,x,x^2\}.

2.6 Dimension

Every basis of a given VV has the same number of vectors; this is dimV\dim V. Thus dimRn=n\dim\mathbb{R}^n=n, dimPn=n+1\dim P_n=n+1, dimMm×n=mn\dim M_{m\times n}=mn. Consequences:

  • Any independent set of dimV\dim V vectors is a basis.
  • Any spanning set of dimV\dim V vectors is a basis.
  • More than dimV\dim V vectors are always dependent; fewer cannot span.

Proof sketch of basis size invariance. If {v1,,vm}\{\mathbf{v}_1,\dots,\mathbf{v}_m\} is independent and {w1,,wn}\{\mathbf{w}_1,\dots,\mathbf{w}_n\} spans, then mnm\le n (each vi\mathbf{v}_i is a combination of the wj\mathbf{w}_j; independence forces mnm\le n). Reversing roles gives nmn\le m, so m=nm=n.

2.7 The Four Fundamental Subspaces

For an m×nm\times n matrix AA:

  • Column space Col(A)Rm\operatorname{Col}(A)\subseteq\mathbb{R}^m: span of columns (range). Dimension = rank.
  • Null space Nul(A)=ker(A)Rn\operatorname{Nul}(A)=\ker(A)\subseteq\mathbb{R}^n: solutions of Ax=0A\mathbf{x}=\mathbf{0}. Dimension = nullity.
  • Row space Rn\subseteq\mathbb{R}^n: span of rows; dimension = rank.
  • Left null space: ker(AT)Rm\ker(A^{T})\subseteq\mathbb{R}^m.

2.8 The Rank–Nullity Theorem

rank(A)+dimker(A)=n(number of columns).\operatorname{rank}(A) + \dim\ker(A) = n \quad(\text{number of columns}).

Proof. Row-reduce AA to RREF. The number of pivots is the rank rr. Each pivot column has no free variable; each non-pivot column has one free variable. The null space is parametrized by the nrn-r free variables, so dimker(A)=nr\dim\ker(A)=n-r. Thus r+(nr)=nr+(n-r)=n.

Intuitively, each input dimension either survives into the output (rank) or collapses to zero (nullity).

2.9 Change of Basis

If B={v1,,vn}\mathcal{B}=\{\mathbf{v}_1,\dots,\mathbf{v}_n\} and C={w1,,wn}\mathcal{C}=\{\mathbf{w}_1,\dots,\mathbf{w}_n\} are two bases, the change-of-basis matrix PCBP_{\mathcal{C}\leftarrow\mathcal{B}} has columns giving coordinates of vi\mathbf{v}_i in basis C\mathcal{C}. Then [x]C=PCB[x]B[\mathbf{x}]_{\mathcal{C}} = P_{\mathcal{C}\leftarrow\mathcal{B}}[\mathbf{x}]_{\mathcal{B}}.

Continue reading with Premium

Upgrade to read the full article and unlock all Premium features.

Free

  • Unlimited practice — all difficulties
  • 3 hints / day
  • Community solutions
  • 2 timed mocks / month

Premium

  • Full article + all 57+ theory guides
  • Unlimited hints on practice problems
  • Unlimited timed mock exams & PDF worksheets
Log in