Tutorials › Linear Algebra › Equivalent Tests for a Basis

Basis and Dimension · Tutorial 310 of 1000

Equivalent Tests for a Basis

Learn how spanning and linear independence combine to give a unique representation of every vector, and use that equivalence to test candidate bases.

Intermediate 9 min read

What You'll Learn

  • Define what it means for a vector to have a representation by a finite list.
  • Prove that independence is equivalent to uniqueness of representations within the span.
  • Prove both directions of the unique-representation test for a basis.
  • Distinguish a spanning list with redundant vectors from an independent list that does not span.
  • Apply the criterion to a subspace and to concrete vectors in real coordinate spaces.

From a Basis to a Unique Representation

A basis does two jobs at once: it provides enough vectors to build every vector in a space, and it avoids redundancy among those vectors. These two requirements together have a useful consequence. Every vector in the space can be written as a linear combination of the basis vectors, and there is only one choice of coefficients that works. Conversely, if every vector has exactly one such representation, the list must both span the space and be linearly independent.

Let \(V\) be a vector space over \(\mathbb{R}\), and consider a finite ordered list \(\mathbf{v}_1,\dots,\mathbf{v}_p\) in \(V\). A representation of \(\mathbf{x}\in V\) by this list is an equation \(\mathbf{x}=c_1\mathbf{v}_1+\cdots+c_p\mathbf{v}_p\), where \(c_1,\dots,c_p\in\mathbb{R}\). The coefficients are part of the representation: the question of uniqueness is whether exactly one coefficient list works, not whether the vector can be written in different-looking ways after algebraic rearrangement.

Definition: The list \(\mathbf{v}_1,\dots,\mathbf{v}_p\) spans \(V\) if every \(\mathbf{x}\in V\) is a linear combination of the list. It is linearly independent if \(c_1\mathbf{v}_1+\cdots+c_p\mathbf{v}_p=\mathbf{0}\) implies \(c_1=\cdots=c_p=0\). The list is a basis of \(V\) if it spans \(V\) and is linearly independent.

These definitions concern an ordered list, so its positions matter. For example, a repeated vector occupies two positions and can create a dependence relation. We allow \(p=0\) as well: the empty list has only the empty coefficient list, and its empty linear combination is \(\mathbf{0}\). Its span is \(\{\mathbf{0}\}\), and it is linearly independent because there are no coefficients that could violate the independence condition. This convention includes the zero vector space, which has the empty list as a basis.

Uniqueness and Independence

Before considering an entire space, focus on the vectors the list can produce. By definition, these vectors form \(\operatorname{span}\{\mathbf{v}_1,\dots,\mathbf{v}_p\}\). The key fact is that a list is independent exactly when each vector in its span has a unique representation. Spanning the whole space is a separate requirement: it ensures that the representation property applies to every vector of \(V\).

Theorem: For a finite list \(\mathbf{v}_1,\dots,\mathbf{v}_p\) in a real vector space \(V\), the list is linearly independent if and only if every vector in \(\operatorname{span}\{\mathbf{v}_1,\dots,\mathbf{v}_p\}\) has exactly one representation by the list.

Proof. Suppose first that the list is linearly independent. Let \(\mathbf{x}\) be in its span. By the definition of span, at least one representation exists; write two possible representations as \(\mathbf{x}=\sum_{i=1}^{p}a_i\mathbf{v}_i\) and \(\mathbf{x}=\sum_{i=1}^{p}b_i\mathbf{v}_i\). Subtracting the second equation from the first gives \(\sum_{i=1}^{p}(a_i-b_i)\mathbf{v}_i=\mathbf{0}\). Independence forces \(a_i-b_i=0\) for every \(i\), so \(a_i=b_i\) for every \(i\). Thus the representation exists and is unique. Conversely, suppose every vector in the span has exactly one representation. If \(\sum_{i=1}^{p}c_i\mathbf{v}_i=\mathbf{0}\), then the zero vector has both this representation and the representation with every coefficient zero. Uniqueness says \(c_i=0\) for every \(i\), which is independence. For the empty list, both statements hold under the conventions above: its span consists only of zero, with its one empty representation. \(\square\)

The proof shows why both parts of “exactly one” matter. Spanning supplies existence of a representation; independence supplies uniqueness. If a list is independent but does not span \(V\), uniqueness may hold for every vector it can produce while some vectors in \(V\) have no representation at all.

The Equivalent Test for a Basis

Theorem (Unique-representation test for a basis): A finite list \(\mathbf{v}_1,\dots,\mathbf{v}_p\) in a real vector space \(V\) is a basis of \(V\) if and only if every \(\mathbf{x}\in V\) has exactly one representation \(\mathbf{x}=\sum_{i=1}^{p}c_i\mathbf{v}_i\). No finite-dimensional assumption on \(V\) is needed for this statement.

Proof. Suppose the list is a basis. Since it spans \(V\), every \(\mathbf{x}\in V\) has at least one representation. Since it is independent, the preceding theorem shows that this representation is unique. Conversely, suppose every \(\mathbf{x}\in V\) has exactly one representation. The existence part says every vector in \(V\) is in the span, so the list spans \(V\). To prove independence, suppose \(\sum_{i=1}^{p}c_i\mathbf{v}_i=\mathbf{0}\). The zero vector also has the representation \(\sum_{i=1}^{p}0\mathbf{v}_i\). By uniqueness, \(c_i=0\) for every \(i\). Hence the list is independent as well as spanning, and therefore is a basis. If \(p=0\), the condition that every vector has a representation holds precisely when \(V=\{\mathbf{0}\}\); in that case the empty list spans and is independent, so it is a basis. \(\square\)

In practice, this test can be split into two questions: can every vector be represented, and can two different coefficient lists represent the same vector? For the second question, subtracting two representations turns the issue into a homogeneous linear combination equal to zero. This is why independence is the exact condition that rules out competing coefficient lists.

Worked Applications

Worked Example: A Basis for a Subspace of R³

Let \(V=\{(s,t,s+t):s,t\in\mathbb{R}\}\subseteq\mathbb{R}^3\), and consider \(\mathbf{v}_1=\begin{bmatrix}1\\0\\1\end{bmatrix}\) and \(\mathbf{v}_2=\begin{bmatrix}0\\1\\1\end{bmatrix}\). Determine whether this list is a basis of \(V\), and represent \(\mathbf{x}=\begin{bmatrix}2\\-1\\1\end{bmatrix}\).

First, the vectors lie in \(V\): they correspond to \((s,t)=(1,0)\) and \((0,1)\). An arbitrary vector in \(V\) has the form \(\mathbf{x}=\begin{bmatrix}s\\t\\s+t\end{bmatrix}\), and it satisfies

$$ s\mathbf{v}_1+t\mathbf{v}_2 =s\begin{bmatrix}1\\0\\1\end{bmatrix} +t\begin{bmatrix}0\\1\\1\end{bmatrix} =\begin{bmatrix}s\\t\\s+t\end{bmatrix}. $$

Thus the list spans \(V\). To check uniqueness, suppose \(a\mathbf{v}_1+b\mathbf{v}_2=\begin{bmatrix}s\\t\\s+t\end{bmatrix}\). The first coordinate gives \(a=s\), and the second gives \(b=t\); there is no other possible coefficient pair. Therefore every vector in \(V\) has exactly one representation, so the list is a basis by the unique-representation test.

For the specified vector, \(s=2\) and \(t=-1\), and the representation is \(2\mathbf{v}_1-\mathbf{v}_2\). Substitution checks all coordinates:

$$ 2\begin{bmatrix}1\\0\\1\end{bmatrix} -\begin{bmatrix}0\\1\\1\end{bmatrix} =\begin{bmatrix}2\\-1\\1\end{bmatrix}. $$

The third coordinate is \(2+(-1)=1\), as required.

Worked Example: Spanning but Not Unique

Consider the list \(\mathbf{v}_1=\begin{bmatrix}1\\0\end{bmatrix}\), \(\mathbf{v}_2=\begin{bmatrix}0\\1\end{bmatrix}\), \(\mathbf{v}_3=\begin{bmatrix}1\\1\end{bmatrix}\) in \(V=\mathbb{R}^2\). The list spans \(\mathbb{R}^2\), since \(\begin{bmatrix}x\\y\end{bmatrix}=x\mathbf{v}_1+y\mathbf{v}_2\) for every \(x,y\in\mathbb{R}\). But it does not give unique representations.

Indeed, for any real \(r\), the coefficients \((x-r,y-r,r)\) represent \(\begin{bmatrix}x\\y\end{bmatrix}\), because

$$ (x-r)\begin{bmatrix}1\\0\end{bmatrix} +(y-r)\begin{bmatrix}0\\1\end{bmatrix} +r\begin{bmatrix}1\\1\end{bmatrix} =\begin{bmatrix}x-r+r\\y-r+r\end{bmatrix} =\begin{bmatrix}x\\y\end{bmatrix}. $$

For a concrete check, \(\begin{bmatrix}2\\3\end{bmatrix}\) has the representations \(2\mathbf{v}_1+3\mathbf{v}_2+0\mathbf{v}_3\) and \(\mathbf{v}_1+2\mathbf{v}_2+\mathbf{v}_3\). Both evaluate to \(\begin{bmatrix}2\\3\end{bmatrix}\), but their coefficient lists differ. The dependence relation \(\mathbf{v}_1+\mathbf{v}_2-\mathbf{v}_3=\mathbf{0}\) explains the redundancy. The list spans but is not independent, so it is not a basis.

Worked Example: Independent but Not Spanning

Consider \(\mathbf{u}_1=\begin{bmatrix}1\\0\\0\end{bmatrix}\) and \(\mathbf{u}_2=\begin{bmatrix}0\\1\\0\end{bmatrix}\) as a list in \(V=\mathbb{R}^3\). If \(a\mathbf{u}_1+b\mathbf{u}_2=\mathbf{0}\), then \(\begin{bmatrix}a\\b\\0\end{bmatrix}=\begin{bmatrix}0\\0\\0\end{bmatrix}\), so \(a=0\) and \(b=0\). The list is independent.

However, every combination of the list has the form \(\begin{bmatrix}a\\b\\0\end{bmatrix}\). The vector \(\begin{bmatrix}0\\0\\1\end{bmatrix}\) cannot have this form: equality would require its third coordinate \(1\) to equal \(0\). Therefore the list does not span \(\mathbb{R}^3\), and it is not a basis of that space.

This distinction is essential. The list does give unique representations to every vector in its span, but not every vector of \(\mathbb{R}^3\) has a representation by it. The unique-representation test for a basis requires both existence and uniqueness across the whole space.

Common Mistake: Checking Only Uniqueness

A common error is to conclude that an independent list is a basis just because its representations are unique. For instance, the single vector \(\mathbf{u}=\begin{bmatrix}1\\0\end{bmatrix}\) is independent: if \(c\mathbf{u}=\mathbf{0}\), then \(\begin{bmatrix}c\\0\end{bmatrix}=\begin{bmatrix}0\\0\end{bmatrix}\), so \(c=0\). Every vector in its span has a unique representation \(c\mathbf{u}\). A wrong conclusion would be: “Therefore \(\mathbf{u}\) is a basis of \(\mathbb{R}^2\).” The correction is to test spanning too: \(\begin{bmatrix}0\\1\end{bmatrix}\) cannot equal \(c\begin{bmatrix}1\\0\end{bmatrix}=\begin{bmatrix}c\\0\end{bmatrix}\) for any \(c\). Thus the list is not a basis of \(\mathbb{R}^2\), even though representations within its span are unique.

When applying the criterion, keep the two obligations visible:

  • Existence: every vector in the space under consideration can be represented. This is the spanning requirement.
  • Uniqueness: if two coefficient lists represent the same vector, their coefficients agree in every position. This is the independence requirement.

The same list can be a basis of one space and fail to be a basis of a larger space. The first worked example uses its vectors as a basis of a particular subspace of \(\mathbb{R}^3\); the third example shows how an independent list can fall short when the space under consideration is larger. Always identify the space before deciding whether the list spans it.

Check Your Understanding

For each question, distinguish representation existence from representation uniqueness.

  1. State why independence guarantees that two representations of the same vector have identical coefficients.
  2. In the second worked example, verify the dependence relation by adding the three indicated vector terms.
  3. For the list \(\begin{bmatrix}1\\1\\0\end{bmatrix},\begin{bmatrix}0\\1\\1\end{bmatrix}\) in \(\mathbb{R}^3\), explain why independence alone does not establish that it is a basis of \(\mathbb{R}^3\).
  4. Suppose every vector of \(V\) has a representation by a finite list, and the zero vector has only the representation with all coefficients zero. Explain why every vector of \(V\) then has a unique representation.
  5. What is the basis of the zero vector space under the empty-list convention, and why does it satisfy the unique-representation test?

Test yourself: Linear Algebra final exam practice

Ready to check what you know? Work a full-length practice final, then open the complete worked solutions.

Want all 1,114 practice problems?

This tutorial covers one topic. Calc Pass covers the full Calculus AB & BC curriculum (the core of Calculus I and II): full review, every practice question, and step-by-step solutions to each one.

QR code to download the Calc Pass app

Get the Calc Pass App

Scan to download and practice on the go, with instant scoring.

Calc Pass Volume 1: 1,114 Practice Questions book cover

Vol. 1: 1,114 Questions

The complete practice question bank, organized by AB & BC topic.

View on Amazon
Calc Pass Volume 2: Solutions Manual book cover

Vol. 2: Solutions Manual

Fully worked solutions to every question in Volume 1.

View on Amazon