Vector Addition and Subtraction: Analytical Methods
Up for GrabsUpdated 14 min read
Section Learning Objectives
By the end of this section, you will be able to do the following:
- Define components of vectors
- Describe the analytical method of vector addition and subtraction
- Use the analytical method of vector addition and subtraction to solve problems
Components of Vectors
For the analytical method of vector addition and subtraction, we use some simple geometry and trigonometry, instead of using a ruler and protractor as we did for graphical methods. However, the graphical method will still come in handy to visualize the problem by drawing vectors using the head-to-tail method. The analytical method is more accurate than the graphical method, which is limited by the precision of the drawing. For a refresher on the definitions of the sine, cosine, and tangent of an angle, see Figure 5.17.

Figure 5.17. For a right triangle, the sine, cosine, and tangent of θ are defined in terms of the adjacent side, the opposite side, or the hypotenuse. In this figure, x is the adjacent side, y is the opposite side, and h is the hypotenuse.
Since, by definition, \text{cos} θ = x / h, we can find the length x if we know h and θ by using x = h \text{cos} θ . Similarly, we can find the length of y by using y = h \text{sin} θ . These trigonometric relationships are useful for adding vectors.
When a vector acts in more than one dimension, it is useful to break it down into its x and y components. For a two-dimensional vector, a component is a piece of a vector that points in either the x- or y-direction. Every 2-d vector can be expressed as a sum of its x and y components.
For example, given a vector like A in Figure 5.18, we may want to find what two perpendicular vectors, {A}_{x} and {A}_{y}, add to produce it. In this example, {A}_{x} and {A}_{y} form a right triangle, meaning that the angle between them is 90 degrees. This is a common situation in physics and happens to be the least complicated situation trigonometrically.

Figure 5.18. The vector A, with its tail at the origin of an x - y -coordinate system, is shown together with its x - and y -components, {A}_{x} and {A}_{y} . These vectors form a right triangle.
{A}_{x} and {A}_{y} are defined to be the components of A along the x- and y-axes. The three vectors, A, {A}_{x}, and {A}_{y}, form a right triangle.
{A}_{x} + {A}_{y} = AIf 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 y-components, we use the following relationships for a right triangle:
{A}_{x} = A \text{cos} θand
{A}_{y} = A \text{sin} θ,where {A}_{x} is the magnitude of A in the x-direction, {A}_{y} is the magnitude of A in the y-direction, and θ is the angle of the resultant with respect to the x-axis, as shown in Figure 5.19.

Figure 5.19. The magnitudes of the vector components {A}_{x} and {A}_{y} can be related to the resultant vector A and the angle θ with trigonometric identities. Here we see that {A}_{x} = A \text{cos} θ and {A}_{y} = A \text{sin} θ .
Suppose, for example, that A is the vector representing the total displacement of the person walking in a city, as illustrated in Figure 5.20.

Figure 5.20. We can use the relationships {A}_{x} = A \text{cos} θ and {A}_{y} = A \text{sin} θ to determine the magnitude of the horizontal and vertical component vectors in this example.
Then A = 10.3 blocks and θ = {29.1}^{∘}, so that
\begin{matrix}{A}_{x} & = & A \text{cos} θ \\ & = & ( 10.3 \ \text{blocks)(cos29} {\text{.1}}^{∘} ) \\ & = & ( 10.3 \ \text{blocks)(0} \text{.874)} \\ & = & \text{9} \text{.0 blocks.}\end{matrix}5.6
This magnitude indicates that the walker has traveled 9 blocks to the east—in other words, a 9-block eastward displacement. Similarly,
\begin{matrix}{A}_{y} & = & A \text{sin} θ \\ & = & ( 10.3 \ \text{blocks)(sin29} {\text{.1}}^{∘} ) \\ & = & ( 10.3 \ \text{blocks)(0} \text{.846)} \\ & = & \text{5} \text{.0 blocks,}\end{matrix}5.7
indicating that the walker has traveled 5 blocks to the north—a 5-block northward displacement.
Analytical Method of Vector Addition and Subtraction
Calculating a resultant vector (or vector addition) is the reverse of breaking the resultant down into its components. If the perpendicular components {A}_{x} and {A}_{y} of a vector A are known, then we can find A analytically. How do we do this? Since, by definition,
\text{tan} θ = y / x \text{(or in this case tan} θ = {A}_{y} / {A}_{x} \text{),}we solve for θ to find the direction of the resultant.
θ = {tan}^{− 1} ( {A}_{y} / {A}_{x} )Note that {\text{tan}}^{− 1} ( θ ) gives an angle in the first quadrant if{A}_{y} / {A}_{x} \ > \ 0 and in the fourth quadrant if{A}_{y} / {A}_{x} \ < \ 0. If, in fact, both {A}_{x} and {A}_{y} are negative, or if {A}_{x} is negative and {A}_{y} positive, then θ, measured from the positive x direction, is{\text{tan}}^{– 1} ( θ ) + 180 \text{°}.
Since this is a right triangle, the Pythagorean theorem (x2 + y2 = h2) for finding the hypotenuse applies. In this case, it becomes
{A}^{2} = {A}_{x}^{2} + {A}_{y}^{2} \text{.}Solving for A gives
A = \sqrt{{A}_{x} {}^{2} + {A}_{y} {}^{2}} \text{.}In summary, to find the magnitude A and direction θ of a vector from its perpendicular components {A}_{x} and {A}_{y}, as illustrated in Figure 5.21, we use the following relationships:
\begin{matrix}A & = & \sqrt{{A}_{x} {}^{2} + {A}_{y} {}^{2}} \\ & & θ = {tan}^{− 1} ( {A}_{y} / {A}_{x} )\end{matrix}
Figure 5.21. The magnitude and direction of the resultant vector A can be determined once the horizontal components {A}_{x} and {A}_{y} have been determined.
Sometimes, the vectors added are not perfectly perpendicular to one another. An example of this is the case below, where the vectors A and B are added to produce the resultant R \text{,} as illustrated in Figure 5.22.

Figure 5.22. 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. The person could have walked straight ahead 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 R = \sqrt{{R}_{\text{x}} {}^{2} + {R}_{\text{y}} {}^{2}} and θ = t a {n}^{– 1} ( {R}_{y} / {R}_{x} ) .
- Draw in the x and y components of each vector (including the resultant) with a dashed line. Use the equations
{A}_{x} = A \text{cos} θand{A}_{y} = A \text{sin} θto find the components. In Figure 5.23, these components are{A}_{x},{A}_{y},{B}_{x}, and{B}_{y} .Vector A makes an angle of{θ}_{A}with the x-axis, and vector B makes and angle of{θ}_{B}with its own x-axis (which is slightly above the x-axis used by vector A).

Figure 5.23. To add vectors A and B , first determine the horizontal and vertical components of each vector. These are the dotted vectors {A}_{x} , {A}_{y} {B}_{y} shown in the image.
- Find the x component of the resultant by adding the x component of the vectors
{R}_{x} = {A}_{x} + {B}_{x}and find the y component of the resultant (as illustrated in Figure 5.24) by adding the y component of the vectors.
{R}_{y} = {A}_{y} + {B}_{y} \text{.}
Figure 5.24. The vectors {A}_{x} and {B}_{x} add to give the magnitude of the resultant vector in the horizontal direction, {R}_{\text{x}} . Similarly, the vectors {A}_{y} and {B}_{y} add to give the magnitude of the resultant vector in the vertical direction, {R}_{\text{y}} .
Now that we know the components of R , we can find its magnitude and direction.
- To get the magnitude of the resultant R, use the Pythagorean theorem.
R = \sqrt{{R}_{x}^{2} + {R}_{y}^{2}}- To get the direction of the resultant
θ = {tan}^{− 1} ( {R}_{y} / {R}_{x} ) \text{.}Watch Physics
Classifying Vectors and Quantities Example
This video contrasts and compares three vectors in terms of their magnitudes, positions, and directions.
Classifying vectors and quantities example | Vectors | Precalculus | Khan Academy
Three vectors, \overrightarrow{\text{u}}, \overrightarrow{\text{v}}, and \overrightarrow{\text{w}}, have the same magnitude of {}5\,\text{units}. Vector \overrightarrow{\text{v}} points to the northeast. Vector \overrightarrow{\text{w}} points to the southwest exactly opposite to vector \overrightarrow{\text{u}}. Vector \overrightarrow{\text{u}} points in the northwest. If the vectors \overrightarrow{\text{u}}, \overrightarrow{\text{v}}, and \overrightarrow{\text{w}} were added together, what would be the magnitude of the resultant vector? Why?
{}0\,\text{units}. All of them will cancel each other out.
{}5\,\text{units}. Two of them will cancel each other out.
{}10\,\text{units}. Two of them will add together to give the resultant.
15 units. All of them will add together to give the resultant.
Tips For Success
In the video, the vectors were represented with an arrow above them rather than in bold. This is a common notation in math classes.
Using the Analytical Method of Vector Addition and Subtraction to Solve Problems
Figure 5.25 uses the analytical method to add vectors.
Worked Example
An Accelerating Subway Train
Add the vector A to the vector B shown in Figure 5.25, using the steps above. The x-axis is along the east–west direction, and the y-axis is along the north–south directions. A person first walks \text{53} \text{.0 m} in a direction \text{20} \text{.0°} north of east, represented by vector A . The person then walks \text{34} \text{.0 m} in a direction \text{63} \text{.0} ° north of east, represented by vector B .

Figure 5.25. You can use analytical models to add vectors.
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. We will solve for these components and then add them in the x-direction and y-direction to find the resultant.
Solution
First, we find the components of A and B along the x- and y-axes. From the problem, we know that A = 53.0 \ \text{m,} {θ}_{\text{A}} = {20.0}^{∘,} B = \text{34} \text{.0 m}, and {θ}_{\text{B}} = {63.0}^{∘} . We find the x-components by using {A}_{x} = A cos θ, which gives
\begin{matrix}{A}_{x} & = & A cos {θ}_{A} = ( 53.0 \ \text{m} ) ( cos {20.0}^{∘} ) \\ & = & ( 53.0 \ \text{m} ) ( 0.940 ) = 49.8 \ \text{m}\end{matrix}and
\begin{matrix}{B}_{x} & = & B cos {θ}_{B} = ( 34.0 \ \text{m} ) ( cos {63.0}^{∘} ) \\ & = & ( 34.0 \ \text{m} ) ( 0.454 ) = 15.4 \ \text{m.}\end{matrix}Similarly, the y-components are found using {A}_{y} = A sin {θ}_{A}
\begin{matrix}{A}_{y} & = & A sin {θ}_{A} = ( 53.0 \ \text{m} ) ( sin {20.0}^{∘} ) \\ & = & ( 53.0 \ \text{m} ) ( 0.342 ) = 18.1 \ \text{m}\end{matrix}and
\begin{matrix}{B}_{y} & = & B sin {θ}_{B} = ( 34.0 \ \text{m} ) ( sin {63.0}^{∘} ) \\ & = & ( 34.0 \ \text{m} ) ( 0.891 ) = 30.3 \ \text{m} \text{.}\end{matrix}The x- and y-components of the resultant are
{R}_{x} = {A}_{x} + {B}_{x} = 49.8 \ \text{m} + 15.4 \ \text{m} = 65.2 \ \text{m}and
{R}_{y} = {A}_{y} + {B}_{y} = 18.1 \ \text{m} + 30.3 \ \text{m} = 48.4 \ \text{m} .Now we can find the magnitude of the resultant by using the Pythagorean theorem
R = \sqrt{{R}_{x}^{2} + {R}_{y}^{2}} = \sqrt{{( 65.2 )}^{2} + {( 48.4 )}^{2}} \text{m}5.8
so that
R = \sqrt{6601 \ \text{m}} = 81.2 \ \text{m} \text{.}Finally, we find the direction of the resultant
θ = {tan}^{− 1} ( {R}_{y} / {R}_{x} ) = + {tan}^{− 1} ( 48.4 / 65.2 ) .This is
θ = {tan}^{− 1} ( 0.742 ) = {36.6}^{∘} .Discussion
This example shows vector addition using the analytical method. Vector subtraction using the analytical method is very similar. It is just the addition of a negative vector. That is, \text{A} − \text{B} ≡ \text{A} + ( − \text{B} ) . The components of – \text{B} are the negatives of the components of \text{B} . Therefore, the x- and y-components of the resultant \text{A} − \text{B} = \text{R} are
{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.
Practice Problems
5.
What is the magnitude of a vector whose x-component is 4 cm and whose y-component is 3 cm?
1 cm
- 5 cm
- 7 cm
- 25 cm
6.
What is the magnitude of a vector that makes an angle of 30° to the horizontal and whose x-component is 3 units?
2.61 units
- 3.00 units
- 3.46 units
- 6.00 units
Links To Physics
Atmospheric Science

Figure 5.26. This picture shows Bert Foord during a television Weather Forecast from the Meteorological Office in 1963. (BBC TV)
Atmospheric science is a physical science, meaning that it is a science based heavily on physics. Atmospheric science includes meteorology (the study of weather) and climatology (the study of climate). Climate is basically the average weather over a longer time scale. Weather changes quickly over time, whereas the climate changes more gradually.
The movement of air, water and heat is vitally important to climatology and meteorology. Since motion is such a major factor in weather and climate, this field uses vectors for much of its math.
Vectors are used to represent currents in the ocean, wind velocity and forces acting on a parcel of air. You have probably seen a weather map using vectors to show the strength (magnitude) and direction of the wind.
Vectors used in atmospheric science are often three-dimensional. We won’t cover three-dimensional motion in this text, but to go from two-dimensions to three-dimensions, you simply add a third vector component. Three-dimensional motion is represented as a combination of x-, y- and z components, where z is the altitude.
Vector calculus combines vector math with calculus, and is often used to find the rates of change in temperature, pressure or wind speed over time or distance. This is useful information, since atmospheric motion is driven by changes in pressure or temperature. The greater the variation in pressure over a given distance, the stronger the wind to try to correct that imbalance. Cold air tends to be more dense and therefore has higher pressure than warm air. Higher pressure air rushes into a region of lower pressure and gets deflected by the spinning of the Earth, and friction slows the wind at Earth’s surface.
Finding how wind changes over distance and multiplying vectors lets meteorologists, like the one shown in Figure 5.26, figure out how much rotation (spin) there is in the atmosphere at any given time and location. This is an important tool for tornado prediction. Conditions with greater rotation are more likely to produce tornadoes.
Why are vectors used so frequently in atmospheric science?
Vectors have magnitude as well as direction and can be quickly solved through scalar algebraic operations.
Vectors have magnitude but no direction, so it becomes easy to express physical quantities involved in the atmospheric science.
Vectors can be solved very accurately through geometry, which helps to make better predictions in atmospheric science.
Vectors have magnitude as well as direction and are used in equations that describe the three dimensional motion of the atmosphere.
Check Your Understanding
7.
Between the analytical and graphical methods of vector additions, which is more accurate? Why?
The analytical method is less accurate than the graphical method, because the former involves geometry and trigonometry.
- The analytical method is more accurate than the graphical method, because the latter involves some extensive calculations.
- The analytical method is less accurate than the graphical method, because the former includes drawing all figures to the right scale.
- The analytical method is more accurate than the graphical method, because the latter is limited by the precision of the drawing.
8.
What is a component of a two dimensional vector?
A component is a piece of a vector that points in either the x or y direction.
- A component is a piece of a vector that has half of the magnitude of the original vector.
- A component is a piece of a vector that points in the direction opposite to the original vector.
- A component is a piece of a vector that points in the same direction as original vector but with double of its magnitude.
9
.
How can we determine the global angle \theta (measured counter-clockwise from positive x) if we know A_x and A_y?
\theta = \cos^{-1}\frac{A_y}{A_x}
\theta = \cot^{-1}\frac{A_y}{A_x}
\theta = \sin^{-1}\frac{A_y}{A_x}
\theta = \tan^{-1}\frac{A_y}{A_x}
10.
How can we determine the magnitude of a vector if we know the magnitudes of its components?
| \overset{→}{\text{A}} | = {A}_{x} + {A}_{y}| \overset{→}{\text{A}} | = {{A}_{x}}^{2} + {{A}_{y}}^{2}| \overset{→}{\text{A}} | = \sqrt{{{A}_{x}}^{2}+{{A}_{y}}^{2}}| \overset{→}{\text{A}} | = ( {{A}_{x}}^{2} + {{A}_{y}}^{2} {)}^{2}
Where this page came from
This page was imported from OpenStax, Physics. Section 5.2 of Physics by Paul Peter Urone, Roger Hinrichs, published by OpenStax (Rice University) under CC BY 4.0; the book is free at openstax.org. Changed here: set as a page on its own.
Nobody has written it yet — it is the source material at a new address, which is why search engines are asked to skip it and why no one earns from it. It is up for grabs: take it on, and it is yours to rewrite and to earn from.