Skip to main content
\(\require{cancel}\)
Physics LibreTexts

3.3: Vector Addition and Subtraction: Analytical Methods

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 \(\displaystyle A\) in Figure, we may wish to find which two perpendicular vectors, \(\displaystyle A_x\) and \(\displaystyle A_y\), add to produce it.

 

In the given figure a dotted vector A sub x is drawn from the origin along the x axis. From the head of the vector A sub x another vector A sub y is drawn in the upward direction. Their resultant vector A is drawn from the tail of the vector A sub x to the head of the vector A sub y at an angle theta from the x axis. On the graph a vector A, inclined at an angle theta with x axis is shown. Therefore vector A is the sum of the vectors A sub x and A sub y.

The vector \(\displaystyle A\), with its tail at the origin of an x, y-coordinate system, is shown together with its x- and y-components, \(\displaystyle A_x\) and \(\displaystyle A_y\). These vectors form a right triangle. The analytical relationships among these vectors are summarized below.

\(\displaystyle A_x\) and \(\displaystyle A_y\) are defined to be the components of \(\displaystyle A\) along the x- and y-axes. The three vectors \(\displaystyle A, A_x\), and \(\displaystyle A_y\) form a right triangle:

\(\displaystyle 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 \(\displaystyle A_x=3 m\) east, \(\displaystyle A_y=4 m\) north, and \(\displaystyle A=5 m \)north-east, then it is true that the vectors \(\displaystyle A_x + A_y = A\). However, it is not true that the sum of the magnitudes of the vectors is also equal. That is,

\(\displaystyle 3 m+4 m ≠ 5 m\)

Thus,

\(\displaystyle A_x+A_y≠A\)

If the vector \(\displaystyle A\) is known, then its magnitude \(\displaystyle A\) (its length) and its angle \(\displaystyle θ\) (its direction) are known. To find \(\displaystyle A_x\) and \(\displaystyle A_y\), its x- and y-components, we use the following relationships for a right triangle.

\(\displaystyle A_x=Acosθ\)

and

\(\displaystyle A_y=Asinθ.\)

A dotted vector A sub x whose magnitude is equal to A cosine theta is drawn from the origin along the x axis. From the head of the vector A sub x another vector A sub y whose magnitude is equal to A sine theta is drawn in the upward direction. Their resultant vector A is drawn from the tail of the vector A sub x to the head of the vector A-y at an angle theta from the x axis. Therefore vector A is the sum of the vectors A sub x and A sub y.

The magnitudes of the vector components \(\displaystyle A_x\) and \(\displaystyle A_y\) can be related to the resultant vector \(\displaystyle A\) and the angle \(\displaystyle θ\) with trigonometric identities. Here we see that \(\displaystyle A_x=Acosθ\) and \(\displaystyle A_y=Asinθ.\)

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.

In the given figure a vector A of magnitude ten point three blocks is inclined at an angle twenty nine point one degrees to the positive x axis. The horizontal component A sub x of vector A is equal to A cosine theta which is equal to ten point three blocks multiplied to cosine twenty nine point one degrees which is equal to nine blocks east. Also the vertical component A sub y of vector A is equal to A sin theta is equal to ten point three blocks multiplied to sine twenty nine point one degrees,  which is equal to five point zero blocks north.

We can use the relationships \(\displaystyle A_x=Acosθ\) and \(\displaystyle A_y=Asinθ\) to determine the magnitude of the horizontal and vertical component vectors in this example.

Then \(\displaystyle A=10.3\) blocks and \(\displaystyle θ=29.1º\) , so that

\(\displaystyle A_x=A\cos θ=(10.3 blocks)(\cos 29.1º)=9.0\) blocks

\(\displaystyle A_y=A\sin θ=(10.3 blocks)(\sin 29.1º)=5.0\) blocks.

Calculating a Resultant Vector

If the perpendicular components \(\displaystyle A_x\) and \(\displaystyle A_y\) of a vector \(\displaystyle A\) are known, then A can also be found analytically. To find the magnitude \(\displaystyle A\) and direction \(\displaystyle θ\) of a vector from its perpendicular components \(\displaystyle A_x\) and \(\displaystyle A_y\), we use the following relationships:

\(\displaystyle A=\sqrt{A_{x^2}+A_{y^2}}\)

\(\displaystyle θ=tan^{−1}(A_y/A_x)\).

Vector A is shown with its horizontal and vertical components A sub x and A sub y respectively. The magnitude of vector A is equal to the square root of A sub x squared plus A sub y squared. The angle theta of the vector A with the x axis is equal to inverse tangent of A sub y over A sub x

The magnitude and direction of the resultant vector can be determined once the horizontal and vertical components \(\displaystyle A_x\) and \(\displaystyle A_y\) have been determined.

Note that the equation \(\displaystyle A=\sqrt{A^2_x+A^2_y}\) is just the Pythagorean theorem relating the legs of a right triangle to the length of the hypotenuse. For example, if \(\displaystyle A_x\) and \(\displaystyle A_y\) are 9 and 5 blocks, respectively, then \(\displaystyle A=\sqrt{9^2+5^2}=10.3\) blocks, again consistent with the example of the person walking in a city. Finally, the direction is \(\displaystyle θ=tan^{–1}(5/9)=29.1º\) , as before.

DETERMINING VECTORS AND VECTOR COMPONENTS WITH ANALYTICAL METHODS

Equations \(\displaystyle A_x=Acosθ\) and \(\displaystyle A_y=Asinθ\) are used to find the perpendicular components of a vector—that is, to go from \(\displaystyle A\) and \(\displaystyle θ\) to \(\displaystyle A_x\) and \(\displaystyle A_y\). Equations \(\displaystyle A=\sqrt{A^2_x+A^2_y}\) and \(\displaystyle θ=tan^{–1}(A_y/A_x)\) are used to find a vector from its perpendicular components—that is, to go from \(\displaystyle A_x\) and \(\displaystyle A_y\) to \(\displaystyle A\) and \(\displaystyle θ\). 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, in which the vectors \(\displaystyle A\) and \(\displaystyle B\) are added to produce the resultant \(\displaystyle R\).

Two vectors A and B are shown. The tail of vector B is at the head of vector A and the tail of the vector A is at origin. Both the vectors are in the first quadrant. The resultant R of these two vectors extending from the tail of vector A to the head of vector B is also shown.

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

If \(\displaystyle A\) and \(\displaystyle B\) represent two legs of a walk (two displacements), then \(\displaystyle 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, \(\displaystyle R_x\) and \(\displaystyle R_y\). If we know \(\displaystyle R_x\) and \(\displaystyle R_y\), we can find \(\displaystyle R\) and \(\displaystyle θ\) using the equations \(\displaystyle A=\sqrt{A_x^2+A_y^2}\) and \(\displaystyle θ=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 \(\displaystyle A_x=Acosθ\) and \(\displaystyle A_y=Asinθ\) to find the components. In Figure, these components are \(\displaystyle A_x, A_y, B_x\), and \(\displaystyle B_y\). The angles that vectors \(\displaystyle A\) and \(\displaystyle B\) make with the x-axis are \(\displaystyle θ_A\) and \(\displaystyle θ_B\), respectively.

Two vectors A and B are shown. The tail of the vector B is at the head of vector A and the tail of the vector A is at origin. Both the vectors are in the first quadrant. The resultant R of these two vectors extending from the tail of vector A to the head of vector B is also shown. The horizontal and vertical components of the vectors A and B are shown with the help of dotted lines. The vectors labeled as A sub x and A sub y are the components of vector A, and B sub x and B sub y as the components of vector B..

To add vectors \(\displaystyle A\) and \(\displaystyle B\), first determine the horizontal and vertical components of each vector. These are the dotted vectors \(\displaystyle A_x, A_y, B_x\) and \(\displaystyle B-y\) 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,

\(\displaystyle R_x=A_x+B_x\)

and

\(\displaystyle R_y=A_y+B_y.\)

Two vectors A and B are shown. The tail of vector B is at the head of vector A and the tail of the vector A is at origin. Both the vectors are in the first quadrant. The resultant R of these two vectors extending from the tail of vector A to the head of vector B is also shown. The vectors A and B are resolved into the horizontal and vertical components shown as dotted lines parallel to x axis and y axis respectively. The horizontal components of vector A and vector B are labeled as A sub x and B sub x and the horizontal component of the resultant R is labeled at R sub x and is equal to A sub x plus B sub x. The vertical components of vector A and vector B are labeled as A sub y and B sub y and the vertical components of the resultant R is labeled as R sub y is equal to A sub y plus B sub y.

The magnitude of the vectors \(\displaystyle A_x\) and \(\displaystyle B_x\) add to give the magnitude \(\displaystyle R_x\) of the resultant vector in the horizontal direction. Similarly, the magnitudes of the vectors \(\displaystyle A_y\) and \(\displaystyle B_y\) add to give the magnitude \(\displaystyle R_y\) 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 \(\displaystyle R\) of the resultant, use the Pythagorean theorem:

\(\displaystyle R=\sqrt{R^2_x+R^2_y}\).

Step 4. To get the direction of the resultant:

\(\displaystyle θ=tan^{−1}(R_y/R_x)\).

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

Example \(\displaystyle \PageIndex{1}\): Adding Vectors Using Analytical Methods

Add the vector \(\displaystyle A\) to the vector \(\displaystyle B\) shown in Figure, 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 \(\displaystyle A\) represents the first leg of a walk in which a person walks \(\displaystyle 53.0 m\) in a direction \(\displaystyle 20.0º\) north of east. Vector \(\displaystyle B\) represents the second leg, a displacement of \(\displaystyle 34.0 m\) in a direction \(\displaystyle 63.0º\) north of east.

Two vectors A and B are shown. The tail of the vector A is at origin. Both the vectors are in the first quadrant. Vector A is of magnitude fifty three units and is inclined at an angle of twenty degrees to the horizontal. From the head of the vector A another vector B of magnitude 34 units is drawn and is inclined at angle sixty three degrees with the horizontal. The resultant of two vectors is drawn from the tail of the vector A to the head of the vector B.
Vector \(\displaystyle A\) has magnitude \(\displaystyle 53.0 m\) and direction \(\displaystyle 20.0º\) north of the x-axis. Vector B has magnitude \(\displaystyle 34.0 m\) and direction \(\displaystyle 63.0º\) north of the x-axis. You can use analytical methods to determine the magnitude and direction of \(\displaystyle R\).

Strategy

The components of \(\displaystyle A\) and \(\displaystyle 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 \(\displaystyle A\) and \(\displaystyle B\) along the x- and y-axes. Note that \(\displaystyle A=53.0 m, θ_A=20.0º, B=34.0 m,\) and \(\displaystyle θ_B=63.0º\). We find the x-components by using \(\displaystyle A_x=Acosθ\), which gives

\(\displaystyle A_x=Acosθ_A=(53.0 m)(cos 20.0º)(53.0 m)(0.940)=49.8 m\)

and

\(\displaystyle B_x=Bcosθ_B=(34.0 m)(cos 63.0º)(34.0 m)(0.454)=15.4 m.\)

Similarly, the y-components are found using \(\displaystyle A_y=Asinθ_A\):

\(\displaystyle A_y=Asinθ_A=(53.0 m)(sin 20.0º)(53.0 m)(0.342)=18.1 m\)

and

\(\displaystyle B_y=Bsinθ_B=(34.0 m)(sin 63.0º)(34.0 m)(0.891)=30.3 m.\)

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

\(\displaystyle R_x=A_x+B_x=49.8 m+15.4 m=65.2 m\)

and

\(\displaystyle 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:

\(\displaystyle R=\sqrt{R^2_x+R^2_y}=\sqrt{(65.2)^2+(48.4)^2m}\)

so that

\(\displaystyle R=81.2 m.\)

Finally, we find the direction of the resultant:

\(\displaystyle θ=tan^{−1}(R_y/R_x)=+tan^{−1}(48.4/65.2).\)

Thus,

\(\displaystyle θ=tan^{−1}(0.742)=36.6º.\)

The addition of two vectors A and B is shown. Vector A is of magnitude fifty three units and is inclined at an angle of twenty degrees to the horizontal. Vector B is of magnitude thirty four units and is inclined at angle sixty three degrees to the horizontal. The components of vector A are shown as dotted vectors A X is equal to forty nine point eight meter along x axis and A Y is equal to eighteen point one meter along Y axis. The components of vector B are also shown as dotted vectors B X is equal to fifteen point four meter and B Y is equal to thirty point three meter. The horizontal component of the resultant R X is equal to A X plus B X is equal to sixty five point two meter. The vertical component of the resultant R Y is equal to A Y plus B Y is equal to forty eight point four meter. The magnitude of the resultant of two vectors is eighty one point two meters. The direction of the resultant R is in thirty six point six degree from the vector A in anticlockwise direction.

Using analytical methods, we see that the magnitude of \(\displaystyle R\) is \(\displaystyle 81.2 m\) and its direction is \(\displaystyle 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, \(\displaystyle A−B≡A+(–B)\). Thus, the method for the subtraction of vectors using perpendicular components is identical to that for addition. The components of \(\displaystyle –B\) are the negatives of the components of \(\displaystyle B\). The x- and y-components of the resultant \(\displaystyle A−B = R\) are thus

\(\displaystyle R_x=A_x+(–B_x)\)

and

\(\displaystyle R_y=A_y+(–B_y)\)

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

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.

 

In this figure, the subtraction of two vectors A and B is shown. A red colored vector A is inclined at an angle theta A to the positive of x axis. From the head of vector A a blue vector negative B is drawn. Vector B is in west of south direction. The resultant of the vector A and vector negative B is shown as a black vector R from the tail of vector A to the head of vector negative B. The resultant R is inclined to x axis at an angle theta below the x axis. The components of the vectors are also shown along the coordinate axes as dotted lines of their respective colors.

The subtraction of the two vectors shown in Figure. The components of \(\displaystyle –B\) are the negatives of the components of \(\displaystyle 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.

PhET_Icon.png

Vector Addition

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 \(\displaystyle A\) and \(\displaystyle 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

\(\displaystyle A_x=Acosθ\)
\(\displaystyle B_x=Bcosθ\)

and

\(\displaystyle A_y=Asinθ\)
\(\displaystyle B_y=Bsinθ.\)

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

\(\displaystyle R_x=A_x+B_x\)

and

\(\displaystyle R_y=A_y+B_y\).

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

\(\displaystyle R=\sqrt{R^2_x+R^2_y}\).

Step 4: Use a trigonometric identity to determine the direction, \(\displaystyle θ\), of R:

\(\displaystyle θ=tan^{−1}(R_y/R_x)\).

 

Glossary

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

Contributors

  • Paul Peter Urone (Professor Emeritus at California State University, Sacramento) and Roger Hinrichs (State University of New York, College at Oswego) with Contributing Authors: Kim Dirks (University of Auckland) and Manjula Sharma (University of Sydney). This work is licensed by OpenStax University Physics under a Creative Commons Attribution License (by 4.0).