11 Vectors

11.2 An Introduction to Vectors

Many quantities we think about daily can be described by a single number: temperature, speed, cost, weight and height. There are also many other concepts we encounter daily that cannot be described with just one number. For instance, a weather forecaster often describes wind with its speed and its direction (“…with winds from the southeast gusting up to 30 mph …”). When applying a force, we are concerned with both the magnitude and direction of that force. In both of these examples, direction is important. Because of this, we study vectors, mathematical objects that convey both magnitude and direction information.

One “bare-bones” definition of a vector is based on what we wrote above: “a vector is a mathematical object characterized by its magnitude and direction.” This definition leaves much to be desired, as it gives no indication as to how such an object is to be used. Several other definitions exist; we choose here a definition rooted in a geometric visualization of vectors. It is very simplistic but readily permits further investigation.

margin: -55-55xy Figure 11.2.1: Drawing the same vector with different initial points. Λ
Definition 11.2.1 Vector

A vector is a directed line segment.

Given points P and Q (either in the plane or in space), we denote with PQ the vector from P to Q. The point P is said to be the initial point of the vector, and the point Q is the terminal point.

The magnitude, length or norm of PQ is the length of the line segment PQ¯: PQ=PQ¯.

Two vectors are equal if they have the same magnitude and direction.

margin: Note: Instead of PQ, some texts use |PQ| and rely on context to know if it is the norm of a vector or the absolute value of a scalar. Λ

Figure 11.2.1 shows multiple instances of the same vector. Each directed line segment has the same direction and length (magnitude), hence each is the same vector.

We use 2 (pronounced “r two”) to represent all the vectors in the plane, and use 3 (pronounced “r three”) to represent all the vectors in space. We use the word “scalar” to refer to a real number that is not a vector.

margin: PQRS-4-224-4-224xy Figure 11.2.2: Illustrating how equal vectors have the same displacement. Λ

Consider the vectors PQ and RS as shown in Figure 11.2.2. The vectors look to be equal; that is, they seem to have the same length and direction. Indeed, they are. Both vectors move 2 units to the right and 1 unit up from the initial point to reach the terminal point. One can analyze this movement to measure the magnitude of the vector, and the movement itself gives direction information (one could also measure the slope of the line passing through P and Q or R and S). Since they have the same length and direction, these two vectors are equal.

This demonstrates that inherently all we care about is displacement; that is, how far in the x, y and possibly z directions the terminal point is from the initial point. Both the vectors PQ and RS in Figure 11.2.2 have an x-displacement of 2 and a y-displacement of 1. This suggests a standard way of describing vectors in the plane. A vector whose x-displacement is a and whose y-displacement is b will have terminal point (a,b) when the initial point is the origin, (0,0). This leads us to a definition of a standard and concise way of referring to vectors.

Definition 11.2.2 Component Form of a Vector


(a) The component form of a vector v in 2, whose terminal point is (a,b) when its initial point is (0,0), is a,b. (b) The component form of a vector v in 3, whose terminal point is (a,b,c) when its initial point is (0,0,0), is a,b,c. The numbers a, b (and c, respectively) are the components of v.

margin: Note: Instead of v, some texts use boldface: 𝐯. The advantage of 𝐯 is that it tends to be easier to read. The advantage of v is that it’s easier to write. Λ

It follows from the definition that the component form of the vector PQ, where P=(x1,y1) and Q=(x2,y2) is

PQ=x2-x1,y2-y1;

in space, where P=(x1,y1,z1) and Q=(x2,y2,z2), the component form of PQ is

PQ=x2-x1,y2-y1,z2-z1.

We practice using this notation in the following example.

Example 11.2.1 Using component form notation for vectors


(a) Sketch the vector v=2,-1 starting at P=(3,2) and find its magnitude. (b) Find the component form of the vector w whose initial point is R=(-3,-2) and whose terminal point is S=(-1,2). (c) Sketch the vector u=2,-1,3 starting at the point Q=(1,1,1) and find its magnitude.

Solution

  1. (a)

    Using P as the initial point, we move 2 units in the positive x-direction and -1 units in the positive y-direction to arrive at the terminal point P=(5,1), as drawn in Figure 11.2.3(a). The magnitude of v is determined directly from the component form:

    v=22+(-1)2=5.
    margin: PPRS-55-55xy (a)
    (fullscreen)
    (b)
    Figure 11.2.3: Graphing vectors in Example 11.2.1. Λ
  2. (b)

    Using the paragraph following Definition 11.2.2, we have

    RS=-1-(-3),2-(-2)=2,4.

    One can readily see from Figure 11.2.3(a) that the x- and y-displacement of RS is 2 and 4, respectively, as the component form suggests.

  3. (c)

    Using Q as the initial point, we move 2 units in the positive x-direction, -1 unit in the positive y-direction, and 3 units in the positive z-direction to arrive at the terminal point Q=(3,0,4), illustrated in Figure 11.2.3(b). The magnitude of u is:

    u=22+(-1)2+32=14.

Now that we have defined vectors, and have created a nice notation by which to describe them, we start considering how vectors interact with each other. That is, we define an algebra on vectors.

Definition 11.2.3 Vector Algebra


(a) Let u=u1,u2 and v=v1,v2 be vectors in 2, and let c be a scalar. (a) The addition, or sum, of the vectors u and v is the vector u+v=u1+v1,u2+v2. (b) The product of c and v is the vector cv=cv1,v2=cv1,cv2. (b) Let u=u1,u2,u3 and v=v1,v2,v3 be vectors in 3, and let c be a scalar. (a) The addition, or sum, of the vectors u and v is the vector u+v=u1+v1,u2+v2,u3+v3. (b) The product of c and v is the vector cv=cv1,v2,v3=cv1,cv2,cv3.

In short, we say addition and multiplication are computed “componentwise.” We also define vector subtraction using these two operations:

u-v=u+(-1)v.
Example 11.2.2 Adding vectors

Sketch the vectors u=1,3, v=2,1 and u+v all with initial point at the origin.

SolutionWe first compute u+v. margin: uvu+v2424xy Figure 11.2.4: Graphing the sum of vectors in Example 11.2.2. Λ

u+v =1,3+2,1
=3,4.

These are all sketched in Figure 11.2.4.

As vectors convey magnitude and direction information, the sum of vectors also convey length and magnitude information. Adding u+v suggests the following idea:

“Starting at an initial point, go out u, then go out v.”

This idea is sketched in Figure 11.2.5, where the initial point of v is the terminal point of u. This is known as the “Head to Tail Rule” of adding vectors. Vector addition is very important. For instance, if the vectors u and v represent forces acting on a body, the sum u+v gives the resulting force. Because of various physical applications of vector addition, the sum u+v is often referred to as the resultant vector, or just the “resultant.”

margin: uvuvu+v2424xy Figure 11.2.5: Illustrating how to add vectors using the Head to Tail Rule and Parallelogram Law. Λ

Analytically, it is easy to see that u+v=v+u. Figure 11.2.5 also gives a graphical representation of this, using gray vectors. Note that the vectors u and v, when arranged as in the figure, form a parallelogram. Because of this, the Head to Tail Rule is also known as the Parallelogram Law: the vector u+v is defined by forming the parallelogram defined by the vectors u and v; the initial point of u+v is the common initial point of parallelogram, and the terminal point of the sum is the common terminal point of the parallelogram.

While not illustrated here, the Head to Tail Rule and Parallelogram Law hold for vectors in 3 as well.

The Parallelogram Law gives us a good way to visualize vector subtraction. We demonstrate this in the following example.

Example 11.2.3 Vector Subtraction

Let u=3,1 and v=1,2. Compute and sketch u-v.

SolutionThe computation of u-v is straightforward, and we show all steps below. Usually the formal step of multiplying by (-1) is omitted and we “just subtract.” margin: uvu-v-vu-v242xy Figure 11.2.6: Illustrating how to subtract vectors graphically. Λ

u-v =u+(-1)v
=3,1+-1,-2
=2,-1.

Figure 11.2.6 illustrates, using the Head to Tail Rule, how the subtraction can be viewed as the sum u+(-v). The figure also illustrates how u-v can be obtained by looking only at the terminal points of u and v (when their initial points are the same).

Example 11.2.4 Scaling vectors


(a) Sketch the vectors v=2,1 and 2v with initial point at the origin. (b) Compute the magnitudes of v and 2v.

Solution

  1. (a)

    We compute 2v:

    2v =22,1
    =4,2.
    margin: 2vv24123xy Figure 11.2.7: Graphing vectors v and 2v in Example 11.2.4. Λ

    Both v and 2v are sketched in Figure 11.2.7. Make note that 2v does not start at the terminal point of v; rather, its initial point is also the origin.

  2. (b)

    The figure suggests that 2v is twice as long as v. We compute their magnitudes to confirm this.

    v =22+12
    =5.
    2v =42+22
    =20
    =45=25.

    As we suspected, 2v is twice as long as v.

The zero vector is the vector whose initial point is also its terminal point. It is denoted by 0. Its component form, in 2, is 0,0; in 3, it is 0,0,0. Usually the context makes is clear whether 0 is referring to a vector in the plane or in space.

Our examples have illustrated key principles in vector algebra: how to add and subtract vectors and how to multiply vectors by a scalar. The following theorem states formally the properties of these operations.

Theorem 11.2.1 Properties of Vector Operations

The following are true for all scalars c and d, and for all vectors u, v and w, where u, v and w are all in 2 or where u, v and w are all in 3:

  1. (a)

    u+v=v+u

    Commutative Property

  2. (b)

    (u+v)+w=u+(v+w)

    Associative Property

  3. (c)

    v+0=v

    Additive Identity

  4. (d)

    (cd)v=c(dv)

  5. (e)

    c(u+v)=cu+cv

    Distributive Property

  6. (f)

    (c+d)v=cv+dv

    Distributive Property

  7. (g)

    0v=0

  8. (h)

    cv=|c|v

  9. (i)

    u=0 if, and only if, u=0.

As stated before, each vector v conveys magnitude and direction information. We have a method of extracting the magnitude, which we write as v. Unit vectors are a way of extracting just the direction information from a vector.

Definition 11.2.4 Unit Vector

A unit vector is a vector v with a magnitude of 1; that is,

v=1.

Consider this scenario: you are given a vector v and are told to create a vector of length 10 in the direction of v. How does one do that? If we knew that u was the unit vector in the direction of v, the answer would be easy: 10u. So how do we find u ?

Property (h) of Theorem 11.2.1 holds the key. If we divide v by its magnitude, it becomes a vector of length 1. Consider:

1vv =1vv (we can pull out 1v as it is a scalar)
=1.

So the vector of length 10 in the direction of v is 101vv. An example will make this more clear.

Example 11.2.5 Using Unit Vectors

Let v=3,1 and let w=1,2,2.

  1. (a)

    Find the unit vector in the direction of v.

  2. (b)

    Find the unit vector in the direction of w.

  3. (c)

    Find the vector in the direction of v with magnitude 5.

Solution

  1. (a)

    We find v=10. So the unit vector u in the direction of v is

    u=110v=310,110.
  2. (b)

    We find w=3, so the unit vector z in the direction of w is

    u=13w=13,23,23.
    margin: 5uvu24123xy Figure 11.2.8: Graphing vectors in Example 11.2.5. All vectors shown have their initial point at the origin. Λ
  3. (c)

    To create a vector with magnitude 5 in the direction of v, we multiply the unit vector u by 5. Thus 5u=15/10,5/10 is the vector we seek. This is sketched in Figure 11.2.8.

The basic formation of the unit vector u in the direction of a vector v leads to a interesting equation. It is:

v=v1vv.

We rewrite the equation with parentheses to make a point:

v=vmagnitude(1vv)direction.

This equation illustrates the fact that a vector has both magnitude and direction, where we view a unit vector as supplying only direction information. Identifying unit vectors with direction allows us to define parallel vectors.

Definition 11.2.5 Parallel Vectors


(a) Unit vectors u1 and u2 are parallel if u1=±u2. (b) Nonzero vectors v1 and v2 are parallel if their respective unit vectors are parallel.

margin: Note: 0 is directionless; because 0=0, there is no unit vector in the “direction” of 0. Some texts define two vectors as being parallel if one is a scalar multiple of the other. By this definition, 0 is parallel to all vectors as 0=0v for all v. We prefer the given definition of parallel as it is grounded in the fact that unit vectors provide direction information. One may adopt the convention that 0 is parallel to all vectors if they desire. (See also the marginal note at Theorem 11.4.2.) Λ

It is equivalent to say that vectors v1 and v2 are parallel if there is a scalar c0 such that v1=cv2 (see marginal note).

If one graphed all unit vectors in 2 with the initial point at the origin, then the terminal points would all lie on the unit circle. Based on what we know from trigonometry, we can then say that the component form of all unit vectors in 2 is cosθ,sinθ for some angle θ.

A similar construction in 3 shows that the terminal points all lie on the unit sphere. These vectors also have a particular component form, but its derivation is not as straightforward as the one for unit vectors in 2. Important concepts about unit vectors are given in Key Idea 11.2.1 below.

Key Idea 11.2.1 Unit Vectors


(a) The unit vector in the direction of v is u=1vv. (b) A vector u in 2 is a unit vector if, and only if, its component form is cosθ,sinθ for some angle θ. (c) A vector u in 3 is a unit vector if, and only if, its component form is sinϕcosθ,sinϕsinθ,cosϕ for some angles θ and ϕ.

These formulas can come in handy in a variety of situations, especially the formula for unit vectors in the plane.

margin: 50lb4530 Figure 11.2.9: A diagram of a weight hanging from 2 chains in Example 11.2.6. Λ
Example 11.2.6 Finding Component Forces

Consider a weight of 50lb hanging from two chains, as shown in Figure 11.2.9. One chain makes an angle of 30 with the vertical, and the other an angle of 45. Find the force applied to each chain.

SolutionKnowing that gravity is pulling the 50lb weight straight down, we can create a vector F to represent this force.

F=500,-1=0,-50.

We can view each chain as “pulling” the weight up, preventing it from falling. We can represent the force from each chain with a vector. Let F1 represent the force from the chain making an angle of 30 with the vertical, and let F2 represent the force form the other chain. Convert all angles to be measured from the horizontal (as shown in Figure 11.2.10), and apply Key Idea 11.2.1. As we do not yet know the magnitudes of these vectors, (that is the problem at hand), we use m1 and m2 to represent them.

F1 =m1cos120,sin120
F2 =m2cos45,sin45

As the weight is not moving, we know the sum of the forces is 0. This gives:

F+F1+F2 =0
0,-50+m1cos120,sin120+m2cos45,sin45 =0
margin: F1F2F12045 Figure 11.2.10: A diagram of the force vectors from Example 11.2.6. Λ

The sum of the entries in the first component is 0, and the sum of the entries in the second component is also 0. This leads us to the following two equations:

m1cos120+m2cos45 =0
m1sin120+m2sin45 =50

This is a simple 2-equation, 2-unknown system of linear equations. We leave it to the reader to verify that the solution is

m1=50(3-1)lb;m2=5021+3lb.

It might seem odd that the sum of the forces applied to the chains is more than 50lb. We leave it to a physics class to discuss the full details, but offer this short explanation. Our equations were established so that the vertical components of each force sums to 50lb, thus supporting the weight. Since the chains are at an angle, they also pull against each other, creating an “additional” horizontal force while holding the weight in place.

Unit vectors were very important in the previous calculation; they allowed us to define a vector in the proper direction but with an unknown magnitude. Our computations were then computed component-wise. Because such calculations are often necessary, the standard unit vectors can be useful.

Definition 11.2.6 Standard Unit Vectors


(a) In 2, the standard unit vectors are ı=1,0andȷ=0,1. (b) In 3, the standard unit vectors are ı=1,0,0andȷ=0,1,0andk=0,0,1.

Example 11.2.7 Using standard unit vectors


(a) Rewrite v=2,-3 using the standard unit vectors. (b) Rewrite w=4ı-5ȷ+2k in component form.

Solution

  1. (a)

    v=2,-3=2,0+0,-3=21,0-30,1=2ı-3ȷ

  2. (b)

    w=4ı-5ȷ+2k=4,0,0+0,-5,0+0,0,2=4,-5,2

These two examples demonstrate that converting between component form and the standard unit vectors is rather straightforward. Many mathematicians prefer component form, and it is the preferred notation in this text. Many engineers prefer using the standard unit vectors, and many engineering texts use that notation.

Example 11.2.8 Finding Component Force

A margin: 2ft {ϕθFwFg Figure 11.2.11: A figure of a weight being pushed by the wind in Example 11.2.8. Λ weight of 25lb is suspended from a chain of length 2ft while a wind pushes the weight to the right with constant force of 5lb as shown in Figure 11.2.11. What angle will the chain make with the vertical as a result of the wind’s pushing? How much higher will the weight be?

SolutionThe force of the wind is represented by the vector Fw=5ı. The force of gravity on the weight is represented by Fg=-25ȷ. The direction and magnitude of the vector representing the force on the chain are both unknown. We represent this force with

Fc=mcosϕ,sinϕ=mcosϕı+msinϕȷ

for some magnitude m and some angle with the horizontal ϕ. (Note: θ is the angle the chain makes with the vertical; ϕ is the angle with the horizontal.)

As the weight is at equilibrium, the sum of the forces is 0:

Fc+Fw+Fg =0
mcosϕı+msinϕȷ+5ı-25ȷ =0

Thus the sum of the ı and ȷ components are 0, leading us to the following system of equations:

5+mcosϕ =0 (11.2.1)
-25+msinϕ =0 (11.2.2)

This is enough to determine Fc already, as we know mcosϕ=-5 and msinϕ=25. Thus Fc=-5,25. We can use this to find the magnitude m:

m=(-5)2+252=526lb.

We can then use either equality from Equation (11.2.2) to solve for ϕ. We choose the first equality as using arccosine will return an angle in the 2nd quadrant:

5+526cosϕ=0ϕ=cos-1(-5526)1.7682101.31.

Subtracting 90 from this angle gives us an angle of 11.31 with the vertical.

We can now use trigonometry to find out how high the weight is lifted. Figure 11.2.11 shows that a right triangle is formed with the 2ft chain as the hypotenuse. We have found that the interior angle is 11.31. The length of the adjacent side (in the diagram, the dashed vertical line) is 2cos11.311.96ft. Thus the weight is lifted by about 0.04ft, almost 1/2in.

The algebra we have applied to vectors is already demonstrating itself to be very useful. There are two more fundamental operations we can perform with vectors, the dot product and the cross product. The next two sections explore each in turn.

Exercises 11.2

 

Terms and Concepts

  1. 1.

    Name two different things that cannot be described with just one number, but rather need 2 or more numbers to fully describe them.

  2. 2.

    What is the difference between (1,2) and 1,2?

  3. 3.

    What is a unit vector?

  4. 4.

    Unit vectors can be thought of as conveying what type of information?

  5. 5.

    What does it mean for two vectors to be parallel?

  6. 6.

    What effect does multiplying a vector by -2 have?

Problems

In Exercises 7–10., points P and Q are given. Write the vector PQ in component form and using the standard unit vectors.

  1. 7.

    P=(2,-1), Q=(3,5)

  2. 8.

    P=(3,2), Q=(7,-2)

  3. 9.

    P=(0,3,-1), Q=(6,2,5)

  4. 10.

    P=(2,1,2), Q=(4,3,2)

  1. 11.
    Let u=1,-2 and v=1,1. (a) Find u+v, u-v, 2u-3v. (b) Sketch the above vectors on the same axes, along with u and v. (c) Find x where u+x=2v-x.
  2. 12.
    Let u=1,1,-1 and v=2,1,2. (a) Find u+v, u-v, πu-2v. (b) Sketch the above vectors on the same axes, along with u and v. (c) Find x where u+x=v+2x.

In Exercises 13–16., sketch u, v, u+v and u-v on the same axes.

  1. 13.
    uvxy
  2. 14.
    uvxy
  3. 15.
    uvxyz
  4. 16.
    uvxyz

In Exercises 17–20., find u, v, u+v and u-v.

  1. 17.

    u=2,1, v=3,-2

  2. 18.

    u=-3,2,2, v=1,-1,1

  3. 19.

    u=1,2, v=-3,-6

  4. 20.

    u=2,-3,6, v=10,-15,30

In Exercises 21–24., find the unit vector u in the direction of v.

  1. 21.

    v=3,7

  2. 22.

    v=6,8

  3. 23.

    v=1,-2,2

  4. 24.

    v=2,-2,2

  1. 25.

    Under what conditions is u+v=u+v?

  2. 26.

    Find the unit vector in the first quadrant of 2 that makes a 50 angle with the x-axis.

  3. 27.

    Find the unit vector in the second quadrant of 2 that makes a 30 angle with the y-axis.

  4. 28.
    Verify, from Key Idea 11.2.1, that u=cosθsinϕ,sinθsinϕ,cosϕ is a unit vector for all angles θ and ϕ.

A weight of 100lb is suspended from two chains, making angles with the vertical of θ and φ as shown in the figure below.

100lbθφ

In Exercises 29–32., angles θ and φ are given. Find the magnitude of the force applied to each chain.

  1. 29.

    θ=30, φ=30

  2. 30.

    θ=60, φ=60

  3. 31.

    θ=20, φ=15

  4. 32.

    θ=0, φ=0

A weight of p lb is suspended from a chain of length while a constant force of Fw pushes the weight to the right, making an angle of θ with the vertical, as shown in the figure below.

 ft {p lbθFw


In Exercises 33–36., a force Fw and length are given. Find the angle θ and the height the weight is lifted as it moves to the right.

  1. 33.

    Fw=1lb,  =1ft,  p=1lb

  2. 34.

    Fw=1lb,  =1ft,  p=10lb

  3. 35.

    Fw=1lb,  =10ft,  p=1lb

  4. 36.

    Fw=10lb,  =10ft,  p=1lb

  1. 37.

    Let P=(x1,y1,z1) and Q=(x2,y2,z2) be points in space. Let M be the midpoint of PQ¯. Explain why PM=MQ and PM+MQ=PQ. Use these facts to find the coordinates of the point M (again).

  2. 38.

    Let P=(1,2,3), Q=(2,-1,4), and R=(-1,6,1) be the three corners of a parallelogram in space. Find the possible locations of the fourth corner.

  3. 39.

    Use vectors to show that the diagonals of a parallelogram bisect each other.

  4. 40.

    A median of a triangle is a line segment from a vertex to the midpoint of the opposite side. Show that the three medians of a triangle intersect in a single point. This point is called the centroid of the triangle. Show that the distance from a vertex to the centroid is two-thirds the length of the median from this vertex.

Omni CMS