Tutorials › Linear Algebra › Equivalent Tests for Independent Columns

Linear Independence · Tutorial 172 of 1000

Equivalent Tests for Independent Columns

Learn how independence, pivots, homogeneous systems, and unique span coefficients express the same condition.

Beginner 10 min read

What You'll Learn

  • Translate a list of columns into a homogeneous matrix equation.
  • Prove that independence is equivalent to having only the zero solution.
  • Use pivot columns in RREF to test independence.
  • Connect a zero null space with unique coefficients in a span.
  • Distinguish unique coefficients for span members from solutions for every right-hand side.

Four Ways to Express One Condition

When a vector is written as a linear combination of a fixed list, the coefficients describe how that vector is assembled from the list. If two different coefficient lists produce the same vector, then the columns contain redundancy. This tutorial connects that idea to three familiar tests: the zero-combination definition of independence, the solutions of a homogeneous system, and the pivot columns of a matrix. The connection also explains exactly when a vector in a span has unique coefficients.

Let \(\mathbf{v}_1,\dots,\mathbf{v}_p\) be a list of vectors in \(\mathbb{R}^m\), with \(p\geq 1\), and form the matrix \(\mathbf{A}=\begin{bmatrix}\mathbf{v}_1&\cdots&\mathbf{v}_p\end{bmatrix}\). For a coefficient column \(\mathbf{x}=(x_1,\dots,x_p)^{\top}\), matrix multiplication gives \(\mathbf{A}\mathbf{x}=x_1\mathbf{v}_1+\cdots+x_p\mathbf{v}_p\). Thus, each coefficient column determines a combination, and each combination of the list is obtained from some coefficient column.

Definition: The list \(\mathbf{v}_1,\dots,\mathbf{v}_p\) is linearly independent if \(x_1\mathbf{v}_1+\cdots+x_p\mathbf{v}_p=\mathbf{0}\) implies \(x_1=\cdots=x_p=0\). Equivalently, it is independent if its only zero combination is the trivial one. The span of the list is the set of all its linear combinations. The list has unique coefficients in its span if each vector in that span is represented by exactly one coefficient column \(\mathbf{x}\).

The word “exactly” in unique coefficients includes two parts: a vector in the span has at least one representation, by the definition of span, and it has no second, different representation. The homogeneous system \(\mathbf{A}\mathbf{x}=\mathbf{0}\) tests the second part. If a nonzero coefficient column produces \(\mathbf{0}\), it can be added to any representation without changing the represented vector.

The Equivalence Theorem

Theorem: For a list \(\mathbf{v}_1,\dots,\mathbf{v}_p\) in \(\mathbb{R}^m\), with \(p\geq1\), and its column matrix \(\mathbf{A}\), the following statements are equivalent:
  1. The list is linearly independent, so its only zero combination is the trivial one.
  2. The homogeneous system \(\mathbf{A}\mathbf{x}=\mathbf{0}\) has the unique solution \(\mathbf{x}=\mathbf{0}\).
  3. Every column of \(\operatorname{rref}(\mathbf{A})\) is a pivot column.
  4. Every vector in \(\operatorname{span}\{\mathbf{v}_1,\dots,\mathbf{v}_p\}\) has unique coefficients in this list.

Proof. By the definition of matrix multiplication, \(\mathbf{A}\mathbf{x}=\mathbf{0}\) says precisely that \(x_1\mathbf{v}_1+\cdots+x_p\mathbf{v}_p=\mathbf{0}\). Therefore statements 1 and 2 are equivalent: both say that the only coefficient column producing the zero vector is the zero column.

To compare statements 2 and 3, row-reduce \(\mathbf{A}\) to \(\operatorname{rref}(\mathbf{A})\). Each elementary row operation replaces a system by an equivalent system: a row swap just reorders equations, scaling a row by a nonzero number preserves its equation, and adding a multiple of one row to another preserves the solutions because the operation can be reversed. Consequently, the homogeneous systems with coefficient matrices \(\mathbf{A}\) and \(\operatorname{rref}(\mathbf{A})\) have the same solutions.

In the RREF, a variable corresponding to a column without a pivot is free. If every column is a pivot column, there are no free variables. Each variable is then a pivot variable, and the homogeneous equations force every one to be zero. So statement 3 implies statement 2. Conversely, suppose there is a column without a pivot. Assign its free variable the value \(1\), assign every other free variable the value \(0\), and solve the pivot equations for the pivot variables. The resulting coefficient column solves the homogeneous system and is nonzero, because its chosen free variable is \(1\). Statement 2 is then false. Thus statements 2 and 3 are equivalent.

It remains to compare statements 2 and 4. Suppose statement 2 holds, and let \(\mathbf{b}\) be any vector in the span. By the definition of span, there is a coefficient column \(\mathbf{x}\) such that \(\mathbf{A}\mathbf{x}=\mathbf{b}\). If another coefficient column \(\mathbf{y}\) also represents \(\mathbf{b}\), then \(\mathbf{A}\mathbf{x}=\mathbf{A}\mathbf{y}\), so \(\mathbf{A}(\mathbf{x}-\mathbf{y})=\mathbf{0}\). Statement 2 forces \(\mathbf{x}-\mathbf{y}=\mathbf{0}\), hence \(\mathbf{x}=\mathbf{y}\). Each span member therefore has unique coefficients, proving statement 4.

For the reverse implication, suppose statement 4 holds. The zero vector belongs to the span and has the representation \(\mathbf{A}\mathbf{0}=\mathbf{0}\). By uniqueness, no other coefficient column can produce the zero vector. Thus the homogeneous system has only the zero solution, which is statement 2. All four statements are equivalent. \(\square\)

This proof uses the RREF only to decide whether the homogeneous system has a nonzero solution. A pivot in every column means there are no free variables; a missing pivot means at least one free variable can be chosen nonzero. The pivot test and the coefficient-uniqueness test are not separate conditions to check after independence: they are different descriptions of the same property.

Worked Examples: Reading the Tests Together

Worked Example: Independent Columns Give Unique Coefficients

Let \(\mathbf{v}_1=(1,0,1)^{\top}\) and \(\mathbf{v}_2=(0,1,1)^{\top}\). Test whether the columns are independent, then find the coefficients representing \(\mathbf{b}=(2,-1,1)^{\top}\).

Put the vectors in the columns of \(\mathbf{A}\). Subtracting row 1 from row 3 and then row 2 from row 3 gives

$$ \begin{bmatrix}1&0\\0&1\\1&1\end{bmatrix} \xrightarrow{R_3\to R_3-R_1} \begin{bmatrix}1&0\\0&1\\0&1\end{bmatrix} \xrightarrow{R_3\to R_3-R_2} \begin{bmatrix}1&0\\0&1\\0&0\end{bmatrix}. $$

There is a pivot in both columns, so the homogeneous system has only the zero solution and the list is independent. To represent \(\mathbf{b}\), solve \(\mathbf{A}\mathbf{x}=\mathbf{b}\): the first equation gives \(x_1=2\), the second gives \(x_2=-1\), and the third requires \(x_1+x_2=1\). The values found satisfy that third equation, so the coefficients are \(2\) and \(-1\).

Check: \(2(1,0,1)^{\top}-1(0,1,1)^{\top}=(2,-1,1)^{\top}=\mathbf{b}\). By the theorem, no other coefficient pair can represent this vector.

Worked Example: A Missing Pivot Produces Two Representations

Consider \(\mathbf{v}_1=(1,0)^{\top}\), \(\mathbf{v}_2=(0,1)^{\top}\), and \(\mathbf{v}_3=(1,1)^{\top}\). Reduce their column matrix and use it to find two coefficient columns representing \((1,1)^{\top}\).

The matrix is already in RREF:

$$ \mathbf{A}= \begin{bmatrix}1&0&1\\0&1&1\end{bmatrix} =\operatorname{rref}(\mathbf{A}). $$

Columns 1 and 2 have pivots, while column 3 does not. In the homogeneous system, the equations are \(x_1+x_3=0\) and \(x_2+x_3=0\). Taking \(x_3=1\) gives \(x_1=-1\) and \(x_2=-1\), so \((-1,-1,1)^{\top}\) is a nonzero zero-combination coefficient column.

For the vector \((1,1)^{\top}\), one representation uses coefficients \((1,1,0)^{\top}\), and another uses \((0,0,1)^{\top}\). Indeed, \(\mathbf{v}_1+\mathbf{v}_2=\mathbf{v}_3=(1,1)^{\top}\). The two representations differ by \((-1,-1,1)^{\top}\), the homogeneous solution just found.

Check: \(\mathbf{A}(1,1,0)^{\top}=(1,1)^{\top}\), and \(\mathbf{A}(0,0,1)^{\top}=(1,1)^{\top}\). The distinct coefficient columns verify that coefficients are not unique.

Worked Example: Independence Does Not Guarantee a Solution for Every Right-Hand Side

Let \(\mathbf{A}=\begin{bmatrix}1&0\\0&1\\0&0\end{bmatrix}\). Its two columns are independent because each column has a pivot. Determine whether \(\mathbf{A}\mathbf{x}=(1,2,3)^{\top}\) has a solution.

The equations are \(x_1=1\), \(x_2=2\), and \(0=3\). The last equation is impossible. In augmented-matrix form, the contradiction appears as

$$ \left[\begin{array}{cc|c} 1&0&1\\ 0&1&2\\ 0&0&3 \end{array}\right] \xrightarrow{R_3\to \frac13R_3} \left[\begin{array}{cc|c} 1&0&1\\ 0&1&2\\ 0&0&1 \end{array}\right]. $$

So this right-hand side has no representation by the columns. This does not contradict the theorem: unique coefficients are guaranteed for vectors in the span, not for every vector in \(\mathbb{R}^3\). Here every vector in the span has the form \((x_1,x_2,0)^{\top}\), while \((1,2,3)^{\top}\) is not of that form.

Check: for every coefficient column \((x_1,x_2)^{\top}\), \(\mathbf{A}(x_1,x_2)^{\top}=(x_1,x_2,0)^{\top}\), whose third entry is \(0\), not \(3\).

A Useful Consequence and a Common Mistake

Corollary: If the columns of \(\mathbf{A}\) are linearly independent, then for any \(\mathbf{b}\in\operatorname{Col}\mathbf{A}\), the equation \(\mathbf{A}\mathbf{x}=\mathbf{b}\) has exactly one solution.

Proof. Since \(\mathbf{b}\in\operatorname{Col}\mathbf{A}\), it is a linear combination of the columns, so at least one solution \(\mathbf{x}\) exists. If \(\mathbf{y}\) is another solution, then \(\mathbf{A}\mathbf{x}=\mathbf{b}=\mathbf{A}\mathbf{y}\), giving \(\mathbf{A}(\mathbf{x}-\mathbf{y})=\mathbf{0}\). Independence means the only solution of this homogeneous system is \(\mathbf{0}\). Hence \(\mathbf{x}-\mathbf{y}=\mathbf{0}\), so \(\mathbf{x}=\mathbf{y}\). \(\square\)

Common mistake: “Independent columns mean \(\mathbf{A}\mathbf{x}=\mathbf{b}\) has a unique solution for every \(\mathbf{b}\).” The mistake is to infer existence from uniqueness. For the matrix in the third example, the columns are independent, but solving for \(\mathbf{b}=(1,2,3)^{\top}\) gives \(x_1=1\), \(x_2=2\), and \(0=3\). There is no solution to be unique. The correction is to separate the questions: independence ensures that there is at most one solution for any right-hand side; there is exactly one when the right-hand side also belongs to the column space.

These tests are useful in different forms. The zero-combination definition is direct when a dependence relation is easy to find. Row reduction gives a systematic pivot test. The homogeneous system identifies whether any nonzero coefficient change leaves the represented vector unchanged. Finally, for a vector already known to be in the span, independence tells us that its coefficient list is determined without ambiguity.

Check Your Understanding

For each question, connect the coefficient equation to the relevant test.

  1. State the homogeneous system associated with columns \(\mathbf{v}_1,\mathbf{v}_2,\mathbf{v}_3\), and explain what its nonzero solutions would mean.
  2. A \(3\times 4\) matrix has a column without a pivot in its RREF. What can you conclude about its homogeneous system and its columns?
  3. If \(\mathbf{A}\mathbf{x}=\mathbf{b}\) and \(\mathbf{A}\mathbf{y}=\mathbf{b}\), what equation does \(\mathbf{x}-\mathbf{y}\) satisfy?
  4. Can independent columns guarantee a solution for every \(\mathbf{b}\in\mathbb{R}^m\)? Explain the role of \(\operatorname{Col}\mathbf{A}\).
  5. For \(\mathbf{A}=\begin{bmatrix}1&0&1\\0&1&1\end{bmatrix}\), find a nonzero solution of \(\mathbf{A}\mathbf{x}=\mathbf{0}\) and use it to explain why coefficients need not be unique.

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