### Learning Objectives

- Describe vectors in two and three dimensions in terms of their components, using unit vectors along the axes.
- Distinguish between the vector components of a vector and the scalar components of a vector.
- Explain how the magnitude of a vector is defined in terms of the components of a vector.
- Identify the direction angle of a vector in a plane.
- Explain the connection between polar coordinates and Cartesian coordinates in a plane.

Vectors are usually described in terms of their components in a coordinate system. Even in everyday life we naturally invoke the concept of orthogonal projections in a rectangular coordinate system. For example, if you ask someone for directions to a particular location, you will more likely be told to go 40 km east and 30 km north than 50 km in the direction $37\text{\xb0}$ north of east.

In a rectangular (Cartesian) *xy*-coordinate system in a plane, a point in a plane is described by a pair of coordinates (*x*, *y*). In a similar fashion, a vector $\overrightarrow{A}$ in a plane is described by a pair of its *vector* coordinates. The *x*-coordinate of vector $\overrightarrow{A}$ is called its *x*-component and the *y*-coordinate of vector $\overrightarrow{A}$ is called its *y*-component. The vector *x*-component is a vector denoted by ${\overrightarrow{A}}_{x}$. The vector *y*-component is a vector denoted by ${\overrightarrow{A}}_{y}$. In the Cartesian system, the *x* and *y* vector components of a vector are the orthogonal projections of this vector onto the *x*- and *y*-axes, respectively. In this way, following the parallelogram rule for vector addition, each vector on a Cartesian plane can be expressed as the vector sum of its vector components:

As illustrated in Figure 2.16, vector $\overrightarrow{A}$ is the diagonal of the rectangle where the *x*-component ${\overrightarrow{A}}_{x}$ is the side parallel to the *x*-axis and the *y*-component ${\overrightarrow{A}}_{y}$ is the side parallel to the *y*-axis. Vector component ${\overrightarrow{A}}_{x}$ is orthogonal to vector component ${\overrightarrow{A}}_{y}$.

It is customary to denote the positive direction on the *x*-axis by the unit vector $\widehat{i}$ and the positive direction on the *y*-axis by the unit vector $\widehat{j}$. Unit vectors of the axes, $\widehat{i}$ and $\widehat{j}$, define two orthogonal directions in the plane. As shown in Figure 2.16, the *x*- and *y*- components of a vector can now be written in terms of the unit vectors of the axes:

The vectors ${\overrightarrow{A}}_{x}$ and ${\overrightarrow{A}}_{y}$ defined by Equation 2.11 are the *vector components* of vector $\overrightarrow{A}$. The numbers ${A}_{x}$ and ${A}_{y}$ that define the vector components in Equation 2.11 are the scalar component**s** of vector $\overrightarrow{A}$. Combining Equation 2.10 with Equation 2.11, we obtain the component form of a vector:

If we know the coordinates $b({x}_{b},{y}_{b})$ of the origin point of a vector (where *b* stands for “beginning”) and the coordinates $e({x}_{e},{y}_{e})$ of the end point of a vector (where *e* stands for “end”), we can obtain the scalar components of a vector simply by subtracting the origin point coordinates from the end point coordinates:

### Example 2.3

Displacement of a Mouse Pointer A mouse pointer on the display monitor of a computer at its initial position is at point (6.0 cm, 1.6 cm) with respect to the lower left-side corner. If you move the pointer to an icon located at point (2.0 cm, 4.5 cm), what is the displacement vector of the pointer?

Strategy
The origin of the *xy*-coordinate system is the lower left-side corner of the computer monitor. Therefore, the unit vector $\widehat{i}$ on the *x*-axis points horizontally to the right and the unit vector $\widehat{j}$ on the *y*-axis points vertically upward. The origin of the displacement vector is located at point *b*(6.0, 1.6) and the end of the displacement vector is located at point *e*(2.0, 4.5). Substitute the coordinates of these points into Equation 2.13 to find the scalar components ${D}_{x}$ and ${D}_{y}$ of the displacement vector $\overrightarrow{D}$. Finally, substitute the coordinates into Equation 2.12 to write the displacement vector in the vector component form.

Solution
We identify ${x}_{b}=6.0$, ${x}_{e}=2.0$, ${y}_{b}=1.6$, and ${y}_{e}=4.5$, where the physical unit is 1 cm. The scalar *x*- and *y*-components of the displacement vector are

The vector component form of the displacement vector is

This solution is shown in Figure 2.17.

Significance Notice that the physical unit—here, 1 cm—can be placed either with each component immediately before the unit vector or globally for both components, as in Equation 2.14. Often, the latter way is more convenient because it is simpler.

The vector *x*-component ${\overrightarrow{D}}_{x}=\mathrm{-4.0}\widehat{i}=4.0(\text{\u2212}\widehat{i})$ of the displacement vector has the magnitude $\left|{\overrightarrow{D}}_{x}\right|=|-4.0|\left|\widehat{i}\right|=4.0$ because the magnitude of the unit vector is $\left|\widehat{i}\right|=1$. Notice, too, that the direction of the *x*-component is $\text{\u2212}\widehat{i}$, which is antiparallel to the direction of the +*x*-axis; hence, the *x*-component vector ${\overrightarrow{D}}_{x}$ points to the left, as shown in Figure 2.17. The scalar *x*-component of vector $\overrightarrow{D}$ is ${D}_{x}=\mathrm{-4.0}$.

Similarly, the vector *y*-component ${\overrightarrow{D}}_{y}=+2.9\widehat{j}$ of the displacement vector has magnitude $\left|{\overrightarrow{D}}_{y}\right|=\left|2.9\right|\left|\widehat{j}\right|=\phantom{\rule{0.2em}{0ex}}2.9$ because the magnitude of the unit vector is $\left|\widehat{j}\right|=1$. The direction of the *y*-component is $+\widehat{j}$, which is parallel to the direction of the +*y*-axis. Therefore, the *y*-component vector ${\overrightarrow{D}}_{y}$ points up, as seen in Figure 2.17. The scalar *y*-component of vector $\overrightarrow{D}$ is ${D}_{y}=+2.9$. The displacement vector $\overrightarrow{D}$ is the resultant of its two *vector* components.

The vector component form of the displacement vector Equation 2.14 tells us that the mouse pointer has been moved on the monitor 4.0 cm to the left and 2.9 cm upward from its initial position.

A blue fly lands on a sheet of graph paper at a point located 10.0 cm to the right of its left edge and 8.0 cm above its bottom edge and walks slowly to a point located 5.0 cm from the left edge and 5.0 cm from the bottom edge. Choose the rectangular coordinate system with the origin at the lower left-side corner of the paper and find the displacement vector of the fly. Illustrate your solution by graphing.

When we know the scalar components ${A}_{x}$ and ${A}_{y}$ of a vector $\overrightarrow{A}$, we can find its magnitude *A* and its direction angle ${\theta}_{A}$. The direction angle—or direction, for short—is the angle the vector forms with the positive direction on the *x*-axis. The angle ${\theta}_{A}$ is measured in the *counterclockwise direction* from the +*x*-axis to the vector (Figure 2.18). Because the lengths *A*, ${A}_{x}$, and ${A}_{y}$ form a right triangle, they are related by the Pythagorean theorem:

This equation works even if the scalar components of a vector are negative. The direction angle ${\theta}_{A}$ of a vector is defined via the tangent function of angle ${\theta}_{A}$ in the triangle shown in Figure 2.18:

When the vector lies either in the first quadrant or in the fourth quadrant, where component ${A}_{x}$ is positive (Figure 2.19), the angle $\theta $ in Equation 2.16 is identical to the direction angle ${\theta}_{A}$. For vectors in the fourth quadrant, angle $\theta $ is negative, which means that for these vectors, direction angle ${\theta}_{A}$ is measured *clockwise* from the positive *x*-axis. Similarly, for vectors in the second quadrant, angle $\theta $ is negative. When the vector lies in either the second or third quadrant, where component ${A}_{x}$ is negative, the direction angle is ${\theta}_{A}=\theta +180\text{\xb0}$ (Figure 2.19).

### Example 2.4

Magnitude and Direction of the Displacement VectorYou move a mouse pointer on the display monitor from its initial position at point (6.0 cm, 1.6 cm) to an icon located at point (2.0 cm, 4.5 cm). What are the magnitude and direction of the displacement vector of the pointer?

Strategy
In Example 2.3, we found the displacement vector $\overrightarrow{D}$ of the mouse pointer (see Equation 2.14). We identify its scalar components ${D}_{x}=\mathrm{-4.0}\phantom{\rule{0.2em}{0ex}}\text{cm}$ and ${D}_{y}=+2.9\phantom{\rule{0.2em}{0ex}}\text{cm}$ and substitute into Equation 2.15 and Equation 2.16 to find the magnitude *D* and direction ${\theta}_{D}$, respectively.

Solution The magnitude of vector $\overrightarrow{D}$ is

The direction angle is

Vector $\overrightarrow{D}$ lies in the second quadrant, so its direction angle is

If the displacement vector of a blue fly walking on a sheet of graph paper is $\overrightarrow{D}=(\mathrm{-5.00}\widehat{i}-3.00\widehat{j})\text{cm}$, find its magnitude and direction.

In many applications, the magnitudes and directions of vector quantities are known and we need to find the resultant of many vectors. For example, imagine 400 cars moving on the Golden Gate Bridge in San Francisco in a strong wind. Each car gives the bridge a different push in various directions and we would like to know how big the resultant push can possibly be. We have already gained some experience with the geometric construction of vector sums, so we know the task of finding the resultant by drawing the vectors and measuring their lengths and angles may become intractable pretty quickly, leading to huge errors. Worries like this do not appear when we use analytical methods. The very first step in an analytical approach is to find vector components when the direction and magnitude of a vector are known.

Let us return to the right triangle in Figure 2.18. The quotient of the adjacent side ${A}_{x}$ to the hypotenuse *A* is the cosine function of direction angle ${\theta}_{A}$, ${A}_{x}\text{/}A=\text{cos}\phantom{\rule{0.2em}{0ex}}{\theta}_{A}$, and the quotient of the opposite side ${A}_{y}$ to the hypotenuse *A* is the sine function of ${\theta}_{A}$, ${A}_{y}\text{/}A=\text{sin}\phantom{\rule{0.2em}{0ex}}{\theta}_{A}$. When magnitude *A* and direction ${\theta}_{A}$ are known, we can solve these relations for the scalar components:

When calculating vector components with Equation 2.17, care must be taken with the angle. The direction angle ${\theta}_{A}$ of a vector is the angle measured *counterclockwise* from the positive direction on the *x*-axis to the vector. The clockwise measurement gives a negative angle.

### Example 2.5

Components of Displacement Vectors A rescue party for a missing child follows a search dog named Trooper. Trooper wanders a lot and makes many trial sniffs along many different paths. Trooper eventually finds the child and the story has a happy ending, but his displacements on various legs seem to be truly convoluted. On one of the legs he walks 200.0 m southeast, then he runs north some 300.0 m. On the third leg, he examines the scents carefully for 50.0 m in the direction $30\text{\xb0}$ west of north. On the fourth leg, Trooper goes directly south for 80.0 m, picks up a fresh scent and turns $23\text{\xb0}$ west of south for 150.0 m. Find the scalar components of Trooper’s displacement vectors and his displacement vectors in vector component form for each leg.

Strategy
Let’s adopt a rectangular coordinate system with the positive *x*-axis in the direction of geographic east, with the positive *y*-direction pointed to geographic north. Explicitly, the unit vector $\widehat{i}$ of the *x*-axis points east and the unit vector $\widehat{j}$ of the *y*-axis points north. Trooper makes five legs, so there are five displacement vectors. We start by identifying their magnitudes and direction angles, then we use Equation 2.17 to find the scalar components of the displacements and Equation 2.12 for the displacement vectors.

Solution On the first leg, the displacement magnitude is ${L}_{1}=200.0\phantom{\rule{0.2em}{0ex}}\text{m}$ and the direction is southeast. For direction angle ${\theta}_{1}$ we can take either $45\text{\xb0}$ measured clockwise from the east direction or $45\text{\xb0}+270\text{\xb0}$ measured counterclockwise from the east direction. With the first choice, ${\theta}_{1}=\mathrm{-45}\text{\xb0}$. With the second choice, ${\theta}_{1}=+315\text{\xb0}$. We can use either one of these two angles. The components are

The displacement vector of the first leg is

On the second leg of Trooper’s wanderings, the magnitude of the displacement is ${L}_{2}=300.0\phantom{\rule{0.2em}{0ex}}\text{m}$ and the direction is north. The direction angle is ${\theta}_{2}=+90\text{\xb0}$. We obtain the following results:

On the third leg, the displacement magnitude is ${L}_{3}=50.0\phantom{\rule{0.2em}{0ex}}\text{m}$ and the direction is $30\text{\xb0}$ west of north. The direction angle measured counterclockwise from the eastern direction is ${\theta}_{3}=30\text{\xb0}+90\text{\xb0}=+120\text{\xb0}$. This gives the following answers:

On the fourth leg of the excursion, the displacement magnitude is ${L}_{4}=80.0\phantom{\rule{0.2em}{0ex}}\text{m}$ and the direction is south. The direction angle can be taken as either ${\theta}_{4}=\mathrm{-90}\text{\xb0}$ or ${\theta}_{4}=+270\text{\xb0}$. We obtain

On the last leg, the magnitude is ${L}_{5}=150.0\phantom{\rule{0.2em}{0ex}}\text{m}$ and the angle is ${\theta}_{5}=\mathrm{-23}\text{\xb0}+270\text{\xb0}=+247\text{\xb0}$ $(23\text{\xb0}$ west of south), which gives

If Trooper runs 20 m west before taking a rest, what is his displacement vector?

### Polar Coordinates

To describe locations of points or vectors in a plane, we need two orthogonal directions. In the Cartesian coordinate system these directions are given by unit vectors $\widehat{i}$ and $\widehat{j}$ along the *x*-axis and the *y*-axis, respectively. The Cartesian coordinate system is very convenient to use in describing displacements and velocities of objects and the forces acting on them. However, it becomes cumbersome when we need to describe the rotation of objects. When describing rotation, we usually work in the polar coordinate system.

In the polar coordinate system, the location of point *P* in a plane is given by two polar coordinates (Figure 2.20). The first polar coordinate is the radial coordinate *r*, which is the distance of point *P* from the origin. The second polar coordinate is an angle $\phi $ that the radial vector makes with some chosen direction, usually the positive *x*-direction. In polar coordinates, angles are measured in radians, or rads. The radial vector is attached at the origin and points away from the origin to point *P.* This radial direction is described by a unit radial vector $\widehat{r}$. The second unit vector $\widehat{t}$ is a vector orthogonal to the radial direction $\widehat{r}$. The positive $+\widehat{t}$ direction indicates how the angle $\phi $ changes in the counterclockwise direction. In this way, a point *P* that has coordinates (*x*, *y*) in the rectangular system can be described equivalently in the polar coordinate system by the two polar coordinates $(r,\phi )$. Equation 2.17 is valid for any vector, so we can use it to express the *x*- and *y*-coordinates of vector $\overrightarrow{r}$. In this way, we obtain the connection between the polar coordinates and rectangular coordinates of point *P*:

### Example 2.6

Polar Coordinates A treasure hunter finds one silver coin at a location 20.0 m away from a dry well in the direction $20\text{\xb0}$ north of east and finds one gold coin at a location 10.0 m away from the well in the direction $20\text{\xb0}$ north of west. What are the polar and rectangular coordinates of these findings with respect to the well?

Strategy
The well marks the origin of the coordinate system and east is the +*x*-direction. We identify radial distances from the locations to the origin, which are ${r}_{S}=20.0\phantom{\rule{0.2em}{0ex}}\text{m}$ (for the silver coin) and ${r}_{G}=10.0\phantom{\rule{0.2em}{0ex}}\text{m}$ (for the gold coin). To find the angular coordinates, we convert $20\text{\xb0}$ to radians: $20\text{\xb0}=\pi 20\text{/}180=\pi \text{/}9$. We use Equation 2.18 to find the *x*- and *y*-coordinates of the coins.

Solution The angular coordinate of the silver coin is ${\phi}_{S}=\pi \text{/}9$, whereas the angular coordinate of the gold coin is ${\phi}_{G}=\pi -\pi \text{/}9=8\pi \text{/}9$. Hence, the polar coordinates of the silver coin are $({r}_{S},{\phi}_{S})=(20.0\phantom{\rule{0.2em}{0ex}}\text{m},\pi \text{/}9)$ and those of the gold coin are $({r}_{G},{\phi}_{G})=(10.0\phantom{\rule{0.2em}{0ex}}\text{m},8\pi \text{/}9)$. We substitute these coordinates into Equation 2.18 to obtain rectangular coordinates. For the gold coin, the coordinates are

For the silver coin, the coordinates are

### Vectors in Three Dimensions

To specify the location of a point in space, we need three coordinates (*x*, *y*, *z*), where coordinates *x* and *y* specify locations in a plane, and coordinate *z* gives a vertical position above or below the plane. Three-dimensional space has three orthogonal directions, so we need not two but *three* unit vectors to define a three-dimensional coordinate system. In the Cartesian coordinate system, the first two unit vectors are the unit vector of the *x*-axis $\widehat{i}$ and the unit vector of the *y*-axis $\widehat{j}$. The third unit vector $\widehat{k}$ is the direction of the *z*-axis (Figure 2.21). The order in which the axes are labeled, which is the order in which the three unit vectors appear, is important because it defines the orientation of the coordinate system. The order *x*-*y*-*z*, which is equivalent to the order $\widehat{i}$ - $\widehat{j}$ - $\widehat{k}$, defines the standard right-handed coordinate system (positive orientation).

In three-dimensional space, vector $\overrightarrow{A}$ has three vector components: the *x*-component ${\overrightarrow{A}}_{x}={A}_{x}\widehat{i}$, which is the part of vector $\overrightarrow{A}$ along the *x*-axis; the *y*-component ${\overrightarrow{A}}_{y}={A}_{y}\widehat{j}$, which is the part of $\overrightarrow{A}$ along the *y*-axis; and the *z*-component ${\overrightarrow{A}}_{z}={A}_{z}\widehat{k}$, which is the part of the vector along the *z*-axis. A vector in three-dimensional space is the vector sum of its three vector components (Figure 2.22):

If we know the coordinates of its origin $b({x}_{b},{y}_{b},{z}_{b})$ and of its end $e({x}_{e},{y}_{e},{z}_{e})$, its scalar components are obtained by taking their differences: ${A}_{x}$ and ${A}_{y}$ are given by Equation 2.13 and the *z*-component is given by

Magnitude *A* is obtained by generalizing Equation 2.15 to three dimensions:

This expression for the vector magnitude comes from applying the Pythagorean theorem twice. As seen in Figure 2.22, the diagonal in the *xy*-plane has length $\sqrt{{A}_{x}^{2}+{A}_{y}^{2}}$ and its square adds to the square ${A}_{z}^{2}$ to give ${A}^{2}$. Note that when the *z*-component is zero, the vector lies entirely in the *xy*-plane and its description is reduced to two dimensions.

### Example 2.7

Takeoff of a Drone During a takeoff of IAI Heron (Figure 2.23), its position with respect to a control tower is 100 m above the ground, 300 m to the east, and 200 m to the north. One minute later, its position is 250 m above the ground, 1200 m to the east, and 2100 m to the north. What is the drone’s displacement vector with respect to the control tower? What is the magnitude of its displacement vector?

Strategy
We take the origin of the Cartesian coordinate system as the control tower. The direction of the +*x*-axis is given by unit vector $\widehat{i}$ to the east, the direction of the +*y*-axis is given by unit vector $\widehat{j}$ to the north, and the direction of the +*z*-axis is given by unit vector $\widehat{k}$, which points up from the ground. The drone’s first position is the origin (or, equivalently, the beginning) of the displacement vector and its second position is the end of the displacement vector.

SolutionWe identify *b*(300.0 m, 200.0 m, 100.0 m) and *e*(1200 m, 2100 m, 250 m), and use Equation 2.13 and Equation 2.20 to find the scalar components of the drone’s displacement vector:

We substitute these components into Equation 2.19 to find the displacement vector:

We substitute into Equation 2.21 to find the magnitude of the displacement:

If the average velocity vector of the drone in the displacement in Example 2.7 is $\overrightarrow{u}=(15.0\widehat{i}+31.7\widehat{j}+2.5\widehat{k})\text{m}\text{/}\text{s}$, what is the magnitude of the drone’s velocity vector?