Worked examples
The question
Question: work out (3, 1) + (2, 5).
[3; 1] + [2; 5]
A vector in R 2 is a column of 2 numbers.
Numbers times vectors, added together, is called a linear combination.
a vector in Rยฒ: a column of 2 numbers
linear combination: numbers ร vectors, added
1 Add matching entries
Now matching entries go together: top with top, then the next, down to the bottom.
= [3 + 2; 1 + 5]
Careful!
Every entry gets the same treatment.
Top with top, second with second, down to the bottom.
Careful: every entry: top with top, down to the bottom
So the answer is the vector (5, 6).
= [5; 6]
2 Check
Let's check.
We take the second part away from the answer.
The first part must come back.
= [5; 6] โ [2; 5]
= [5 โ 2; 6 โ 5]
= [3; 1]
We get (3, 1): that is (3, 1), the first part.
So the answer is right!
Let's look back.
First: add matching entries.
Last: check.
โถ Watch it solved
The question
Question: work out 2(1, 0, 3) โ 3(2, 1, โ1).
2 ร [1; 0; 3] โ 3 ร [2; 1; โ1]
A vector in R 3 is a column of 3 numbers.
Numbers times vectors, added together, is called a linear combination.
a vector in Rยณ: a column of 3 numbers
linear combination: numbers ร vectors, added
1 Multiply each vector by its number
Each vector is multiplied by its number: every entry.
2 ร 1 at the top, and so on down.
= [2 ร 1; 2 ร 0; 2 ร 3] โ [3 ร 2; 3 ร 1; 3 ร (โ1)]
We work out each times.
= [2; 0; 6] โ [6; 3; โ3]
2 Add matching entries
Now matching entries go together: top with top, then the next, down to the bottom.
A minus between the vectors takes away every entry.
= [2 โ 6; 0 โ 3; 6 โ (โ3)]
Careful!
Taking away a negative is adding: 6 โ (โ3) = 6 + 3.
Careful: not 6 โ 3 โ
So the answer is the vector (โ4, โ3, 9).
= [โ4; โ3; 9]
3 Check
Let's check.
We take the second part away from the answer (taking away a minus part is adding it back).
The first part must come back.
= [โ4; โ3; 9] + [6; 3; โ3]
= [โ4 + 6; โ3 + 3; 9 + (โ3)]
= [2; 0; 6]
We get (2, 0, 6): that is 2 ร (1, 0, 3), the first part.
So the answer is right!
Let's look back.
First: multiply each vector by its number.
Then: add matching entries.
Last: check.
โถ Watch it solved
The question
Question: work out u + 2v โ w.
u = [1; 0; 2]
v = [0; 1; โ1]
w = [3; 1; 1]
u is (1, 0, 2), and v is (0, 1, โ1), and w is (3, 1, 1).
We put them in.
So u + 2v โ w is this.
= [1; 0; 2] + 2 ร [0; 1; โ1] โ [3; 1; 1]
A vector in R 3 is a column of 3 numbers.
Numbers times vectors, added together, is called a linear combination.
a vector in Rยณ: a column of 3 numbers
linear combination: numbers ร vectors, added
1 Multiply each vector by its number
Each vector is multiplied by its number: every entry.
2 ร 0 at the top, and so on down.
= [1; 0; 2] + [2 ร 0; 2 ร 1; 2 ร (โ1)] โ [3; 1; 1]
We work out each times.
= [1; 0; 2] + [0; 2; โ2] โ [3; 1; 1]
2 Add matching entries
Now matching entries go together: top with top, then the next, down to the bottom.
= [1 + 0 โ 3; 0 + 2 โ 1; 2 + (โ2) โ 1]
Careful!
Every entry gets the same treatment.
Top with top, second with second, down to the bottom.
Careful: every entry: top with top, down to the bottom
So the answer is the vector (โ2, 1, โ1).
= [โ2; 1; โ1]
3 Check
Let's check.
We take the other parts away from the answer (taking away a minus part is adding it back).
The first part must come back.
= [โ2; 1; โ1] โ [0; 2; โ2] + [3; 1; 1]
= [โ2 โ 0 + 3; 1 โ 2 + 1; โ1 โ (โ2) + 1]
= [1; 0; 2]
We get (1, 0, 2): that is u, the first part.
So the answer is right!
Let's look back.
First: multiply each vector by its number.
Then: add matching entries.
Last: check.
โถ Watch it solved