Linear AlgebraVectors4 of 5
Vectors · 4

Span

The span of a set of vectors is all the points we can reach from the origin by scaling and combining them.

1

The span of one vector

Suppose we start at the origin (0,0)(0, 0) with a single vector, [21]\first{\begin{bmatrix} 2 \\ 1 \end{bmatrix}}, and ask what points on the plane we can reach just by scaling it.

The span of one vector
x\htmlClass{lc-mute}{x}
y\htmlClass{lc-mute}{y}
(0,0)(0, 0)
[21]\htmlClass{lc-green}{\begin{bmatrix} 2 \\ 1 \end{bmatrix}}

Scaling a single nonzero vector by positive numbers, negative numbers, or 00 traces out one straight line through the origin:

2[21]=[42],0.5[21]=[10.5],−1[21]=[−2−1],0[21]=[00]\displaystyle \begin{aligned} \first{2\begin{bmatrix} 2 \\ 1 \end{bmatrix}} &= \begin{bmatrix} 4 \\ 2 \end{bmatrix}, &\quad \first{0.5\begin{bmatrix} 2 \\ 1 \end{bmatrix}} &= \begin{bmatrix} 1 \\ 0.5 \end{bmatrix}, \\[0.4em] \first{-1\begin{bmatrix} 2 \\ 1 \end{bmatrix}} &= \begin{bmatrix} -2 \\ -1 \end{bmatrix}, &\quad \first{0\begin{bmatrix} 2 \\ 1 \end{bmatrix}} &= \begin{bmatrix} 0 \\ 0 \end{bmatrix} \end{aligned}

Every point on that line is in the span of [21]\first{\begin{bmatrix} 2 \\ 1 \end{bmatrix}}, and every point off the line is unreachable.

2

The span of two vectors in 2D

To reach points off that line, we bring in a second vector and combine scaled copies of both. Let's see what we can reach when we combine [21]\first{\begin{bmatrix} 2 \\ 1 \end{bmatrix}} with [12]\second{\begin{bmatrix} 1 \\ 2 \end{bmatrix}}, and what changes if the second vector is [42]\second{\begin{bmatrix} 4 \\ 2 \end{bmatrix}} instead.

The span of two vectors in 2D
x\htmlClass{lc-mute}{x}
y\htmlClass{lc-mute}{y}
[21]\htmlClass{lc-green}{\begin{bmatrix} 2 \\ 1 \end{bmatrix}}
[12]\htmlClass{lc-pink}{\begin{bmatrix} 1 \\ 2 \end{bmatrix}}

When the second vector is [42]\second{\begin{bmatrix} 4 \\ 2 \end{bmatrix}}, it points along the exact same line as [21]\first{\begin{bmatrix} 2 \\ 1 \end{bmatrix}} because it is just the first vector doubled:

[42]=2[21]\displaystyle \second{\begin{bmatrix} 4 \\ 2 \end{bmatrix}} = \first{2\begin{bmatrix} 2 \\ 1 \end{bmatrix}}

Taking 1\second{1} of [42]\second{\begin{bmatrix} 4 \\ 2 \end{bmatrix}} is the same move as taking 2\first{2} of [21]\first{\begin{bmatrix} 2 \\ 1 \end{bmatrix}}, so the second vector adds no new points and the span stays a 1D line.

As long as the second vector points off the line of [21]\first{\begin{bmatrix} 2 \\ 1 \end{bmatrix}}, combinations of the two vectors fill the entire 2D plane. Only when the second vector lines up with [21]\first{\begin{bmatrix} 2 \\ 1 \end{bmatrix}} are we stuck on that single line through the origin.

Point the second vector off the first vector's line and their span fills the whole plane, or line them up and the span collapses to that single line.
3

Span in 3D space

In 3D space, each vector has three coordinates: left/right, forward/back, and up/down. Let's see what points we can reach as we go from one vector, to two, to three vectors in 3D.

Span in 3D space
x\htmlClass{lc-mute}{x}
y\htmlClass{lc-mute}{y}
z\htmlClass{lc-mute}{z}

In 3D space, two vectors that don't lie on the same line through the origin span a tilted 2D plane through the origin. Adding a third vector fills all of 3D space whenever it points off that plane, and stays on that 2D plane whenever the third vector already lies on the plane as a combination of the first two.

A third vector expands the span from a 2D plane to all of 3D space only when it points off the plane of the first two vectors.
4

Testing if a vector is in the span

When we are given actual numbers in 3D, we can't tell just by looking whether a point lies on the tilted plane or off it. Suppose we want to test whether the target vector [2710]\target{\begin{bmatrix} 2 \\ 7 \\ 10 \end{bmatrix}} is in the span of Vector A=[123]\first{\text{Vector A} = \begin{bmatrix} 1 \\ 2 \\ 3 \end{bmatrix}} and Vector B=[135]\second{\text{Vector B} = \begin{bmatrix} 1 \\ 3 \\ 5 \end{bmatrix}}. The film below picks up after a first step that subtracts Vector A\first{\text{Vector A}} from Vector B\second{\text{Vector B}}, with the second vector already simplified to [012]\second{\begin{bmatrix} 0 \\ 1 \\ 2 \end{bmatrix}}.

Testing if a vector is in the span
x\htmlClass{lc-mute}{x}
y\htmlClass{lc-mute}{y}
z\htmlClass{lc-mute}{z}
A\htmlClass{lc-green}{A}
[123]\htmlClass{lc-green}{\begin{bmatrix} 1 \\ 2 \\ 3 \end{bmatrix}}
B\htmlClass{lc-pink}{B}
[012]\htmlClass{lc-pink}{\begin{bmatrix} 0 \\ 1 \\ 2 \end{bmatrix}}
[2710]\htmlClass{lc-blue}{\begin{bmatrix} 2 \\ 7 \\ 10 \end{bmatrix}}
on the plane?\text{on the plane?}
Text solution
Make a zero at the top of the second vectorSubtracting Vector A from Vector B keeps the vector on the exact same plane while making its top entry 00, so only the first vector changes the top coordinate:
[135]−[123]=[012]\displaystyle \second{\begin{bmatrix} 1 \\ 3 \\ 5 \end{bmatrix}} - \first{\begin{bmatrix} 1 \\ 2 \\ 3 \end{bmatrix}} = \second{\begin{bmatrix} 0 \\ 1 \\ 2 \end{bmatrix}}
Match the top coordinate using the first vectorBecause the new second vector [012]\second{\begin{bmatrix} 0 \\ 1 \\ 2 \end{bmatrix}} has 00 on top, reaching the target's top coordinate 2\target{2} means we have to take 2\first{2} of [123]\first{\begin{bmatrix} 1 \\ 2 \\ 3 \end{bmatrix}}:
2[123]=[246]\displaystyle \first{2\begin{bmatrix} 1 \\ 2 \\ 3 \end{bmatrix}} = \first{\begin{bmatrix} 2 \\ 4 \\ 6 \end{bmatrix}}
Match the middle coordinate using the new second vectorWe are at 4\first{4} in the middle and need to reach 7\target{7}, so covering the remaining 7−4=37 - 4 = 3 means we have to take 3\second{3} of [012]\second{\begin{bmatrix} 0 \\ 1 \\ 2 \end{bmatrix}}:
3[012]=[036]\displaystyle \second{3\begin{bmatrix} 0 \\ 1 \\ 2 \end{bmatrix}} = \second{\begin{bmatrix} 0 \\ 3 \\ 6 \end{bmatrix}}
Check the height on the plane at that spotAdding the two pieces gives the point on the tilted plane at (2,7)(2, 7):
[246]+[036]=[2712]\displaystyle \first{\begin{bmatrix} 2 \\ 4 \\ 6 \end{bmatrix}} + \second{\begin{bmatrix} 0 \\ 3 \\ 6 \end{bmatrix}} = \begin{bmatrix} 2 \\ 7 \\ 12 \end{bmatrix}

At (2,7)(2, 7), the plane is at height 1212, while the target [2710]\target{\begin{bmatrix} 2 \\ 7 \\ 10 \end{bmatrix}} is at height 10\target{10} (sitting 2\miss{2} units below the plane), so [2710]\target{\begin{bmatrix} 2 \\ 7 \\ 10 \end{bmatrix}} is not in the span.

seen edge-on

Adding or subtracting copies of Vector A keeps Vector B on the same tilted plane without changing the span. Once its top coordinate is 00, scaling that second vector changes only the middle and bottom coordinates without changing the top coordinate.

You can add or subtract copies of Vector A to make the top coordinate zero without ever leaving the plane.
5

Finding an unknown coordinate in the span

Now suppose a target vector has an unknown entry k\target{k}, such as [27k]\target{\begin{bmatrix} 2 \\ 7 \\ k \end{bmatrix}} or [2k10]\target{\begin{bmatrix} 2 \\ k \\ 10 \end{bmatrix}}, and we want to find the value of k\target{k} that puts the vector in the span of [123]\first{\begin{bmatrix} 1 \\ 2 \\ 3 \end{bmatrix}} and [135]\second{\begin{bmatrix} 1 \\ 3 \\ 5 \end{bmatrix}}.

Finding an unknown coordinate in the span
x\htmlClass{lc-mute}{x}
y\htmlClass{lc-mute}{y}
z\htmlClass{lc-mute}{z}
(2,7)(2, 7)
k\htmlClass{lc-blue}{k}
[123]\htmlClass{lc-green}{\begin{bmatrix} 1 \\ 2 \\ 3 \end{bmatrix}}
[135]\htmlClass{lc-pink}{\begin{bmatrix} 1 \\ 3 \\ 5 \end{bmatrix}}
[27k]\htmlClass{lc-blue}{\begin{bmatrix} 2 \\ 7 \\ k \end{bmatrix}}
k=  ?\htmlClass{lc-blue}{k} = \;?
Text solution
Find an unknown bottom coordinate from the first two coordinatesFor [27k]\target{\begin{bmatrix} 2 \\ 7 \\ k \end{bmatrix}}, matching 2\target{2} on top and 7\target{7} in the middle with [123]\first{\begin{bmatrix} 1 \\ 2 \\ 3 \end{bmatrix}} and [012]\second{\begin{bmatrix} 0 \\ 1 \\ 2 \end{bmatrix}} means taking 2\first{2} of the first vector and 3\second{3} of the second, which gives the plane's height k\target{k}:
k\displaystyle \target{k} =2(3)+3(2)\displaystyle = \first{2(3)} + \second{3(2)} =12\displaystyle = 12
Match the top coordinate for an unknown middle coordinateFor [2k10]\target{\begin{bmatrix} 2 \\ k \\ 10 \end{bmatrix}}, the top entry 2\target{2} still means we have to take 2\first{2} of [123]\first{\begin{bmatrix} 1 \\ 2 \\ 3 \end{bmatrix}}:
2[123]=[246]\displaystyle \first{2\begin{bmatrix} 1 \\ 2 \\ 3 \end{bmatrix}} = \first{\begin{bmatrix} 2 \\ 4 \\ 6 \end{bmatrix}}
Use the known bottom coordinate to find how much of the second vector we needReaching height 10\target{10} from height 6\first{6} takes 10−6=410 - 6 = 4 more units of height, and since [012]\second{\begin{bmatrix} 0 \\ 1 \\ 2 \end{bmatrix}} adds 2\second{2} to the height each time, we must take 2\second{2} of [012]\second{\begin{bmatrix} 0 \\ 1 \\ 2 \end{bmatrix}}:
2[012]=[024]\displaystyle \second{2\begin{bmatrix} 0 \\ 1 \\ 2 \end{bmatrix}} = \second{\begin{bmatrix} 0 \\ 2 \\ 4 \end{bmatrix}}
Find the middle coordinate k\target{k}Adding the middle entries from the two vectors gives the value of k\target{k} that lands on the plane:
k\displaystyle \target{k} =4+2(1)\displaystyle = \first{4} + \second{2(1)} =6\displaystyle = 6

So k=12\target{k} = 12 puts [2712]\target{\begin{bmatrix} 2 \\ 7 \\ 12 \end{bmatrix}} on the plane, and k=6\target{k} = 6 puts [2610]\target{\begin{bmatrix} 2 \\ 6 \\ 10 \end{bmatrix}} on the plane.

6

Finding the equation of a plane

Instead of checking points one at a time, we can find the equation of the plane by finding what equation a general point [xyz]\target{\begin{bmatrix} x \\ y \\ z \end{bmatrix}} must satisfy to be in the span of [123]\first{\begin{bmatrix} 1 \\ 2 \\ 3 \end{bmatrix}} and [135]\second{\begin{bmatrix} 1 \\ 3 \\ 5 \end{bmatrix}}.

Finding the equation of a plane
[xyz] in the span of\displaystyle \target{\begin{bmatrix} x \\ y \\ z \end{bmatrix}} \text{ in the span of}
 [123] and [012] \displaystyle \,\first{\begin{bmatrix} 1 \\ 2 \\ 3 \end{bmatrix}} \text{ and } \second{\begin{bmatrix} 0 \\ 1 \\ 2 \end{bmatrix}}\,
when z\displaystyle \text{when } \target{z} =  ?\displaystyle = \;?
Text solution
Match the top coordinate x\target{x} with the first vectorUsing [123]\first{\begin{bmatrix} 1 \\ 2 \\ 3 \end{bmatrix}} and [012]\second{\begin{bmatrix} 0 \\ 1 \\ 2 \end{bmatrix}}, only the first vector changes the top coordinate, so reaching x\target{x} means taking x\first{x} copies of [123]\first{\begin{bmatrix} 1 \\ 2 \\ 3 \end{bmatrix}}:
x[123]=[x2x3x]\displaystyle \first{x\begin{bmatrix} 1 \\ 2 \\ 3 \end{bmatrix}} = \first{\begin{bmatrix} x \\ 2x \\ 3x \end{bmatrix}}
Match the middle coordinate y\target{y} with the second vectorGoing from 2x\first{2x} to y\target{y} in the middle is a change of y−2xy - 2x, and since [012]\second{\begin{bmatrix} 0 \\ 1 \\ 2 \end{bmatrix}} adds 1\second{1} in the middle each time, we must take y−2x\second{y - 2x} copies of [012]\second{\begin{bmatrix} 0 \\ 1 \\ 2 \end{bmatrix}}:
(y−2x)[012]=[0y−2x2(y−2x)]\displaystyle \second{(y - 2x)\begin{bmatrix} 0 \\ 1 \\ 2 \end{bmatrix}} = \second{\begin{bmatrix} 0 \\ y - 2x \\ 2(y - 2x) \end{bmatrix}}
Set the bottom coordinate z\target{z} equal to the plane's heightAdding the bottom entries from both vectors and simplifying gives the equation for [xyz]\target{\begin{bmatrix} x \\ y \\ z \end{bmatrix}} to lie on the plane:
z=3x+2(y−2x)=3x+2y−4x=−x+2y\displaystyle \begin{aligned} \target{z} &= \first{3x} + \second{2(y - 2x)} \\ &= \first{3x} + \second{2y - 4x} \\ &= -x + 2y \end{aligned}

Writing this as z=−x+2yz = -x + 2y (or x−2y+z=0x - 2y + z = 0) gives the equation of the plane: a point (x,y,z)(x, y, z) is in the span when its height zz equals −x+2y-x + 2y, and is off the plane otherwise.

7

The span of three vectors in 3D

Finally, suppose we are given three vectors in 3D, such as [123]\first{\begin{bmatrix} 1 \\ 2 \\ 3 \end{bmatrix}}, [135]\second{\begin{bmatrix} 1 \\ 3 \\ 5 \end{bmatrix}}, and [258]\third{\begin{bmatrix} 2 \\ 5 \\ 8 \end{bmatrix}} (or [259]\third{\begin{bmatrix} 2 \\ 5 \\ 9 \end{bmatrix}}), and want to see whether they span all of 3D space or stay on a 2D plane.

The span of three vectors in 3D
x\htmlClass{lc-mute}{x}
y\htmlClass{lc-mute}{y}
z\htmlClass{lc-mute}{z}
[123]\htmlClass{lc-green}{\begin{bmatrix} 1 \\ 2 \\ 3 \end{bmatrix}}
[135]\htmlClass{lc-pink}{\begin{bmatrix} 1 \\ 3 \\ 5 \end{bmatrix}}
[258]\htmlClass{lc-violet}{\begin{bmatrix} 2 \\ 5 \\ 8 \end{bmatrix}}
span=  ?\text{span} = \;?
Text solution
Make the top entries 00 in the second and third vectorsKeep the first vector [123]\first{\begin{bmatrix} 1 \\ 2 \\ 3 \end{bmatrix}}, and subtract copies of it from the other two vectors so both start with 00:
[135]−[123]=[012],[258]−2[123]=[012]\displaystyle \begin{aligned} \second{\begin{bmatrix} 1 \\ 3 \\ 5 \end{bmatrix}} - \first{\begin{bmatrix} 1 \\ 2 \\ 3 \end{bmatrix}} &= \second{\begin{bmatrix} 0 \\ 1 \\ 2 \end{bmatrix}}, \\ \third{\begin{bmatrix} 2 \\ 5 \\ 8 \end{bmatrix}} - \first{2\begin{bmatrix} 1 \\ 2 \\ 3 \end{bmatrix}} &= \third{\begin{bmatrix} 0 \\ 1 \\ 2 \end{bmatrix}} \end{aligned}
Make the middle entry 00 in the third vector using the new second vectorSubtracting the new second vector [012]\second{\begin{bmatrix} 0 \\ 1 \\ 2 \end{bmatrix}} from the new third vector puts a second zero in the middle:
[012]−[012]=[000]\displaystyle \third{\begin{bmatrix} 0 \\ 1 \\ 2 \end{bmatrix}} - \second{\begin{bmatrix} 0 \\ 1 \\ 2 \end{bmatrix}} = \third{\begin{bmatrix} 0 \\ 0 \\ 0 \end{bmatrix}}
Compare when the third vector starts at [259]\third{\begin{bmatrix} 2 \\ 5 \\ 9 \end{bmatrix}} insteadDoing the exact same two subtractions when the bottom entry is 11 unit higher leaves a nonzero vertical vector in place of the third vector:
[259]−2[123]=[013],[013]−[012]=[001]\displaystyle \begin{aligned} \third{\begin{bmatrix} 2 \\ 5 \\ 9 \end{bmatrix}} - \first{2\begin{bmatrix} 1 \\ 2 \\ 3 \end{bmatrix}} &= \third{\begin{bmatrix} 0 \\ 1 \\ 3 \end{bmatrix}}, \\ \third{\begin{bmatrix} 0 \\ 1 \\ 3 \end{bmatrix}} - \second{\begin{bmatrix} 0 \\ 1 \\ 2 \end{bmatrix}} &= \third{\begin{bmatrix} 0 \\ 0 \\ 1 \end{bmatrix}} \end{aligned}

When the third vector becomes [000]\third{\begin{bmatrix} 0 \\ 0 \\ 0 \end{bmatrix}}, [258]\third{\begin{bmatrix} 2 \\ 5 \\ 8 \end{bmatrix}} was already a combination of the first two vectors, so their span is a 2D plane. When it becomes [001]\third{\begin{bmatrix} 0 \\ 0 \\ 1 \end{bmatrix}}, we can set the first coordinate with [123]\first{\begin{bmatrix} 1 \\ 2 \\ 3 \end{bmatrix}}, the second with [012]\second{\begin{bmatrix} 0 \\ 1 \\ 2 \end{bmatrix}}, and move up or down to any height with [001]\third{\begin{bmatrix} 0 \\ 0 \\ 1 \end{bmatrix}}, so the span is all of 3D space.

Span: a 2D plane
seen edge-on
Span: all of 3D space
seen edge-on

Key concepts

Whenever a question asks about span, it is asking what points you can reach by combining your vectors, and the way to work with the numbers is to put zeros in from the top down so each vector sets one coordinate at a time.

Two vectors in 2D

Check right away whether one vector is a scaled copy of the other. The vectors [21]\first{\begin{bmatrix} 2 \\ 1 \end{bmatrix}} and [42]\second{\begin{bmatrix} 4 \\ 2 \end{bmatrix}} satisfy [42]=2[21]\second{\begin{bmatrix} 4 \\ 2 \end{bmatrix}} = \first{2\begin{bmatrix} 2 \\ 1 \end{bmatrix}}, so their span is just a 1D line through the origin, whereas [21]\first{\begin{bmatrix} 2 \\ 1 \end{bmatrix}} and [12]\second{\begin{bmatrix} 1 \\ 2 \end{bmatrix}} point in different directions and span the entire 2D plane.

Testing a point, finding an unknown k\target{k}, or writing the plane equation in 3D

If the second vector already starts with a 00, like [123]\first{\begin{bmatrix} 1 \\ 2 \\ 3 \end{bmatrix}} and [012]\second{\begin{bmatrix} 0 \\ 1 \\ 2 \end{bmatrix}}, you can match the top coordinate right away. Otherwise, subtract copies of the first vector from the second to put a 00 on top first. Then use the first vector to match the top coordinate and the new second vector to match the second known coordinate:

  • For a specific point like [2710]\target{\begin{bmatrix} 2 \\ 7 \\ 10 \end{bmatrix}}, check whether the height you get on the plane (2(3)+3(2)=12\first{2(3)} + \second{3(2)} = 12) matches the target's height (10\target{10}).
  • For a missing coordinate like [2k10]\target{\begin{bmatrix} 2 \\ k \\ 10 \end{bmatrix}}, use the known top (2\target{2}) and bottom (10\target{10}) entries to find how much of each vector you need, then calculate the middle entry k=6\target{k} = 6.
  • For a general point [xyz]\target{\begin{bmatrix} x \\ y \\ z \end{bmatrix}}, taking x\first{x} of [123]\first{\begin{bmatrix} 1 \\ 2 \\ 3 \end{bmatrix}} and y−2x\second{y - 2x} of [012]\second{\begin{bmatrix} 0 \\ 1 \\ 2 \end{bmatrix}} gives the plane's height equation z=3x+2(y−2x)=−x+2y\target{z} = \first{3x} + \second{2(y - 2x)} = -x + 2y.
Three vectors in 3D

Subtract copies of the first vector to make the top entries of the second and third vectors 00, then subtract copies of the new second vector to make the middle entry of the third vector 00. Ending with [000]\third{\begin{bmatrix} 0 \\ 0 \\ 0 \end{bmatrix}} means the third vector is already a combination of the first two and the span is a 2D plane; ending with a nonzero bottom entry like [001]\third{\begin{bmatrix} 0 \\ 0 \\ 1 \end{bmatrix}} lets you move up and down off the plane so the vectors span all of 3D space.

8

Practice

1

What is the span of the 2D vectors [2−3]\first{\begin{bmatrix} 2 \\ -3 \end{bmatrix}} and [−69]\second{\begin{bmatrix} -6 \\ 9 \end{bmatrix}}, and which of the targets [4−6]\target{\begin{bmatrix} 4 \\ -6 \end{bmatrix}} and [23]\target{\begin{bmatrix} 2 \\ 3 \end{bmatrix}} can you reach?

Check what number multiplies the top entry 2\first{2} to give −6\second{-6}, and see whether that same number gives the bottom entry.

Comparing the two vectors shows that the second vector is −3\first{-3} times the first:
[−69]=−3[2−3]\displaystyle \second{\begin{bmatrix} -6 \\ 9 \end{bmatrix}} = \first{-3\begin{bmatrix} 2 \\ -3 \end{bmatrix}}
Watch out for assuming that any two vectors in 2D automatically span the entire 2D plane: because [−69]\second{\begin{bmatrix} -6 \\ 9 \end{bmatrix}} lies on the exact same line as [2−3]\first{\begin{bmatrix} 2 \\ -3 \end{bmatrix}}, their span is only a 1D line through the origin, and any point we can reach must be a multiple of [2−3]\first{\begin{bmatrix} 2 \\ -3 \end{bmatrix}}. Testing the two targets:
[4−6]=2[2−3]\displaystyle \target{\begin{bmatrix} 4 \\ -6 \end{bmatrix}} = \first{2\begin{bmatrix} 2 \\ -3 \end{bmatrix}}
For [23]\target{\begin{bmatrix} 2 \\ 3 \end{bmatrix}}, matching the top coordinate 2\target{2} means taking 1[2−3]=[2−3]\first{1\begin{bmatrix} 2 \\ -3 \end{bmatrix} = \begin{bmatrix} 2 \\ -3 \end{bmatrix}} (be careful not to ignore the negative sign just because the numbers 22 and 33 match: scaling flips both signs together, never just one).
The span is a 1D line through the origin; you can reach [4−6]\target{\begin{bmatrix} 4 \\ -6 \end{bmatrix}}, and you cannot reach [23]\target{\begin{bmatrix} 2 \\ 3 \end{bmatrix}}.
2

Is the target vector [342]\target{\begin{bmatrix} 3 \\ 4 \\ 2 \end{bmatrix}} in the span of [121]\first{\begin{bmatrix} 1 \\ 2 \\ 1 \end{bmatrix}} and [254]\second{\begin{bmatrix} 2 \\ 5 \\ 4 \end{bmatrix}}?

Subtract copies of [121]\first{\begin{bmatrix} 1 \\ 2 \\ 1 \end{bmatrix}} from [254]\second{\begin{bmatrix} 2 \\ 5 \\ 4 \end{bmatrix}} so the second vector starts with 00.

Subtract 2\first{2} of the first vector from the second vector to make the top entry 00:
[254]−2[121]=[012]\displaystyle \second{\begin{bmatrix} 2 \\ 5 \\ 4 \end{bmatrix}} - \first{2\begin{bmatrix} 1 \\ 2 \\ 1 \end{bmatrix}} = \second{\begin{bmatrix} 0 \\ 1 \\ 2 \end{bmatrix}}
Matching the target's top coordinate 3\target{3} means taking 3\first{3} of [121]\first{\begin{bmatrix} 1 \\ 2 \\ 1 \end{bmatrix}}:
3[121]=[363]\displaystyle \first{3\begin{bmatrix} 1 \\ 2 \\ 1 \end{bmatrix}} = \first{\begin{bmatrix} 3 \\ 6 \\ 3 \end{bmatrix}}
In the middle coordinate, we are at 6\first{6} and need to reach 4\target{4}. Watch the sign here: going from 66 to 44 is a change of 4−6=−24 - 6 = -2, so we must take −2\second{-2} of [012]\second{\begin{bmatrix} 0 \\ 1 \\ 2 \end{bmatrix}} (taking +2+2 of [012]\second{\begin{bmatrix} 0 \\ 1 \\ 2 \end{bmatrix}} gives height 77, and using the target's 44 directly gives height 1111):
[363]−2[012]=[343−4]=[34−1]\displaystyle \first{\begin{bmatrix} 3 \\ 6 \\ 3 \end{bmatrix}} - \second{2\begin{bmatrix} 0 \\ 1 \\ 2 \end{bmatrix}} = \begin{bmatrix} 3 \\ 4 \\ 3 - 4 \end{bmatrix} = \begin{bmatrix} 3 \\ 4 \\ -1 \end{bmatrix}
At (3,4)(3, 4), the plane is at height −1-1, which does not match the target height 2\target{2}.
No.
3

What value of k\target{k} puts the vector [4k3]\target{\begin{bmatrix} 4 \\ k \\ 3 \end{bmatrix}} in the span of [213]\first{\begin{bmatrix} 2 \\ 1 \\ 3 \end{bmatrix}} and [03−1]\second{\begin{bmatrix} 0 \\ 3 \\ -1 \end{bmatrix}}?

Because the second vector already starts with 00, use the known top and bottom coordinates of [4k3]\target{\begin{bmatrix} 4 \\ k \\ 3 \end{bmatrix}} to find how much of each vector you need.

Since the second vector already starts with 00, we can use it as is. Reaching 4\target{4} on top means taking 2\first{2} of [213]\first{\begin{bmatrix} 2 \\ 1 \\ 3 \end{bmatrix}}:
2[213]=[426]\displaystyle \first{2\begin{bmatrix} 2 \\ 1 \\ 3 \end{bmatrix}} = \first{\begin{bmatrix} 4 \\ 2 \\ 6 \end{bmatrix}}
At the bottom, we are at height 6\first{6} and need to reach height 3\target{3}, a change of 3−6=−33 - 6 = -3. Because [03−1]\second{\begin{bmatrix} 0 \\ 3 \\ -1 \end{bmatrix}} has −1\second{-1} at the bottom, each copy lowers the height by 11, so we need +3\second{+3} copies of [03−1]\second{\begin{bmatrix} 0 \\ 3 \\ -1 \end{bmatrix}} (watch the negative sign on −1\second{-1}: taking −3-3 copies instead of +3\second{+3} would raise the height to 99 and give the wrong answer k=−7k = -7):
3[03−1]=[09−3]\displaystyle \second{3\begin{bmatrix} 0 \\ 3 \\ -1 \end{bmatrix}} = \second{\begin{bmatrix} 0 \\ 9 \\ -3 \end{bmatrix}}
Adding the two middle coordinates (remembering to include the 2\first{2} from the first vector, not just 9\second{9}) gives k\target{k}:
k\displaystyle \target{k} =2+9\displaystyle = \first{2} + \second{9} =11\displaystyle = 11
4

What equation must x\target{x}, y\target{y}, and z\target{z} satisfy for [xyz]\target{\begin{bmatrix} x \\ y \\ z \end{bmatrix}} to be in the span of [1−12]\first{\begin{bmatrix} 1 \\ -1 \\ 2 \end{bmatrix}} and [105]\second{\begin{bmatrix} 1 \\ 0 \\ 5 \end{bmatrix}}?

Subtract the first vector from the second to put a 00 on top, then find how much you need to add in the middle to go from −x\first{-x} to y\target{y}.

Subtract the first vector from the second to make the top entry 00 (being careful that 0−(−1)=+10 - (-1) = +1 in the middle):
[105]−[1−12]=[013]\displaystyle \second{\begin{bmatrix} 1 \\ 0 \\ 5 \end{bmatrix}} - \first{\begin{bmatrix} 1 \\ -1 \\ 2 \end{bmatrix}} = \second{\begin{bmatrix} 0 \\ 1 \\ 3 \end{bmatrix}}
Matching x\target{x} on top means taking x\first{x} of [1−12]\first{\begin{bmatrix} 1 \\ -1 \\ 2 \end{bmatrix}}:
x[1−12]=[x−x2x]\displaystyle \first{x\begin{bmatrix} 1 \\ -1 \\ 2 \end{bmatrix}} = \first{\begin{bmatrix} x \\ -x \\ 2x \end{bmatrix}}
In the middle coordinate, we are at −x\first{-x} and need to reach y\target{y}. Watch the negative sign here: going from −x-x to yy takes y−(−x)=y+xy - (-x) = \second{y + x} copies of [013]\second{\begin{bmatrix} 0 \\ 1 \\ 3 \end{bmatrix}} (writing y−xy - x by mistake gives the wrong plane equation z=−x+3yz = -x + 3y):
(y+x)[013]=[0y+x3(y+x)]\displaystyle \second{(y + x)\begin{bmatrix} 0 \\ 1 \\ 3 \end{bmatrix}} = \second{\begin{bmatrix} 0 \\ y + x \\ 3(y + x) \end{bmatrix}}
Setting the bottom coordinate z\target{z} equal to the total height gives:
z=2x+3(y+x)=5x+3y(or 5x+3y−z=0)\displaystyle \begin{aligned} \target{z} &= \first{2x} + \second{3(y + x)} \\ &= 5x + 3y \quad (\text{or } 5x + 3y - z = 0) \end{aligned}
5

What is the span of the three vectors [12−1]\first{\begin{bmatrix} 1 \\ 2 \\ -1 \end{bmatrix}}, [251]\second{\begin{bmatrix} 2 \\ 5 \\ 1 \end{bmatrix}}, and [383]\third{\begin{bmatrix} 3 \\ 8 \\ 3 \end{bmatrix}}?

Make the top entries of the second and third vectors 00 using [12−1]\first{\begin{bmatrix} 1 \\ 2 \\ -1 \end{bmatrix}}, then use the new second vector to make the middle entry of the third vector 00.

Subtract 2\first{2} of the first vector from the second, and 3\first{3} of the first vector from the third (watch the negative bottom entry −1\first{-1}: subtracting 2(−1)\first{2(-1)} adds 22, and subtracting 3(−1)\first{3(-1)} adds 33; dropping that minus sign gives [01−1]\begin{bmatrix} 0 \\ 1 \\ -1 \end{bmatrix} and [020]\begin{bmatrix} 0 \\ 2 \\ 0 \end{bmatrix} and makes the vectors look like they span 3D space):
[251]−2[12−1]=[013],[383]−3[12−1]=[026]\displaystyle \begin{aligned} \second{\begin{bmatrix} 2 \\ 5 \\ 1 \end{bmatrix}} - \first{2\begin{bmatrix} 1 \\ 2 \\ -1 \end{bmatrix}} &= \second{\begin{bmatrix} 0 \\ 1 \\ 3 \end{bmatrix}}, \\ \third{\begin{bmatrix} 3 \\ 8 \\ 3 \end{bmatrix}} - \first{3\begin{bmatrix} 1 \\ 2 \\ -1 \end{bmatrix}} &= \third{\begin{bmatrix} 0 \\ 2 \\ 6 \end{bmatrix}} \end{aligned}
Now subtract 2\second{2} of the new second vector [013]\second{\begin{bmatrix} 0 \\ 1 \\ 3 \end{bmatrix}} from [026]\third{\begin{bmatrix} 0 \\ 2 \\ 6 \end{bmatrix}} to make the middle entry 00:
[026]−2[013]=[000]\displaystyle \third{\begin{bmatrix} 0 \\ 2 \\ 6 \end{bmatrix}} - \second{2\begin{bmatrix} 0 \\ 1 \\ 3 \end{bmatrix}} = \third{\begin{bmatrix} 0 \\ 0 \\ 0 \end{bmatrix}}
Because the third vector turns into [000]\third{\begin{bmatrix} 0 \\ 0 \\ 0 \end{bmatrix}}, it lies in the plane of the first two vectors.
A 2D plane in 3D space.
6

For what value of k\third{k} is the span of [112]\first{\begin{bmatrix} 1 \\ 1 \\ 2 \end{bmatrix}}, [235]\second{\begin{bmatrix} 2 \\ 3 \\ 5 \end{bmatrix}}, and [13k]\third{\begin{bmatrix} 1 \\ 3 \\ k \end{bmatrix}} only a 2D plane, and for what values of k\third{k} do they span all of 3D space?

Make the top entries of the second and third vectors 00 using [112]\first{\begin{bmatrix} 1 \\ 1 \\ 2 \end{bmatrix}}, then make the middle entry of the third vector 00 so only k−4\third{k - 4} remains at the bottom.

Make the top entries 00 by subtracting 2\first{2} of [112]\first{\begin{bmatrix} 1 \\ 1 \\ 2 \end{bmatrix}} from the second vector and 1\first{1} of [112]\first{\begin{bmatrix} 1 \\ 1 \\ 2 \end{bmatrix}} from the third vector:
[235]−2[112]=[011],[13k]−[112]=[02k−2]\displaystyle \begin{aligned} \second{\begin{bmatrix} 2 \\ 3 \\ 5 \end{bmatrix}} - \first{2\begin{bmatrix} 1 \\ 1 \\ 2 \end{bmatrix}} &= \second{\begin{bmatrix} 0 \\ 1 \\ 1 \end{bmatrix}}, \\ \third{\begin{bmatrix} 1 \\ 3 \\ k \end{bmatrix}} - \first{\begin{bmatrix} 1 \\ 1 \\ 2 \end{bmatrix}} &= \third{\begin{bmatrix} 0 \\ 2 \\ k - 2 \end{bmatrix}} \end{aligned}
Next, make the middle entry 2\third{2} of [02k−2]\third{\begin{bmatrix} 0 \\ 2 \\ k - 2 \end{bmatrix}} zero by subtracting 2\second{2} of [011]\second{\begin{bmatrix} 0 \\ 1 \\ 1 \end{bmatrix}} (don't forget to subtract 22 from k\third{k} in the first step and another 2(1)=22(1) = 2 in the second step: skipping either subtraction gives the wrong value k=2k = 2, and subtracting only 11 in the second step gives k=3k = 3):
[02k−2]−2[011]=[00k−4]\displaystyle \third{\begin{bmatrix} 0 \\ 2 \\ k - 2 \end{bmatrix}} - \second{2\begin{bmatrix} 0 \\ 1 \\ 1 \end{bmatrix}} = \third{\begin{bmatrix} 0 \\ 0 \\ k - 4 \end{bmatrix}}
This third vector becomes [000]\third{\begin{bmatrix} 0 \\ 0 \\ 0 \end{bmatrix}} when k−4=0\third{k - 4} = 0, and has a nonzero bottom entry that reaches off the plane whenever k−4≠0\third{k - 4} \neq 0.
A 2D plane when k=4k = 4, and all of 3D space when k≠4k \neq 4.