Skip to content
VidiMaster it, module by module
Module 1/Vector Spaces & Subspaces

Linear Independence

A set of vectors is linearly independent when none of them is "redundant" — no vector can be built from the others. This lesson defines independence precisely, shows how to test for it with the homogeneous system, rank, and determinant, and teaches you to extract an explicit dependency relation when one exists.

Before you start — give these a try

Attempting first primes your brain for the lesson — even if you miss. Nothing is graded or saved; it's just a warm-up.

Which of the following sets of vectors is linearly independent?

Select ALL of the following sets that are linearly dependent.

What you’ll be able to do

  • State the definition of linear independence and dependence in terms of the equation c1v1+⋯+ckvk=0c_1\mathbf{v}_1+\cdots+c_k\mathbf{v}_k=\mathbf{0}.
  • Test whether a set of vectors is independent using the homogeneous system, the rank of a matrix, or (for square matrices) the determinant.
  • Produce an explicit nontrivial dependency relation for a dependent set and express its coefficients as a vector.
  • Apply the fact that any set of more than nn vectors in Rn\mathbb{R}^n must be linearly dependent.
  • Connect the rank of a matrix to the number of linearly independent columns it has.

In your course

· MATH2015 · Linear Algebra & Probability
§2.3 Linear Independence and Dependence
  • Definition 2.5Linearly dependent / independent
    v1,…,vkv_1,\dots,v_k are linearly dependent if there are scalars c1,…,ckc_1,\dots,c_k, not all zero, with c1v1+⋯+ckvk=0c_1v_1+\dots+c_kv_k=\mathbf{0}; otherwise they are linearly independent.
  • Remark 2.6Dependence facts (parallel, zero vector)
  • Remark 2.7Linear-independence test
1

Redundancy: the intuition

Think of a collection of vectors as a toolkit for building other vectors through linear combinations — expressions of the form c1v1+c2v2+⋯+ckvkc_1\mathbf{v}_1 + c_2\mathbf{v}_2 + \cdots + c_k\mathbf{v}_k, where the cic_i are real-number scalars.

A set is linearly independent when every tool pulls its own weight: no vector in the set can be written as a combination of the others. A set is linearly dependent when at least one vector is redundant — it duplicates directions already covered by the rest.

  • In R2\mathbb{R}^2, the vectors [10]\begin{bmatrix} 1 \\ 0 \end{bmatrix} and [01]\begin{bmatrix} 0 \\ 1 \end{bmatrix} point in genuinely different directions — independent.
  • The vectors [12]\begin{bmatrix} 1 \\ 2 \end{bmatrix} and [24]\begin{bmatrix} 2 \\ 4 \end{bmatrix} lie on the same line (the second is twice the first) — dependent.

Here Rn\mathbb{R}^n denotes the space of column vectors with nn real entries, and 0\mathbf{0} is the zero vector (all entries 00).

2

The formal definition

The redundancy idea is made precise through a single equation.

Given vectors v1,…,vk\mathbf{v}_1,\dots,\mathbf{v}_k in Rn\mathbb{R}^n, consider c1v1+c2v2+⋯+ckvk=0.c_1\mathbf{v}_1 + c_2\mathbf{v}_2 + \cdots + c_k\mathbf{v}_k = \mathbf{0}. Setting every coefficient ci=0c_i = 0 always works; this is the trivial solution.

  • The set is linearly independent if the trivial solution is the only solution.
  • The set is linearly dependent if there exists a nontrivial solution — scalars c1,…,ckc_1,\dots,c_k, not all zero, satisfying the equation. Such an equation is called a dependency relation.

Why this captures redundancy: if, say, cj≠0c_j \neq 0 in a dependency relation, you can divide by cjc_j and solve for vj\mathbf{v}_j as a combination of the others — so vj\mathbf{v}_j really was redundant.

Two quick consequences of the definition:

  • A set containing the zero vector is always dependent: put coefficient 11 on 0\mathbf{0} and 00 on everything else to get a nontrivial relation.
  • A single nonzero vector {v}\{\mathbf{v}\} is independent, since cv=0c\mathbf{v}=\mathbf{0} forces c=0c=0.
3

Testing: homogeneous system, rank, determinant

To test a concrete set, stack the vectors as the columns of a matrix A=[ v1 v2 ⋯ vk ]A = [\,\mathbf{v}_1\ \mathbf{v}_2\ \cdots\ \mathbf{v}_k\,]. Then c1v1+⋯+ckvk=Ac,c=[c1⋮ck],c_1\mathbf{v}_1+\cdots+c_k\mathbf{v}_k = A\mathbf{c}, \qquad \mathbf{c}=\begin{bmatrix} c_1 \\ \vdots \\ c_k \end{bmatrix}, so the dependency equation becomes the homogeneous system Ac=0A\mathbf{c}=\mathbf{0}.

Method 1 — row reduction. Row-reduce AA. The columns are independent exactly when every column has a pivot (leading entry), i.e. there are no free variables. A free variable gives a nontrivial solution and hence dependence.

Method 2 — rank. The rank of AA is the number of pivots (equivalently, the number of linearly independent columns). The columns are independent iff rank⁡(A)=k (the number of vectors).\operatorname{rank}(A) = k \ (\text{the number of vectors}). If rank⁡(A)<k\operatorname{rank}(A) < k, the set is dependent, and the number of free variables is k−rank⁡(A)k - \operatorname{rank}(A).

Method 3 — determinant (square case only). If you have exactly nn vectors in Rn\mathbb{R}^n, then AA is n×nn\times n and det⁡(A)≠0  ⟺  the columns are linearly independent.\det(A) \neq 0 \iff \text{the columns are linearly independent}. A zero determinant signals dependence. This shortcut applies only when the number of vectors equals the dimension.

4

A counting fact in R^n

There is a hard ceiling on how many vectors can be independent at once.

Any set of more than nn vectors in Rn\mathbb{R}^n is automatically linearly dependent.

Reason: stacking k>nk > n vectors as columns gives an n×kn \times k matrix AA. It has at most nn pivots (one per row), so at least k−n≥1k - n \geq 1 columns are free — there is always a nontrivial solution to Ac=0A\mathbf{c}=\mathbf{0}.

Consequences you can use instantly:

  • 33 vectors in R2\mathbb{R}^2: dependent, no computation needed.
  • 44 vectors in R3\mathbb{R}^3: dependent.
  • The maximum number of linearly independent vectors in Rn\mathbb{R}^n is exactly nn.

Note the one-way nature: fewer than or equal to nn vectors may or may not be independent — you still have to test those.

Definition of Linear Independence

Vectors v1,…,vk∈Rn\mathbf{v}_1,\dots,\mathbf{v}_k \in \mathbb{R}^n are linearly independent if the only solution of c1v1+⋯+ckvk=0c_1\mathbf{v}_1+\cdots+c_k\mathbf{v}_k=\mathbf{0} is c1=c2=⋯=ck=0c_1=c_2=\cdots=c_k=0. If any solution has some ci≠0c_i \neq 0, the vectors are linearly dependent, and that solution is a dependency relation.

Intuition. Independence means the only way to combine the vectors into the zero vector is the 'do nothing' combination. Any other recipe that cancels to zero exposes a redundant vector that can be rebuilt from the others.
Rank / Pivot Characterization of Independence

Let A=[ v1 ⋯ vk ]A=[\,\mathbf{v}_1\ \cdots\ \mathbf{v}_k\,] be the n×kn\times k matrix whose columns are the given vectors. The columns are linearly independent iff Ax=0A\mathbf{x}=\mathbf{0} has only the trivial solution, iff every column of AA is a pivot column, iff rank⁡(A)=k\operatorname{rank}(A)=k.

Intuition. Row reduction exposes redundancy: a column without a pivot corresponds to a free variable, which lets you build a nontrivial combination equal to zero. No free variables means no redundancy.
Too Many Vectors Are Dependent

Any set of kk vectors in Rn\mathbb{R}^n with k>nk > n is linearly dependent.

Intuition. An n×kn\times k matrix has at most nn pivots, so with more columns than rows at least one column is free, guaranteeing a nontrivial dependency relation. You can never fit more than nn independent directions into Rn\mathbb{R}^n.

Worked examples

Example 1

Determine whether v1=[123], v2=[456], v3=[789]\mathbf{v}_1=\begin{bmatrix}1\\2\\3\end{bmatrix},\ \mathbf{v}_2=\begin{bmatrix}4\\5\\6\end{bmatrix},\ \mathbf{v}_3=\begin{bmatrix}7\\8\\9\end{bmatrix} are linearly independent. If not, give an explicit dependency relation and state the rank.

  1. 1

    Set up the matrix. Place the vectors as columns: A=[147258369]A=\begin{bmatrix}1&4&7\\2&5&8\\3&6&9\end{bmatrix}. We must solve the homogeneous system Ac=0A\mathbf{c}=\mathbf{0}.

  2. 2

    Quick determinant screen (square case). Since this is 33 vectors in R3\mathbb{R}^3, compute det⁡(A)=1(5⋅9−8⋅6)−4(2⋅9−8⋅3)+7(2⋅6−5⋅3)=1(−3)−4(−6)+7(−3)=−3+24−21=0\det(A)=1(5\cdot 9-8\cdot 6)-4(2\cdot 9-8\cdot 3)+7(2\cdot 6-5\cdot 3)=1(-3)-4(-6)+7(-3)=-3+24-21=0. A zero determinant means the columns are dependent — now we find the actual relation.

  3. 3

    Row reduce. Use R2→R2−2R1R_2\to R_2-2R_1 and R3→R3−3R1R_3\to R_3-3R_1: [1470−3−60−6−12]\begin{bmatrix}1&4&7\\0&-3&-6\\0&-6&-12\end{bmatrix}. Then R3→R3−2R2R_3\to R_3-2R_2 zeroes the last row, and scaling R2R_2 by −13-\tfrac13 gives [147012000]\begin{bmatrix}1&4&7\\0&1&2\\0&0&0\end{bmatrix}.

  4. 4

    Reach reduced form. Clear above the second pivot with R1→R1−4R2R_1\to R_1-4R_2: [10−1012000]\begin{bmatrix}1&0&-1\\0&1&2\\0&0&0\end{bmatrix}. Columns 1 and 2 are pivot columns; column 3 is free. So rank⁡(A)=2<3\operatorname{rank}(A)=2 < 3, confirming dependence.

  5. 5

    Solve for the relation. The system reads c1−c3=0c_1 - c_3 = 0 and c2+2c3=0c_2 + 2c_3 = 0. Let the free variable be c3=1c_3=1: then c1=1c_1=1 and c2=−2c_2=-2. So c=[1−21]\mathbf{c}=\begin{bmatrix}1\\-2\\1\end{bmatrix}.

  6. 6

    Verify. 1v1−2v2+1v3=[1−8+72−10+83−12+9]=[000].1\mathbf{v}_1 - 2\mathbf{v}_2 + 1\mathbf{v}_3 = \begin{bmatrix}1-8+7\\2-10+8\\3-12+9\end{bmatrix}=\begin{bmatrix}0\\0\\0\end{bmatrix}. The relation holds.

Answer. Dependent. A dependency relation is v1−2v2+v3=0\mathbf{v}_1 - 2\mathbf{v}_2 + \mathbf{v}_3 = \mathbf{0} (coefficients [1−21]\begin{bmatrix}1\\-2\\1\end{bmatrix}), and rank⁡(A)=2\operatorname{rank}(A)=2.
Example 2

Are [101], [011], [110]\begin{bmatrix}1\\0\\1\end{bmatrix},\ \begin{bmatrix}0\\1\\1\end{bmatrix},\ \begin{bmatrix}1\\1\\0\end{bmatrix} linearly independent?