Course contentsShow
← Mathematics
Lesson 2091 of 3,12143. Linear Algebra — Vectors and SpacesFree lesson

Dimension of a Vector Space

Define dimension as the number of vectors in any basis and understand why all bases have the same size.

Dimension of a Vector Space

You'll learn: How to measure the "size" of a vector space using the number of vectors needed in any basis.

The Core Idea

Once you've found a basis for a vector space, you might wonder: "If I found a different basis, would it have the same number of vectors?" The answer is a resounding yes—and this number is so important it gets its own name: the dimension.

The dimension of a vector space is the number of vectors in any basis for that space. Remarkably, every basis for the same vector space contains exactly the same number of vectors. This isn't a coincidence—it's a fundamental property that tells us something deep about the "size" or "degrees of freedom" of the space.

Why All Bases Have the Same Size

Suppose you have two different bases for a vector space V: one with m vectors and another with n vectors. If m ≠ n, we'd reach a contradiction:

  • If m > n, then we'd have more than n vectors in a space that can be spanned by only n vectors—meaning some must be linearly dependent (violating the basis property).
  • If n > m, the same logic applies in reverse.

Therefore, m must equal n. Every basis has the same cardinality.

Examples

  • R² has dimension 2 (any basis needs exactly 2 vectors)
  • R³ has dimension 3 (any basis needs exactly 3 vectors)
  • A plane through the origin in R³ has dimension 2
  • A line through the origin has dimension 1
  • The zero subspace {0} has dimension 0 (the empty set is its basis)

Key Takeaway: The dimension of a vector space is the number of vectors in any basis—every basis for the same space has exactly this many vectors, giving us a coordinate-free measure of the space's size.