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:
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:
The vectors \(\vec{A}_{x}\) and \(\vec{A}_{y}\) defined by Equation 2.11 are the vector components of vector \(\vec{A}\). The numbers Ax and Ay 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:
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(xe, ye) 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 \(\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 Dx and Dy 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 xb = 6.0, xe = 2.0, yb = 1.6, and ye = 4.5, where the physical unit is 1 cm. The scalar x- and y-components of the displacement vector are
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 Dx = −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 Dy = + 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.
Exercise 2.4
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 Ax and Ay 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, Ax, and Ay 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 \(\PageIndex{3}\):
When the vector lies either in the first quadrant or in the fourth quadrant, where component Ax 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 Ax 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 Dx = −4.0 cm and Dy = + 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\]
If the displacement vector of a blue fly walking on a sheet of graph paper is \(\vec{D} = (−5.00\; \hat{i} − 3.00\; \hat{j})\) 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 \(\PageIndex{3}\). The quotient of the adjacent side Ax to the hypotenuse A is the cosine function of direction angle \(\theta_{A}\), Ax/A = cos \(\theta_{A}\), and the quotient of the opposite side Ay to the hypotenuse A is the sine function of \(\theta_{A}\), Ay/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 L1 = 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
On the second leg of Trooper’s wanderings, the magnitude of the displacement is L2 = 300.0 m and the direction is north. The direction angle is \(\theta_{2}\) = + 90°. We obtain the following results:
On the third leg, the displacement magnitude is L3 = 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:
On the fourth leg of the excursion, the displacement magnitude is L4 = 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