Learning Outcomes
The notation refers to the collection of ordered lists of real numbers, that is
In this chapter, we take a closer look at vectors in . First, we will consider what looks like in more detail. Recall that the point given by is called the origin.
Now, consider the case of for Then from the definition we can identify with points in as follows:
Hence, is defined as the set of all real numbers and geometrically, we can describe this as all the points on a line.
Now suppose . Then, from the definition,
Consider the familiar coordinate plane, with an axis and a axis. Any point within this coordinate plane is identified by where it is located along the axis, and also where it is located along the axis. Consider as an example the following diagram.
Hence, every element in is identified by two components, and , in the usual manner. The coordinates (or ,) uniquely determine a point in the plan. Note that while the definition uses and to label the coordinates and you may be used to and , these notations are equivalent.
Now suppose . You may have previously encountered the -dimensional coordinate system, given by
Points in will be determined by three coordinates, often written which correspond to the , , and axes. We can think as above that the first two coordinates determine a point in a plane. The third component determines the height above or below the plane, depending on whether this number is positive or negative, and all together this determines a point in space. You see that the ordered triples correspond to points in space just as the ordered pairs correspond to points in a plane and single real numbers correspond to points on a line.
The idea behind the more general is that we can extend these ideas beyond This discussion regarding points in leads into a study of vectors in . While we consider for all , we will largely focus on in this section.
Consider the following definition.
Definition D.1: The Position Vector
Let be the coordinates of a point in Then the vector with its tail at and its tip at is called the position vector of the point . We write
For this reason we may write both and .
This definition is illustrated in the following picture for the special case of .
Thus every point in determines its position vector . Conversely, every such position vector which has its tail at and point at determines the point of .
Now suppose we are given two points, whose coordinates are and respectively. We can also determine the position vector from to (also called the vector from to ) defined as follows.
Now, imagine taking a vector in and moving it around, always keeping it pointing in the same direction as shown in the following picture.
After moving it around, it is regarded as the same vector. Each vector, and has the same length (or magnitude) and direction. Therefore, they are equal.
Consider now the general definition for a vector in .
Definition D.2: Vectors in
Let Then,
is called a vector. Vectors have both size (magnitude) and direction. The numbers are called the components of .
Using this notation, we may use to denote the position vector of point . Notice that in this context, . These notations may be used interchangeably.
You can think of the components of a vector as directions for obtaining the vector. Consider . Draw a vector with its tail at the point and its tip at the point . This vector it is obtained by starting at , moving parallel to the axis to and then from here, moving parallel to the axis to and finally parallel to the axis to Observe that the same vector would result if you began at the point , moved parallel to the axis to then parallel to the axis to and finally parallel to the axis to . Here, the vector would have its tail sitting at the point determined by and its point at It is the same vector because it will point in the same direction and have the same length. It is like you took an actual arrow, and moved it from one location to another keeping it pointing the same direction.
We conclude this section with a brief discussion regarding notation. In previous sections, we have written vectors as columns, or matrices. For convenience in this chapter we may write vectors as the transpose of row vectors, or matrices. These are of course equivalent and we may move between both notations. Therefore, recognize that
Notice that two vectors and are equal if and only if all corresponding components are equal. Precisely,
Thus and but because, even though the same numbers are involved, the order of the numbers is different.
For the specific case of , there are three special vectors which we often use. They are given by
We can write any vector as a linear combination of these vectors, written as . This notation will be used throughout this chapter.
Learning Outcomes
Addition and scalar multiplication are two important algebraic operations done with vectors. Notice that these operations apply to vectors in , for any value of . We will explore these operations in more detail in the following sections.
Addition of vectors in is defined as follows.
Definition D.3: Addition of Vectors in
If then and is defined by
To add vectors, we simply add corresponding components. Therefore, in order to add vectors, they must be the same size.
Addition of vectors satisfies some important properties which are outlined in the following theorem.
Theorem D.4: Properties of Vector Addition
The following properties hold for vectors .
The Commutative Law of Addition
The Associative Law of Addition
The Existence of an Additive Identity
| (D.1) |
The Existence of an Additive Inverse
The additive identity shown in equation D.1 is also called the zero vector, the vector in which all components are equal to . Further, is simply the vector with all components having same value as those of but opposite sign; this is just . This will be made more explicit in the next section when we explore scalar multiplication of vectors. Note that subtraction is defined as .
Scalar multiplication of vectors in is defined as follows.
Definition D.5: Scalar Multiplication of Vectors in
If and is a scalar, then is defined by
Just as with addition, scalar multiplication of vectors satisfies several important properties. These are outlined in the following theorem.
Theorem D.6: Properties of Scalar Multiplication
The following properties hold for vectors and scalars.
The Distributive Law over Vector Addition
The Distributive Law over Scalar Addition
The Associative Law for Scalar Multiplication
Rule for Multiplication by
We now present a useful notion you may have seen earlier combining vector addition and scalar multiplication
Definition D.7: Linear Combination
A vector is said to be a linear combination of the vectors if there exist scalars, such that
For example,
Thus we can say that
is a linear combination of the vectors
Learning Outcomes
Recall that an element of is an ordered list of numbers. For the specific case of this can be used to determine a point in two or three dimensional space. This point is specified relative to some coordinate axes.
Consider the case . Recall that taking a vector and moving it around without changing its length or direction does not change the vector. This is important in the geometric representation of vector addition.
Suppose we have two vectors, and in . Each of these can be drawn geometrically by placing the tail of each vector at and its point at and respectively. Suppose we slide the vector so that its tail sits at the point of . We know that this does not change the vector . Now, draw a new vector from the tail of to the point of . This vector is .
The geometric significance of vector addition in for any is given in the following definition.
Definition D.8: Geometry of Vector Addition
Let and be two vectors. Slide so that the tail of is on the point of . Then draw the arrow which goes from the tail of to the point of . This arrow represents the vector .
This definition is illustrated in the following picture in which is shown for the special case .
When you have a vector , its additive inverse will be the vector which has the same magnitude as but the opposite direction. When one writes the meaning is as with real numbers. The following example illustrates these definitions and conventions.
Example D.9: Graphing Vector Addition
Consider the following picture of vectors and .
Sketch a picture of
Solution
We will first sketch Begin by drawing and then at the point of , place the tail of as shown. Then is the vector which results from drawing a vector from the tail of to the tip of .
Next consider This means From the above geometric description of vector addition, is the vector which has the same length but which points in the opposite direction to . Here is a picture.
Learning Outcomes
In this section, we explore what is meant by the length of a vector in . We develop this concept by first looking at the distance between two points in .
First, we will consider the concept of distance for , that is, for points in . Here, the distance between two points and is given by the absolute value of their difference. We denote the distance between and by which is defined as
| (D.2) |
Consider now the case for , demonstrated by the following picture.
| (D.3) |
Now suppose and let and be two points in Consider the following picture in which the solid line joins the two points and a dotted line joins the points and
while the length of the line joining to is just Therefore, by the Pythagorean Theorem again, the length of the line joining the points and equals
| (D.4) |
This discussion motivates the following definition for the distance between points in .
Definition D.10: Distance Between Points
Let and be two points in . Then the distance between these points is defined as
This is called the distance formula. We may also write as the distance between and .
From the above discussion, you can see that Definition D.10 holds for the special cases , as in Equations D.2, D.3, D.4. In the following example, we use Definition D.10 to find the distance between two points in .
Example D.11: Distance Between Points
Find the distance between the points and in , where and are given by
and
Solution
We will use the formula given in Definition D.10 to find the distance between and . Use the distance formula and write
Therefore,
There are certain properties of the distance between points which are important in our study. These are outlined in the following theorem.
Theorem D.12: Properties of Distance
Let and be points in , and let the distance between them, , be given as in Definition D.10. Then, the following properties hold .
, and equals 0 exactly when
There are many applications of the concept of distance. For instance, given two points, we can ask what collection of points are all the same distance between the given points. This is explored in the following example.
Example D.13: The Plane Between Two Points
Describe the points in which are at the same distance between and
Solution
Let be such a point. Therefore, is the same distance from and Then by Definition D.10,
Squaring both sides we obtain
and so
Simplifying, this becomes
which can be written as
| (D.5) |
Therefore, the points which are the same distance from each of the given points form a plane whose equation is given by D.5.
We can now use our understanding of the distance between two points to define what is meant by the length of a vector. Consider the following definition.
Definition D.14: Length of a Vector
Let be a vector in . Then, the length of , written is given by
This definition corresponds to Definition D.10, if you consider the vector to have its tail at the point and its tip at the point . Then the length of is equal to the distance between and , . In general, .
Consider Example D.11. By Definition D.14, we could also find the distance between and as the length of the vector connecting them. Hence, if we were to draw a vector with its tail at and its point at , this vector would have length equal to .
We conclude this section with a new definition for the special case of vectors of length .
Definition D.15: Unit Vector
Let be a vector in . Then, we call a unit vector if it has length 1, that is if
Let be a vector in . Then, the vector which has the same direction as but length equal to is the corresponding unit vector of . This vector is given by
We often use the term normalize to refer to this process. When we normalize a vector, we find the corresponding unit vector of length . Consider the following example.
Example D.16: Finding a Unit Vector
Let be given by
Find the unit vector which has the same direction as .
Solution
We will use Definition D.15 to solve this. Therefore, we need to find the length of which, by Definition D.14 is given by
Using the corresponding values we find that
In order to find , we divide by . The result is
You can verify using the Definition D.14 that .
Learning Outcomes
Recall that the point determines a vector from to . The length of , denoted , is equal to by Definition D.10.
Now suppose we have a vector and we multiply by a scalar . By Definition D.5, . Then, by using Definition D.10, the length of this vector is given by
Thus the following holds.
In other words, multiplication by a scalar magnifies or shrinks the length of the vector by a factor of . If , the length of the resulting vector will be magnified. If , the length of the resulting vector will shrink. Remember that by the definition of the absolute value, .
What about the direction? Draw a picture of and where is negative. Notice that this causes the resulting vector to point in the opposite direction while if it preserves the direction the vector points. Therefore the direction can either reverse, if , or remain preserved, if .
Consider the following example.
Example D.17: Graphing Scalar Multiplication
Consider the vectors and drawn below.
Draw , , and .
Solution
In order to find , we preserve the length of and simply reverse the direction. For , we double the length of , while preserving the direction. Finally is found by taking half the length of and reversing the direction. These vectors are shown in the following diagram.
Now that we have studied both vector addition and scalar multiplication, we can combine the two actions. Recall Definition D.7 of linear combinations of column matrices. We can apply this definition to vectors in . A linear combination of vectors in is a sum of vectors multiplied by scalars.
In the following example, we examine the geometric meaning of this concept.
Example D.18: Graphing a Linear Combination of Vectors
Consider the following picture of the vectors and
Sketch a picture of
Solution
The two vectors are shown below.
Learning Outcomes
There are two ways of multiplying vectors which are of great importance in applications. The first of these is called the dot product. When we take the dot product of vectors, the result is a scalar. For this reason, the dot product is also called the scalar product and sometimes the inner product. The definition is as follows.
Definition D.19: Dot Product
Let be two vectors in . Then we define the dot product as
The dot product is sometimes denoted as where a comma replaces . It can also be written as . If we write the vectors as column or row matrices, it is equal to the matrix product .
Consider the following example.
Example D.20: Compute a Dot Product
Find for
Solution
By Definition D.19, we must compute
This is given by
With this definition, there are several important properties satisfied by the dot product.
Proposition D.1. Properties of the Dot Product Let and denote scalars and denote vectors. Then the dot product satisfies the following properties.
The proof is left as an exercise. This proposition tells us that we can also use the dot product to find the length of a vector.
Example D.21: Length of a Vector
Find the length of
That is, find
Solution
By Proposition D.1, . Therefore, . First, compute .
This is given by
Then,
You may wish to compare this to our previous definition of length, given in Definition D.14.
The Cauchy Schwarz inequality is a fundamental inequality satisfied by the dot product. It is given in the following theorem.
Theorem D.22: Cauchy Schwarz Inequality
The dot product satisfies the inequality
| (D.6) |
Furthermore equality is obtained if and only if one of or is a scalar multiple of the other.
Notice that this proof was based only on the properties of the dot product listed in Proposition D.1. This means that whenever an operation satisfies these properties, the Cauchy Schwarz inequality holds. There are many other instances of these properties besides vectors in .
The Cauchy Schwarz inequality provides another proof of the triangle inequality for distances in .
Theorem D.23: Triangle Inequality
For
| (D.7) |
and equality holds if and only if one of the vectors is a non-negative scalar multiple of the other.
Also
| (D.8) |
Given two vectors, and , the included angle is the angle between these two vectors which is given by such that . The dot product can be used to determine the included angle between two vectors. Consider the following picture where gives the included angle.
Proposition D.2. The Dot Product and the Included Angle Let and be two vectors in , and let be the included angle. Then the following equation holds.
In words, the dot product of two vectors equals the product of the magnitude (or length) of the two vectors multiplied by the cosine of the included angle. Note this gives a geometric description of the dot product which does not depend explicitly on the coordinates of the vectors.
Consider the following example.
Example D.24: Find the Angle Between Two Vectors
Find the angle between the vectors given by
Solution
By Proposition D.2,
Hence,
First, we can compute . By Definition D.19, this equals
Then,
Therefore, the cosine of the included angle equals
With the cosine known, the angle can be determined by computing the inverse cosine of that angle, giving approximately radians.
Another application of the geometric description of the dot product is in finding the angle between two lines. Typically one would assume that the lines intersect. In some situations, however, it may make sense to ask this question when the lines do not intersect, such as the angle between two object trajectories. In any case we understand it to mean the smallest angle between (any of) their direction vectors. The only subtlety here is that if is a direction vector for a line, then so is any multiple , and thus we will find complementary angles among all angles between direction vectors for two lines, and we simply take the smaller of the two.
Example D.25: Find the Angle Between Two Lines
Find the angle between the two lines
and
Solution
You can verify that these lines do not intersect, but as discussed above this does not matter and we simply find the smallest angle between any directions vectors for these lines.
To do so we first find the angle between the direction vectors given above:
In order to find the angle, we solve the following equation for
to obtain and since we choose included angles between and we obtain .
Now the angles between any two direction vectors for these lines will either be or its complement . We choose the smaller angle, and therefore conclude that the angle between the two lines is .
We can also use Proposition D.2 to compute the dot product of two vectors.
Example D.26: Using Geometric Description to Find a Dot Product
Let be vectors with and . Suppose the angle between and is . Find .
Solution
From the geometric description of the dot product in Proposition D.2
Two nonzero vectors are said to be perpendicular, sometimes also called orthogonal, if the included angle is radians (
Consider the following proposition.
Proposition D.3. Perpendicular Vectors Let and be nonzero vectors in . Then, and are said to be perpendicular exactly when
Consider the following example.
Example D.27: Determine if Two Vectors are Perpendicular
Determine whether the two vectors,
are perpendicular.
Solution
In order to determine if these two vectors are perpendicular, we compute the dot product. This is given by
Therefore, by Proposition D.3 these two vectors are perpendicular.