Linear Independence

When no vector in a set can be written as a combination of the others โ€” the condition that makes a set of vectors non-redundant.

Linear dependence โ€” when one vector is a combination of others
vโ‚vโ‚‚wO
w is dependent
w = 1.0ยทvโ‚ + 0.8ยทvโ‚‚
w lies in span(vโ‚, vโ‚‚)
vโ‚ and vโ‚‚ are independent
Neither is a multiple of the other โ€” they point in genuinely different directions.
cโ‚ = 1.0
cโ‚‚ = 0.8
Definition

Vectors v1,โ€ฆ,vk\mathbf{v}_1, \ldots, \mathbf{v}_k are linearly independent if the only solution to

c1v1+c2v2+โ‹ฏ+ckvk=0c_1\mathbf{v}_1 + c_2\mathbf{v}_2 + \cdots + c_k\mathbf{v}_k = \mathbf{0}

is c1=c2=โ‹ฏ=ck=0c_1 = c_2 = \cdots = c_k = 0 (the trivial solution).

If a nontrivial solution exists (some ciโ‰ 0c_i \neq 0), the vectors are linearly dependent โ€” at least one can be written as a combination of the others.

Geometric interpretation:

  • In R2\mathbb{R}^2: two vectors are independent iff they don't point in the same (or opposite) direction
  • In R3\mathbb{R}^3: three vectors are independent iff no one lies in the plane spanned by the other two
Key properties
  • The zero vector alone is always linearly dependent โ€” cโ‹…0=0c\cdot\mathbf{0}=\mathbf{0} has nontrivial solutions
  • Any subset of a linearly independent set is also linearly independent
  • Adding the zero vector, or a duplicate vector, to any set makes it dependent
  • A set of more than nn vectors in Rn\mathbb{R}^n is always dependent (pigeonhole on dimension)
Common mistakes
  • Checking pairs only: three vectors can each be pairwise "not parallel" yet still be dependent as a set (e.g. one lies in the plane spanned by the other two) โ€” independence must be checked for the whole set at once
  • Confusing independence with orthogonality: independent vectors don't need to be perpendicular โ€” orthogonality is a stronger, separate condition
Checking dependence

Are (1,2)(1,2), (3,6)(3,6) linearly independent?

c1(1,2)+c2(3,6)=(0,0)c_1(1,2) + c_2(3,6) = (0,0) gives c1+3c2=0c_1 + 3c_2 = 0 and 2c1+6c2=02c_1 + 6c_2 = 0. The second equation is 2ร—2\times the first โ€” infinitely many solutions, e.g. c1=3,c2=โˆ’1c_1=3, c_2=-1.

Linearly dependent: (3,6)=3(1,2)(3,6) = 3(1,2) โ€” the second is a scalar multiple of the first.

Try it

Are the vectors (1,0,0)(1,0,0), (0,1,0)(0,1,0), (1,1,0)(1,1,0) linearly independent?

Solution

c1(1,0,0)+c2(0,1,0)+c3(1,1,0)=(c1+c3,c2+c3,0)=(0,0,0)c_1(1,0,0) + c_2(0,1,0) + c_3(1,1,0) = (c_1+c_3, c_2+c_3, 0) = (0,0,0)

This gives c1+c3=0c_1 + c_3 = 0 and c2+c3=0c_2 + c_3 = 0. Choose c3=1c_3 = 1: then c1=โˆ’1c_1 = -1, c2=โˆ’1c_2 = -1.

Linearly dependent: (1,1,0)=(1,0,0)+(0,1,0)(1,1,0) = (1,0,0) + (0,1,0). The third vector is the sum of the first two.

Related concepts