When we combine a group of vectors, we want to know whether every vector adds a new direction or whether one of them is redundant because the others already reach it.
1
Redundancy and Span
A group of vectors is linearly independent when every vector expands the span into a new direction, and linearly dependent when at least one vector is already a linear combination of the others.
Redundancy and Span in 1D, 2D, and 3D
Adding [21] to a group with [10] and [01] adds no new points to the span because the first two vectors already build it:
redundant[21]=2[10]+1[01]
In 3D space, the span of three vectors fills all of space whenever the third vector points out of the plane of the first two. If the third vector lies in that plane, the span stays flat as a plane because scaled copies of the first two vectors add tip-to-tail to build the third.
A third vector expands the span to all of 3D space whenever it points out of the plane of the first two, and becomes redundant the moment it lands on that plane.
2
The Round-Trip Test to Zero
With only two vectors, we can tell right away if they lie on the same line by checking whether one is a scaled multiple of the other.
Linearly dependent
Linearly independent
With three vectors like 121,213, and 455, none is a multiple of another, so we can't tell just by looking whether one of them is built from the other two. Instead of guessing which vector might be the redundant one, we test all three together by asking whether some combination of steps x,y, and z along the vectors can make a round trip back to zero.
The Round-Trip Test to Zero
To run the round-trip test, we put unknown weights x,y, and z in front of the vectors and set the combination equal to the zero vector:
x121+y213+z455=000
Standing still with x=0,y=0, and z=0 always stays at zero, so independence comes down to whether any non-zero combination of steps can cancel out back to the start:
Only x=y=z=0⟹Linearly independent(no round trip possible)Any solution with weights not all 0⟹Linearly dependent(vectors cancel each other out)
If the third vector lies in the plane of the first two, steps along the first two can cancel a step along the third to make a round trip back to zero. If the third vector points out of that plane, stepping along it leaves the plane, so the only way to end up at zero is to take zero steps along all three.
The first two vectors can cancel a step along the third back to zero only when the third lies in their plane, otherwise all three steps have to be zero.
3
Testing Vectors with a Staircase
We want to find out whether the round-trip equation
x121+y213+z455=000
forces x,y, and z to be zero, or leaves a weight free so we can build a non-zero round trip. Stacking the vectors into the columns of a grid lets us clear out the bottom-left corner into a staircase and check whether every column gets its own step.
Testing Vectors with a Staircase
x[121]+y[213]+z[455]=[000]
x,y,z=?
Text solution
Stack the vectors into columns and clear the first columnPlace the vectors into the columns for x,y, and z (remembering that each row is one of the three equations, set equal to 0), and subtract multiples of Row 1 to clear the numbers below the top-left 1 (R2←R2−2R1 means we replace Row 2 with Row 2 minus twice Row 1):
Choose a non-zero value for z and solve upwardsBecause Column 3 has no step, nothing forces z to be zero, so we can pick z=−1 and substitute back into the middle and top rows:
So the vectors are linearly dependent, with the round trip 2121+1213−1455=000, which rearranges to 2121+1213=455.
Compare when the third vector is 456 insteadChanging the bottom entry of the third vector from 5 to 6 gives Column 3 its own step at the bottom, which forces each weight to be zero from the bottom step up:
Because (x,y,z)=(0,0,0) is the only solution, 121,213, and 456 are linearly independent.
4
Tall Grids and Extra Zero Rows
Now let's test three vectors that each have four entries:
1201,2512,1321
In a square 3-by-3 grid, a row of zeros at the bottom meant a column lost its step, but in a tall grid with more rows than columns, an extra row of zeros at the bottom does not mean a step is missing.
Tall Grids and Extra Zero Rows
4
x
y
z
1
2
1
2
5
3
0
1
2
1
2
1
independent?
Text solution
Clear the first column below the top-left 1Put the three 4-entry vectors into a 4-by-3 grid and subtract multiples of Row 1 from Rows 2 and 4 (leaving Row 3 alone since it already starts with 0):
Even though the fourth row is all zeros, all three columns got their own step, so the three vectors are linearly independent.
x
y
z
1
2
4
0
1
1
0
0
0
No step: z free
Dependent
x
y
z
1
2
1
0
1
1
0
0
1
0
0
0
3 steps for 3 columns
extra row
Independent
5
Working the Staircase Backwards
We want to find the value of k that makes the vectors
12−1,251,38k
linearly dependent. Since dependence happens when a column loses its step, we build the staircase with k inside it and see which value of k makes the third step zero.
Working the Staircase Backwards
x
y
z
12−1
251
38k
k=?
Text solution
Clear the first and second columns to isolate k in the third stepPlace the vectors into columns, use Row 1 to clear the entries below the top-left 1, and then subtract 3 times Row 2 from Row 3:
Set the third step equal to zeroColumns 1 and 2 already have steps of 1, so the vectors are dependent only when Column 3 loses its step:
k−3=0⟹k=3
So k=3 makes the vectors linearly dependent by turning the bottom row into all zeros and leaving z free.
As k changes, the tip of 38k moves up and down in 3D space. The third step k−3 becomes 0 at the exact height k=3 where the third vector lands in the plane of 12−1 and 251, and stays non-zero at every height where it points out of their plane.
The third column loses its step at the one height where the third vector lies flat in the plane of the first two vectors.
6
The Full Picture and Three Shortcuts
Putting span, the round-trip test, and the staircase together gives us a complete way to test any group of vectors, along with three quick shortcuts where you can spot the answer before doing any row operations.
The Full Picture and Three Shortcuts
x
y
z
x
y
z
Key concepts
Before building a staircase, check three shortcuts that tell you right away if the vectors are independent or dependent:
Only two vectors (check for a scaled multiple)
Two vectors are dependent only when one is a scaled multiple of the other on the same line. [23] and [69] are dependent because [69]=3[23], whereas [23] and [65] are independent because the top entry triples while the bottom entry does not.
More vectors than entries in each vector (automatically dependent)
Four vectors with 3 entries each form a 3-by-4 grid that can go down at most 3 steps, so at least one of the 4 columns can never get a step.
Contains the zero vector 000 (automatically dependent)
Any group containing 000 can make a non-zero round trip by putting a non-zero weight like 5 on 000 and 0 on every other vector (5000=000).
When none of those three shortcuts applies, test the round-trip equation
x121+y213+z455=000
by placing the vectors into the columns of a grid and row reducing into a staircase:
Every column gets a step ⟹ Linearly independent
In 100210411, the steps force z=0⟹y=0⟹x=0 (even if a tall grid has extra zero rows underneath).
Any column misses a step ⟹ Linearly dependent
In 100210410, Column 3 has no step, leaving z free so you can set z=−1 and solve upwards to find a non-zero round trip.
7
Practice
1
Just by looking, decide whether each pair of vectors is linearly independent or linearly dependent: (a) [3−2] and [−96] (b) [3−2] and [−94]
Find the number that multiplies the top entry 3 to get −9, then check whether multiplying the bottom entry −2 by that same number gives the second bottom entry.
(a) Multiplying the top entry 3 by −3 gives −9, and multiplying the bottom entry −2 by −3 gives 6:
[−96]=−3[3−2]
Because one vector is a scaled multiple of the other on the same line, they are linearly dependent.
(b) The top entry is multiplied by −3 (3×(−3)=−9), while the bottom entry is multiplied by −2 (−2×(−2)=4). Watch out for calling these dependent just because 4 is a multiple of −2. Both entries must scale by the exact same number, and −3[3−2] gives [−96], not [−94]. Neither vector is a multiple of the other, so they are linearly independent.
2
Without building a staircase, decide whether each group of vectors is linearly independent or linearly dependent, and explain why: (a) 142,3−15,201,523 (b) 21−3,000,142
In (a), compare the number of vectors with the number of entries in each vector; in (b), look for a vector that can take a non-zero weight without moving away from 000.
(a) There are 4 vectors with only 3 entries each. Watch out for checking that no two vectors are multiples of each other and answering "independent." A 3-by-4 grid has only 3 rows and can go down at most 3 steps, so at least one of the 4 columns can never get a step. The group is linearly dependent.
(b) The group contains the zero vector 000. Don't be fooled into answering "independent" because 21−3 and 142 aren't multiples of each other. Putting a non-zero weight like 5 on 000 and 0 on the other two vectors already makes a non-zero round trip:
021−3+5000+0142=000
The group is linearly dependent.
3
Use the staircase test to determine whether the vectors 112,235, and 135 are linearly independent or linearly dependent.
Place the vectors into the columns of a 3-by-3 grid, then use Row 1 to clear the 1 in Row 2 and the 2 in Row 3.
Stack the vectors into columns and clear the first column below the top-left 1:
(Watch the bottom-right entry when computing R3−2R1: it is 5−2(1)=3. Subtracting R1 instead of 2R1 gives 5−1=4, and subtracting 3 by mistake gives 5−3=2, which makes Row 3 match Row 2 as (0,1,2) and wrongly turns the bottom row into all zeros.)
Subtract Row 2 from Row 3 to finish the staircase:
100211123R3←R3−R2100210121
Every column gets its own step, which forces z=0,y=0, and x=0, so the vectors are linearly independent.
4
Test the vectors 123,234, and 5811 with a staircase. If they are linearly dependent, find non-zero weights x,y,z that make a round trip to 000 and write the third vector as a combination of the first two.
Watch the sign when solving y+2z=0: forgetting to flip the sign when moving 2z to the other side gives y=2z=−2 and then x=9, which doesn't add up to zero.
After clearing the first column, divide Row 2 by −1 to get a positive step before clearing Row 3, then set the free variable z=−1 and solve upwards.
Place the vectors into columns and row reduce to a staircase:
(Watch the sign when solving y+2z=0: forgetting to flip the sign when moving 2z to the other side gives y=2z=−2 and then x=9, which doesn't add up to zero.)
With x=1,y=2,z=−1, the round trip and combination are:
Test whether the four-entry vectors 1102,2314, and 3426 are linearly independent or linearly dependent.
Don't stop at the bottom row of all zeros and answer "linearly dependent." In a 4-by-3 grid, the fourth row is just an extra row, and you have to check whether all 3 columns got a step.
Stack the vectors into a 4-by-3 grid, clear the entries below the steps, and count how many of the 3 columns get their own step.
Put the vectors into the columns of a 4-by-3 grid and row reduce:
(Don't stop at the bottom row of all zeros and answer "linearly dependent." In a 4-by-3 grid, the fourth row is just an extra row, and you have to check whether all 3 columns got a step.)
Because all 3 columns have their own step, z=0,y=0, and x=0, so the vectors are linearly independent.
6
Find the value of k that makes the vectors 1−12,211, and 51k linearly dependent.
Subtracting R1 in Row 2 gives −1−1=−2 in the first column, which doesn't clear it, and forgetting to double the 5 in Row 3 gives k−5 and then k=−1 instead.
Put the vectors into columns and row reduce until k is isolated in the third column's step at the bottom right, then set that step equal to 0.
Place the vectors into columns and clear the first column using Row 1:
(Be careful with the signs here: clearing −1 in Row 2 takes adding R1 to get 1+5=6, while clearing 2 in Row 3 takes subtracting 2R1 to get k−2(5)=k−10. Subtracting R1 in Row 2 gives −1−1=−2 in the first column, which doesn't clear it, and forgetting to double the 5 in Row 3 gives k−5 and then k=−1 instead.)