## Vector Addition and Subtraction: Analytical Methods

### Learning Objectives

By the end of this section, you will be able to:

• Understand the rules of vector addition and subtraction using analytical methods.
• Apply analytical methods to determine vertical and horizontal component vectors.
• Apply analytical methods to determine the magnitude and direction of a resultant vector.

Analytical methods of vector addition and subtraction employ geometry and simple trigonometry rather than the ruler and protractor of graphical methods. Part of the graphical technique is retained, because vectors are still represented by arrows for easy visualization. However, analytical methods are more concise, accurate, and precise than graphical methods, which are limited by the accuracy with which a drawing can be made. Analytical methods are limited only by the accuracy and precision with which physical quantities are known.

## Resolving a Vector into Perpendicular Components

Analytical techniques and right triangles go hand-in-hand in physics because (among other things) motions along perpendicular directions are independent. We very often need to separate a vector into perpendicular components. For example, given a vector like A in Figure 1, we may wish to find which two perpendicular vectors, Ax and Ay, add to produce it.

Figure 1. The vector A, with its tail at the origin of an x, y-coordinate system, is shown together with its x- and y-components, Ax and Ay. These vectors form a right triangle. The analytical relationships among these vectors are summarized below.

Ax and Ay are defined to be the components of A along the x– and y-axes. The three vectors A, Ax, and Ay form a right triangle:

Ax + A= A

Note that this relationship between vector components and the resultant vector holds only for vector quantities (which include both magnitude and direction). The relationship does not apply for the magnitudes alone. For example, if A= 3 m east, A= 4 m north, and A = 5 m north-east, then it is true that the vectors Ax + Ay = A. However, it is not true that the sum of the magnitudes of the vectors is also equal. That is,

$3\text{ m} + 4\text{ m}\ne 5\text{ m}\\$

Thus,  Ax + AyA If the vector A is known, then its magnitude A (its length) and its angle θ (its direction) are known. To find Ax and Ay, its x– and y-components, we use the following relationships for a right triangle.

$A_{x} = A \cos \theta\\$

and

$A_{y} = A \sin \theta\\$

Figure 2. The magnitudes of the vector components Ax and Ay can be related to the resultant vector A and the angle θ with trigonometric identities. Here we see that $A_{x} = A \cos \theta\\$ and $A_{y} = A \sin \theta\\$.

Suppose, for example, that A is the vector representing the total displacement of the person walking in a city considered in Kinematics in Two Dimensions: An Introduction and Vector Addition and Subtraction: Graphical Methods.

Figure 3. We can use the relationships $A_{x} = A \cos \theta\\$ and $A_{y} = A \sin \theta\\$ to determine the magnitude of the horizontal and vertical component vectors in this example.

Then = 10.3 blocks and θ = 29.1º , so that

$A_{x} = A \cos \theta = (10.3 \text { blocks})(\cos 29.1^{\circ}) = 9.0 \text{ blocks}\\$

$A_{x} = A \sin \theta = (10.3 \text { blocks})(\sin 29.1^{\circ}) = 5.0 \text{ blocks}\\$

## Calculating a Resultant Vector

If the perpendicular components Ax and Ay of a vector A are known, then A can also be found analytically. To find the magnitude A and direction θ of a vector from its perpendicular components Ax and Ay, we use the following relationships:

$A = \sqrt{{A}_{x^2} + {A_{y^2}}}\\$

θ = tan − 1 (Ay /Ax) .

Figure 4. The magnitude and direction of the resultant vector can be determined once the horizontal and vertical components Ax  and Ay have been determined.

Note that the equation $A=\sqrt{{{A}_{x}}^{2}+{{A}_{y}}^{2}}\\$ is just the Pythagorean theorem relating the legs of a right triangle to the length of the hypotenuse. For example, if Ax and Ay are 9 and 5 blocks, respectively, then $A=\sqrt{{9}^{2}{\text{+5}}^{2}}\text{=10}\text{.}3\\$ blocks, again consistent with the example of the person walking in a city. Finally, the direction is θ = tan –1 ( 5/9 ) =29.1º, as before.

### Determining Vectors and Vector Components with Analytical Methods

Equations $A_{x} = A \cos\theta\\$  and $A_{y} = A \sin\theta\\$  are used to find the perpendicular components of a vector—that is, to go from A and θ to Ax and Ay. Equations $A=\sqrt{{{A}_{x}}^{2}+{{A}_{y}}^{2}}\\$ and θ = tan–1 (Ay/Ax) are used to find a vector from its perpendicular components—that is, to go from Ax and Ay to A and θ . Both processes are crucial to analytical methods of vector addition and subtraction.

## Adding Vectors Using Analytical Methods

To see how to add vectors using perpendicular components, consider Figure 5, in which the vectors A and B are added to produce the resultant R.

Figure 5. Vectors A and B are two legs of a walk, and R is the resultant or total displacement. You can use analytical methods to determine the magnitude and direction of R.

If A and B represent two legs of a walk (two displacements), then R is the total displacement. The person taking the walk ends up at the tip of R. There are many ways to arrive at the same point. In particular, the person could have walked first in the x-direction and then in the y-direction. Those paths are the x– and y-components of the resultant, Rx and Ry. If we know Rx and Ry, we can find R and θ using the equations $A=\sqrt{{{A}_{x}}^{2}+{{A}_{y}}^{2}}\\$ and θ =tan–1 (Ay /Ax ). When you use the analytical method of vector addition, you can determine the components or the magnitude and direction of a vector.

Step 1. Identify the x- and y-axes that will be used in the problem. Then, find the components of each vector to be added along the chosen perpendicular axes. Use the equations Ax = A cos θ and Ay = A sin θ to find the components. In Figure 6, these components are Ax, Ay, Bx, and By. The angles that vectors A and B make with the x-axis are θA and θB, respectively.

Figure 6. To add vectors A and B, first determine the horizontal and vertical components of each vector. These are the dotted vectors Ax, Ay, Bx and By shown in the image.

Step 2. Find the components of the resultant along each axis by adding the components of the individual vectors along that axis. That is, as shown in Figure 7,

Rx = Ax + Bx

and

Ry = Ay + By .

Figure 7. The magnitude of the vectors Ax and Bx add to give the magnitude Rx of the resultant vector in the horizontal direction. Similarly, the magnitudes of the vectors Ax and By add to give the magnitude Ry of the resultant vector in the vertical direction.

Components along the same axis, say the x-axis, are vectors along the same line and, thus, can be added to one another like ordinary numbers. The same is true for components along the y-axis. (For example, a 9-block eastward walk could be taken in two legs, the first 3 blocks east and the second 6 blocks east, for a total of 9, because they are along the same direction.) So resolving vectors into components along common axes makes it easier to add them. Now that the components of R are known, its magnitude and direction can be found.

Step 3. To get the magnitude R of the resultant, use the Pythagorean theorem:

$R=\sqrt{{{R}_{x}}^{2}+{{R}_{y}}^{2}}\\$

Step 4. To get the direction of the resultant:

θ = tan−1 (Ry/Rx).

The following example illustrates this technique for adding vectors using perpendicular components.

### Example 1. Adding Vectors Using Analytical Methods

Add the vector A to the vector B shown in Figure 8, using perpendicular components along the x– and y-axes. The x– and y-axes are along the east–west and north–south directions, respectively. Vector A represents the first leg of a walk in which a person walks 53.0 m in a direction 20.0º north of east. Vector B represents the second leg, a displacement of 34.0 m in a direction 63.0º north of east.

Figure 8.

Vector A has magnitude 53.0 m and direction 20.0º north of the x-axis. Vector B has magnitude 34.0 m and direction 63.0º north of the x-axis. You can use analytical methods to determine the magnitude and direction of R.

#### Strategy

The components of A and B along the x– and y-axes represent walking due east and due north to get to the same ending point. Once found, they are combined to produce the resultant.

#### Solution

Following the method outlined above, we first find the components of A and B along the x– and y-axes. Note that A=53.0 m, θA=20.0º, B=34.0 m, and θB=63.0º. We find the x-components by using $A_{x} = A \cos \theta\\$, which gives

$\begin{array}{c}A_{x} = A \cos \theta_{A} = (53.0 m)(\cos 20.0^{\circ}) \\=(53.0 m)(0.940) = 49.8\text{ m}\end{array}$

and

$\begin{array}{c}B_{x} = B \cos \theta_{B} = (34.0 m)(\cos 63.0^{\circ}) \\=(34.0 m)(0.454) = 15.4\text{ m}\end{array}$

Similarly, the y-components are found using $A_{y} = A \sin{\theta_{A}}\\$:

$\begin{array}{c}A_{y} = A \sin \theta_{A} = (53.0 m)(\cos 20.0^{\circ}) \\=(53.0 m)(0.342) = 18.1\text{ m}\end{array}$

and

$\begin{array}{c}B_{y} = B \sin \theta_{B} = (34.0 m)(\cos 63.0^{\circ}) \\=(34.0 m)(0.891) = 30.3\text{ m}\end{array}$

The x– and y-components of the resultant are thus

Rx = Ax + Bx = 49.8 m + 15.4 m = 65.2 m

and

RAB= 18.1 m + 30.3 m = 48.4 m.

Now we can find the magnitude of the resultant by using the Pythagorean theorem:

$R=\sqrt{{{R}_{x}}^{2}+{{R}_{y}}^{2}}=\sqrt{\left(65.2\right)^{2}+\left(48.4\right)^{2}\text{ m}}\\$

so that

R = 81.2 m.

Finally, we find the direction of the resultant:

θ = tan−1(Ry/Rx) = +tan−1 (48.4/65.2).

Thus,

θ = tan−1 (0.742) = 36.6º.

Figure 9. Using analytical methods, we see that the magnitude of R is 81.2 m and its direction is 36.6º north of east.

#### Discussion

This example illustrates the addition of vectors using perpendicular components. Vector subtraction using perpendicular components is very similar—it is just the addition of a negative vector. Subtraction of vectors is accomplished by the addition of a negative vector. That is, − ≡ + (–B). Thus, the method for the subtraction of vectors using perpendicular components is identical to that for addition. The components of –B are the negatives of the components of B. The x– and y-components of the resultant AB = A are thus

$R_{x} = A_{x} + (-B_{x})\\$

and

$R_{y} = A_{y} + (-B_{y})\\$

and the rest of the method outlined above is identical to that for addition. (See Figure 10.)

Analyzing vectors using perpendicular components is very useful in many areas of physics, because perpendicular quantities are often independent of one another. The next module, Projectile Motion, is one of many in which using perpendicular components helps make the picture clear and simplifies the physics.

Figure 10. The subtraction of the two vectors shown in Figure 5. The components of –B are the negatives of the components of B. The method of subtraction is the same as that for addition.

## PhET Explorations: Vector Addition

Learn how to add vectors. Drag vectors onto a graph, change their length and angle, and sum them together. The magnitude, angle, and components of each vector can be displayed in several formats.

Click to download the simulation. Run using Java.

## Section Summary

• The analytical method of vector addition and subtraction involves using the Pythagorean theorem and trigonometric identities to determine the magnitude and direction of a resultant vector.
• The steps to add vectors A and B using the analytical method are as follows:

Step 1: Determine the coordinate system for the vectors. Then, determine the horizontal and vertical components of each vector using the equations

$\begin{array}{lll}{A}_{x}& =& A\text{cos}\theta \\ {B}_{x}& =& B\text{cos}\theta \end{array}\\$

and

$\begin{array}{lll}{A}_{y}& =& A\text{sin}\theta \\ {B}_{y}& =& B\text{sin}\theta \text{.}\end{array}\\$

Step 2: Add the horizontal and vertical components of each vector to determine the components Rand Ry of the resultant vector, R:

${R}_{x}={A}_{x}+{B}_{x}\\$

and

${R}_{y}={A}_{y}+{B}_{y}\\$

Step 3: Use the Pythagorean theorem to determine the magnitude, R, of the resultant vector R:

$R=\sqrt{{{R}_{x}}^{2}+{{R}_{y}}^{2}}\\$

Step 4: Use a trigonometric identity to determine the direction, $\theta\\$, of R:

$\theta ={\text{tan}}^{-1}\left({R}_{y}/{R}_{x}\right)$.

### Conceptual Questions

1. Suppose you add two vectors A and B. What relative direction between them produces the resultant with the greatest magnitude? What is the maximum magnitude? What relative direction between them produces the resultant with the smallest magnitude? What is the minimum magnitude?

2. Give an example of a nonzero vector that has a component of zero.

3. Explain why a vector cannot have a component greater than its own magnitude.

4. If the vectors A and B are perpendicular, what is the component of A along the direction of B? What is the component of along the direction of A?

### Problems & Exercises

1. Find the following for path C in Figure 12: (a) the total distance traveled and (b) the magnitude and direction of the displacement from start to finish. In this part of the problem, explicitly show how you follow the steps of the analytical method of vector addition.

2. Find the following for path D in Figure 12: (a) the total distance traveled and (b) the magnitude and direction of the displacement from start to finish. In this part of the problem, explicitly show how you follow the steps of the analytical method of vector addition.

3. Find the north and east components of the displacement from San Francisco to Sacramento shown in Figure 13.

Figure 13.

4. Solve the following problem using analytical techniques: Suppose you walk 18.0 m straight west and then 25.0 m straight north. How far are you from your starting point, and what is the compass direction of a line connecting your starting point to your final position? (If you represent the two legs of the walk as vector displacements A and B, as in Figure 14, then this problem asks you to find their sum R = A + B.)

Note that you can also solve this graphically. Discuss why the analytical technique for solving this problem is potentially more accurate than the graphical technique.

5. Repeat Exercise 4 using analytical techniques, but reverse the order of the two legs of the walk and show that you get the same final result. (This problem shows that adding them in reverse order gives the same result—that is, B + A = A + B.) Discuss how taking another path to reach the same point might help to overcome an obstacle blocking you other path.

6. You drive $7\text{.}\text{50 km}$ in a straight line in a direction 15º east of north. (a) Find the distances you would have to drive straight east and then straight north to arrive at the same point. (This determination is equivalent to find the components of the displacement along the east and north directions.) (b) Show that you still arrive at the same point if the east and north legs are reversed in order.

7. Do Exercise 4 again using analytical techniques and change the second leg of the walk to 25.0 m straight south. (This is equivalent to subtracting B from A—that is, finding R = A – B) (b) Repeat again, but now you first walk 25.0 m north and then 18.0 m east. (This is equivalent to subtracting A from B—that is, to find30.8 m, 35.8 west of north. Is that consistent with your result?)

8. A new landowner has a triangular piece of flat land she wishes to fence. Starting at the west corner, she measures the first side to be 80.0 m long and the next to be 105 m. These sides are represented as displacement vectors A from B in Figure 15. She then correctly calculates the length and orientation of the third side C. What is her result?

9. You fly 32.0 km in a straight line in still air in the direction 35º south of west. (a) Find the distances you would have to fly straight south and then straight west to arrive at the same point. (This determination is equivalent to finding the components of the displacement along the south and west directions.) (b) Find the distances you would have to fly first in a direction 45.0º south of west and then in a direction 45.0º west of north. These are the components of the displacement along a different set of axes—one rotated 45º.

10. A farmer wants to fence off his four-sided plot of flat land. He measures the first three sides, shown as A, B, and C in Figure 16, and then correctly calculates the length and orientation of the fourth side D. What is his result?

11. In an attempt to escape his island, Gilligan builds a raft and sets to sea. The wind shifts a great deal during the day, and he is blown along the following straight lines: 2.50 km 45.0º north of west; then 4.70 km 60.0º south of east; then 1.30 km 25º south of west; then 5.10 km straight east; then 1.70 km 5.00º east of north; then 7.20 south of west; and finally 2.80 k, 10.0 ºnorth of east. What is his final position relative to the island?

12. Suppose a pilot flies 40.0 km in a direction 60º north of east and then flies 30.0 km in a direction 15º north of east as shown in Figure 17. Find her total distance R from the starting point and the direction θ of the straight-line path to the final position. Discuss qualitatively how this flight would be altered by a wind from the north and how the effect of the wind would depend on both wind speed and the speed of the plane relative to the air mass.

## Glossary

analytical method:
the method of determining the magnitude and direction of a resultant vector using the Pythagorean theorem and trigonometric identities

### Selected Solutions to Problems & Exercises

1. (a) 1.56 km (b) 120 m east

3. North-component 87.0 km, east-component 87.0 km

5. 30.8 m, 35.8 west of north

7. (a) 30.8 m, 54.2º south of west (b) 30.8 m, 54.2º north of east

9. 18.4 km south, then 26.2 km west (b) 31.5 km at 45.0º south of west, then 5.56 km at 45.0º west of north

11. 7.34 km, 63.5º south of east