5.9: Vector Direction
Alyssa loves Physics, it fascinates her that there are calculations for all of the physical interactions and motions in the world around her. On Friday, Alyssa went to the county fair with her boyfriend Kurt, who decided it would be romantic if he could win her a giant stuffed animal in the can knockdown game. Unfortunately for Kurt, he still had not knocked anything over approximately 45mins and $35 later.
Alyssa decides to give it a try herself, and realizes that the center of the cans is a single position in space. If Alyssa knows her own throwing height, and the distance that the cans are stacked behind the throwing line, what else would she need to know to calculate the vectors involved with a straightline path for the ball to take? How would she calculate them?
Watch This
Embedded Video:
Guidance
Recall that the equation for a vector is given by
where P_{x}, P_{y}, and P_{z} are the x, y, and z coordinates of the vector obtained by projecting the vector onto the x, y, and z axes as shown below to the left.
The image above to the right, shows the angles between the position vector, , and the three axes: α is the angle between and the xaxis, β is the angle between and the yaxis, and γ is the angle between and the zaxis.
The position vector, , and the unit vector, , define a plane shown in lavender below.
The direction angle, α, is the angle between and in the plane defined by the two vectors. The other plane shown in the diagram is the XY plane, which was included in the diagram to help you visualize the orientation of the plane defined by the vectors.
In our discussion of the dot product, we saw that the dot product of two vectors can be given by
Therefore, we can calculate the angle between and the unit vector .
Similarly, the direction angles β and γ can be calculated using the equations
and
In some applications, such as astronomy and applied optics, the direction cosines are used at least as frequently as the directional angles themselves.
and
Pythagorean Property of Direction Cosines
An interesting property of direction cosines can be seen if we write the equations for the direction cosines in terms of the components of the position vector, P_{x}, P_{y}, and P_{z} and using the definition of the vector magnitude
For example,
The other two directional cosines can be rewritten similarly:
and
If we square both sides of all three equations and then sum them, we obtain
which simplifies to
This is an important result because the definition of the unit vector stated that
which also means that
u_{x}^{2} + u_{y}^{2} + u_{z}^{2} = cos^{2}α + cos^{2}β + cos^{2}γ
and that the components of the unit vectors correspond to the direction cosines.
Example A
Because airplanes move in three dimensions, aircraft ground crews can use direction cosines to identify their location at any moment. Rather than an arbitrary set of orthogonal x, y, and z axes, the position of an airplane is measured relative to the east, north, and zenith directions. (Zenith means top or upward.) At a particular moment, a small plane is 297 km east, 135 km north, and 7.5 km above its home airport. What are the directional cosines and directional angles for the position vector of the plane at that moment?
Solution
If we use the standard orientation of maps in the northern hemisphere, the xdirection corresponds to east, the ydirection to north, and the zdirection to the zenith. Therefore, the position vector of the plane can be written as .
The direction cosines associated with this vector are given by
The associated direction angles are
α = cos^{1} 0.582 = 54.4^{o}
β = cos^{1} 0.165 = 35.8^{o}
γ = cos^{1} 0.045 = 87.4^{o}
Example B
In an upcoming episode of a crime drama, a swarm of specialeffect insects bothers one of the investigators after the discovery of a murder victim in a drainage ditch. The animator uses position vectors to track the positions of the virtual pests with respect to an origin at the investigator’s head. One such insect is located at a point 33 cm in front, 52 cm to the left, and 18 cm below the tip of the investigator’s nose. What are the directional cosines for this insect?
Solution
As we look at our investigator, the +x direction is to her left, the +y direction is upward from her nose, and the +z direction is in front of her. The position vector of the midge can be written as .
The direction cosines associated with this vector are given by
Example C
A local astronomer used direction cosines when programming the projector in a new planetarium dome. The projector itself sits at the center of the dome, 2.5 m above the floor. He wishes to project Mintaka, one of the stars in the belt of Orion, at a position 12 m south and 2.3 m east of the projector and 8.7 m above the floor. What is the equation of the directional unit vector that the astronomer must enter in to the projection computer?
Solution
We can use the same coordinate system that we used in example A above: = east, = north, and = upward. The projector itself is the origin. In such a coordinate system, the position vector for Mintaka becomes . Notice that we did not use Mintaka’s position above the floor as the zcoordinate. Rather, since the projector is 2.5 m above the floor, we needed to use the difference between the ceiling height and the projector height. Use the component form of the directional cosine equation to calculate the three components of the unit vector.
Therefore, the position unit vector is given by
Concept question wrapup "If Alyssa knows her own throwing height, and the distance that the cans are stacked behind the throwing line, (a.) what else would she need to know to calculate the vectors involved with a straightline path for the ball to take? (b.) How would she calculate them?"


Vocabulary
The unit vector defines a direction of force application with a magnitude of 1 unit.
Component notation describes each of the x, y, and z components of the relevant vector.
Angle notation or angle cosines describe a vector as the result of individual magnitudes and directions as measured from the axes, starting at the origin.
Guided Practice
Questions
1) Determine the components of the position vector then determine the directional angles between this vector and the xaxis.
2) Determine the direction cosines for the vector
3) Determine the position vector for a small plane at the moment it is 2.5 km east, 8.8 km south, and 4.1 km above its home airport. Use a coordinate system where the xdirection corresponds to east, the ydirection to north, and the zdirection to the zenith. Then determine the directional cosines used by the airtraffic control personnel to identify the plane’s location.
4) Use the method of direction cosines to identify the unit vector having the same direction as the position vector
5) Determine the direction angles between the vector and the coordinate axes.
Solutions
1)
2)
3) In this coordinate system, with an origin at the home airport, the position vector is given by with units of kilometers.
4) The unit vector which has the same direction as this vector has the components
 where and .
 Once we find the three direction cosines, we have the components of the unit vector,
5)
Practice
What is the vector direction in degrees of the following 2dimensional vectors, assuming the positive xaxis is 0^{o}?
 What is the direction of
 What is the direction of
 What is the direction of
 What is the direction of
 What is the direction of
 What is the direction of
Identify the directional cosines associated with the given vector
 a) cos α = b) cos β = c) cos γ =
 a) cos α = b) cos β = c) cos γ =
 a) cos α = b) cos β = c) cos γ =
 a) cos α = b) cos β = c) cos γ =
 a) cos α = b) cos β = c) cos γ =
Determine the direction angles between the given vector and the coordinate axes
Solve the word problems as specified
 Determine the position vector for a kite at the moment it is 3.5 m east, 10.8 m south, and 30 m above the child flying it. Use a coordinate system where the xdirection corresponds to east, the ydirection to north, and the zdirection to the zenith. Then determine the directional cosines to identify the kites location.
 Determine the position vector for a cat stuck in a tree at the moment it is 7 ft. east, 12.3 ft south, and 25 ft. above the base of the tree. Use a coordinate system where the xdirection corresponds to east, the ydirection to north, and the zdirection to the zenith. Then determine the directional cosines to identify the cats location.
Notes/Highlights Having trouble? Report an issue.
Color  Highlighted Text  Notes  

Please Sign In to create your own Highlights / Notes  
Show More 
Term  Definition 

angle cosines  Angle notation or angle cosines describe a vector as the result of individual magnitudes and directions as measured from the axes, starting at the origin. 
angle notation  Angle notation or angle cosines describe a vector as the result of individual magnitudes and directions as measured from the axes, starting at the origin. 
Component notation  Component notation is used to describe vectors algebraically in terms of their , and, if relevant, components. 
direction angles  Direction angles (also known as direction cosines) describe a vector as the result of individual magnitudes and directions as measured from the axes, starting at the origin. 
direction cosines  Direction cosines (also known as direction angles) describe a vector as the result of individual magnitudes and directions as measured from the axes, starting at the origin. 
dot product  The dot product is also known as inner product or scalar product. The two forms of the dot product are and . 
position vector  A position vector describes the straightline travel between a starting point (usually the origin) and the location of a second point on a coordinate plane. 
unit vector  A unit vector is a vector with a magnitude of one. 
Image Attributions
Here you will learn how to calculate and describe the position of an object in three dimensions by describing the directions of vectors.