# 5.2: Vectors in Space

**At Grade**Created by: CK-12

## Learning objectives

- Identify useful coordinate systems to describe a given problem.
- Identify points in 3-dimensional space using vector notation.
- Identify the displacement of an object from one point to another.
- Identify the midpoint between two points.

## Introduction

In the previous section, we confined our discussion to points and vectors located in a 2-dimensional space, but these tools are not limited to describing points in a plane. In fact, mathematicians and scientists use these same techniques to describe a variety of abstract spaces as well, such as imaginary numbers, the phase relationships between a set of sinusoidal functions, or the social relationships within a high-school class. In this section, we will see that vector notation is also useful to describe the position of points or objects in a world that has at least three dimensions. Vectors can be used for more dimensions as well (but four dimensional objects are hard to draw!)

## Coordinate Systems and Position Vectors in Two Dimensions

The Cartesian coordinate system used to describe a plane consists of an origin and four open axes that extend outwards from the origin towards infinity. These axes are divided into two, co-linear pairs: +**x** with –**x** and +**y** with –**y**. Usually, the x-axes are oriented horizontally or left-to-right across a page and the y-axes are oriented vertically or top-to-bottom on a printed page as shown below. The green square represents the x-y plane; remember, however, that the x-y plane is not confined to this square but rather extends outward toward infinity. On most North American maps, +**y** corresponds to North and +**x** corresponds to East. We used this coordinate system to describe Allen’s trip to his mother’s home across Blue Lake in one of the examples of the previous sections introducing vector addition.

The choice of coordinate axes is arbitrary. Nothing about the motion of an object is limited by our choice of how to describe it. Therefore, we can choose a coordinate system that is most convenient. If we go back to the example of Blue Lake, we can identify the location of the Lake Park Lodge (L) with respect to Allen’s home (A), to Aunt Frances’s home (F), or to the Blue Lake Post Office (P). The point we choose as the reference position becomes our origin of coordinates (O). The position vector which identifies the Lodge’s position within the reference frame is represented by an arrow starting at the origin and ending at the Lodge. This is like taking the rectangular coordinate system and putting the origin at a convenient location. The diagram below shows the position vector for the Lodge in three reference frames, with origins at F, A, and P respectively.

**Example:** The motion of an object along an inclined plane is a very common problem in introductory physics. The diagram below shows one such situation.

Stickman Beauford has taken his niece Brynna to the park and waves to her as she plays on the slide. Choose two coordinate systems that could be used to describe Brynna’s motion and identify the position vectors for points A and B in both coordinate systems.

**Solution:** If we want to describe Brynna’s motion as she moves from point A to point B along the slide, we could use a standard horizontal and vertical coordinate system with the origin at the base of the slide’s ladder, but then the vector describing her motion would have components in both the x and y directions. Our mathematical description of her motion can be greatly simplified if we choose point A to be the origin and if we rotate the coordinate system such that the x-axis is parallel to the slide and the y-axis is perpendicular to the slide. Now Brynna’s motion from point A to point B is only along the x-axis. Note, other choices of origin are possible.

Once we have identified an origin and coordinate axes for of our reference frames, we can use vector notation to identify the location of points A and B. The position vector for point A is the vector starting at the origin and ending at point A, \begin{align*}\overrightarrow{OA}\end{align*}

**Example:** Identify the position vectors for the three points shown on the grid below.

**Solution:** The position vectors begin at the origin, (0, 0) and end at each point:

\begin{align*}\overrightarrow{OA} = \left \langle -3, 1 \right \rangle, \ \overrightarrow{OB} = \left \langle 1, 2 \right \rangle\end{align*}

## Coordinate Systems and Position Vectors in Three Dimensions

The rectangular (or Cartesian) coordinate system is used to describe a plane divided into four quadrants, as shown below left. (Note, the colored squares are used to help you visualize the space, remember that the coordinate planes actually extend outward toward infinity.)

The Cartesian coordinate system use to describe three-dimensional space consists of an origin and six open axes, +**z** and –**z** are perpendicular to the **x-y** plane. These axes define three planes which divide the space into eight quadrants as shown above right. Think of these planes as cutting space three ways: left to right, top to bottom, and front to back.

By convention, we number the four quadrants of the x-y plane in this way: points in quadrant 1 have +x and +y coordinates, those in quadrant 2 have –x and +y, those in quadrant 3 have –x and –y, and those in quadrant 4 have +x and –y. There is currently no standardized numbering system for the octants in three-dimensional space, although most people identify the region with +x, +y, and +z as the first octant. The method used to identify the octants is to indicate verbally the portion of space they occupy. For example, the first octant could also be identified as (top, front, right).

Position vectors in 3D space are still represented by arrows that begin at the origin and end at the point in question. The diagram above shows a point, P, located in the front, lower, right octant. The three components of the position vector (P_{x}, P_{y}, and P_{z}) are shown in the diagram. According to the Pythagorean Theorem, the magnitude of the position vector is given by:

\begin{align*}|\overrightarrow{P}| = \sqrt{P_x^2 + P_y^2 + P_z^2}\end{align*}

**Example:** Darnell was driving home from a football game in a nearby town when he swerved to avoid a deer which had run onto the road. Fortunately for Darnell, he was able to avoid hitting the deer. Unfortunately, his car ended up in the ditch beside the road. When he was unable to remove the car from the ditch by himself, he walked across a nearby field to the Tucker family farm to ask for help. The topographical map below shows Darnell’s trip across the field. He traveled 300 yards south and 750 yards west from where he left his car. The map shows that he also walked uphill from an altitude of 800 feet to an altitude of 850 feet above sea level. If we treat the location of Darnell’s car as the origin of coordinates, what the position vector of the Tucker farm?

**Solution:** Define a coordinate system where **x** = E, **y** = N, and **z** = up. Since Darnell walked south and west from the car, the **x** and **y** coordinates of the farm are both negative. If we measure all of the distances in feet (1 yard = 3 feet), the farm’s position vector can be written as \begin{align*}\overrightarrow{P} = \left \langle P_{east}, P_{north}, P_{up} \right \rangle = \left \langle -2250,-900, 50 \right \rangle\end{align*}.

Note in this example that Darnell’s walking distance was given in yards, while the elevation change was given in feet. You need to watch out for these small changes when you are solving real-life problems.

## Vectors Between Two Points

The **displacement vector** represents the motion beginning at one point and ending at another. In the diagram below, vector C is the vector between points A and B. It starts at point A and ends at point B. As we saw ((in section 5.1.2)), this means that \begin{align*}\overrightarrow{A} + \overrightarrow{C} = \overrightarrow{B}\end{align*} and \begin{align*}\overrightarrow{C} = \overrightarrow{B} - \overrightarrow{A}\end{align*}. In this case, \begin{align*}\overrightarrow{A} = \left \langle 1, 3 \right \rangle\end{align*} and \begin{align*}\overrightarrow{B} = \left \langle 3, 2 \right \rangle\end{align*}, therefore \begin{align*}\overrightarrow{C} = \left \langle (3 - 1), (2 - 3) \right \rangle = \left \langle 2, - 1 \right \rangle\end{align*} matching what we can see in the diagram.

**Example:** Determine the coordinates and magnitude of the vector, **D**, beginning at the point \begin{align*}\overrightarrow{P_1} = \left \langle 12, 7 \right \rangle\end{align*} and ending at \begin{align*}\overrightarrow{P_2} = \left \langle 8, 10 \right \rangle\end{align*}.

**Solution:** The displacement vector **D** is the difference between the two position vectors:.

\begin{align*}D = \left \langle P_{2x} - P_{1x}, P_{2y} - P_{1y} \right \rangle = \left \langle 8 - 12, 10 - 7 \right \rangle = \left \langle -4, 3 \right \rangle\end{align*}.

The magnitude of the vector, **D**, can be found using the Pythagorean Theorem:

\begin{align*}|\overrightarrow{D}| = \sqrt{(-4)^2 + (3)^2} = \sqrt{25} = 5\end{align*}.

## Vector to a Point Between Two Points

Computer graphics artists frequently need to know the location of a point which lies midway between two other points. Once we know the position vectors for two discrete points, we can determine the midpoint between them using their coordinates. Specifically, the midpoint between points A and B is the “average” of the two positions, therefore the coordinates of the midpoint are given by \begin{align*}x_{mp} = \frac{1}{2} (x_A + x_B), \ y_{mp} = \frac{1}{2} (y_A + y_B)\end{align*}, and \begin{align*}z_{mp} = \frac{1}{2} (z_A + z_B)\end{align*} and the position vector for the midpoint can be written as \begin{align*}P_{mp} = \left \langle x_{mp}, y_{mp}, z_{mp} \right \rangle\end{align*}. The vector from any other point to this midpoint can then be calculated using the method described in our discussion of displacement vectors.

**Example:** Determine the position vector identifying the midpoint between points \begin{align*}\overrightarrow{P_1} = \left \langle 12, 7 \right \rangle\end{align*} and \begin{align*}\overrightarrow{P_2} = \left \langle 8, 10 \right \rangle\end{align*}.

**Solution:** Since these two points are located in the x-y plane, the z-coordinate of both *P*_{1} and *P*_{2} is 0. The x-coordinate of the midpoint is given by

\begin{align*}x_{mp} = \frac{1}{2} (x_A + x_B) = \frac{1}{2}(12 + 8) = 10\end{align*}

and the y-coordinate of the midpoint is given by

\begin{align*}y_{mp} = \frac{1}{2} (y_A + y_B) = \frac{1}{2}(7 + 10) = 8.5\end{align*}.

Therefore the position vector for this midpoint can be written as

\begin{align*}P_{mp} = \left \langle 10,8.5,0 \right \rangle\end{align*}, or if the problem context allows, you can omit the z-coordinates.

\begin{align*}P_{mp} = \left \langle 10,8.5 \right \rangle\end{align*}

## Lesson Summary

Vectors are very useful in identifying the locations of objects or points of interest. Once we define an origin of coordinates for a problem, we can identify the position of an object using the vector from that origin to the location of the object. We can also use the average of two position vectors to identify the midpoint between two points.

## Practice Problems

- The diagram shows two positions of a bicycle as it moves along a long straight road. Two possible coordinate systems for the motion are shown below. Determine the position vectors in each of the two coordinate systems for the bicycle at points A and B. Then determine the displacement vector from A to B in each case. (Not drawn to scale.)
- Identify the position vectors for the three points shown in the diagram below.
- Identify the midpoints between points A and C and between B and C.
- Determine the length of the displacement vectors from points A and C to the midpoint determined in the previous practice problem.
- Zeke is enjoying an afternoon at the local skate-park. The diagram below shows his starting position and his ending position at the highest point on the new hill. Following the model of practice problem #1, choose two different coordinate systems which could describe this system. Find Zeke’s initial and final position vectors in each of the two coordinate systems. Then identify the displacement vector from his starting position to his final position at the top of the hill.
- An architecture student designs a spiral staircase, a model of which is shown below. The staircase winds its way around a cylinder of radius 3.5 m and height 11 m. The staircase makes 1 ⅞ turns progressing counter-clockwise from its beginning at point A to its end point at B. Using an origin of coordinates at the bottom center of the staircase, determine the position vectors of points A and B. Then find the displacement vector between the two points.
- Identify the midpoint between points
*P*= (3.7, 8.4, -2.1) and*Q*= (5.5, -1.9, -8.6). - Wilhelm and Armond head out into the marsh near their home to hunt goose for Michaelmas dinner, but they disagree on the best place to set their blinds. They park their truck along the Bluffton road at an altitude of 840 m above sea level. Wilhelm heads along the riverbed, ending up 350 m west and 87 m north of the truck at an altitude of 780 m above sea level. Armond, on the other hand, heads toward another marshy area 738 m west and 92 m south of the truck at an altitude of 800 m. If the truck serves as the origin of coordinates, determine the position vector for each hunter and determine the displacement vector from Armond’s position to Wilhelm’s.

### Notes/Highlights Having trouble? Report an issue.

Color | Highlighted Text | Notes | |
---|---|---|---|

Show More |

### Image Attributions

## Concept Nodes:

**Save or share your relevant files like activites, homework and worksheet.**

To add resources, you must be the owner of the section. Click Customize to make your own copy.