- Last updated

- Save as PDF

- Page ID
- 68711

\( \newcommand{\vecs}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}}}\)

\( \newcommand{\vecd}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash{#1}}} \)

\( \newcommand{\id}{\mathrm{id}}\) \( \newcommand{\Span}{\mathrm{span}}\)

( \newcommand{\kernel}{\mathrm{null}\,}\) \( \newcommand{\range}{\mathrm{range}\,}\)

\( \newcommand{\RealPart}{\mathrm{Re}}\) \( \newcommand{\ImaginaryPart}{\mathrm{Im}}\)

\( \newcommand{\Argument}{\mathrm{Arg}}\) \( \newcommand{\norm}[1]{\| #1 \|}\)

\( \newcommand{\inner}[2]{\langle #1, #2 \rangle}\)

\( \newcommand{\Span}{\mathrm{span}}\)

\( \newcommand{\id}{\mathrm{id}}\)

\( \newcommand{\Span}{\mathrm{span}}\)

\( \newcommand{\kernel}{\mathrm{null}\,}\)

\( \newcommand{\range}{\mathrm{range}\,}\)

\( \newcommand{\RealPart}{\mathrm{Re}}\)

\( \newcommand{\ImaginaryPart}{\mathrm{Im}}\)

\( \newcommand{\Argument}{\mathrm{Arg}}\)

\( \newcommand{\norm}[1]{\| #1 \|}\)

\( \newcommand{\inner}[2]{\langle #1, #2 \rangle}\)

\( \newcommand{\Span}{\mathrm{span}}\) \( \newcommand{\AA}{\unicode[.8,0]{x212B}}\)

\( \newcommand{\vectorA}[1]{\vec{#1}} % arrow\)

\( \newcommand{\vectorAt}[1]{\vec{\text{#1}}} % arrow\)

\( \newcommand{\vectorB}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}}}\)

\( \newcommand{\vectorC}[1]{\textbf{#1}}\)

\( \newcommand{\vectorD}[1]{\overrightarrow{#1}}\)

\( \newcommand{\vectorDt}[1]{\overrightarrow{\text{#1}}}\)

\( \newcommand{\vectE}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash{\mathbf {#1}}}} \)

\( \newcommand{\vecs}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}}}\)

\( \newcommand{\vecd}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash{#1}}} \)

\(\newcommand{\avec}{\mathbf a}\) \(\newcommand{\bvec}{\mathbf b}\) \(\newcommand{\cvec}{\mathbf c}\) \(\newcommand{\dvec}{\mathbf d}\) \(\newcommand{\dtil}{\widetilde{\mathbf d}}\) \(\newcommand{\evec}{\mathbf e}\) \(\newcommand{\fvec}{\mathbf f}\) \(\newcommand{\nvec}{\mathbf n}\) \(\newcommand{\pvec}{\mathbf p}\) \(\newcommand{\qvec}{\mathbf q}\) \(\newcommand{\svec}{\mathbf s}\) \(\newcommand{\tvec}{\mathbf t}\) \(\newcommand{\uvec}{\mathbf u}\) \(\newcommand{\vvec}{\mathbf v}\) \(\newcommand{\wvec}{\mathbf w}\) \(\newcommand{\xvec}{\mathbf x}\) \(\newcommand{\yvec}{\mathbf y}\) \(\newcommand{\zvec}{\mathbf z}\) \(\newcommand{\rvec}{\mathbf r}\) \(\newcommand{\mvec}{\mathbf m}\) \(\newcommand{\zerovec}{\mathbf 0}\) \(\newcommand{\onevec}{\mathbf 1}\) \(\newcommand{\real}{\mathbb R}\) \(\newcommand{\twovec}[2]{\left[\begin{array}{r}#1 \\ #2 \end{array}\right]}\) \(\newcommand{\ctwovec}[2]{\left[\begin{array}{c}#1 \\ #2 \end{array}\right]}\) \(\newcommand{\threevec}[3]{\left[\begin{array}{r}#1 \\ #2 \\ #3 \end{array}\right]}\) \(\newcommand{\cthreevec}[3]{\left[\begin{array}{c}#1 \\ #2 \\ #3 \end{array}\right]}\) \(\newcommand{\fourvec}[4]{\left[\begin{array}{r}#1 \\ #2 \\ #3 \\ #4 \end{array}\right]}\) \(\newcommand{\cfourvec}[4]{\left[\begin{array}{c}#1 \\ #2 \\ #3 \\ #4 \end{array}\right]}\) \(\newcommand{\fivevec}[5]{\left[\begin{array}{r}#1 \\ #2 \\ #3 \\ #4 \\ #5 \\ \end{array}\right]}\) \(\newcommand{\cfivevec}[5]{\left[\begin{array}{c}#1 \\ #2 \\ #3 \\ #4 \\ #5 \\ \end{array}\right]}\) \(\newcommand{\mattwo}[4]{\left[\begin{array}{rr}#1 \amp #2 \\ #3 \amp #4 \\ \end{array}\right]}\) \(\newcommand{\laspan}[1]{\text{Span}\{#1\}}\) \(\newcommand{\bcal}{\cal B}\) \(\newcommand{\ccal}{\cal C}\) \(\newcommand{\scal}{\cal S}\) \(\newcommand{\wcal}{\cal W}\) \(\newcommand{\ecal}{\cal E}\) \(\newcommand{\coords}[2]{\left\{#1\right\}_{#2}}\) \(\newcommand{\gray}[1]{\color{gray}{#1}}\) \(\newcommand{\lgray}[1]{\color{lightgray}{#1}}\) \(\newcommand{\rank}{\operatorname{rank}}\) \(\newcommand{\row}{\text{Row}}\) \(\newcommand{\col}{\text{Col}}\) \(\renewcommand{\row}{\text{Row}}\) \(\newcommand{\nul}{\text{Nul}}\) \(\newcommand{\var}{\text{Var}}\) \(\newcommand{\corr}{\text{corr}}\) \(\newcommand{\len}[1]{\left|#1\right|}\) \(\newcommand{\bbar}{\overline{\bvec}}\) \(\newcommand{\bhat}{\widehat{\bvec}}\) \(\newcommand{\bperp}{\bvec^\perp}\) \(\newcommand{\xhat}{\widehat{\xvec}}\) \(\newcommand{\vhat}{\widehat{\vvec}}\) \(\newcommand{\uhat}{\widehat{\uvec}}\) \(\newcommand{\what}{\widehat{\wvec}}\) \(\newcommand{\Sighat}{\widehat{\Sigma}}\) \(\newcommand{\lt}{<}\) \(\newcommand{\gt}{>}\) \(\newcommand{\amp}{&}\) \(\definecolor{fillinmathshade}{gray}{0.9}\)

##### 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° 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 \(\vec{A}\) in a plane is described by a pair of its vector coordinates. The x-coordinate of vector \(\vec{A}\) is called its x-component and the y-coordinate of vector \(\vec{A}\) is called its y-component. The vector x-component is a vector denoted by \(\vec{A}_{x}\). The vector y-component is a vector denoted by \(\vec{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:

\[ \vec{A} = \vec{A}_{x} + \vec{A}_{y} \ldotp \label{2.10}\]

As illustrated in Figure \(\PageIndex{1}\), vector \(\vec{A}\) is the diagonal of the rectangle where the x-component \(\vec{A}_{x}\) is the side parallel to the x-axis and the y-component \(\vec{A}_{y}\) is the side parallel to the y-axis. Vector component \(\vec{A}_{x}\) is orthogonal to vector component \(\vec{A}_{y}\).

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

\[ \begin{cases} \vec{A}_{x} = A_{x} \hat{i} \\ \vec{A}_{y} = A_{y} \hat{j} \end{cases} \label{2.11}\]

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

\[\vec{A} = A_{x} \hat{i} + A_{y} \hat{j} \ldotp \label{2.12}\]

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:

\[ \begin{cases} A_{x} = x_{e} - x_{b} \\ A_{y} = y_{e} - y_{b} \ldotp \end{cases} \label{2.13}\]

##### Example \(\PageIndex{1}\): 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 \(\hat{i}\) on the x-axis points horizontally to the right and the unit vector \(\hat{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 \ref{2.13} to find the scalar components D

_{x}and D_{y }of the displacement vector \(\vec{D}\). Finally, substitute the coordinates into Equation \ref{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\[D_{x} = x_{e} - x_{b} = (2.0 - 6.0)\; cm = -4.0\; cm,\]

\[D_{y} = y_{e} - y_{b} = (4.5 - 1.6)\; cm = + 2.9\; cm \ldotp\]

The vector component form of the displacement vector is

\[\vec{D} = D_{x}\; \hat{i} + D_{y}\; \hat{j} = (-4.0\; cm)\; \hat{i} + (2.9\; cm)\; \hat{j} = (-4.0\; \hat{i} + 2.9\; \hat{j})\; cm \ldotp \label{2.14}\]

This solution is shown in Figure \(\PageIndex{2}\).

**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 \ref{2.14}. Often, the latter way is more convenient because it is simpler.

The vector x-component \(\vec{D}_{x}\) = −4.0 \(\hat{i}\) = 4.0(\(- \hat{i}\)) of the displacement vector has the magnitude |\(\vec{D}_{x}\)| = |− 4.0||\(\hat{i}\)| = 4.0 because the magnitude of the unit vector is |\(\hat{i}\)| = 1.

Notice, too, that the direction of the x-component is \(− \hat{i}\), which is antiparallel to the direction of the +x-axis; hence, the x-component vector \(\vec{D}_{x}\) points to the left, as shown in Figure \(\PageIndex{2}\).

The scalar x-component of vector \(\vec{D}\) is D

_{x}= −4.0.Similarly, the vector y-component \(\vec{D}_{y}\) = \(+ 2.9 \hat{j}\) of the displacement vector has magnitude |\(\vec{D}_{y}\)| = |2.9||\(\hat{j}\)| = 2.9 because the magnitude of the unit vector is |\(\hat{j}\)| = 1.

The direction of the y-component is \(+ \hat{j}\), which is parallel to the direction of the +y-axis. Therefore, the y-component vector \(\vec{D}_{y}\) points up, as seen in Figure \(\PageIndex{2}\). The scalar y-component of vector \(\vec{D}\) is D

_{y}= + 2.9.The displacement vector \(\vec{D}\) is the resultant of its two vector components.

The vector component form of the displacement vector Equation \ref{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.

When we know the scalar components A_{x} and A_{y} of a vector \(\vec{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 \(\PageIndex{3}\)). Because the lengths A, A_{x}, and A_{y} form a right triangle, they are related by the Pythagorean theorem:

\[A^{2} = A_{x}^{2} + A_{y}^{2} \Leftrightarrow A = \sqrt{A_{x}^{2} + A_{y}^{2}} \ldotp \label{2.15}\]

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 \(\PageIndex{3}\):

\[ \tan \theta = \frac{A_{y}}{A_{x}} \Rightarrow \theta = \tan^{-1} \left(\dfrac{A_{y}}{A_{x}}\right) \ldotp \label{2.16}\]

When the vector lies either in the first quadrant or in the fourth quadrant, where component A_{x} is positive (Figure \(\PageIndex{4}\)), the angle \(\theta\) in Equation \ref{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° (Figure \(\PageIndex{4}\)).

##### Example \(\PageIndex{2}\): Magnitude and Direction of the Displacement Vector

You 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 is the magnitude and direction of the displacement vector of the pointer?

**Strategy**In Example \(\PageIndex{1}\), we found the displacement vector \(\vec{D}\) of the mouse pointer (see Equation \ref{2.14}). We identify its scalar components D

_{x}= −4.0 cm and D_{y}= + 2.9 cm and substitute into Equation \ref{2.15} and Equation \ref{2.16} to find the magnitude D and direction \(\theta_{D}\), respectively.**Solution**-
The magnitude of vector \(\vec{D}\) is

\[D = \sqrt{D_{x}^{2} + D_{y}^{2}} = \sqrt{(-4.0\; cm)^{2} + (2.9\; cm)^{2}} = \sqrt{(4.0)^{2} + (2.9)^{2}}\; cm = 4.9\; cm \ldotp\]

The direction angle is

\[ \tan \theta = \frac{D_{y}}{D_{x}} = \frac{+2.9\; cm}{-4.0\; cm} = -0.725 \Rightarrow \theta = \tan^{-1} (-0.725) = -35.9^{o} \ldotp\]

Vector \(\vec{D}\) lies in the second quadrant, so its direction angle is

\[\theta_{D} = \theta + 180^{o} = -35.9^{o}+ 180^{o} = 144.1^{o} \ldotp\]

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 \(\PageIndex{3}\). The quotient of the adjacent side A_{x} to the hypotenuse A is the cosine function of direction angle \(\theta_{A}\), A_{x}/A = cos \(\theta_{A}\), and the quotient of the opposite side A_{y} to the hypotenuse A is the sine function of \(\theta_{A}\), A_{y}/A = sin \(\theta_{A}\). When magnitude A and direction \(\theta_{A}\) are known, we can solve these relations for the scalar components:

\[\begin{cases} A_{x} = A \cos \theta_{A} \\ A_{y} = A \sin \theta_{A} \ldotp \end{cases} \label{2.17}\]

When calculating vector components with Equation \ref{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 \(\PageIndex{3}\): 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° west of north. On the fourth leg, Trooper goes directly south for 80.0 m, picks up a fresh scent and turns 23° 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 \(\hat{i}\) of the x-axis points east and the unit vector \(\hat{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 \ref{2.17} to find the scalar components of the displacements and Equation \ref{2.12} for the displacement vectors.

**Solution**-
On the first leg, the displacement magnitude is L

_{1}= 200.0 m and the direction is southeast. For direction angle \(\theta_{1}\) we can take either 45° measured clockwise from the east direction or 45° + 270° measured counterclockwise from the east direction. With the first choice, \(\theta_{1}\) = −45°. With the second choice, \(\theta_{1}\) = + 315°. We can use either one of these two angles. The components are\[ L_{1x} = L_{1} \cos \theta_{1} = (200.0\; m) \cos 315^{o} = 141.4\; m,\]

\[ L_{1y} = L_{1} \sin\theta_{1} = (200.0\; m) \sin 315^{o} = -141.4\; m,\]

The displacement vector of the first leg is

\[\vec{L}_{1} = L_{1x}\; \hat{i} + L_{1y}\; \hat{j} = (14.4\; \hat{i} - 141.4\; \hat{j})\; m \ldotp\]

On the second leg of Trooper’s wanderings, the magnitude of the displacement is L

_{2}= 300.0 m and the direction is north. The direction angle is \(\theta_{2}\) = + 90°. We obtain the following results:\[ L_{2x} = L_{2} \cos \theta_{2} = (300.0\; m) \cos 90^{o} = 0.0,\]

\[ L_{2y} = L_{2} \sin \theta_{2} = (300.0\; m) \sin 90^{o} = 300.0\; m,\]

\[\vec{L}_{2} = L_{2x}\; \hat{i} + L_{2y}\; \hat{j} = (300.0\; m)\; \hat{j} \ldotp\]

On the third leg, the displacement magnitude is L

_{3}= 50.0 m and the direction is 30° west of north. The direction angle measured counterclockwise from the eastern direction is \(\theta\)_{3}= 30° + 90° = + 120°. This gives the following answers:\[ L_{3x} = L_{3} \cos \theta_{3} = (50.0\; m) \cos 120^{o} = -25.0\; m,\]

\[ L_{3y} = L_{3} \sin \theta_{3} = (50.0\; m) \sin 120^{o} = + 43.3\; m,\]

\[\vec{L}_{3} = L_{3x}\; \hat{i} + L_{3y}\; \hat{j} = (-25.0\; \hat{i} + 43.3\; \hat{j})\; m \ldotp\]

On the fourth leg of the excursion, the displacement magnitude is L

_{4}= 80.0 m and the direction is south. The direction angle can be taken as either \(\theta_{4}\) = −90° or \(\theta_{4} = + 270°. We obtain\[ L_{4x} = L_{4} \cos \theta_{4} = (80.0\; m) \cos (-90^{o}) = 0,\]

\[ L_{4y} = L_{4} \sin \theta_{4} = (80.0\; m) \sin (-90^{o}) = -80.0\; m,\]

\[\vec{L}_{4} = L_{4x}\; \hat{i} + L_{4y}\; \hat{j} = (-80.0\; m)\; \hat{j} \ldotp\]

On the last leg, the magnitude is L

_{5}= 150.0 m and the angle is \(\theta_{5}\) = −23° + 270° = + 247° (23° west of south), which gives\[ L_{5x} = L_{5} \cos \theta_{5} = (150.0\; m) \cos 247^{o} = -58.6\; m,\]

\[ L_{5y} = L_{5} \sin \theta_{5} = (150.0\; m) \sin 247^{o} = -138.1\; m,\]

\[\vec{L}_{5} = L_{5x}\; \hat{i} + L_{5y}\; \hat{j} = (-58.6\; \hat{i} - 138.1\; \hat{j})\; m \ldotp\]

## 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 \(\hat{i}\) and \(\hat{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 \(\PageIndex{1}\)). 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 \(\varphi\) 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 \(\hat{r}\). The second unit vector \(\hat{t}\) is a vector orthogonal to the radial direction \(\hat{r}\). The positive + \(\hat{t}\) direction indicates how the angle \(\varphi\) 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, \(\varphi\)). Equation \ref{2.17} is valid for any vector, so we can use it to express the x- and y-coordinates of vector \(\vec{r}\). In this way, we obtain the connection between the polar coordinates and rectangular coordinates of point P:

\[ \begin{cases} x = r \cos \varphi \\ y = r \sin \varphi \end{cases} \ldotp \label{2.18}\]

##### Example \(\PageIndex{1}\): Polar Coordinates

A treasure hunter finds one silver coin at a location 20.0 m away from a dry well in the direction 20° north of east and finds one gold coin at a location 10.0 m away from the well in the direction 20° 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 m (for the silver coin) and r_{G}= 10.0 m (for the gold coin). To find the angular coordinates, we convert 20° to radians: 20° = \(\frac{\pi\; 20}{180}\) = \(\frac{\pi}{9}\). We use Equation \ref{2.18} to find the x- and y-coordinates of the coins.**Solution**-
The angular coordinate of the silver coin is \(\varphi_{S}\) = \(\frac{\pi}{9}\), whereas the angular coordinate of the gold coin is \(\varphi_{G}\) = \(\pi\) − \(\frac{\pi}{9}\) = \(\frac{8 \pi}{9}\). Hence, the polar coordinates of the silver coin are (r

_{S}, \(\varphi_{S}\)) = (20.0 m, \(\frac{\pi}{9}\)) and those of the gold coin are (r_{G}, \(\varphi_{G}\)) = (10.0 m, \frac{8 \pi}{9}\)). We substitute these coordinates into Equation \ref{2.18} to obtain rectangular coordinates. For the gold coin, the coordinates are\[ \begin{cases} x_{G} = r_{G} \cos \varphi_{G} = (10.0\; m) \cos \frac{8 \pi}{9} = -9.4\; m \\ y_{G} = r_{G} \sin \varphi_{G} = (10.0\; m) \sin \frac{8 \pi}{9} = 3.4\; m \end{cases} \Rightarrow (x_{G}, y_{G}) = (-9.4\; m, 3.4\; m) \ldotp\]

For the silver coin, the coordinates are

\[ \begin{cases} x_{S} = r_{S} \cos \varphi_{S} = (20.0\; m) \cos \frac{\pi}{9} = 18.9\; m \\ y_{S} = r_{S} \sin \varphi_{S} = (20.0\; m) \sin \frac{\pi}{9} = 6.8\; m \end{cases} \Rightarrow (x_{S}, y_{S}) = (18.9\; m, 6.8\; m) \ldotp\]

## 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 positions 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 \(\hat{i}\) and the unit vector of the y-axis \(\hat{j}\). The third unit vector \(\hat{k}\) is the direction of the z-axis (Figure \(\PageIndex{2}\)). 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 \(\hat{i}\) - \(\hat{j}\) - \(\hat{k}\), defines the standard right-handed coordinate system (positive orientation).

In three-dimensional space, vector \(\vec{A}\) has three vector components: the x-component \(\vec{A}_{x}\) = A_{x} \(\hat{i}\), which is the part of vector \(\vec{A}\) along the x-axis; the y-component \(\vec{A}_{y}\) = A_{y} \(\hat{j}\), which is the part of \(\vec{A}\) along the y-axis; and the z-component \(\vec{A}_{z}\) = A_{z} \(\hat{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 \(\PageIndex{3}\)):

\[\vec{A} = A_{x} \hat{i} + A_{y} \hat{j} + A_{z} \hat{k} \ldotp \label{2.19}\]

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

\[ \begin{cases} A_{x} = x_{e} - x_{b} \nonumber \\ A_{y} = y_{e} - y_{b} \ldotp \nonumber \end{cases} \]

and the z-component is given by

\[A_{z} = z_{e} - z_{b} \ldotp \label{2.20}\]

Magnitude A is obtained by generalizing Equation \ref{2.15} to three dimensions:

\[A = \sqrt{A_{x}^{2} + A_{y}^{2} + A_{z}^{2}} \ldotp \label{2.21}\]

This expression for the vector magnitude comes from applying the Pythagorean theorem twice. As seen in Figure \(\PageIndex{3}\), 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 \(\PageIndex{2}\): Takeoff of a Drone

During a takeoff of IAI Heron (Figure \(\PageIndex{4}\)), 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 \(\hat{i}\) to the east, the direction of the +y-axis is given by unit vector \(\hat{j}\) to the north, and the direction of the +z-axis is given by unit vector \(\hat{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.

**Solution**-
We identify b(300.0 m, 200.0 m, 100.0 m) and e(480.0 m, 370.0 m, 250.0m), and use Equation 2.4.4 \ref{2.13} and Equation \ref{2.20} to find the scalar components of the drone’s displacement vector:

\[ \begin{cases} D_{x} = x_{e} - x_{b} = 1200.0\; m - 300.0\; m = 900.0\; m,\\ D_{y} =y_{e} - y_{b} = 2100.0\; m - 200.0\; m = 1900.0\; m, \\ D_{z} =z_{e} - z_{b} = 250.0\; m - 100.0\; m = 150\; m \ldotp \end{cases}\]

We substitute these components into Equation \ref{2.19} to find the displacement vector:

\[\vec{D} = D_{x}\; \hat{i} + D_{y}\; \hat{j} + D_{z}\; \hat{k} = 900.0\; \hat{i} + 1900.0\; \hat{j} + 150.0\; \hat{k} = (0.90\; \hat{i} + 1.90\; \hat{j} + 0.15\; \hat{k})\; km \ldotp\]

We substitute into Equation \ref{2.21} to find the magnitude of the displacement:

\[D = \sqrt{D_{x}^{2} + D_{y}^{2} + D_{z}^{2}} = \sqrt{(0.90\; km)^{2} + (1.90\; km)^{2} + (0.15\; km)^{2}} = 4.44\; km \ldotp\]