Vectors
We have discussed one fundamental use of
2.1Points and Free Vectors
Definition 2.1 (Vector). A vector is an object that stores both a length (called its magnitude) and a direction. We represent a vector by a directed line segment, or a little arrow in space.
This gives us an important distinction. A point records where something is; a vector records an amount and a direction. For example, the location of a car is a point, while its velocity is a vector.
There is one subtlety in our picture of a vector as an arrow. The location of the arrow is not part of the vector! If we slide an arrow across the page without changing its length or direction, the translated arrow represents the same vector. We call vectors free vectors to emphasize that they are not anchored at a particular point.
This is why the little arrows used to represent a single vector may appear in many different places. Each arrow has a tail and a head, but those belong to the drawing; the vector itself remembers only the displacement from the tail to the head.
Exercise 2.2 (Points or Vectors?). Which of the following quantities are positions? Which are vectors?
Where I parked my car.
The wind hitting me in the face.
The location of Mars in the solar system.
The velocity of Mars in the solar system.
Gravitational acceleration.
Exercise 2.3. Come up with some of your own scenarios that are measured using two-dimensional points, three-dimensional vectors, four-dimensional points, and four-dimensional vectors.
2.2Vector Components and Notation
To work with vectors, we need a means of writing them down using numbers. One idea is to use the same Cartesian coordinate system discussed in the previous chapter to express a vector in components.
Definition 2.4 (Vector Notation). To help avoid confusing points and vectors, we will use different notations for
the two. For a point, we use a simple letter such as
When using Cartesian coordinates, we write a point with round brackets,
whereas for a vector we use angle brackets,
We may also write a vector as a column of numbers when this saves space or makes a calculation easier to read:
The components of a vector measure how far the arrow travels in each coordinate
direction. For example,
Definition 2.5 (The Zero Vector). The zero vector in an
Geometrically, the zero vector is represented by an arrow whose head and tail coincide. It has no preferred direction, but it is needed for vector arithmetic in the same way that the number zero is needed for ordinary arithmetic.
2.3Arithmetic of Vectors
Vectors can be added and scaled. Both operations are easiest to understand geometrically first, and then write down in components.
Definition 2.6 (Vector Addition). Vector addition is defined to give the combined effect of two vectors. If
In Cartesian coordinates, vector addition is performed one component at a time:
The animation below shows why the parallelogram and head-to-tail constructions are really the same definition. Try walking the two vectors in both possible orders.
Definition 2.7 (Scalar Multiplication). If
Because we think of real numbers as being the kind of things that can scale vectors, we often call them scalars.
Multiplying by
which again means subtracting one component at a time.
Vector addition can be used to describe complicated motion in terms of simpler pieces. Indeed, this idea was used by the ancient Greeks in their planetary models, where complicated motions of objects in the heavens were modeled as combinations of circular motions, or epicycles.
The figure below shows two modern versions of the same idea. The Moon's position relative to the Sun is the sum of Earth's motion around the Sun and the Moon's motion around Earth. Mars's position as seen from Earth is a difference: its position relative to the Sun minus Earth's.
In these calculations, vector arithmetic works like the arithmetic of numbers, one coordinate at a time. It therefore satisfies many familiar algebraic laws.
Theorem 2.8 (Vector Arithmetic). Let
2.4Displacement Between Points
One common use for vectors is to give directions to get from one point to
another: that is, given points
This vector encodes the magnitude and direction information of “if you are at
Definition 2.9 (Vector from Two Points). The displacement vector from a point
The same definition works in every dimension.
Notice that the order matters:
For example, let
The displacement from
Its magnitude is
so the distance between the two points is
2.5Magnitude and Unit Vectors
The vector
Definition 2.10 (Magnitude). The magnitude of a vector
Thus, magnitude does not introduce a new distance formula. It gives the formula from Chapter 1 a new interpretation: the length of a displacement vector.
A vector of length 1 is called a unit vector. We think of these as measuring purely direction just as we think of numbers as measuring purely length.
Definition 2.11 (Unit Vector in a Given Direction). If
The hypothesis
Example 2.12 (A Unit Vector in a Given Direction). Find a unit vector in the direction of
First compute the magnitude:
Dividing the vector by this magnitude gives
Exercise 2.13 (A Vector of Prescribed Length). Find a vector of length
Hint: first find a unit vector in this direction. What happens to its length
if you scalar multiply it by
2.6Linear Combinations and Standard Bases
Vector addition and scalar multiplication can be used together to build new vectors from old ones.
Definition 2.14 (Linear Combination). A linear combination of a list of vectors is a new vector made by taking a sum of scalar multiples of the original vectors.
For example, if
Cartesian coordinates are built from a collection of perpendicular axes. Each of these axes has a direction that we call a standard basis direction.
Definition 2.15 (Standard Basis). For
For
In general, the
For example,
is the fourth standard basis vector of twelve-dimensional space. In two and three dimensions, we give each basis vector a unique letter to aid readability instead of dealing with subscripts for only a handful of symbols.
Definition 2.16 (Standard Basis in $\RR^2$ and $\RR^3$). In
In
We can use these standard basis vectors to express any vector in space. For
example, in
The figure below begins with two arbitrary vectors
Remark 2.17 (Vector Reference). For points
Vectors now give us a language for displacement, direction, and magnitude. But
we still cannot measure the angle between two vectors, or answer a question
like “how much of