Bases & Dimension
A basis is a minimal spanning set — just enough vectors to build everything, with none to spare. That its size is the same no matter which basis you choose is a genuine theorem, and it is what makes "dimension" a single well-defined number.
- Define a basis and prove the unique-representation property.
- State the Replacement Theorem and derive invariance of dimension.
- Shrink spanning sets to bases and extend independent sets to bases.
- Compute dimensions of the standard spaces and of subspaces.
A basis gives every vector unique coordinates, turning an abstract space into something computable. Dimension is the single number that classifies the space.
Choosing a basis is choosing coordinates — pixel bases for images, Fourier bases for audio, principal components for data. The right basis makes a problem easy.
That every basis of a space has the same size is a theorem, not an assumption — the result that makes "dimension" well defined and underpins all of linear algebra.
Bases and unique representation
A basis of $V$ is a linearly independent set that spans $V$. Standard examples: $e_1,\dots,e_n$ for $F^n$; the monomials $1,x,\dots,x^k$ for $P_k(F)$; the matrix units $E_{ij}$ for $M_{m\times n}(F)$.
$\beta=\{v_1,\dots,v_n\}$ is a basis of $V$ iff every $v\in V$ can be written as $v=a_1v_1+\cdots+a_nv_n$ in exactly one way. The $a_i$ are the coordinates of $v$ relative to $\beta$.
The Replacement Theorem and dimension
If $V$ is spanned by a set $G$ of $n$ vectors and $L$ is an independent set of $m$ vectors in $V$, then $m\le n$, and some $n-m$ vectors of $G$ can be adjoined to $L$ to produce a spanning set. In words: independent sets are never larger than spanning sets, and can be grown into them.
Any two bases of a finite-dimensional $V$ have the same number of elements — each is independent and each spans, so each size bounds the other. That common size is $\dim V$.
In a finite-dimensional space: every spanning set contains a basis (discard redundant vectors one at a time), and every independent set extends to a basis (adjoin replacement vectors). With $\dim V=n$: any $n$ independent vectors form a basis, any $n$ spanning vectors form a basis, and any $n+1$ vectors are dependent.
Dimensions of the standard spaces
If $W$ is a subspace of a finite-dimensional $V$, then $\dim W\le\dim V$, with equality iff $W=V$.
• A basis must be independent and spanning — neither alone
suffices.
• Coordinates depend on the basis and on its order; write the basis down
before writing coordinates.
• "Dimension" without naming the field is ambiguous —
$\dim_{\mathbb{C}}\mathbb{C}=1$ but $\dim_{\mathbb{R}}\mathbb{C}=2$.
• To find a subspace's dimension, produce a basis; guessing the count without
exhibiting independent spanners proves nothing.
Practice
Original problems written for this guide in the style of Friedberg, Insel & Spence exercises. Write a full solution before opening the answer.
Find a basis for $W=\{(x,y,z)\in\mathbb{R}^3:x+y+z=0\}$ and state $\dim W$.
Answer
What is the dimension of $M_{2\times2}(\mathbb{R})$? Exhibit a basis.
Answer
Can $4$ vectors be independent in $\mathbb{R}^3$? Can $2$ vectors span it?
Answer
Prove: $\beta$ is a basis iff every vector has exactly one representation as a linear combination of $\beta$.
Solution
Find a basis for $\operatorname{span}\{(1,2,3),(2,4,6),(1,1,1)\}$.
Solution
Find the dimension of the space of symmetric $2\times2$ real matrices.
Answer
Extend $\{(1,1,0)\}$ to a basis of $\mathbb{R}^3$.
Solution
Prove: if $W$ is a subspace of finite-dimensional $V$ and $\dim W=\dim V$, then $W=V$.
Solution
Expanded topic checklist
Course coverage. This unit is part of the complete MAT240H1 topic map. It should cover the following items before you move on:
- Bases. Use bases as independent spanning lists and as coordinate systems.
- Dimension. Prove all bases have the same size and use dimension to compare subspaces.
- Exchange ideas. Use replacement/exchange lemmas to move between spanning lists and independent lists.
- Finite-dimensional structure. Know maximal independent equals minimal spanning in finite dimensions.
Use the current UofT MAT240H1 calendar topics as the coverage spine, and pair lecture notes with a Friedberg-Insel-Spence-style linear algebra text for extra reading. The exact assigned textbook should still be checked against the instructor syllabus.
The basis spine is: spanning gives existence of coordinates, independence gives uniqueness, and dimension counts how many coordinates are needed.
Deep practice extensions
Use these after the main practice set. They are designed to force definition-level reasoning, theorem selection, and mixed application rather than routine calculation only.
Show $(1,0,0),(0,1,0),(0,0,1)$ is a basis of $F^3$.
Guide
In a 3-dimensional space, why do three independent vectors form a basis?
Guide
If $W$ is a proper subspace of a finite-dimensional $V$, what can be said about dim $W$?
Guide
Find coordinates of $p(x)=2+x$ in basis $(1,x,x^2)$ for $P_2(F)$.