
Vectors
A vector is an n-tuple (tuple refers t a vertical or horizontal ordered list) of coordinates specifying a direction and a magnitude. The direction is given in relation to the origin and the magnitude is the length of the vector.
Vectors help us to add the idea of paths with direction to our notion of mathematics. They do so in the simplest possible way- they allow us to talk about and understand paths that consists of a collection of straight line segments each with a clear direction. This adds a bit of complexity to our understanding of math, but the power of linear algebra- the field to which vectors belongs cannot be overstated. This is the starting point for the majority of humanity’s most powerful mathematical results. More than any other fields linear algebra and complex analysis have created pathways to solutions of the very hardest mathematical problems that humanity has explored. Much of the work of modern mathematics has been attempting to reformulate existing problems in the language of these two fields. Don’t take this as road sign that leads you away from other fields- algebraic geometry and number theory have had extraordinary renaissances in the 21st century as well.
1. Vectors in
It is typical to write a vector as a column. Often, we denote vector symbols with special characters over the variable when it may be unclear the variable is a vector. Consider the vector given by v = (1, 2). We would more commonly write this as
Recall that
Here, you see a graphical representation of vector




Scalar multiplication dilates a vector (possibly in the opposite direction). In mathematics, the term dilation is frequently used to mean a scaling that does not change the shape of the object. It is valid to send scalar multiply by zero which sends the vector to the zero vector. Scalar multiplication of


One final note on this section is that it is common to use subscripts when dealing with vectors. A subscript is used to denote a distinct element (though it may have the same value). For instance, consider the vector given by
Try some practice problems below:
1. Let and v be as above. Calculate x + v.
2. Calculate 3v + v + w where v and w are as above.
3. Calculate 3y + v with y and v as above.
2. Vectors in and vector decomposition
Vectors in
Consider
Vector Decomposition
One of the profoundly useful aspects of vectors across many disciplines is vector decomposition and vector arithmetic. In the real world, I don’t have any sort of absolute coordinate system so I often have a magnitude and one or more angles. For instance, imagine the girl below is pulling a wagon with a force of 10 Newtons at an angle of 450 to the horizontal. The wagon has a mass of 5 kg with loaded up with all the stuffed animals.
How fast is the wagon accelerating horizontally? She’s moving to the left. The wagon handle is at 450, but typically, we would call this angle 1350. The horizontal component of the vector can be obtained as

Let’s consider several other examples.
Example 2.1: An aerial drone is flying at to the positive horizontal (towards northeast). It flies 25 meters in this direction. Then it flies 20 meters directly east. Finally, it flies 15 meters at a angle to the horizontal (again northeast). What is the final displacement of the drone? What distance did the drone cover?
We first apply vector decomposition here to obtain the components of the displacement piecewise.
We get the following x components:
We then sum these components to get the x and y components of the green displacement vector.
We then use the Pythagorean theorem to compute the magnitude of the displacement vector and the arctangent to determine the angle.
Thus our displacement is 63.4 meters at
The total distance is a scalar sum of

Example 2.2: A frog swims along the surface of a pond. First it swims 10 m at an angle of to the positive horizonal. Then it turns clockwise and swims 10 more meters. What is the total distance that the frog swam? What is the displacement of the frog if the origin is placed where the frog started swimming?
This problem requires similar skills to the previous problem. The total distance is simply 10 m + 10 m = 20 m. The displacement will require us to use vector decomposition.
3. The Dot Product and
The dot product seems like a very strange operation on its face. However, in some sense, it is the correct generalization of the angle. Here, let us take two general vectors v
Let’s examine the precise relationship between the (standard) dot product and the angle between two distinct, nonzero vectors. We’ll consider two vectors in
By the law of cosines, we may now write
And this immediately implies that if the angle between the two vectors is perpendicular then the dot product is equal to zero. Moreover, this gives us a way to introduce a new term: orthogonal. Perpendicular vectors are orthogonal, but later on, nonstandard dot products or the dot generalized to higher dimensions does not have quite the same geometric intuition. We leave behind the notion of perpendicular and instead say two vectors are orthogonal if the dot product is zero.
Consider the follow two vectors in
Let u =
Then u
There is another nice intuition for higher dimensions. Any collection of independent data is a dimension. For example, longitude, latitude, humidity, and temperature are a four dimensional data set! Another example you may be more familiar with is spatial coordinates (x, y, z) plus a time coordinate (t) which becomes (x, y, z, t). If we are tracking a rocket, then necessarily, we are tracking it not in 3 dimensions, but 4!