Two fundamental concepts in linear algebra are span (what vectors can we reach?) and linear independence (are vectors redundant?).
Span of Vectors
Definition (Span):
The span of vectors v1,v2,…,vk is the set of all linear combinations:
Span{v1,v2,…,vk}={c1v1+c2v2+⋯+ckvk:c1,c2,…,ck∈R}
The span represents all vectors we can "reach" by scaling and adding v1,…,vk.
Span of One Vector
The span of a single vector v=0 is:
Span{v}={cv:c∈R}
Geometric interpretation: A line through the origin in the direction of v.
Example 1: Line in R2
Let v=[21]. Then Span{v} consists of all vectors of the form:
c[21]=[2cc]
This is the line through the origin with slope 21.
Points on this line:
c=0: [00]
c=1: [21]
c=−2: [−4−2]
c=0.5: [10.5]
If v=0, then:
Span{0}={c0:c∈R}={0}
The span of the zero vector is just the origin (a single point, not a line).
Span of Two Vectors
The span of two vectors v1,v2 is:
Span{v1,v2}={c1v1+c2v2:c1,c2∈R}
Geometric interpretation: Depends on whether v1 and v2 are parallel or not.
Case 1: Non-parallel Vectors in R2
If v1 and v2 are not parallel, Span{v1,v2} is the entire planeR2.
Example 2: Spanning R2
Let v1=[10] and v2=[01].
For any [ab]∈R2:
[ab]=a[10]+b[01]
Every vector in R2 can be written as a linear combination, so Span{v1,v2}=R2.
Case 2: Parallel Vectors
If v2=kv1 for some scalar k (parallel), then:
c1v1+c2v2=c1v1+c2(kv1)=(c1+kc2)v1
This is just a scalar multiple of v1, so Span{v1,v2}=Span{v1} (a line).
Span{v1,v2} is just the line through the origin in direction [12].
Two vectors in R3:
If non-parallel: Span is a plane through the origin
If parallel: Span is a line through the origin
Example:v1=100 and v2=010 span the xy-plane:
Span{v1,v2}=⎩⎨⎧ab0:a,b∈R⎭⎬⎫
Span Summary
Linear Independence
When does adding another vector to a set actually expand the span?
Definition (Linear Independence):
Vectors v1,v2,…,vk are linearly independent if the only solution to:
c1v1+c2v2+⋯+ckvk=0
is c1=c2=⋯=ck=0 (the trivial solution).
If there exist non-zero coefficients satisfying the equation, the vectors are linearly dependent.
Intuition: Vectors are linearly independent if none of them is a linear combination of the others (none is "redundant").
Are v1=[12], v2=[24], and v3=[36] linearly independent?
Solution: Notice v2=2v1 and v3=3v1. We can write:
1⋅v3−23v2+0⋅v1=[36]−23[24]=[00]
Non-zero coefficients give 0, so they are linearly dependent.
Vectors v1,…,vk are linearly dependent if and only if:
At least one vector is a linear combination of the others
At least one vector can be removed without changing the span
The equation c1v1+⋯+ckvk=0 has a non-trivial solution
Example: In Example 5, v3=3v1, so v3 is redundant:
Span{v1,v2,v3}=Span{v1}
All three vectors lie on the same line.
Geometric Interpretation of Linear Independence
In R2:
Two vectors are independent ⟺ They point in different directions (not parallel)
Two vectors are dependent ⟺ They are parallel (one is a scalar multiple of the other)
In R3:
Two vectors are independent ⟺ Not parallel (span a plane)
Three vectors are independent ⟺ Not coplanar (span all of R3)
Three vectors are dependent ⟺ They lie in the same plane through the origin
Example 6: Three Vectors in R3
Consider v1=100, v2=010, v3=001.
Are they independent? Check if c1v1+c2v2+c3v3=0 implies all coefficients are zero:
c1100+c2010+c3001=c1c2c3=000
Only solution: c1=c2=c3=0.
Answer: Yes, they are linearly independent. These are the standard basis vectors of R3.
Connection Between Span and Independence
Key Insight:
Linearly independent vectors: Each vector adds a new "dimension" to the span
Linearly dependent vectors: At least one vector is redundant (doesn't expand the span)
Example 7: Building Up the Span
Start with v1=100:
Span{v1} is a line
Add v2=010 (independent of v1):
Span{v1,v2} is a plane (span expanded!)
Add v3=001 (independent of v1,v2):
Span{v1,v2,v3} is all of R3 (span expanded again!)
Add v4=110 (dependent on v1,v2,v3):
Span{v1,v2,v3,v4} is still all of R3 (no change!)
In Rn, you can have at most n linearly independent vectors.
Why?
In R2: At most 2 independent vectors (they span the plane)
In R3: At most 3 independent vectors (they span 3D space)
In Rn: At most n independent vectors (they span n-dimensional space)
If you have more than n vectors in Rn, they must be linearly dependent.
Linear Independence and Homogeneous Systems
There's a deep connection between linear independence and homogeneous equations:
Theorem (Linear Independence via Homogeneous Systems):
Vectors v1,v2,…,vk in Rn are linearly independent if and only if the homogeneous system:
x1v1+x2v2+⋯+xkvk=0
has only the trivial solutionx1=x2=⋯=xk=0.
Matrix form: Let A=[v1v2⋯vk] be the matrix with these vectors as columns. Then:
Vectors are independent ⟺ Ax=0 has only trivial solution
Vectors are dependent ⟺ Ax=0 has nontrivial solutions
Example 8: Testing Independence via Homogeneous System
Test if v1=121, v2=243, v3=122 are linearly independent.
Solution: Form the matrix and solve Ax=0:
Testing Linear Independence
Step 0 of 3
The row-reduced form shows:
Three pivot columns
No free variables
Conclusion: Only the trivial solution exists, so the vectors are linearly independent.
This connection gives us a computational method for testing linear independence:
Procedure:
Form matrix A with vectors as columns
Row reduce to find pivot columns
If all columns are pivot columns → independent
If any column is not a pivot column → dependent
Relationship to free variables:
Free variables in Ax=0 correspond to dependent vectors
Each free variable gives a nontrivial solution
The dependent vectors can be expressed in terms of independent ones
Example insight: If v3 corresponds to a free variable, then v3 can be written as a linear combination of v1 and v2.
Example 9: Dependent Vectors via Homogeneous System
Test if v1=[12], v2=[24], v3=[36] are linearly independent.
Solution: Form A=[122436] and solve Ax=0:
[12243600]R2−2R1[10203000]
Only one pivot column (first column). Variables x2 and x3 are free.
From x1+2x2+3x3=0: x1=−2x2−3x3
Nontrivial solution (set x2=1,x3=0):
x=−210
This means: −2v1+1v2+0v3=0, or v2=2v1.
Conclusion: The vectors are linearly dependent.
Practice Problems
Describe geometrically the span of v1=110 and v2=011.
Are these vectors parallel? If not, they span a plane through the origin.
Check if they're parallel: v2=kv1 for some k?
If 011=k110, then:
First component: 0=k⋅1⟹k=0
Second component: 1=k⋅1⟹k=1
Contradiction! They're not parallel.
Answer:Span{v1,v2} is a plane through the origin in R3.
Specifically, it's the set of all vectors of the form:
c1110+c2011=c1c1+c2c2
Determine if v1=123, v2=246 are linearly independent.
Check if one is a scalar multiple of the other.
Notice v2=2v1:
246=2123
We can write:
2v1−1v2=0
This is a non-trivial linear combination equaling 0 (coefficients c1=2,c2=−1 are not both zero).
Answer: No, they are linearly dependent.
Is b=[53] in Span{[11],[21]}?
Try to write b as c1v1+c2v2. This gives a system of equations.
We need to find c1,c2 such that:
c1[11]+c2[21]=[53]
This gives the system:
{c1+2c2=5c1+c2=3
Subtracting: (c1+2c2)−(c1+c2)=5−3c2=2
Then: c1=3−c2=3−2=1
Verification:1[11]+2[21]=[11]+[42]=[53] ✓
Answer: Yes, b∈Span{v1,v2}.
Can three vectors in R2 be linearly independent?
Think about the maximum dimension of the span in R2.
No. At most 2 vectors in R2 can be linearly independent.
Intuition: The span of any set of vectors in R2 is at most 2-dimensional (the entire plane). Once you have 2 independent vectors spanning the plane, any third vector must be a linear combination of the first two.
Formal argument: If v1,v2 are linearly independent in R2, they span R2. Any third vector v3 can be written as v3=c1v1+c2v2 for some c1,c2. Then:
v3−c1v1−c2v2=0
This is a non-trivial linear combination (coefficient of v3 is 1), so {v1,v2,v3} is linearly dependent.
Summary
Span: Set of all linear combinations of vectors
1 non-zero vector: Line through origin
2 non-parallel vectors in R2: Entire plane
2 non-parallel vectors in R3: Plane through origin
3 non-coplanar vectors in R3: All of R3
Linear independence: Vectors are independent if no vector is a linear combination of others
Test: Check if c1v1+⋯+ckvk=0 implies all ci=0
Dependent vectors: At least one is redundant (doesn't expand the span)
Connection: Independent vectors each add a new "dimension" to the span; dependent vectors don't expand the span