Adding and scaling
By Amiro
How vectors add and scale: arrows add tip to tail while their numbers add entry by entry, and multiplying by a number stretches, shrinks or flips an arrow while it multiplies its numbers. The arrows and the numbers always agree.
A lesson of Linear Algebra
Transcript
- 0:00 Last time, we met vectors: arrows, usually drawn from the origin, written as columns of numbers. A one is two, one, and a two is one, two. An arrow is a walk: so many steps across, and so many up. So what happens if we take one walk, and then another?
- 0:19 Let's walk a one first: two across and one up. Then, from where we've arrived, walk a two: one across and two up. We end up at the point three, three. The arrow from the origin straight to there is called a one plus a two. Putting arrows tip to tail like this is how vectors add.
- 0:38 And the numbers? Across, we went two, and then one more: three. Up, we went one, and then two more: three. So to add two vectors, we add their numbers: the top numbers together, and the bottom numbers together. Here's one more, with v from last time: a one plus v. On top, two plus minus one is one. Below, one plus three is four. So a one plus v is one, four.
- 1:07 Does the order matter? Walk a two first, and then a one. We land on the same point. The two routes make a four-sided shape with parallel sides, a parallelogram, and the sum runs across it, from corner to corner.
- 1:21 Now something different. What is two times a one? It's two copies of the walk, one after the other: four across, and two up. The arrow stretches to twice its length, and its numbers double: two times the column two, one gives four, two. Multiplying a vector by a number like this is called scaling, and the number is called a scalar.
- 1:44 Let's call the scalar k. Then k times a one is two k on top, and k below: both numbers get multiplied by k. With k equal to two, we had four, two. A k between zero and one shrinks the arrow: half of a one is one, and one half. A negative k flips it around: minus one times a one is minus two, minus one, pointing the other way. And k equal to zero gives zero, zero: no walk at all, just the origin.
- 2:16 Your turn. Let's put both ideas together. Where does a one minus a two land? Think of it as a one, plus minus one times a two. Pause the video, and work it out with arrows, or with numbers.
- 2:34 With arrows: walk a one, and then walk a two backwards: one step left, and two down. We land at one, minus one. With numbers: two minus one is one, and one minus two is minus one. The same answer, both ways.
- 2:50 So the arrows and the numbers always agree. Arrows add tip to tail, and numbers add top with top, and bottom with bottom. Arrows stretch, shrink and flip, and both of their numbers get multiplied by the same number. Whatever we do to the arrows, the numbers do the same.
- 3:08 Here's the lesson in one picture. A one plus a two, tip to tail, lands on three, three: two, one plus one, two is three, three. And two times a one is twice as long: two times the column two, one gives four, two.
- 3:26 We can now stretch a one and a two by any amounts, and add them up. Which points can we reach that way? Can we reach the point four, five? That's next time.
More explanations on Sifr