
Span
The span of a set of vectors S is the set of all linear combinations of the vectors in S.
Given the set S={u1,u2,…,un}, and allowing c1,c2,…,cn to be any real numbers, the span of S is:
span(S)=span({u1,u2,…,un})={c1u1+c2u2+⋯+cnun}
Geometrically
- The span of one non-zero vector u is the line through the origin in the direction of u:
- The span of two linearly independent vectors is a plane:
Determining if a Vector is in the Span
Given a finite set S={u1,u2,…,un} and a vector b, determining if b is in span(S) is equivalent to solving the linear system with augmented matrix:
If this system has:
- No solution⟹b∈/span(S) since no linear combination of the vectors produces b.
- At least one solution⟹b∈span(S)
Spanning Sets or Generating Sets
If V is a vector space and span(S)=V, then S is called a generating set (or spanning set) of V.
Example
The following are spanning sets of the vector space R2, since linear combinations of the vectors can produce any vector in R2.
S1S2={(1,0),(0,1)}={(1,0),(1,1),(2,1)}→linearly independent spanning set→linearly dependent spanning set

Example: Span
Determine if x=2−45 is in span({u,v,w}) where u=111,v=110,w=101.
We are looking to find values of c1,c2, and c3 that are solutions to: c1u+c2v+c3w=x(∗)
This is equivalent to solving the linear system with augmented matrix: 1111101012−45
The reduced row echelon form of this matrix is: 100010001−1−36
Hence the solution is c1=−1, c2=−3, c3=6.
This means we can write x as a linear combination of the vectors: x=−1u−3v+6w.
Therefore x is indeed in span({u,v,w}).
Alternatively
We can use the determinant of the matrix whose columns are the vectors of interest:
Let A=[uvw]=111110101
Then det(A)=−1=0, so A is invertible, which means the linear system (∗) has exactly one solution.
This method does not tell us the solution, but since we know one exists, we conclude that x∈span({u,v,w}).
Mark Yourself Question
- Grab a piece of paper and try this problem yourself.
- When you're done, check the "I have answered this question" box below.
- View the solution and report whether you got it right or wrong.
Practice: Spans are Subspaces
Suppose that v1,…,vk∈Rn. Prove that U=span({v1,...,vk}) is a subspace of Rn.