Steply

Is (4, 5) in the span of (2, 3)

Step by step, with the reason for every step · Span · Linear Algebra

Step by step

The question

Question: is (4, 5) in the span of (2, 3)?

v1 = [2; 3]

We call them v₁, and the vector we test b.

b = [4; 5]

The span of a vector is every linear combination of it: any number times it.

span: every c1v1

1 Write the vector equation

b is in the span if some numbers c₁ make this true.

We look for them.

c1[2; 3] = [4; 5]

2 Write the augmented matrix

Each vector goes in as a column: the first entries make row 1, the second entries row 2.

b goes after the bar.

= [2, 4; 3, 5]

We call the rows R 1 and R 2.

Careful!

Each vector is a column of the matrix, not a row.

Row 1 holds the first entries of v₁, and of b.

Careful: the vectors are the COLUMNS

3 Row reduce

We use the three row moves: swap two rows, times a row by a number that is not 0, add a multiple of one row to another.

They never change the answers.

Our goal: a leading 1 in each row, with 0s above and below it.

swap two rows
× a row by a number (not 0)
add a multiple of one row to another
→ [1, 2; 3, 5]
→ [1, 2; 0, −1]

4 Read the answer

Look at row 2: 0s, then −1 after the bar.

As an equation it says 0c₁ = −1.

The left side is always 0, so this is false for every choice of numbers.

0c1 = −1

So no numbers work: (4, 5) is not in the span.

b = is not in the span

5 Check

Let's check.

The other rows give c₁ = 2.

They are the only numbers that fit those rows.

We try them.

= 2 × [2; 3]
= [2 × 2; 2 × 3]
= [4; 6]
= [4; 6]

We get (4, 6), not (4, 5).

So b is not in the span: the answer is right!

Let's look back.

First: write the vector equation.

Then: write the augmented matrix.

Then: row reduce.

Then: read the answer.

Last: check.

Answer
b = is not in the span

Your turn

Try this one yourself, then check:

Is [6; 3] in the span of [2; 2] ?
Show the answer
b is not in the span

More from Span

The whole lesson: Span →