# 19 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, **A**_{x} and **A**_{y}, add to produce it.

**A**_{x} and **A**_{y} are defined to be the components of **A** along the * x*– and

*-axes. The three vectors*

*y***A**,

**A**

_{x}, and

**A**

_{y}form a right triangle:

**A _{x} + A_{y }= 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_{x }= 3 m east, A_{y }= 4 m north, and A = 5 m north-east, then it is true that the vectors A_{x} + A_{y} = A. However, it is * not* true that the sum of the magnitudes of the vectors is also equal. That is,

Thus, *A*_{x} + *A*_{y} ≠ *A* If the vector **A** is known, then its magnitude *A* (its length) and its angle *θ* (its direction) are known. To find *A*_{x} and *A*_{y}, its * x*– and

*-components, we use the following relationships for a right triangle.*

*y*[latex]A_{x} = A \cos \theta\\[/latex]

and

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.

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

[latex]A_{x} = A \cos \theta = (10.3 \text { blocks})(\cos 29.1^{\circ}) = 9.0 \text{ blocks}\\[/latex]

[latex]A_{x} = A \sin \theta = (10.3 \text { blocks})(\sin 29.1^{\circ}) = 5.0 \text{ blocks}\\[/latex]

## Calculating a Resultant Vector

If the perpendicular components **A**_{x} and **A**_{y} 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 **A**_{x} and **A**_{y}, we use the following relationships:

[latex]A = \sqrt{{A}_{x^2} + {A_{y^2}}}\\[/latex]

*θ*= tan

^{ − 1 }(

*A*

_{y}/

*A*

_{x}) .

Note that the equation [latex]A=\sqrt{{{A}_{x}}^{2}+{{A}_{y}}^{2}}\\[/latex] is just the Pythagorean theorem relating the legs of a right triangle to the length of the hypotenuse. For example, if *A*_{x} and *A*_{y} are 9 and 5 blocks, respectively, then [latex]A=\sqrt{{9}^{2}{\text{+5}}^{2}}\text{=10}\text{.}3\\[/latex] 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**

*A*and

*θ*to

*A*

_{x}and

*A*

_{y}. Equations [latex]A=\sqrt{{{A}_{x}}^{2}+{{A}_{y}}^{2}}\\[/latex] and

*θ*= tan

^{–1 }(

*A*

_{y}/

*A*

_{x}) are used to find a vector from its perpendicular components—that is, to go from

*A*

_{x}and

*A*

_{y}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**.

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, **R**_{x} and **R**_{y}. If we know R_{x} and **R**_{y}, we can find *R* and *θ* using the equations [latex]A=\sqrt{{{A}_{x}}^{2}+{{A}_{y}}^{2}}\\[/latex] and *θ* =tan^{–1} (*A*_{y} /*A*_{x} ). 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

*A*

_{x}=

*A*cos

*θ*and

*A*

_{y}

*= A*sin

*θ*to find the components. In Figure 6, these components are

*A*

_{x},

*A*

_{y},

*B*

_{x}, and

*B*

_{y}. The angles that vectors

**A**and

**B**make with the

*-axis are*

*x**θ*

_{A}and

*θ*

_{B}, respectively.

* 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,

*R*

_{x}=

*A*

_{x}+

*B*

_{x}

and

*R*

_{y}=

*A*

_{y}+

*B*

_{y}.

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

*-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*

*y***R**are known, its magnitude and direction can be found.

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

[latex]R=\sqrt{{{R}_{x}}^{2}+{{R}_{y}}^{2}}\\[/latex]

**Step 4.*** To get the direction of the resultant:*

*θ *= tan^{−1 }(*R*_{y}/*R*_{x}).

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

*-axes. The*

*y**– and*

*x**-axes are along the east–west and north–south directions, respectively. Vector*

*y***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.

**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

*-axes represent walking due east and due north to get to the same ending point. Once found, they are combined to produce the resultant.*

*y***Solution**

Following the method outlined above, we first find the components of **A** and **B** along the * x*– and

*-axes. Note that*

*y**A*=53.0 m,

*θ*

_{A}=20.0º,

*B*=34.0 m, and

*θ*

_{B}=63.0º. We find the

*-components by using [latex]A_{x} = A \cos \theta\\[/latex], which gives*

*x*[latex]\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}[/latex]

and

[latex]\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}[/latex]

Similarly, the *y*-components are found using [latex]A_{y} = A \sin{\theta_{A}}\\[/latex]:

[latex]\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}[/latex]

and

[latex]\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}[/latex]

The * x*– and

*-components of the resultant are thus*

*y**R*

_{x}=

*A*

_{x}+

*B*

_{x}= 49.8 m + 15.4 m = 65.2 m

and

*R*

_{y }=

*A*

_{y }+

*B*

_{y }= 18.1 m + 30.3 m = 48.4 m.

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

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

so that

*R*= 81.2 m.

Finally, we find the direction of the resultant:

*θ*= tan

^{−1}(

*R*

_{y}/

*R*

_{x}) = +tan

^{−1 }(48.4/65.2).

Thus,

*θ*= tan

^{−1 }(0.742) = 36.6º.

**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, **A **− **B **≡ **A **+ (**–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

**A**−

**B**=

**A**are thus

[latex]R_{x} = A_{x} + (-B_{x})\\[/latex]

and

[latex]R_{y} = A_{y} + (-B_{y})\\[/latex]

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

## PhET Explorations: Vector Addition

## 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

[latex]\begin{array}{lll}{A}_{x}& =& A\text{cos}\theta \\ {B}_{x}& =& B\text{cos}\theta \end{array}\\[/latex]

and

[latex]\begin{array}{lll}{A}_{y}& =& A\text{sin}\theta \\ {B}_{y}& =& B\text{sin}\theta \text{.}\end{array}\\[/latex]

**Step 2:** Add the horizontal and vertical components of each vector to determine the components R_{x }and R_{y} of the resultant vector, **R**:

[latex]{R}_{x}={A}_{x}+{B}_{x}\\[/latex]

and

[latex]{R}_{y}={A}_{y}+{B}_{y}\\[/latex]

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

[latex]R=\sqrt{{{R}_{x}}^{2}+{{R}_{y}}^{2}}\\[/latex]

**Step 4:** Use a trigonometric identity to determine the direction, [latex]\theta\\[/latex], of **R**:

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

### 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 **B **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.

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**.)

**A**and

**B**add to give a total displacement R having magnitude

**R**and direction

*θ*.

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 [latex]7\text{.}\text{50 km}[/latex] 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