Week 1 Discussion Notes

Table of Contents

Vectors

Basic Operations

A vector (in this class) is an ordered set of numbers. For example, 1,2,2\ang{1, 2, 2} is a 33-dimensional vector and 4,7\ang{4, 7} is a 22-dimensional one. There are two basic operations:

  1. (vector addition) If v=a1,b1,c1\vec{v} = \ang{a_1, b_1, c_1} and w=a2,b2,c2\vec{w} = \ang{a_2, b_2, c_2}, then v+w=a1+a2,b1+b2,c1+c2\vec{v} + \vec{w} = \ang{a_1 + a_2, b_1 + b_2, c_1 + c_2}.
  2. (scalar multiplication) If v=a,b,c\vec{v} = \ang{a, b, c} and λ\lambda is a real number, then λv=λa,λb,λc\lambda\vec{v} = \ang{\lambda a, \lambda b, \lambda c}.

In other words, you just do everything coordinate-wise. One thing to notice is that there's no standard way to multiply vectors, so things like vw\vec{v} \vec{w} and vw\frac{\vec{v}}{\vec{w}} are meaningless. Because of this, I strongly recommend putting the little arrows on your vectors so that mistakes are more obvious. For example, say you want to solve λv=w\lambda \vec{v} = \vec{w} for λ\lambda. If you don't use the arrows, then you might end up writing something like

λ=wv\lambda = \frac{w}{v}

which doesn't really stand out. On the other hand, if you wrote

λ=wv,\lambda = \frac{\vec{w}}{\vec{v}},

then the problem is a lot more apparent.

Length

If v=a,b\vec{v} = \ang{a, b}, then you can draw the following picture:

v\norm{\vec{v}} denotes the length of v\vec{v}, and from the Pythagorean theorem, you get

v=a2+b2.\norm{\vec{v}} = \sqrt{a^2 + b^2}.

Warning: It's not true in general that v+w=v+w\norm{\vec{v} + \vec{w}} = \norm{\vec{v}} + \norm{\vec{w}}. For example, if v=1,0\vec{v} = \ang{1, 0} and w=0,1\vec{w} = \ang{0, 1}, then

v+w=1,1=2\norm{\vec{v} + \vec{w}} = \norm{\ang{1, 1}} = \sqrt{2}

but

v+w=1+1=2.\norm{\vec{v}} + \norm{\vec{w}} = 1 + 1 = 2.

Parametrizing Lines

To specify a line, you need two pieces of information. First is a point r0\vec{r}_0 on the line:

From the picture, you can see that one point is not enough. Hopefully, you can see that to uniquely specify a line, I also need to tell you the direction v\vec{v} that the line passes through:

From here, you can see that if you scale v\vec{v}, you can get any point on the line. For example:

So you can parametrize the line by

r(t)=r0+tv.\vec{r}\p{t} = \vec{r}_0 + t\vec{v}.

Notice that you have a lot of choices for r0\vec{r}_0 and v\vec{v}: r0\vec{r}_0 can be any point on the line, and you can replace v\vec{v} with any (non-zero) scalar multiple of v\vec{v}. This means that the vector parametrization of a line is not unique.