Linear AlgebraVectors5 of 5
Vectors · 5

Linear Independence

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
x\htmlClass{lc-mute}{x}
y\htmlClass{lc-mute}{y}
00
[10]\htmlClass{lc-green}{\begin{bmatrix} 1 \\ 0 \end{bmatrix}}
[01]\htmlClass{lc-pink}{\begin{bmatrix} 0 \\ 1 \end{bmatrix}}
[21]\htmlClass{lc-violet}{\begin{bmatrix} 2 \\ 1 \end{bmatrix}}

Adding [21]\third{\begin{bmatrix} 2 \\ 1 \end{bmatrix}} to a group with [10]\first{\begin{bmatrix} 1 \\ 0 \end{bmatrix}} and [01]\second{\begin{bmatrix} 0 \\ 1 \end{bmatrix}} adds no new points to the span because the first two vectors already build it:

[21]⏟redundant=2[10]+1[01]\displaystyle \underbrace{\third{\begin{bmatrix} 2 \\ 1 \end{bmatrix}}}_{\text{redundant}} = \first{2\begin{bmatrix} 1 \\ 0 \end{bmatrix}} + \second{1\begin{bmatrix} 0 \\ 1 \end{bmatrix}}

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.

x\htmlClass{lc-mute}{x}
y\htmlClass{lc-mute}{y}
[23]\htmlClass{lc-green}{\begin{bmatrix} 2 \\ 3 \end{bmatrix}}
[69]\htmlClass{lc-pink}{\begin{bmatrix} 6 \\ 9 \end{bmatrix}}
[69]=3[23]\htmlClass{lc-pink}{\begin{bmatrix} 6 \\ 9 \end{bmatrix}} = \htmlClass{lc-green}{3\begin{bmatrix} 2 \\ 3 \end{bmatrix}}
Linearly dependent
x\htmlClass{lc-mute}{x}
y\htmlClass{lc-mute}{y}
[23]\htmlClass{lc-green}{\begin{bmatrix} 2 \\ 3 \end{bmatrix}}
[65]\htmlClass{lc-pink}{\begin{bmatrix} 6 \\ 5 \end{bmatrix}}
Linearly independent

With three vectors like [121]\first{\begin{bmatrix} 1 \\ 2 \\ 1 \end{bmatrix}}, [213]\second{\begin{bmatrix} 2 \\ 1 \\ 3 \end{bmatrix}}, and [455]\third{\begin{bmatrix} 4 \\ 5 \\ 5 \end{bmatrix}}, 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\first{x}, y\second{y}, and z\third{z} along the vectors can make a round trip back to zero.

The Round-Trip Test to Zero
x\htmlClass{lc-mute}{x}
y\htmlClass{lc-mute}{y}
z\htmlClass{lc-mute}{z}
[121]\htmlClass{lc-green}{\begin{bmatrix} 1 \\ 2 \\ 1 \end{bmatrix}}
[213]\htmlClass{lc-pink}{\begin{bmatrix} 2 \\ 1 \\ 3 \end{bmatrix}}
[455]\htmlClass{lc-violet}{\begin{bmatrix} 4 \\ 5 \\ 5 \end{bmatrix}}
same plane?\text{same plane?}

To run the round-trip test, we put unknown weights x\first{x}, y\second{y}, and z\third{z} in front of the vectors and set the combination equal to the zero vector:

x[121]+y[213]+z[455]=[000]\displaystyle \first{x\begin{bmatrix} 1 \\ 2 \\ 1 \end{bmatrix}} + \second{y\begin{bmatrix} 2 \\ 1 \\ 3 \end{bmatrix}} + \third{z\begin{bmatrix} 4 \\ 5 \\ 5 \end{bmatrix}} = \begin{bmatrix} 0 \\ 0 \\ 0 \end{bmatrix}

Standing still with x=0\first{x} = 0, y=0\second{y} = 0, and z=0\third{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)\displaystyle \begin{aligned} &\text{Only } \first{x} = \second{y} = \third{z} = 0 \\ &\quad \implies \text{Linearly independent} \\ &\qquad \text{(no round trip possible)} \\[6pt] &\text{Any solution with weights not all } 0 \\ &\quad \implies \text{Linearly dependent} \\ &\qquad \text{(vectors cancel each other out)} \end{aligned}

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

x[121]+y[213]+z[455]=[000]\displaystyle \first{x\begin{bmatrix} 1 \\ 2 \\ 1 \end{bmatrix}} + \second{y\begin{bmatrix} 2 \\ 1 \\ 3 \end{bmatrix}} + \third{z\begin{bmatrix} 4 \\ 5 \\ 5 \end{bmatrix}} = \begin{bmatrix} 0 \\ 0 \\ 0 \end{bmatrix}

forces x\first{x}, y\second{y}, and z\third{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]\displaystyle \small \first{x\begin{bmatrix} 1 \\ 2 \\ 1 \end{bmatrix}} + \second{y\begin{bmatrix} 2 \\ 1 \\ 3 \end{bmatrix}} + \third{z\begin{bmatrix} 4 \\ 5 \\ 5 \end{bmatrix}} = \begin{bmatrix} 0 \\ 0 \\ 0 \end{bmatrix}
x, y, z=  ?\displaystyle {\small \first{x},\ \second{y},\ \third{z} = \;?}
Text solution
Stack the vectors into columns and clear the first columnPlace the vectors into the columns for x\first{x}, y\second{y}, and z\third{z} (remembering that each row is one of the three equations, set equal to 00), and subtract multiples of Row 1 to clear the numbers below the top-left 1\first{1} (R2←R2−2R1R_2 \leftarrow R_2 - 2R_1 means we replace Row 2 with Row 2 minus twice Row 1):
[124215135]→R2←R2−2R1R3←R3−R1[1240−3−3011]\displaystyle \begin{bmatrix} \first{1} & \second{2} & \third{4} \\ \first{2} & \second{1} & \third{5} \\ \first{1} & \second{3} & \third{5} \end{bmatrix} \xrightarrow{\substack{R_2 \leftarrow R_2 - 2R_1 \\ R_3 \leftarrow R_3 - R_1}} \begin{bmatrix} \first{1} & \second{2} & \third{4} \\ \first{0} & \second{-3} & \third{-3} \\ \first{0} & \second{1} & \third{1} \end{bmatrix}
Clear the second column to finish the staircaseDivide Row 2 by −3-3 to get a leading 1\second{1}, then subtract Row 2 from Row 3 to clear the entry below it:
[1240−3−3011]→R2←R2÷(−3)[124011011]→R3←R3−R2[124011000⏟no step]\displaystyle \begin{aligned} &\begin{bmatrix} \first{1} & \second{2} & \third{4} \\ \first{0} & \second{-3} & \third{-3} \\ \first{0} & \second{1} & \third{1} \end{bmatrix} \\ &\xrightarrow{R_2 \leftarrow R_2 \div (-3)} \begin{bmatrix} \first{1} & \second{2} & \third{4} \\ \first{0} & \second{1} & \third{1} \\ \first{0} & \second{1} & \third{1} \end{bmatrix} \\ &\xrightarrow{R_3 \leftarrow R_3 - R_2} \begin{bmatrix} \first{\boxed{1}} & \second{2} & \third{4} \\ \first{0} & \second{\boxed{1}} & \third{1} \\ \first{0} & \second{0} & \underbrace{\fails{0}}_{\text{no step}} \end{bmatrix} \end{aligned}
Choose a non-zero value for z\third{z} and solve upwardsBecause Column 3 has no step, nothing forces z\third{z} to be zero, so we can pick z=−1\third{z} = \third{-1} and substitute back into the middle and top rows:
Row 2:1y+1z=0  ⟹  y=−z=1Row 1:1x+2(1)+4(−1)=0  ⟹  x−2=0  ⟹  x=2\displaystyle \begin{aligned} &\text{Row 2:}\quad \second{1y} + \third{1z} = 0 \\ &\quad \implies \second{y} = -\third{z} = \second{1} \\[6pt] &\text{Row 1:}\quad \first{1x} + \second{2(1)} + \third{4(-1)} = 0 \\ &\quad \implies \first{x} - 2 = 0 \\ &\quad \implies \first{x} = \first{2} \end{aligned}
So the vectors are linearly dependent, with the round trip 2[121]+1[213]−1[455]=[000]\first{2\begin{bmatrix} 1 \\ 2 \\ 1 \end{bmatrix}} + \second{1\begin{bmatrix} 2 \\ 1 \\ 3 \end{bmatrix}} - \third{1\begin{bmatrix} 4 \\ 5 \\ 5 \end{bmatrix}} = \begin{bmatrix} 0 \\ 0 \\ 0 \end{bmatrix}, which rearranges to 2[121]+1[213]=[455]\first{2\begin{bmatrix} 1 \\ 2 \\ 1 \end{bmatrix}} + \second{1\begin{bmatrix} 2 \\ 1 \\ 3 \end{bmatrix}} = \third{\begin{bmatrix} 4 \\ 5 \\ 5 \end{bmatrix}}.
Compare when the third vector is [456]\third{\begin{bmatrix} 4 \\ 5 \\ 6 \end{bmatrix}} insteadChanging the bottom entry of the third vector from 5\third{5} to 6\third{6} gives Column 3 its own step at the bottom, which forces each weight to be zero from the bottom step up:
[124215136]→R2←(R2−2R1)÷(−3)R3←R3−R1[124011012]→R3←R3−R2[124011001]  ⟹  1z=0  ⟹  z=01y+1z=0  ⟹  y=01x+2y+4z=0  ⟹  x=0\displaystyle \begin{aligned} &\begin{bmatrix} \first{1} & \second{2} & \third{4} \\ \first{2} & \second{1} & \third{5} \\ \first{1} & \second{3} & \third{6} \end{bmatrix} \\ &\xrightarrow{\substack{R_2 \leftarrow (R_2 - 2R_1)\div(-3) \\ R_3 \leftarrow R_3 - R_1}} \begin{bmatrix} \first{1} & \second{2} & \third{4} \\ \first{0} & \second{1} & \third{1} \\ \first{0} & \second{1} & \third{2} \end{bmatrix} \\ &\xrightarrow{R_3 \leftarrow R_3 - R_2} \begin{bmatrix} \first{\boxed{1}} & \second{2} & \third{4} \\ \first{0} & \second{\boxed{1}} & \third{1} \\ \first{0} & \second{0} & \third{\boxed{1}} \end{bmatrix} \implies \\ &\begin{aligned} \third{1z} = 0 &\implies \third{z} = 0 \\ \second{1y} + \third{1z} = 0 &\implies \second{y} = 0 \\ \first{1x} + \second{2y} + \third{4z} = 0 &\implies \first{x} = 0 \end{aligned} \end{aligned}

Because (x,y,z)=(0,0,0)(\first{x}, \second{y}, \third{z}) = (0, 0, 0) is the only solution, [121]\first{\begin{bmatrix} 1 \\ 2 \\ 1 \end{bmatrix}}, [213]\second{\begin{bmatrix} 2 \\ 1 \\ 3 \end{bmatrix}}, and [456]\third{\begin{bmatrix} 4 \\ 5 \\ 6 \end{bmatrix}} are linearly independent.

4

Tall Grids and Extra Zero Rows

Now let's test three vectors that each have four entries:

[1201],[2512],[1321]\displaystyle \first{\begin{bmatrix} 1 \\ 2 \\ 0 \\ 1 \end{bmatrix}}, \quad \second{\begin{bmatrix} 2 \\ 5 \\ 1 \\ 2 \end{bmatrix}}, \quad \third{\begin{bmatrix} 1 \\ 3 \\ 2 \\ 1 \end{bmatrix}}

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
44
x\htmlClass{lc-green}{x}
y\htmlClass{lc-pink}{y}
z\htmlClass{lc-violet}{z}
1\htmlClass{lc-green}{1}
2\htmlClass{lc-pink}{2}
1\htmlClass{lc-violet}{1}
2\htmlClass{lc-green}{2}
5\htmlClass{lc-pink}{5}
3\htmlClass{lc-violet}{3}
0\htmlClass{lc-green}{0}
1\htmlClass{lc-pink}{1}
2\htmlClass{lc-violet}{2}
1\htmlClass{lc-green}{1}
2\htmlClass{lc-pink}{2}
1\htmlClass{lc-violet}{1}
independent?\text{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 00):
[121253012121]→R2←R2−2R1R4←R4−R1[121011012000]\displaystyle \begin{bmatrix} \first{1} & \second{2} & \third{1} \\ \first{2} & \second{5} & \third{3} \\ \first{0} & \second{1} & \third{2} \\ \first{1} & \second{2} & \third{1} \end{bmatrix} \xrightarrow{\substack{R_2 \leftarrow R_2 - 2R_1 \\ R_4 \leftarrow R_4 - R_1}} \begin{bmatrix} \first{1} & \second{2} & \third{1} \\ \first{0} & \second{1} & \third{1} \\ \first{0} & \second{1} & \third{2} \\ \first{0} & \second{0} & \third{0} \end{bmatrix}
Clear the second column and check the steps in each columnSubtract Row 2 from Row 3 to finish the staircase and read the steps from the bottom up:
[121011012000]→R3←R3−R2[121011001000]  ⟹  1z=0  ⟹  z=0  ⟹  y=0  ⟹  x=0\displaystyle \begin{aligned} &\begin{bmatrix} \first{1} & \second{2} & \third{1} \\ \first{0} & \second{1} & \third{1} \\ \first{0} & \second{1} & \third{2} \\ \first{0} & \second{0} & \third{0} \end{bmatrix} \\ &\xrightarrow{R_3 \leftarrow R_3 - R_2} \begin{bmatrix} \first{\boxed{1}} & \second{2} & \third{1} \\ \first{0} & \second{\boxed{1}} & \third{1} \\ \first{0} & \second{0} & \third{\boxed{1}} \\ \first{0} & \second{0} & \third{0} \end{bmatrix} \\ &\implies \third{1z} = 0 \implies \third{z} = 0 \\ &\implies \second{y} = 0 \implies \first{x} = 0 \end{aligned}

Even though the fourth row is all zeros, all three columns got their own step, so the three vectors are linearly independent.

x\htmlClass{lc-green}{x}
y\htmlClass{lc-pink}{y}
z\htmlClass{lc-violet}{z}
1\htmlClass{lc-green}{1}
2\htmlClass{lc-pink}{2}
4\htmlClass{lc-violet}{4}
0\htmlClass{lc-green}{0}
1\htmlClass{lc-pink}{1}
1\htmlClass{lc-violet}{1}
0\htmlClass{lc-green}{0}
0\htmlClass{lc-pink}{0}
0\htmlClass{lc-orange}{0}
No step: z free\text{No step: }\htmlClass{lc-violet}{z}\text{ free}
Dependent
x\htmlClass{lc-green}{x}
y\htmlClass{lc-pink}{y}
z\htmlClass{lc-violet}{z}
1\htmlClass{lc-green}{1}
2\htmlClass{lc-pink}{2}
1\htmlClass{lc-violet}{1}
0\htmlClass{lc-green}{0}
1\htmlClass{lc-pink}{1}
1\htmlClass{lc-violet}{1}
0\htmlClass{lc-green}{0}
0\htmlClass{lc-pink}{0}
1\htmlClass{lc-violet}{1}
0\htmlClass{lc-green}{0}
0\htmlClass{lc-pink}{0}
0\htmlClass{lc-violet}{0}
3 steps for 3 columns\text{3 steps for 3 columns}
extra row\htmlClass{lc-mute}{\text{extra row}}
Independent
5

Working the Staircase Backwards

We want to find the value of k\third{k} that makes the vectors

[12−1],[251],[38k]\displaystyle \first{\begin{bmatrix} 1 \\ 2 \\ -1 \end{bmatrix}}, \quad \second{\begin{bmatrix} 2 \\ 5 \\ 1 \end{bmatrix}}, \quad \third{\begin{bmatrix} 3 \\ 8 \\ k \end{bmatrix}}

linearly dependent. Since dependence happens when a column loses its step, we build the staircase with k\third{k} inside it and see which value of k\third{k} makes the third step zero.

Working the Staircase Backwards
x\htmlClass{lc-mute}{x}
y\htmlClass{lc-mute}{y}
z\htmlClass{lc-mute}{z}
[12−1]\htmlClass{lc-green}{\begin{bmatrix} 1 \\ 2 \\ -1 \end{bmatrix}}
[251]\htmlClass{lc-pink}{\begin{bmatrix} 2 \\ 5 \\ 1 \end{bmatrix}}
[38k]\htmlClass{lc-violet}{\begin{bmatrix} 3 \\ 8 \\ k \end{bmatrix}}
k=  ?\htmlClass{lc-violet}{k} = \;?
Text solution
Clear the first and second columns to isolate k\third{k} in the third stepPlace the vectors into columns, use Row 1 to clear the entries below the top-left 1\first{1}, and then subtract 33 times Row 2 from Row 3:
[123258−11k]→R2←R2−2R1R3←R3+R1[12301203k+3]→R3←R3−3R2[12301200k−3⏟3rd step]\displaystyle \begin{aligned} &\begin{bmatrix} \first{1} & \second{2} & \third{3} \\ \first{2} & \second{5} & \third{8} \\ \first{-1} & \second{1} & \third{k} \end{bmatrix} \\ &\xrightarrow{\substack{R_2 \leftarrow R_2 - 2R_1 \\ R_3 \leftarrow R_3 + R_1}} \begin{bmatrix} \first{1} & \second{2} & \third{3} \\ \first{0} & \second{1} & \third{2} \\ \first{0} & \second{3} & \third{k + 3} \end{bmatrix} \\ &\xrightarrow{R_3 \leftarrow R_3 - 3R_2} \begin{bmatrix} \first{\boxed{1}} & \second{2} & \third{3} \\ \first{0} & \second{\boxed{1}} & \third{2} \\ \first{0} & \second{0} & \underbrace{\third{k - 3}}_{\text{3rd step}} \end{bmatrix} \end{aligned}
Set the third step equal to zeroColumns 1 and 2 already have steps of 11, so the vectors are dependent only when Column 3 loses its step:
k−3\displaystyle \third{k - 3} =0  ⟹  k\displaystyle = 0 \implies \third{k} =3\displaystyle = 3

So k=3\third{k} = 3 makes the vectors linearly dependent by turning the bottom row into all zeros and leaving z\third{z} free.

As k\third{k} changes, the tip of [38k]\third{\begin{bmatrix} 3 \\ 8 \\ k \end{bmatrix}} moves up and down in 3D space. The third step k−3\third{k - 3} becomes 00 at the exact height k=3\third{k} = 3 where the third vector lands in the plane of [12−1]\first{\begin{bmatrix} 1 \\ 2 \\ -1 \end{bmatrix}} and [251]\second{\begin{bmatrix} 2 \\ 5 \\ 1 \end{bmatrix}}, 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\htmlClass{lc-mute}{x}
y\htmlClass{lc-mute}{y}
z\htmlClass{lc-mute}{z}
x\htmlClass{lc-green}{x}
y\htmlClass{lc-pink}{y}
z\htmlClass{lc-violet}{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]\first{\begin{bmatrix} 2 \\ 3 \end{bmatrix}} and [69]\second{\begin{bmatrix} 6 \\ 9 \end{bmatrix}} are dependent because [69]=3[23]\second{\begin{bmatrix} 6 \\ 9 \end{bmatrix}} = \first{3\begin{bmatrix} 2 \\ 3 \end{bmatrix}}, whereas [23]\first{\begin{bmatrix} 2 \\ 3 \end{bmatrix}} and [65]\second{\begin{bmatrix} 6 \\ 5 \end{bmatrix}} 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 33 entries each form a 33-by-44 grid that can go down at most 33 steps, so at least one of the 44 columns can never get a step.

Contains the zero vector [000]\begin{bmatrix} 0 \\ 0 \\ 0 \end{bmatrix} (automatically dependent)

Any group containing [000]\begin{bmatrix} 0 \\ 0 \\ 0 \end{bmatrix} can make a non-zero round trip by putting a non-zero weight like 55 on [000]\begin{bmatrix} 0 \\ 0 \\ 0 \end{bmatrix} and 00 on every other vector (5[000]=[000]5\begin{bmatrix} 0 \\ 0 \\ 0 \end{bmatrix} = \begin{bmatrix} 0 \\ 0 \\ 0 \end{bmatrix}).

When none of those three shortcuts applies, test the round-trip equation

x[121]+y[213]+z[455]=[000]\displaystyle \first{x\begin{bmatrix} 1 \\ 2 \\ 1 \end{bmatrix}} + \second{y\begin{bmatrix} 2 \\ 1 \\ 3 \end{bmatrix}} + \third{z\begin{bmatrix} 4 \\ 5 \\ 5 \end{bmatrix}} = \begin{bmatrix} 0 \\ 0 \\ 0 \end{bmatrix}

by placing the vectors into the columns of a grid and row reducing into a staircase:

Every column gets a step   ⟹  \implies Linearly independent

In [124011001]\begin{bmatrix} \first{\boxed{1}} & \second{2} & \third{4} \\ \first{0} & \second{\boxed{1}} & \third{1} \\ \first{0} & \second{0} & \third{\boxed{1}} \end{bmatrix}, the steps force z=0  ⟹  y=0  ⟹  x=0\third{z} = 0 \implies \second{y} = 0 \implies \first{x} = 0 (even if a tall grid has extra zero rows underneath).

Any column misses a step   ⟹  \implies Linearly dependent

In [124011000]\begin{bmatrix} \first{\boxed{1}} & \second{2} & \third{4} \\ \first{0} & \second{\boxed{1}} & \third{1} \\ \first{0} & \second{0} & \fails{0} \end{bmatrix}, Column 3 has no step, leaving z\third{z} free so you can set z=−1\third{z} = \third{-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]\first{\begin{bmatrix} 3 \\ -2 \end{bmatrix}} and [−96]\second{\begin{bmatrix} -9 \\ 6 \end{bmatrix}} (b) [3−2]\first{\begin{bmatrix} 3 \\ -2 \end{bmatrix}} and [−94]\second{\begin{bmatrix} -9 \\ 4 \end{bmatrix}}

Find the number that multiplies the top entry 3\first{3} to get −9\second{-9}, then check whether multiplying the bottom entry −2\first{-2} by that same number gives the second bottom entry.

(a) Multiplying the top entry 3\first{3} by −3\first{-3} gives −9\second{-9}, and multiplying the bottom entry −2\first{-2} by −3\first{-3} gives 6\second{6}:
[−96]=−3[3−2]\displaystyle \second{\begin{bmatrix} -9 \\ 6 \end{bmatrix}} = \first{-3\begin{bmatrix} 3 \\ -2 \end{bmatrix}}
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\first{-3} (3×(−3)=−93 \times (-3) = -9), while the bottom entry is multiplied by −2\fails{-2} (−2×(−2)=4-2 \times (-2) = 4). Watch out for calling these dependent just because 44 is a multiple of −2-2. Both entries must scale by the exact same number, and −3[3−2]\first{-3\begin{bmatrix} 3 \\ -2 \end{bmatrix}} gives [−96]\first{\begin{bmatrix} -9 \\ 6 \end{bmatrix}}, not [−94]\second{\begin{bmatrix} -9 \\ 4 \end{bmatrix}}. 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]\first{\begin{bmatrix} 1 \\ 4 \\ 2 \end{bmatrix}}, \second{\begin{bmatrix} 3 \\ -1 \\ 5 \end{bmatrix}}, \third{\begin{bmatrix} 2 \\ 0 \\ 1 \end{bmatrix}}, \begin{bmatrix} 5 \\ 2 \\ 3 \end{bmatrix} (b) [21−3],[000],[142]\first{\begin{bmatrix} 2 \\ 1 \\ -3 \end{bmatrix}}, \begin{bmatrix} 0 \\ 0 \\ 0 \end{bmatrix}, \third{\begin{bmatrix} 1 \\ 4 \\ 2 \end{bmatrix}}

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]\begin{bmatrix} 0 \\ 0 \\ 0 \end{bmatrix}.

(a) There are 44 vectors with only 33 entries each. Watch out for checking that no two vectors are multiples of each other and answering "independent." A 33-by-44 grid has only 33 rows and can go down at most 33 steps, so at least one of the 44 columns can never get a step. The group is linearly dependent.
(b) The group contains the zero vector [000]\begin{bmatrix} 0 \\ 0 \\ 0 \end{bmatrix}. Don't be fooled into answering "independent" because [21−3]\first{\begin{bmatrix} 2 \\ 1 \\ -3 \end{bmatrix}} and [142]\third{\begin{bmatrix} 1 \\ 4 \\ 2 \end{bmatrix}} aren't multiples of each other. Putting a non-zero weight like 55 on [000]\begin{bmatrix} 0 \\ 0 \\ 0 \end{bmatrix} and 00 on the other two vectors already makes a non-zero round trip:
0[21−3]+5[000]+0[142]=[000]\displaystyle \first{0\begin{bmatrix} 2 \\ 1 \\ -3 \end{bmatrix}} + 5\begin{bmatrix} 0 \\ 0 \\ 0 \end{bmatrix} + \third{0\begin{bmatrix} 1 \\ 4 \\ 2 \end{bmatrix}} = \begin{bmatrix} 0 \\ 0 \\ 0 \end{bmatrix}
The group is linearly dependent.
3

Use the staircase test to determine whether the vectors [112]\first{\begin{bmatrix} 1 \\ 1 \\ 2 \end{bmatrix}}, [235]\second{\begin{bmatrix} 2 \\ 3 \\ 5 \end{bmatrix}}, and [135]\third{\begin{bmatrix} 1 \\ 3 \\ 5 \end{bmatrix}} are linearly independent or linearly dependent.

Place the vectors into the columns of a 33-by-33 grid, then use Row 1 to clear the 1\first{1} in Row 2 and the 2\first{2} in Row 3.

Stack the vectors into columns and clear the first column below the top-left 1\first{1}:
[121133255]→R2←R2−R1R3←R3−2R1[121012013]\displaystyle \begin{bmatrix} \first{1} & \second{2} & \third{1} \\ \first{1} & \second{3} & \third{3} \\ \first{2} & \second{5} & \third{5} \end{bmatrix} \xrightarrow{\substack{R_2 \leftarrow R_2 - R_1 \\ R_3 \leftarrow R_3 - 2R_1}} \begin{bmatrix} \first{1} & \second{2} & \third{1} \\ \first{0} & \second{1} & \third{2} \\ \first{0} & \second{1} & \third{3} \end{bmatrix}
(Watch the bottom-right entry when computing R3−2R1R_3 - 2R_1: it is 5−2(1)=35 - 2(1) = 3. Subtracting R1R_1 instead of 2R12R_1 gives 5−1=45 - 1 = 4, and subtracting 33 by mistake gives 5−3=25 - 3 = 2, which makes Row 3 match Row 2 as (0,1,2)(0, 1, 2) and wrongly turns the bottom row into all zeros.)
Subtract Row 2 from Row 3 to finish the staircase:
[121012013]→R3←R3−R2[121012001]\displaystyle \begin{bmatrix} \first{1} & \second{2} & \third{1} \\ \first{0} & \second{1} & \third{2} \\ \first{0} & \second{1} & \third{3} \end{bmatrix} \xrightarrow{R_3 \leftarrow R_3 - R_2} \begin{bmatrix} \first{\boxed{1}} & \second{2} & \third{1} \\ \first{0} & \second{\boxed{1}} & \third{2} \\ \first{0} & \second{0} & \third{\boxed{1}} \end{bmatrix}
Every column gets its own step, which forces z=0\third{z} = 0, y=0\second{y} = 0, and x=0\first{x} = 0, so the vectors are linearly independent.
4

Test the vectors [123]\first{\begin{bmatrix} 1 \\ 2 \\ 3 \end{bmatrix}}, [234]\second{\begin{bmatrix} 2 \\ 3 \\ 4 \end{bmatrix}}, and [5811]\third{\begin{bmatrix} 5 \\ 8 \\ 11 \end{bmatrix}} with a staircase. If they are linearly dependent, find non-zero weights x,y,z\first{x}, \second{y}, \third{z} that make a round trip to [000]\begin{bmatrix} 0 \\ 0 \\ 0 \end{bmatrix} and write the third vector as a combination of the first two.

After clearing the first column, divide Row 2 by −1-1 to get a positive step before clearing Row 3, then set the free variable z=−1\third{z} = \third{-1} and solve upwards.

Place the vectors into columns and row reduce to a staircase:
[1252383411]→R2←R2−2R1R3←R3−3R1[1250−1−20−2−4]→R2←R2÷(−1)R3←R3−2R2[125012000]\displaystyle \begin{aligned} &\begin{bmatrix} \first{1} & \second{2} & \third{5} \\ \first{2} & \second{3} & \third{8} \\ \first{3} & \second{4} & \third{11} \end{bmatrix} \\ &\xrightarrow{\substack{R_2 \leftarrow R_2 - 2R_1 \\ R_3 \leftarrow R_3 - 3R_1}} \begin{bmatrix} \first{1} & \second{2} & \third{5} \\ \first{0} & \second{-1} & \third{-2} \\ \first{0} & \second{-2} & \third{-4} \end{bmatrix} \\ &\xrightarrow{\substack{R_2 \leftarrow R_2 \div (-1) \\ R_3 \leftarrow R_3 - 2R_2}} \begin{bmatrix} \first{\boxed{1}} & \second{2} & \third{5} \\ \first{0} & \second{\boxed{1}} & \third{2} \\ \first{0} & \second{0} & \fails{0} \end{bmatrix} \end{aligned}
Column 3 misses a step, so the vectors are linearly dependent and z\third{z} is free. Picking z=−1\third{z} = \third{-1} and substituting into Row 2 and Row 1 gives:
Row 2:1y+2z=0  ⟹  y=−2z=−2(−1)=2Row 1:1x+2(2)+5(−1)=0  ⟹  x−1=0  ⟹  x=1\displaystyle \begin{aligned} &\text{Row 2:}\quad \second{1y} + \third{2z} = 0 \\ &\quad \implies \second{y} = -\third{2z} = -\third{2(-1)} = \second{2} \\[6pt] &\text{Row 1:}\quad \first{1x} + \second{2(2)} + \third{5(-1)} = 0 \\ &\quad \implies \first{x} - 1 = 0 \\ &\quad \implies \first{x} = \first{1} \end{aligned}
(Watch the sign when solving y+2z=0y + 2z = 0: forgetting to flip the sign when moving 2z2z to the other side gives y=2z=−2y = 2z = -2 and then x=9x = 9, which doesn't add up to zero.)
With x=1,y=2,z=−1\first{x} = \first{1}, \second{y} = \second{2}, \third{z} = \third{-1}, the round trip and combination are:
1[123]+2[234]−1[5811]=[000]  ⟹  1[123]+2[234]=[5811]\displaystyle \begin{aligned} \first{1\begin{bmatrix} 1 \\ 2 \\ 3 \end{bmatrix}} + \second{2\begin{bmatrix} 2 \\ 3 \\ 4 \end{bmatrix}} - \third{1\begin{bmatrix} 5 \\ 8 \\ 11 \end{bmatrix}} &= \begin{bmatrix} 0 \\ 0 \\ 0 \end{bmatrix} \\ \implies \first{1\begin{bmatrix} 1 \\ 2 \\ 3 \end{bmatrix}} + \second{2\begin{bmatrix} 2 \\ 3 \\ 4 \end{bmatrix}} &= \third{\begin{bmatrix} 5 \\ 8 \\ 11 \end{bmatrix}} \end{aligned}
5

Test whether the four-entry vectors [1102]\first{\begin{bmatrix} 1 \\ 1 \\ 0 \\ 2 \end{bmatrix}}, [2314]\second{\begin{bmatrix} 2 \\ 3 \\ 1 \\ 4 \end{bmatrix}}, and [3426]\third{\begin{bmatrix} 3 \\ 4 \\ 2 \\ 6 \end{bmatrix}} are linearly independent or linearly dependent.

Stack the vectors into a 44-by-33 grid, clear the entries below the steps, and count how many of the 33 columns get their own step.

Put the vectors into the columns of a 44-by-33 grid and row reduce:
[123134012246]→R2←R2−R1R4←R4−2R1[123011012000]→R3←R3−R2[123011001000]\displaystyle \begin{aligned} &\begin{bmatrix} \first{1} & \second{2} & \third{3} \\ \first{1} & \second{3} & \third{4} \\ \first{0} & \second{1} & \third{2} \\ \first{2} & \second{4} & \third{6} \end{bmatrix} \\ &\xrightarrow{\substack{R_2 \leftarrow R_2 - R_1 \\ R_4 \leftarrow R_4 - 2R_1}} \begin{bmatrix} \first{1} & \second{2} & \third{3} \\ \first{0} & \second{1} & \third{1} \\ \first{0} & \second{1} & \third{2} \\ \first{0} & \second{0} & \third{0} \end{bmatrix} \\ &\xrightarrow{R_3 \leftarrow R_3 - R_2} \begin{bmatrix} \first{\boxed{1}} & \second{2} & \third{3} \\ \first{0} & \second{\boxed{1}} & \third{1} \\ \first{0} & \second{0} & \third{\boxed{1}} \\ \first{0} & \second{0} & \third{0} \end{bmatrix} \end{aligned}
(Don't stop at the bottom row of all zeros and answer "linearly dependent." In a 44-by-33 grid, the fourth row is just an extra row, and you have to check whether all 33 columns got a step.)
Because all 33 columns have their own step, z=0\third{z} = 0, y=0\second{y} = 0, and x=0\first{x} = 0, so the vectors are linearly independent.
6

Find the value of k\third{k} that makes the vectors [1−12]\first{\begin{bmatrix} 1 \\ -1 \\ 2 \end{bmatrix}}, [211]\second{\begin{bmatrix} 2 \\ 1 \\ 1 \end{bmatrix}}, and [51k]\third{\begin{bmatrix} 5 \\ 1 \\ k \end{bmatrix}} linearly dependent.

Put the vectors into columns and row reduce until k\third{k} is isolated in the third column's step at the bottom right, then set that step equal to 00.

Place the vectors into columns and clear the first column using Row 1:
[125−11121k]→R2←R2+R1R3←R3−2R1[1250360−3k−10]\displaystyle \begin{bmatrix} \first{1} & \second{2} & \third{5} \\ \first{-1} & \second{1} & \third{1} \\ \first{2} & \second{1} & \third{k} \end{bmatrix} \xrightarrow{\substack{R_2 \leftarrow R_2 + R_1 \\ R_3 \leftarrow R_3 - 2R_1}} \begin{bmatrix} \first{1} & \second{2} & \third{5} \\ \first{0} & \second{3} & \third{6} \\ \first{0} & \second{-3} & \third{k - 10} \end{bmatrix}
(Be careful with the signs here: clearing −1-1 in Row 2 takes adding R1R_1 to get 1+5=61 + 5 = 6, while clearing 22 in Row 3 takes subtracting 2R12R_1 to get k−2(5)=k−10k - 2(5) = k - 10. Subtracting R1R_1 in Row 2 gives −1−1=−2-1 - 1 = -2 in the first column, which doesn't clear it, and forgetting to double the 55 in Row 3 gives k−5k - 5 and then k=−1k = -1 instead.)
Divide Row 2 by 33 and clear the −3\second{-3} in Row 3:
[1250360−3k−10]→R2←R2÷3[1250120−3k−10]→R3←R3+3R2[12501200k−4]\displaystyle \begin{aligned} &\begin{bmatrix} \first{1} & \second{2} & \third{5} \\ \first{0} & \second{3} & \third{6} \\ \first{0} & \second{-3} & \third{k - 10} \end{bmatrix} \\ &\xrightarrow{R_2 \leftarrow R_2 \div 3} \begin{bmatrix} \first{1} & \second{2} & \third{5} \\ \first{0} & \second{1} & \third{2} \\ \first{0} & \second{-3} & \third{k - 10} \end{bmatrix} \\ &\xrightarrow{R_3 \leftarrow R_3 + 3R_2} \begin{bmatrix} \first{\boxed{1}} & \second{2} & \third{5} \\ \first{0} & \second{\boxed{1}} & \third{2} \\ \first{0} & \second{0} & \third{k - 4} \end{bmatrix} \end{aligned}
The third column loses its step when k−4=0\third{k - 4} = 0, which gives k=4\third{k} = 4.