Span & Basis

5 min read Updated Fri Apr 24 2026 07:36:29 GMT+0000 (Coordinated Universal Time)

For all the definitions below, consider BB to be a non-empty subset of the vector space V  over  FV\;\text{over}\;F.

Linear Combination

For a non-empty finite subset of VV (say BB), a vector xVx \in V is a linear combination of vectors in BB iff

x=k=1nakxkx = \sum_{k=1}^{n} a_k x_k

Where xkBx_k \in B, akFa_k \in F and nn is the size of BB.

All linear combinations of a vector space, is an element of itself.

Span

For a non-empty finite subset of VV (say BB), the set of all possible linear combinations of vectors in BB. Denoted as Span  B\text{Span}\;B. Always a subspace of VV. Obviously BSpan  BB \subseteq \text{Span}\;B.

As BVB \subseteq V and VV is closed over vector addition and scalar multiplication, Span  BV\text{Span}\;B \subseteq V.

If Span  B=V\text{Span}\;B = V then it is read as B  spans  VB\;\text{spans}\;V.

Span is a subspace

Span  B is a subspace of V\text{Span}\;B \text{ is a subspace of } V

Smallest subspace

Span  B\text{Span}\;B is the smallest subspace of VV, containing BB.

Linear Independence

BB is linear independent on V  over  FV\;\text{over}\;F iff:

k=1nakxk=0    k,  ak=0\sum_{k=1}^n a_k x_k = 0 \implies \forall k,\;a_k=0

Empty sets are linearly independent by definition. Otherwise BB is linearly dependent on V  over  FV\;\text{over}\;F.

If BB contains 0\underline{0}, it is linearly dependent. Because coefficient of 0\underline{0} can be non-zero and still produce a zero sum.

If BB is a singleton set {x}\{x\}, it is linearly independent iff x0x \neq \underline{0}.

Any subset of a linear independent set is also linear independent. Any superset of a linear dependent set is also linear dependent.

Theorem 1

If BB is linearly dependent then at least one vector in BB can be expressed as a linear combination of other vectors in BB.

Theorem 2

If BB is linearly independent and x∉Span  Bx \not\in \text{Span}\;B then B{x}B \cup \set{x} is linearly independent.

Basis

BB is a basis of V  over  FV\;\text{over}\;F iff:

  • BB is linearly independent
  • BB spans VV

Suppose a basis of VV has nn elements. Any subset of VV with:

  • more than nn vectors is linearly dependent
  • fewer than nn vectors cannot span VV

If a set spans but no proper subset spans, it is a basis. Any linearly independent set can be extended to a basis.

Any element in a vector space can be uniquely expressed as a linear combination of its basis vectors.

Every spanning non-empty subset of a vector space contains a basis.

If BB is a finite, non-empty subset of VV and linearly independent, and x∉Span  Bx \not\in \text{Span}\;B, then B{x}B\cup\set{x} is linearly independent.

Any linearly independent subset BB of VV can be extended to a basis.

If BB is maximally linearly independent (no superset of BB is linearly independent), it is a basis. If BB is minimally spanning, it is a basis.

Hamel Basis

A non-finite basis of VV over FF where only finite linear combinations are allowed. Every vector space has a Hamel basis.

Dimension

Number of elements in the basis of a vector space V  over  FV\;\text{over}\;F. Denoted as dimV\dim V. Constant for all bases of VV (obvious from above theorem).

If dimV=n\dim V = n then any linearly independent set of nn vectors in VV is a basis of VV. If dimV=n\dim V = n then any spanning set of nn vectors in VV is a basis of VV.