Span &
Generating Sets
Discover how linear combinations of vectors can fill an entire space, and learn what it means for a set of vectors to generate a vector space.
What is a Linear Combination?
Given vectors \(\mathbf{v}_1, \mathbf{v}_2, \dots, \mathbf{v}_k\) in a vector space \(V\), a linear combination is any vector of the form:
You choose the scalars freely: any combination of stretching, shrinking, or flipping your vectors and adding the results.
Visualising in \(\mathbb{R}^2\)
Defining the Span
The span of a set of vectors is the collection of all possible linear combinations of those vectors. It is always a subspace of the ambient vector space.
Why Does Span Matter?
Understanding span lets you answer a fundamental question: which vectors can I build from a given toolkit?
What is a Generating Set?
Core Theorem
Equivalently, \(\{\mathbf{v}_1,\dots,\mathbf{v}_k\}\) spans \(\mathbb{R}^n\) if and only if the matrix \(A\) has a pivot in every row after row reduction.
Geometric Intuition
Span vs Generating Set vs Basis
| Concept | Spans \(V\)? | Linearly Independent? | Minimal? |
|---|---|---|---|
| Generating Set | ✓ Yes | Not required | Not necessarily |
| Basis | ✓ Yes | ✓ Yes | ✓ Yes |
| Linearly Independent Set | Not required | ✓ Yes | N/A |
How to Check Membership
To determine whether a vector \(\mathbf{b}\) belongs to \(\text{span}\{\mathbf{v}_1, \dots, \mathbf{v}_k\}\):
Does S Span All of \(\mathbb{R}^n\)?
Example 1: Span in \(\mathbb{R}^2\)
Do \(\mathbf{v}_1 = \begin{pmatrix}1\\2\end{pmatrix}\) and \(\mathbf{v}_2 = \begin{pmatrix}3\\5\end{pmatrix}\) span \(\mathbb{R}^2\)?
Example 2: Non-Spanning Set
Do \(\mathbf{v}_1 = \begin{pmatrix}1\\2\\3\end{pmatrix}\) and \(\mathbf{v}_2 = \begin{pmatrix}2\\4\\6\end{pmatrix}\) span \(\mathbb{R}^3\)?
Example 3: Membership Check
Is \(\mathbf{b} = \begin{pmatrix}4\\11\end{pmatrix}\) in \(\text{span}\left\{\begin{pmatrix}1\\3\end{pmatrix}, \begin{pmatrix}2\\5\end{pmatrix}\right\}\)?
Common Mistakes
Summary at a Glance
| Question | Method | Answer |
|---|---|---|
| Is \(\mathbf{b} \in \text{span}(S)\)? | Augment \([A \mid \mathbf{b}]\), row-reduce | Consistent: yes |
| Does \(S\) span \(\mathbb{R}^n\)? | Row-reduce \(A\) | Pivot in every row: yes |
| Minimum vectors to span \(\mathbb{R}^n\)? | Count dimensions | At least \(n\) |
| Is \(S\) a basis? | Span + independence | Spans and is linearly independent |
Question 1 of 5
Which of the following best describes \(\text{span}\{\mathbf{v}_1, \mathbf{v}_2\}\)?
Question 2 of 5
Vectors \(\mathbf{v}_1 = \begin{pmatrix}1\\0\end{pmatrix}\) and \(\mathbf{v}_2 = \begin{pmatrix}0\\1\end{pmatrix}\). What is \(\text{span}\{\mathbf{v}_1, \mathbf{v}_2\}\)?
Question 3 of 5
You row-reduce the matrix whose columns are your vectors and get: $$\begin{pmatrix}1 & 0 & 2\\0 & 1 & -1\\0 & 0 & 0\end{pmatrix}$$ Do these three vectors span \(\mathbb{R}^3\)?
Question 4 of 5
If \(\text{span}\{S\} = V\), what can we call the set \(S\)?
Question 5 of 5
What is the minimum number of vectors needed to span \(\mathbb{R}^4\)?