What a Spanning Proof Must Show
To prove that a list spans a space, the central task is to show how to produce an arbitrary vector in that space from the list. When the space is \(\mathbb{R}^m\), a matrix whose columns are the listed vectors turns that task into a linear system with an arbitrary right-hand side. Row reduction then gives a practical test: the columns span \(\mathbb{R}^m\) exactly when the reduced matrix has a pivot in every row. If the vectors lie in a subspace with a known basis, their coordinates turn the same question into a smaller system.
Throughout this tutorial the scalar field is \(\mathbb{R}\). A linear combination of a list \(\mathbf{v}_1,\dots,\mathbf{v}_p\) is a vector \(c_1\mathbf{v}_1+\cdots+c_p\mathbf{v}_p\), where each \(c_j\in\mathbb{R}\). The span of the list is the set of all such linear combinations.
Both requirements matter. The list must lie in the space it is said to span, and it must be sufficient to produce every vector in that space. A proof should therefore identify an arbitrary target \(\mathbf{w}\in W\) and find coefficients that give \(\mathbf{w}\) as a combination. When useful, those coefficients can depend on the coordinates of \(\mathbf{w}\).
The Pivot-Row Test for Spanning \(\mathbb{R}^m\)
Let \(\mathbf{A}=\begin{bmatrix}\mathbf{v}_1&\cdots&\mathbf{v}_p\end{bmatrix}\in\mathbb{R}^{m\times p}\), so its columns are the vectors in the list. For \(\mathbf{c}=(c_1,\dots,c_p)^{\top}\), the product \(\mathbf{A}\mathbf{c}\) equals \(c_1\mathbf{v}_1+\cdots+c_p\mathbf{v}_p\). Thus, the columns span \(\mathbb{R}^m\) precisely when the system \(\mathbf{A}\mathbf{c}=\mathbf{b}\) has a solution for every \(\mathbf{b}\in\mathbb{R}^m\).
Proof. Let \(\mathbf{R}\) be the RREF of \(\mathbf{A}\). Row reduction consists of invertible elementary row operations, so there is an invertible matrix \(\mathbf{E}\) such that \(\mathbf{R}=\mathbf{E}\mathbf{A}\). Applying those same operations to a right-hand side preserves whether the system is solvable: \(\mathbf{A}\mathbf{c}=\mathbf{b}\) is equivalent to \(\mathbf{R}\mathbf{c}=\mathbf{E}\mathbf{b}\). If \(\mathbf{R}\) has a pivot in every row, then each row contains a leading variable. Starting from the bottom pivot row and solving upward gives values for the pivot variables for every right-hand side \(\mathbf{E}\mathbf{b}\); any variables without pivots may be set to zero. Hence every \(\mathbf{b}\) has a solution, so the columns span \(\mathbb{R}^m\). Conversely, suppose row \(i\) of \(\mathbf{R}\) has no pivot. Because \(\mathbf{R}\) is in RREF, that row is all zeros. Let \(\mathbf{e}_i\in\mathbb{R}^m\) be the vector with entry \(1\) in position \(i\) and zeros elsewhere, and choose \(\mathbf{b}=\mathbf{E}^{-1}\mathbf{e}_i\). Then \(\mathbf{E}\mathbf{b}=\mathbf{e}_i\), so row \(i\) of \(\mathbf{R}\mathbf{c}=\mathbf{E}\mathbf{b}\) reads \(0=1\). The system is inconsistent for this \(\mathbf{b}\), so the columns do not span \(\mathbb{R}^m\). \(\square\)
The test concerns rows because the target vector has \(m\) coordinates, one equation for each row. It does not require a pivot in every column. A column without a pivot can be redundant while the columns still span the whole target space.
Proving Spanning with an Arbitrary Right-Hand Side
Worked Example: Proving Three Vectors Span \(\mathbb{R}^3\)
Show that \(\mathbf{v}_1=(1,0,1)^{\top}\), \(\mathbf{v}_2=(0,1,1)^{\top}\), and \(\mathbf{v}_3=(1,1,0)^{\top}\) span \(\mathbb{R}^3\).
Take an arbitrary target \(\mathbf{b}=(x,y,z)^{\top}\). To express it as a combination of the three vectors, solve \(\mathbf{A}\mathbf{c}=\mathbf{b}\), using the vectors as the columns of \(\mathbf{A}\). Row-reduce the augmented matrix, where \(u,v,w\) are the coefficients:
The last row gives \(-2w=z-x-y\), so \(w=(x+y-z)/2\). The first two rows give \(u=x-w=(x-y+z)/2\) and \(v=y-w=(-x+y+z)/2\). These coefficients exist for every real \(x,y,z\); consequently, the vectors span \(\mathbb{R}^3\).
Check: The combination has coordinates \((u+w,v+w,u+v)\). Substituting the formulas gives \((x,y,z)\): \(u+w=(x-y+z+x+y-z)/2=x\), \(v+w=(-x+y+z+x+y-z)/2=y\), and \(u+v=(x-y+z-x+y+z)/2=z\). Therefore the constructed combination equals the arbitrary target.
This calculation is a proof because \(x,y,z\) were arbitrary, not because one particular vector was successfully represented. The coefficients explicitly describe a way to construct every target from the given list.
Worked Example: Two Pivot Rows with Three Columns
Show that \(\mathbf{v}_1=(1,0)^{\top}\), \(\mathbf{v}_2=(0,1)^{\top}\), and \(\mathbf{v}_3=(1,1)^{\top}\) span \(\mathbb{R}^2\).
The column matrix is already in RREF:
There is a pivot in each of its two rows, so the pivot-row test proves that its columns span \(\mathbb{R}^2\). The arbitrary-target calculation makes the conclusion explicit: for \((x,y)^{\top}\), choose coefficients \(x,y,0\). Then
Check: The right-hand side is exactly the arbitrary target \((x,y)^{\top}\), so every vector in \(\mathbb{R}^2\) is represented. There are three columns but only two rows; a pivot in every column is not needed for spanning the target space.
Using Coordinates in a Known Subspace
Sometimes the target space is a subspace \(W\subseteq\mathbb{R}^n\), rather than the whole coordinate space. Suppose \(\mathcal{B}=(\mathbf{b}_1,\dots,\mathbf{b}_d)\) is a basis of \(W\): it is a linearly independent list that spans \(W\). Each vector \(\mathbf{w}\in W\) has a unique coordinate vector \([\mathbf{w}]_{\mathcal{B}}\in\mathbb{R}^d\), recording its coefficients in this basis.
Proof. First, coordinates in \(\mathcal{B}\) are unique: if \(\sum_{i=1}^d a_i\mathbf{b}_i=\sum_{i=1}^d a'_i\mathbf{b}_i\), subtracting gives \(\sum_{i=1}^d(a_i-a'_i)\mathbf{b}_i=\mathbf{0}\). Independence of the basis forces \(a_i-a'_i=0\) for every \(i\). Now, for any scalars \(c_1,\dots,c_p\), the coordinate vector of \(\sum_{j=1}^p c_j\mathbf{v}_j\) is \(\mathbf{C}\mathbf{c}\), by collecting the coefficients of each \(\mathbf{b}_i\). If the list spans \(W\), then each \(\mathbf{w}\in W\) is such a combination, so every coordinate vector \([\mathbf{w}]_{\mathcal{B}}\in\mathbb{R}^d\) is of the form \(\mathbf{C}\mathbf{c}\). Conversely, suppose the columns of \(\mathbf{C}\) span \(\mathbb{R}^d\). For any \(\mathbf{w}\in W\), choose \(\mathbf{c}\) such that \(\mathbf{C}\mathbf{c}=[\mathbf{w}]_{\mathcal{B}}\). The corresponding combination \(\sum_{j=1}^p c_j\mathbf{v}_j\) has the same coordinates as \(\mathbf{w}\), so uniqueness of coordinates implies it equals \(\mathbf{w}\). Since every \(\mathbf{v}_j\) belongs to \(W\), these combinations are in \(W\), and the list spans \(W\). The pivot-row test applied to \(\mathbf{C}\) gives the final equivalence. \(\square\)
The membership condition \(\mathbf{v}_j\in W\) is essential: it ensures that the list actually consists of vectors in the space being spanned. Coordinates relative to \(\mathcal{B}\) are available only for vectors in \(W\).
Worked Example: Spanning a Subspace by Coordinates
Let \(\mathbf{b}_1=(1,0,1,0)^{\top}\), \(\mathbf{b}_2=(0,1,1,1)^{\top}\), and \(W=\operatorname{span}\{\mathbf{b}_1,\mathbf{b}_2\}\subseteq\mathbb{R}^4\). These vectors are independent: if \(s\mathbf{b}_1+t\mathbf{b}_2=\mathbf{0}\), the first coordinate gives \(s=0\) and the second gives \(t=0\). Thus \(\mathcal{B}=(\mathbf{b}_1,\mathbf{b}_2)\) is a basis of \(W\). Consider \(\mathbf{v}_1=\mathbf{b}_1+\mathbf{b}_2\) and \(\mathbf{v}_2=\mathbf{b}_1-\mathbf{b}_2\). Both belong to \(W\), and their coordinate matrix is
To prove that \(\mathbf{v}_1,\mathbf{v}_2\) span \(W\), take an arbitrary \(\mathbf{w}=s\mathbf{b}_1+t\mathbf{b}_2\in W\). Solve the coordinate equation \(\mathbf{C}\begin{bmatrix}a\\b\end{bmatrix}=\begin{bmatrix}s\\t\end{bmatrix}\):
Therefore \(a=(s+t)/2\) and \(b=(s-t)/2\) work for every \(s,t\). So \(\mathbf{w}=a\mathbf{v}_1+b\mathbf{v}_2\).
Check: In coordinates relative to \(\mathcal{B}\), the combination has first coordinate \(a+b=s\) and second coordinate \(a-b=t\). Hence it equals \(\mathbf{w}\). In \(\mathbb{R}^4\), it is \((s,t,s+t,t)^{\top}\), which is also \(s\mathbf{b}_1+t\mathbf{b}_2\).
When the Pivot Test Shows Spanning Fails
Worked Example: Two Vectors That Do Not Span \(\mathbb{R}^3\)
Consider \(\mathbf{v}_1=(1,0,1)^{\top}\) and \(\mathbf{v}_2=(0,1,1)^{\top}\). Their column matrix reduces as follows:
The last row has no pivot, so the pivot-row test says the columns do not span \(\mathbb{R}^3\). A specific vector they cannot produce is \(\mathbf{b}=(0,0,1)^{\top}\): the augmented system reduces to
The final row says \(0=1\), so no coefficients can produce this target. Indeed, a general combination is \((a,b,a+b)^{\top}\), whose third coordinate is the sum of its first two and therefore cannot equal \((0,0,1)^{\top}\).
Check: Substituting \((0,0,1)^{\top}\) into the required coordinate relation would require \(1=0+0\), which is false. This confirms that the target is not in the span.
Common Pitfalls and a Reliable Proof Pattern
Wrong pivot condition: A common error is to conclude that a list cannot span because not every column has a pivot. For the matrix \(\begin{bmatrix}1&0&1\\0&1&1\end{bmatrix}\), the third column is not a pivot column, but both rows have pivots. As shown above, the columns do span \(\mathbb{R}^2\): \((x,y)^{\top}=x(1,0)^{\top}+y(0,1)^{\top}\). For spanning the full target \(\mathbb{R}^m\), check every row, not every column.
Wrong membership argument: It is not enough to observe that every vector in \(W\) is a combination of a list; the list must also consist of vectors in \(W\). For example, the zero vector is \(0(1,0)^{\top}\), but the list \(((1,0)^{\top})\) does not span \(W=\{\mathbf{0}\}\), because \((1,0)^{\top}\notin W\) and the list’s span is the entire horizontal axis. The definition requires both containment and production of every target.
For a complete spanning proof, a dependable sequence is:
Verify that every vector in the proposed list belongs to the target space.
Write \(\mathbf{b}\in\mathbb{R}^m\) with arbitrary coordinates, or write \(\mathbf{w}\in W\) in coordinates relative to a known basis.
Use the pivot rows or solve the coordinate system, keeping the target coordinates symbolic.
Substitute the coefficients into the linear combination and show that it equals the arbitrary target.
The pivot test is a compact way to prove that the coefficient system is solvable for every target. When a row lacks a pivot, row reduction can also reveal a specific obstruction: an inconsistent right-hand side or a coordinate relation that every combination must satisfy. In a subspace, coordinates relative to a known basis provide the same kind of proof in the dimension of that subspace rather than in the ambient coordinate space.
Check Your Understanding
For each question, identify the arbitrary target or the relevant pivot condition and justify the conclusion.
- What pivot condition on a \(4\times p\) matrix guarantees that its columns span \(\mathbb{R}^4\)?
- For the vectors \((1,0)^{\top},(0,1)^{\top},(1,1)^{\top}\) in \(\mathbb{R}^2\), express an arbitrary \((x,y)^{\top}\) as a linear combination.
- Why does a zero row in the RREF of a column matrix show that its columns cannot span the full target space?
- State both requirements in the definition of a list spanning a subspace \(W\).
- If \(\mathcal{B}\) is a basis of \(W\), what matrix should be row-reduced to test whether vectors in \(W\) span \(W\)?