📐

Linear Independence: Linear Algebra Study Notes

October 11, 2026

📐 Linear Independence

Main Topics Covered

  • Definition of linear independence and linear dependence
  • Independence of sequences, finite sets, infinite sets and indexed families
  • Definition via span
  • Geometric and geographic examples
  • Evaluating linear independence: zero vector, two vectors, row reduction, determinants
  • Natural basis vectors and linear independence of functions
  • The space of linear dependencies
  • Generalizations: affine independence and independent subspaces

💡 Core Idea

A set of vectors is linearly independent if there exists no vector in the set that is equal to a linear combination of the other vectors in the set. If such a vector exists, the vectors are linearly dependent.

  • Linear independence is part of the definition of a linear basis.
  • A vector space can be of finite or infinite dimension depending on the maximum number of linearly independent vectors.
  • The definition of linear dependence, and the ability to decide whether a subset of a vector space is linearly dependent, are central to determining the dimension of a vector space.

📖 Definition

Linear dependence

A sequence of vectors v1,v2,…,vk\mathbf{v}_1, \mathbf{v}_2, \dots, \mathbf{v}_k from a vector space VV is linearly dependent if there exist scalars a1,a2,…,aka_1, a_2, \dots, a_k, not all zero, such that

a1v1+a2v2+⋯+akvk=0,a_1\mathbf{v}_1 + a_2\mathbf{v}_2 + \cdots + a_k\mathbf{v}_k = \mathbf{0},

where 0\mathbf{0} denotes the zero vector.

  • If k=1k = 1: a single vector is linearly dependent if and only if it is the zero vector.
  • If k>1k > 1: at least one scalar is nonzero, say a1≠0a_1 \neq 0, and the equation can be rewritten as

v1=−a2a1v2+⋯+−aka1vk.\mathbf{v}_1 = \frac{-a_2}{a_1}\mathbf{v}_2 + \cdots + \frac{-a_k}{a_1}\mathbf{v}_k.

  • Therefore, a set of vectors is linearly dependent if and only if one of them is zero or a linear combination of the others.

Linear independence

A sequence v1,…,vn\mathbf{v}_1, \dots, \mathbf{v}_n is linearly independent if it is not linearly dependent, that is, if the equation

a1v1+a2v2+⋯+anvn=0a_1\mathbf{v}_1 + a_2\mathbf{v}_2 + \cdots + a_n\mathbf{v}_n = \mathbf{0}

can only be satisfied by ai=0a_i = 0 for i=1,…,ni = 1, \dots, n.

Equivalent ways to say it:

  • No vector in the sequence can be represented as a linear combination of the remaining vectors.
  • The only representation of 0\mathbf{0} as a linear combination of the vectors is the trivial representation, in which all scalars aia_i are zero.
  • Even more concisely: the vectors are linearly independent if and only if 0\mathbf{0} can be represented as a linear combination of them in a unique way.

Sequences versus sets

  • If a sequence contains the same vector twice, it is necessarily dependent.
  • Linear dependency of a sequence does not depend on the order of its terms. This allows defining independence for a finite set: a finite set is linearly independent if the sequence obtained by ordering it is linearly independent.
  • Useful result: a sequence of vectors is linearly independent if and only if it does not contain the same vector twice and the set of its vectors is linearly independent.

Infinite case

  • An infinite set of vectors is linearly independent if every finite subset is linearly independent.
    • This also applies to finite sets, since a finite set is a finite subset of itself.
    • Every subset of a linearly independent set is also linearly independent.
  • Conversely, an infinite set is linearly dependent if it contains a finite subset that is linearly dependent, or equivalently, if some vector in the set is a linear combination of other vectors in the set.
  • An indexed family of vectors is linearly independent if it does not contain the same vector twice and the set of its vectors is linearly independent. Otherwise it is linearly dependent.
  • A set that is linearly independent and spans a vector space forms a basis for that space.
    • Example: the vector space of all polynomials in xx over the reals has the (infinite) subset {1,x,x2,… }\{1, x, x^2, \dots\} as a basis.

Definition via span

Let VV be a vector space.

  • A set X⊆VX \subseteq V is linearly independent if and only if XX is a minimal element of {Y⊆V∣X⊆Span⁡(Y)}\{Y \subseteq V \mid X \subseteq \operatorname{Span}(Y)\} under the inclusion order.
  • In contrast, XX is linearly dependent if it has a proper subset whose span is a superset of XX.

🧭 Examples

Geometric examples

VectorsStatusReason
u⃗\vec{u}, v⃗\vec{v}IndependentThey define the plane PP
u⃗\vec{u}, v⃗\vec{v}, w⃗\vec{w}DependentAll three lie in the same plane
u⃗\vec{u}, j⃗\vec{j}DependentThey are parallel to each other
u⃗\vec{u}, v⃗\vec{v}, k⃗\vec{k}Independentu⃗\vec{u}, v⃗\vec{v} are independent and k⃗\vec{k} is not a linear combination of them (they do not share a common plane); the three define a three-dimensional space
o⃗\vec{o} (null vector), k⃗\vec{k}Dependento⃗=0 k⃗\vec{o} = 0\,\vec{k}

Geographic location

A person says, "It is 3 miles north and 4 miles east of here." This is enough to describe the location, since the geographic coordinate system may be considered a 2-dimensional vector space (ignoring altitude and the curvature of the Earth).

  • The "3 miles north" and "4 miles east" vectors are linearly independent: the north vector cannot be described in terms of the east vector, and vice versa.
  • Adding "5 miles northeast of here" is true but unnecessary. This third vector is a linear combination of the other two, so the set becomes linearly dependent: one of the three vectors is unnecessary.
  • If altitude is not ignored, a third vector must be added to the independent set.
  • In general, nn linearly independent vectors are required to describe all locations in nn-dimensional space.

🔍 Evaluating Linear Independence

The zero vector

If one or more vectors in v1,…,vk\mathbf{v}_1, \dots, \mathbf{v}_k is the zero vector, the vectors are necessarily linearly dependent.

Why: suppose vi=0\mathbf{v}_i = \mathbf{0}.

  1. Let ai:=1a_i := 1 (any other nonzero scalar also works).
  2. Let aj:=0a_j := 0 for every index j≠ij \neq i, so that ajvj=0 vj=0a_j\mathbf{v}_j = 0\,\mathbf{v}_j = \mathbf{0}.
  3. Then

a1v1+⋯+akvk=0+⋯+0+aivi+0+⋯+0=aivi=ai0=0.a_1\mathbf{v}_1 + \cdots + a_k\mathbf{v}_k = \mathbf{0} + \cdots + \mathbf{0} + a_i\mathbf{v}_i + \mathbf{0} + \cdots + \mathbf{0} = a_i\mathbf{v}_i = a_i\mathbf{0} = \mathbf{0}.

  1. Since ai≠0a_i \neq 0, not all scalars are zero, so the vectors are linearly dependent.

Consequences:

  • The zero vector cannot belong to any linearly independent collection.
  • For k=1k = 1: the sequence v1\mathbf{v}_1 is linearly dependent if and only if v1=0\mathbf{v}_1 = \mathbf{0}; it is linearly independent if and only if v1≠0\mathbf{v}_1 \neq \mathbf{0}.

Two vectors

For two vectors u\mathbf{u} and v\mathbf{v} from a real or complex vector space, they are linearly dependent if and only if at least one of these holds:

  1. u=cv\mathbf{u} = c\mathbf{v} for some scalar cc, or
  2. v=cu\mathbf{v} = c\mathbf{u} for some scalar cc.

Details of the cases:

  • If u=0\mathbf{u} = \mathbf{0}, take c:=0c := 0: cv=0v=0=uc\mathbf{v} = 0\mathbf{v} = \mathbf{0} = \mathbf{u}, so (1) is true. Similarly, if v=0\mathbf{v} = \mathbf{0} then (2) is true because v=0u\mathbf{v} = 0\mathbf{u}.
  • If u=v\mathbf{u} = \mathbf{v} (for instance both zero), both (1) and (2) are true (using c:=1c := 1).
  • If u=cv\mathbf{u} = c\mathbf{v} and u≠0\mathbf{u} \neq \mathbf{0}, then c≠0c \neq 0 and v≠0\mathbf{v} \neq \mathbf{0}, so multiplying both sides by 1c\frac{1}{c} gives v=1cu\mathbf{v} = \frac{1}{c}\mathbf{u}.
  • Hence if u≠0\mathbf{u} \neq \mathbf{0} and v≠0\mathbf{v} \neq \mathbf{0}, then (1) is true if and only if (2) is true: either both are true (dependent) or both are false (independent).
  • If exactly one of u\mathbf{u}, v\mathbf{v} is 0\mathbf{0} (the other nonzero), then exactly one of (1) and (2) is true.

Result: u\mathbf{u} and v\mathbf{v} are linearly independent if and only if u\mathbf{u} is not a scalar multiple of v\mathbf{v} and v\mathbf{v} is not a scalar multiple of u\mathbf{u}.

Vectors in R2\mathbb{R}^2 (row reduction)

Three vectors: v1=(1,1)\mathbf{v}_1 = (1,1), v2=(−3,2)\mathbf{v}_2 = (-3,2), v3=(2,4)\mathbf{v}_3 = (2,4). Dependence requires nonzero scalars with

a1[11]+a2[−32]+a3[24]=[00],a_1\begin{bmatrix}1\\1\end{bmatrix} + a_2\begin{bmatrix}-3\\2\end{bmatrix} + a_3\begin{bmatrix}2\\4\end{bmatrix} = \begin{bmatrix}0\\0\end{bmatrix},

or equivalently

[1−32124][a1a2a3]=[00].\begin{bmatrix}1&-3&2\\1&2&4\end{bmatrix}\begin{bmatrix}a_1\\a_2\\a_3\end{bmatrix} = \begin{bmatrix}0\\0\end{bmatrix}.

  • Subtract the first row from the second:

[1−32052][a1a2a3]=[00].\begin{bmatrix}1&-3&2\\0&5&2\end{bmatrix}\begin{bmatrix}a_1\\a_2\\a_3\end{bmatrix} = \begin{bmatrix}0\\0\end{bmatrix}.

  • Divide the second row by 5, then multiply by 3 and add to the first row:

[1016/5012/5][a1a2a3]=[00].\begin{bmatrix}1&0&16/5\\0&1&2/5\end{bmatrix}\begin{bmatrix}a_1\\a_2\\a_3\end{bmatrix} = \begin{bmatrix}0\\0\end{bmatrix}.

  • Rearranging:

[a1a2]=−a3[16/52/5].\begin{bmatrix}a_1\\a_2\end{bmatrix} = -a_3\begin{bmatrix}16/5\\2/5\end{bmatrix}.

Nonzero aia_i exist, so v3\mathbf{v}_3 can be written in terms of v1\mathbf{v}_1 and v2\mathbf{v}_2: the three vectors are linearly dependent.

Two vectors: v1=(1,1)\mathbf{v}_1 = (1,1) and v2=(−3,2)\mathbf{v}_2 = (-3,2) give

[1−312][a1a2]=[00].\begin{bmatrix}1&-3\\1&2\end{bmatrix}\begin{bmatrix}a_1\\a_2\end{bmatrix} = \begin{bmatrix}0\\0\end{bmatrix}.

The same row reduction yields

[1001][a1a2]=[00],\begin{bmatrix}1&0\\0&1\end{bmatrix}\begin{bmatrix}a_1\\a_2\end{bmatrix} = \begin{bmatrix}0\\0\end{bmatrix},

so ai=0a_i = 0 and the vectors are linearly independent.

Vectors in R4\mathbb{R}^4

Are the three vectors

v1=[142−3],v2=[710−4−1],v3=[−215−4]\mathbf{v}_1 = \begin{bmatrix}1\\4\\2\\-3\end{bmatrix},\quad \mathbf{v}_2 = \begin{bmatrix}7\\10\\-4\\-1\end{bmatrix},\quad \mathbf{v}_3 = \begin{bmatrix}-2\\1\\5\\-4\end{bmatrix}

linearly dependent? Form the matrix equation

[17−241012−45−3−1−4][a1a2a3]=[0000].\begin{bmatrix}1&7&-2\\4&10&1\\2&-4&5\\-3&-1&-4\end{bmatrix}\begin{bmatrix}a_1\\a_2\\a_3\end{bmatrix} = \begin{bmatrix}0\\0\\0\\0\end{bmatrix}.

Row reduction gives

[17−20−189000000][a1a2a3]=[0000].\begin{bmatrix}1&7&-2\\0&-18&9\\0&0&0\\0&0&0\end{bmatrix}\begin{bmatrix}a_1\\a_2\\a_3\end{bmatrix} = \begin{bmatrix}0\\0\\0\\0\end{bmatrix}.

Rearranging to solve for v3\mathbf{v}_3:

[170−18][a1a2]=−a3[−29].\begin{bmatrix}1&7\\0&-18\end{bmatrix}\begin{bmatrix}a_1\\a_2\end{bmatrix} = -a_3\begin{bmatrix}-2\\9\end{bmatrix}.

This is solved by a1=−3a3/2a_1 = -3a_3/2 and a2=a3/2a_2 = a_3/2, where a3a_3 can be chosen arbitrarily. Nonzero aia_i exist, so v1,v2,v3\mathbf{v}_1, \mathbf{v}_2, \mathbf{v}_3 are linearly dependent.

Alternative method using determinants

nn vectors in Rn\mathbb{R}^n are linearly independent if and only if the determinant of the matrix formed by taking the vectors as columns is non-zero.

Example: for (1,1)(1,1) and (−3,2)(-3,2),

A=[1−312],AΛ=[1−312][λ1λ2].A = \begin{bmatrix}1&-3\\1&2\end{bmatrix},\qquad A\Lambda = \begin{bmatrix}1&-3\\1&2\end{bmatrix}\begin{bmatrix}\lambda_1\\\lambda_2\end{bmatrix}.

We ask whether AΛ=0A\Lambda = 0 for some nonzero Λ\Lambda. This depends on the determinant:

det⁡A=1⋅2−1⋅(−3)=5≠0.\det A = 1\cdot 2 - 1\cdot(-3) = 5 \neq 0.

The determinant is non-zero, so the vectors are linearly independent.

Fewer vectors than coordinates (m<nm < n):

  • Suppose there are mm vectors with nn coordinates, m<nm < n. Then AA is an n×mn \times m matrix, Λ\Lambda is a column vector with mm entries, and AΛ=0A\Lambda = 0 is a list of nn equations.
  • Any solution of the full list must also solve the reduced list formed from any mm rows ⟨i1,…,im⟩\langle i_1, \dots, i_m\rangle:

A⟨i1,…,im⟩Λ=0.A_{\langle i_1,\dots,i_m\rangle}\Lambda = \mathbf{0}.

  • The reverse is also true: the mm vectors are linearly dependent if and only if det⁡A⟨i1,…,im⟩=0\det A_{\langle i_1,\dots,i_m\rangle} = 0 for all possible lists of mm rows.
  • If m=nm = n, only one determinant is needed. If m>nm > n, it is a theorem that the vectors must be linearly dependent.
  • This is valuable for theory; in practical calculations more efficient methods are available.

More vectors than dimensions

If there are more vectors than dimensions, the vectors are linearly dependent. This was illustrated by the three vectors in R2\mathbb{R}^2 above.

🧱 Natural Basis Vectors

Let V=RnV = \mathbb{R}^n and consider the natural basis vectors

e1=(1,0,0,…,0)e2=(0,1,0,…,0)    ⋮en=(0,0,0,…,1).\begin{aligned}\mathbf{e}_1 &= (1,0,0,\ldots,0)\\ \mathbf{e}_2 &= (0,1,0,\ldots,0)\\ &\;\;\vdots\\ \mathbf{e}_n &= (0,0,0,\ldots,1).\end{aligned}

Then e1,e2,…,en\mathbf{e}_1, \mathbf{e}_2, \ldots, \mathbf{e}_n are linearly independent.

📈 Linear Independence of Functions

Let VV be the vector space of all differentiable functions of a real variable tt. Then the functions ete^t and e2te^{2t} in VV are linearly independent.

Proof

  1. Suppose aa and bb are real numbers such that aet+be2t=0ae^t + be^{2t} = 0 for all tt.
  2. Take the first derivative: aet+2be2t=0ae^t + 2be^{2t} = 0.
  3. We need to show a=0a = 0 and b=0b = 0. Subtract the first equation from the second: be2t=0be^{2t} = 0.
  4. Since e2te^{2t} is not zero for some tt, b=0b = 0.
  5. It follows that a=0a = 0 too.
  6. By the definition of linear independence, ete^t and e2te^{2t} are linearly independent.

🗂️ Space of Linear Dependencies

  • A linear dependency (or linear relation) among vectors v1,…,vn\mathbf{v}_1, \dots, \mathbf{v}_n is a tuple (a1,…,an)(a_1, \dots, a_n) of nn scalars such that

a1v1+⋯+anvn=0.a_1\mathbf{v}_1 + \cdots + a_n\mathbf{v}_n = \mathbf{0}.

  • If such a relation exists with at least one nonzero component, the nn vectors are linearly dependent.
  • Linear dependencies among v1,…,vn\mathbf{v}_1, \dots, \mathbf{v}_n form a vector space.
  • If the vectors are given by coordinates, the linear dependencies are the solutions of a homogeneous system of linear equations whose coefficients are the coordinates of the vectors.
  • A basis of the space of linear dependencies can therefore be computed by Gaussian elimination.

🌐 Generalizations

Affine independence

  • A set of vectors is affinely dependent if at least one vector can be defined as an affine combination of the others; otherwise it is affinely independent.
  • Any affine combination is a linear combination, so every affinely dependent set is linearly dependent. Contrapositively, every linearly independent set is affinely independent.
  • An affinely independent set is not necessarily linearly independent.
  • Test: take mm vectors v1,…,vm\mathbf{v}_1, \ldots, \mathbf{v}_m with nn components each, and form mm augmented vectors with n+1n+1 components each, with a leading 11 placed on top of each vector. The original vectors are affinely independent if and only if the augmented vectors are linearly independent.

Linearly independent vector subspaces

  • Two subspaces MM and NN of a vector space XX are linearly independent if M∩N={0}M \cap N = \{0\}.
  • More generally, subspaces M1,…,MdM_1, \ldots, M_d of XX are linearly independent if, for every index ii,

Mi∩∑k≠iMk={0},M_i \cap \sum_{k\neq i} M_k = \{0\},

where ∑k≠iMk\sum_{k\neq i} M_k is the set of sums m1+⋯+mi−1+mi+1+⋯+mdm_1 + \cdots + m_{i-1} + m_{i+1} + \cdots + m_d with mk∈Mkm_k \in M_k, which equals the span of the union of the MkM_k for k≠ik \neq i.

  • XX is the direct sum of M1,…,MdM_1, \ldots, M_d if these subspaces are linearly independent and M1+⋯+Md=XM_1 + \cdots + M_d = X.