Linear Algebra
Chapter 3/Vector Spaces

3.4Basis and Dimension

A basis is the Goldilocks set: enough vectors to build everything (spanning), not one more than necessary (independent). Dimension is then well defined, and it turns two conditions into one.

What you must be able to do

  • Basis = linearly independent and spanning. Every basis of has the same number of elements: .
  • In an -dimensional space: any independent vectors span; any spanning vectors are independent. Check only one.
  • More than vectors ⟹ dependent. Fewer than ⟹ cannot span.
  • Independent sets can be extended to a basis; spanning sets can be pared down to one.
Definition · Basis
is a basis for if (i) the vectors are linearly independent and (ii) they span . has dimension if it has a basis of vectors; ; if no finite basis exists, is infinite-dimensional.
SpaceStandard basis
— none finite —
Theorem 3.4.1 & Corollary 3.4.2
If spans , then any set of more than vectors in is linearly dependent. Consequently, any two bases of have the same number of elements — so dimension is well defined.
Theorem 3.4.3 · The count does the work
Let . Then (I) any linearly independent vectors span ; (II) any vectors that span are linearly independent.

This halves your workload. Once the number of vectors equals the dimension, verifying independence or spanning is enough to conclude 'basis'.

Theorem 3.4.4
If : (i) no set of fewer than vectors can span ; (ii) any linearly independent set of fewer than vectors can be extended to a basis; (iii) any spanning set of more than vectors can be pared down to a basis.
Worked example

A non-obvious basis for

0/5 steps
Show that is a basis for (polynomials of degree less than 3).
Key idea
Reading dimension off a description is an exam staple. 'Symmetric matrices': 6 free entries ⟹ . 'Vectors in with ': one constraint on four unknowns ⟹ . Count the free parameters.

Check yourself

Q1
has dimension . You are handed linearly independent vectors from . What can you conclude?
T / F
A set of 6 vectors can be a basis for .
T / F
Any linearly independent set of 3 vectors in a 5-dimensional space can be extended to a basis.