Tutorials › Linear Algebra › Three-Vector Independence Tests in R^3

Linear Independence · Tutorial 177 of 1000

Three-Vector Independence Tests in R^3

Use row reduction to decide whether a triple in \(\mathbb{R}^3\) is independent and, when it is dependent, find and verify a dependence relation.

Beginner 9 min read

What You'll Learn

  • Form the column matrix for three vectors in \(\mathbb{R}^3\).
  • Use pivot columns in RREF to decide independence.
  • Read a dependence relation from the homogeneous system.
  • Handle dependent triples with a free middle variable.
  • Distinguish rank-two dependence from rank-one dependence.
  • Verify a proposed relation by substituting it into the original vectors.

From Three Vectors to a Matrix

For three vectors in \(\mathbb{R}^3\), the independence test is a manageable row-reduction problem: put the vectors in the columns of a \(3\times3\) matrix, reduce it, and identify its pivot columns. If every column is a pivot column, the vectors are independent. If a column has no pivot, the vectors are dependent. In the dependent case, the free variables in the reduced homogeneous system tell us how to write a dependence relation.

Vectors are columns throughout. Let \(\mathbf{v}_1,\mathbf{v}_2,\mathbf{v}_3\in\mathbb{R}^3\), and form the matrix \(\mathbf{A}=[\mathbf{v}_1\ \mathbf{v}_2\ \mathbf{v}_3]\). A dependence relation is an equation \(c_1\mathbf{v}_1+c_2\mathbf{v}_2+c_3\mathbf{v}_3=\mathbf{0}\) in which the real coefficients are not all zero. Writing \(\mathbf{c}=(c_1,c_2,c_3)^\top\), this equation is exactly \(\mathbf{A}\mathbf{c}=\mathbf{0}\).

Definition: The list \(\mathbf{v}_1,\mathbf{v}_2,\mathbf{v}_3\) is linearly independent if \(c_1\mathbf{v}_1+c_2\mathbf{v}_2+c_3\mathbf{v}_3=\mathbf{0}\) forces \(c_1=c_2=c_3=0\). It is linearly dependent if there is a solution with at least one nonzero coefficient.

The earlier pivot test for independence says that a matrix's columns are independent exactly when every column is a pivot column in its RREF. For this topic, the practical task is to use that test on a \(3\times3\) column matrix and, if a column is free, turn the resulting equations into coefficients. Row reduction preserves the solutions of the homogeneous system, so coefficients found from the RREF give a relation among the original columns.

Observation: For \(\mathbf{A}=[\mathbf{v}_1\ \mathbf{v}_2\ \mathbf{v}_3]\), solving \(\mathbf{A}\mathbf{c}=\mathbf{0}\) is equivalent to finding all coefficient triples in dependence relations among the three vectors.

Proof. By the definition of matrix-vector multiplication, \(\mathbf{A}\mathbf{c}=c_1\mathbf{v}_1+c_2\mathbf{v}_2+c_3\mathbf{v}_3\). Thus \(\mathbf{A}\mathbf{c}=\mathbf{0}\) holds exactly when the coefficients give a relation among the columns. The zero solution gives the trivial relation, while any solution with a nonzero component gives a nontrivial dependence relation. \(\square\)

Worked Tests for Three-Vector Lists

Worked Example: Three Independent Vectors

Test \(\mathbf{v}_1=(1,0,1)^\top\), \(\mathbf{v}_2=(0,1,1)^\top\), and \(\mathbf{v}_3=(1,1,0)^\top\) for independence.

Place the vectors in columns. First use \(R_3\to R_3-R_1\), then \(R_3\to R_3-R_2\):

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

Scale \(R_3\) by \(-\tfrac12\), then use \(R_1\to R_1-R_3\) and \(R_2\to R_2-R_3\):

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

There is a pivot in each column, so the only solution of the homogeneous system is \(c_1=c_2=c_3=0\). The vectors are independent. Check: the coefficient vector is \(\mathbf{0}\), and the original matrix times that vector is \(\mathbf{A}\mathbf{0}=\mathbf{0}\), as required. The RREF shows there are no other solutions.

Worked Example: A Dependent Triple with Two Pivots

Test \(\mathbf{v}_1=(1,2,0)^\top\), \(\mathbf{v}_2=(0,1,1)^\top\), and \(\mathbf{v}_3=(1,3,1)^\top\). If dependent, find a relation.

Subtract \(2R_1\) from \(R_2\), then subtract the new \(R_2\) from \(R_3\):

$$ \begin{bmatrix} 1&0&1\\ 2&1&3\\ 0&1&1 \end{bmatrix} \sim \begin{bmatrix} 1&0&1\\ 0&1&1\\ 0&1&1 \end{bmatrix} \sim \begin{bmatrix} 1&0&1\\ 0&1&1\\ 0&0&0 \end{bmatrix}. $$

Clear the entries above the second pivot using \(R_1\to R_1\) (there is already a zero above it). The displayed matrix is in RREF. The equations are \(c_1+c_3=0\) and \(c_2+c_3=0\), so \(c_1=-c_3\) and \(c_2=-c_3\). Choose the free variable \(c_3=1\). Then \((c_1,c_2,c_3)=(-1,-1,1)\), giving the relation \(-\mathbf{v}_1-\mathbf{v}_2+\mathbf{v}_3=\mathbf{0}\).

Check: \(-\mathbf{v}_1-\mathbf{v}_2+\mathbf{v}_3=-(1,2,0)^\top-(0,1,1)^\top+(1,3,1)^\top=(0,0,0)^\top\). The relation is nontrivial and verifies dependence.

Worked Example: The Free Variable Is in the Middle

Let \(\mathbf{v}_1=(1,0,0)^\top\), \(\mathbf{v}_2=(2,0,0)^\top\), and \(\mathbf{v}_3=(0,1,0)^\top\). Reduce the column matrix and find a dependence relation.

The matrix is already in RREF:

$$ \begin{bmatrix} 1&2&0\\ 0&0&1\\ 0&0&0 \end{bmatrix}. $$

The pivot columns are 1 and 3, so \(c_2\), not \(c_3\), is free. The equations are \(c_1+2c_2=0\) and \(c_3=0\). Setting \(c_2=1\) gives \(c_1=-2\) and \(c_3=0\), hence \((-2,1,0)\) is a nonzero solution.

Check: \(-2\mathbf{v}_1+\mathbf{v}_2+0\mathbf{v}_3=-2(1,0,0)^\top+(2,0,0)^\top+(0,0,0)^\top=(0,0,0)^\top\). The second column is twice the first, matching the computed relation.

Worked Example: A Triple with Only One Pivot

Test \(\mathbf{u}_1=(1,2,-1)^\top\), \(\mathbf{u}_2=(2,4,-2)^\top\), and \(\mathbf{u}_3=(-1,-2,1)^\top\), and find a dependence relation.

Apply \(R_2\to R_2-2R_1\) and \(R_3\to R_3+R_1\):

$$ \begin{bmatrix} 1&2&-1\\ 2&4&-2\\ -1&-2&1 \end{bmatrix} \sim \begin{bmatrix} 1&2&-1\\ 0&0&0\\ 0&0&0 \end{bmatrix}. $$

Only column 1 is a pivot column. The equation is \(c_1+2c_2-c_3=0\), so there are two free variables. Choose \(c_2=1\) and \(c_3=0\); then \(c_1=-2\), giving \((-2,1,0)\).

Check: \(-2\mathbf{u}_1+\mathbf{u}_2=-2(1,2,-1)^\top+(2,4,-2)^\top=(-2+2,-4+4,2-2)^\top=(0,0,0)^\top\). This confirms a nontrivial relation.

What the Number of Pivots Tells You

For a \(3\times3\) matrix, there can be at most three pivot columns. Three pivots mean independence; fewer than three mean dependence. The number of free variables is the number of nonpivot columns: one free variable when there are two pivots, two when there is one pivot, and three when there are no pivots. When there are no pivots, the matrix is the zero matrix, and any nonzero coefficient vector gives a dependence relation.

The two-pivot case has a useful feature: every dependence relation is a scalar multiple of one relation. This can help check that a relation extracted by row reduction has not missed another independent choice.

Proposition: Suppose the RREF of a \(3\times3\) matrix has exactly two pivot columns. Then the solutions of its homogeneous system are the scalar multiples of one nonzero solution. In particular, all dependence relations among its columns are scalar multiples of one nonzero dependence relation.

Proof. Exactly two pivot columns leave exactly one nonpivot column, whose coefficient is the one free variable; call it \(t\). Each pivot variable is determined by the reduced equations. Since the equations are homogeneous, setting \(t=0\) makes every pivot variable zero. Setting \(t=1\) produces a solution \(\mathbf{c}_0\) whose free coordinate is 1, so \(\mathbf{c}_0\ne\mathbf{0}\). For any real \(t\), the vector \(t\mathbf{c}_0\) has free coordinate \(t\) and satisfies the same homogeneous equations. The pivot variables are uniquely determined by that free coordinate, so every solution with free coordinate \(t\) must equal \(t\mathbf{c}_0\). Therefore all solutions, including the dependence relations, are scalar multiples of \(\mathbf{c}_0\). \(\square\)

Common Pitfall: Pairwise Nonproportional Is Not Enough

A tempting but incorrect shortcut is to check that no two vectors are scalar multiples and then conclude that three vectors in \(\mathbb{R}^3\) are independent. For example, in the second worked example, \((1,2,0)^\top\), \((0,1,1)^\top\), and \((1,3,1)^\top\) are pairwise nonproportional: their zero coordinates and coordinate ratios rule out any scalar multiple between each pair. But the conclusion of independence is wrong, because \(\mathbf{v}_3=\mathbf{v}_1+\mathbf{v}_2\).

The correction is to test the whole list using its column matrix. Pairwise comparisons do not test whether one vector is a combination of both of the others. Row reduction does: a nonpivot column gives a free variable, and a nonzero choice of that variable produces an explicit relation to verify against the original vectors.

Check Your Understanding

For each triple, form the column matrix. When a triple is dependent, find a nonzero coefficient vector and check the resulting relation in the original coordinates.

  1. Test \((1,0,0)^\top\), \((0,1,0)^\top\), and \((0,0,1)^\top\) for independence by row reduction.
  2. Find a dependence relation for \((1,1,0)^\top\), \((0,1,1)^\top\), and \((1,2,1)^\top\).
  3. For the matrix \(\begin{bmatrix}1&0&2\\0&1&-1\\0&0&0\end{bmatrix}\), identify the free variable and give one nonzero solution of the homogeneous system.
  4. Explain why a triple with only one pivot column has at least two free variables.
  5. Give a concrete reason why checking only whether pairs of vectors are proportional cannot establish independence of a triple.

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