Skip to main content
K12 LibreTexts

7.2: Operations with Vectors

  • Page ID
    974
  • \( \newcommand{\vecs}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \)

    \( \newcommand{\vecd}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash {#1}}} \)

    \( \newcommand{\id}{\mathrm{id}}\) \( \newcommand{\Span}{\mathrm{span}}\)

    ( \newcommand{\kernel}{\mathrm{null}\,}\) \( \newcommand{\range}{\mathrm{range}\,}\)

    \( \newcommand{\RealPart}{\mathrm{Re}}\) \( \newcommand{\ImaginaryPart}{\mathrm{Im}}\)

    \( \newcommand{\Argument}{\mathrm{Arg}}\) \( \newcommand{\norm}[1]{\| #1 \|}\)

    \( \newcommand{\inner}[2]{\langle #1, #2 \rangle}\)

    \( \newcommand{\Span}{\mathrm{span}}\)

    \( \newcommand{\id}{\mathrm{id}}\)

    \( \newcommand{\Span}{\mathrm{span}}\)

    \( \newcommand{\kernel}{\mathrm{null}\,}\)

    \( \newcommand{\range}{\mathrm{range}\,}\)

    \( \newcommand{\RealPart}{\mathrm{Re}}\)

    \( \newcommand{\ImaginaryPart}{\mathrm{Im}}\)

    \( \newcommand{\Argument}{\mathrm{Arg}}\)

    \( \newcommand{\norm}[1]{\| #1 \|}\)

    \( \newcommand{\inner}[2]{\langle #1, #2 \rangle}\)

    \( \newcommand{\Span}{\mathrm{span}}\) \( \newcommand{\AA}{\unicode[.8,0]{x212B}}\)

    \( \newcommand{\vectorA}[1]{\vec{#1}}      % arrow\)

    \( \newcommand{\vectorAt}[1]{\vec{\text{#1}}}      % arrow\)

    \( \newcommand{\vectorB}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \)

    \( \newcommand{\vectorC}[1]{\textbf{#1}} \)

    \( \newcommand{\vectorD}[1]{\overrightarrow{#1}} \)

    \( \newcommand{\vectorDt}[1]{\overrightarrow{\text{#1}}} \)

    \( \newcommand{\vectE}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash{\mathbf {#1}}}} \)

    \( \newcommand{\vecs}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \)

    \( \newcommand{\vecd}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash {#1}}} \)

    \(\newcommand{\avec}{\mathbf a}\) \(\newcommand{\bvec}{\mathbf b}\) \(\newcommand{\cvec}{\mathbf c}\) \(\newcommand{\dvec}{\mathbf d}\) \(\newcommand{\dtil}{\widetilde{\mathbf d}}\) \(\newcommand{\evec}{\mathbf e}\) \(\newcommand{\fvec}{\mathbf f}\) \(\newcommand{\nvec}{\mathbf n}\) \(\newcommand{\pvec}{\mathbf p}\) \(\newcommand{\qvec}{\mathbf q}\) \(\newcommand{\svec}{\mathbf s}\) \(\newcommand{\tvec}{\mathbf t}\) \(\newcommand{\uvec}{\mathbf u}\) \(\newcommand{\vvec}{\mathbf v}\) \(\newcommand{\wvec}{\mathbf w}\) \(\newcommand{\xvec}{\mathbf x}\) \(\newcommand{\yvec}{\mathbf y}\) \(\newcommand{\zvec}{\mathbf z}\) \(\newcommand{\rvec}{\mathbf r}\) \(\newcommand{\mvec}{\mathbf m}\) \(\newcommand{\zerovec}{\mathbf 0}\) \(\newcommand{\onevec}{\mathbf 1}\) \(\newcommand{\real}{\mathbb R}\) \(\newcommand{\twovec}[2]{\left[\begin{array}{r}#1 \\ #2 \end{array}\right]}\) \(\newcommand{\ctwovec}[2]{\left[\begin{array}{c}#1 \\ #2 \end{array}\right]}\) \(\newcommand{\threevec}[3]{\left[\begin{array}{r}#1 \\ #2 \\ #3 \end{array}\right]}\) \(\newcommand{\cthreevec}[3]{\left[\begin{array}{c}#1 \\ #2 \\ #3 \end{array}\right]}\) \(\newcommand{\fourvec}[4]{\left[\begin{array}{r}#1 \\ #2 \\ #3 \\ #4 \end{array}\right]}\) \(\newcommand{\cfourvec}[4]{\left[\begin{array}{c}#1 \\ #2 \\ #3 \\ #4 \end{array}\right]}\) \(\newcommand{\fivevec}[5]{\left[\begin{array}{r}#1 \\ #2 \\ #3 \\ #4 \\ #5 \\ \end{array}\right]}\) \(\newcommand{\cfivevec}[5]{\left[\begin{array}{c}#1 \\ #2 \\ #3 \\ #4 \\ #5 \\ \end{array}\right]}\) \(\newcommand{\mattwo}[4]{\left[\begin{array}{rr}#1 \amp #2 \\ #3 \amp #4 \\ \end{array}\right]}\) \(\newcommand{\laspan}[1]{\text{Span}\{#1\}}\) \(\newcommand{\bcal}{\cal B}\) \(\newcommand{\ccal}{\cal C}\) \(\newcommand{\scal}{\cal S}\) \(\newcommand{\wcal}{\cal W}\) \(\newcommand{\ecal}{\cal E}\) \(\newcommand{\coords}[2]{\left\{#1\right\}_{#2}}\) \(\newcommand{\gray}[1]{\color{gray}{#1}}\) \(\newcommand{\lgray}[1]{\color{lightgray}{#1}}\) \(\newcommand{\rank}{\operatorname{rank}}\) \(\newcommand{\row}{\text{Row}}\) \(\newcommand{\col}{\text{Col}}\) \(\renewcommand{\row}{\text{Row}}\) \(\newcommand{\nul}{\text{Nul}}\) \(\newcommand{\var}{\text{Var}}\) \(\newcommand{\corr}{\text{corr}}\) \(\newcommand{\len}[1]{\left|#1\right|}\) \(\newcommand{\bbar}{\overline{\bvec}}\) \(\newcommand{\bhat}{\widehat{\bvec}}\) \(\newcommand{\bperp}{\bvec^\perp}\) \(\newcommand{\xhat}{\widehat{\xvec}}\) \(\newcommand{\vhat}{\widehat{\vvec}}\) \(\newcommand{\uhat}{\widehat{\uvec}}\) \(\newcommand{\what}{\widehat{\wvec}}\) \(\newcommand{\Sighat}{\widehat{\Sigma}}\) \(\newcommand{\lt}{<}\) \(\newcommand{\gt}{>}\) \(\newcommand{\amp}{&}\) \(\definecolor{fillinmathshade}{gray}{0.9}\)

    When two or more forces are acting on the same object, they combine to create a new force. A bird flying due south at 10 miles an hour in a headwind of 2 miles an hour only makes headway at a rate of 8 miles per hour. These forces directly oppose each other. In real life, most forces are not parallel. What will happen when the headwind has a slight crosswind as well, blowing NE at 2 miles per hour. How far does the bird get in one hour?

    Basic Vector Operations

    Scalar multiplication means to multiply a vector by a number. This changes the magnitude of the vector, but not its direction. If \(\vec{v}=<3,4>,\) then \(2 \vec{v}=<6,8>.\) Scalar multiplication is fairly simple.

    Adding and subtracting vectors is slightly more difficult. When adding vectors, place the tail of one vector at the head of the other. This is called the tail-to-head rule. The vector that is formed by joining the tail of the first vector with the head of the second is called the resultant vector.

    Vector subtraction reverses the direction of the second vector. \(\vec{a}-\vec{b}=\vec{a}+(-\vec{b})\)

    Adding vectors can be done in either order (just like with regular numbers). Subtracting vectors must be done in a
    specific order or else the vector will be negative (just like with regular numbers).

    To find the length or magnitude of a resultant vector, you can use the law of cosines. To do this, you also need to know the angle between the two vectors. Say you were given two vectors \(\vec{a}\) and \(\vec{b}\), have magnitudes of 5 and 9 respectively and that the angle between the vectors is \(53^{\circ}\). To find the magnitude of \(\vec{a}+\vec{b}\), which is written as \(|\vec{a}+\vec{b}|,\) notice that you have a parallelogram.

    In order to fine the magnitude of the resulting vector in red, note that the triangle on the bottom has sides 9 and 5 with included angle \(127^{\circ}\) due to the properties of parallelograms. And, so applying the Law of cosines, you get:

    \(\begin{aligned} x^{2} &=9^{2}+5^{2}-2 \cdot 9 \cdot 5 \cdot \cos 127^{\circ} \\ x & \approx 12.66 \end{aligned}\)

    For this video, focus on scalar multiplication and adding and subtracting vectors:

    Examples

    Example 1

    Earlier, you were asked about how fast a bird was flying. A bird flying due south at 10 miles an hour with a cross headwind of 2 mph heading NE would have a force diagram that looks like this:

    The angle between the bird's vector and the wind vector is \(45^{\circ}\) which means this is a perfect situation for the Law
    of cosines. Let \(x=\) the red vector.

    \(\begin{aligned} x^{2} &=10^{2}+2^{2}-2 \cdot 10 \cdot 2 \cdot \cos 45^{\circ} \\ x & \approx 8.7 \end{aligned}\)

    The bird is blown slightly off track and travels only about 8.7 miles in one hour.

    Example 2

    Using the vectors with magnitude 5 and 9 and angle of \(53^{\circ}\) from the main section, what is the angle that the sum \(\vec{a}+\vec{b}\) makes with \(\vec{a} ?\)

    Start by drawing a good picture and labeling what you know. \(|\vec{a}|=5,|\vec{b}|=9,|\vec{a}+\vec{b}| \approx 12.66\). since you know three sides of the triangle and you need to find one angle, this is the SSS application of the Law of cosines.

    \(\begin{aligned} 9^{2} &=12.66^{2}+5^{2}-2 \cdot 12.66 \cdot 5 \cdot \cos \theta \\ \theta &=34.6^{\circ} \end{aligned}\)

    Example 3

    Elaine started a dog walking business. She walks two dogs at a time named Elvis and Ruby. They each pull her in different directions at a \(45^{\circ}\) angle with different forces. Elvis pulls at a force of \(25 \mathrm{~N}\) and Ruby pulls at a force of \(49 N\). How hard does Elaine need to pull so that she can stay balanced? Note that \(\mathrm{N}\) stands for Newtons which is the standard unit of force.

    Even though the two vectors are centered at Elaine, the forces are added which means that you need to use the tail-to-head rule to add the vectors together. Finding the angle between each component vector requires logical use of supplement angles.

    \(\begin{aligned} x^{2} &=49^{2}+25^{2}-2 \cdot 49 \cdot 25 \cdot \cos 135^{\circ} \\ x & \approx 68.98 \mathrm{~N} \end{aligned}\)

    In order for Elaine to stay balanced, she will need to counteract this force with an equivalent force of her own in the exact opposite direction.

    Example 4

    Consider vector \(\vec{v}=<2,5>\) and vector \(\vec{u}=<-1,9>\). Determine the component form of the following: \(3 \vec{v}-2 \vec{u}\)

    Do multiplication first for each term, followed by vector subtraction.

    \(\begin{aligned} 3 \cdot \vec{v}-2 \cdot \vec{u} &=3 \cdot<2,5>-2 \cdot<-1,9>\\ &=<6,15>-<-2,18>\\ &=<8,-3>\end{aligned}\)

    Example 5

    An airplane is flying at a bearing of \(270^{\circ}\) at \(400 \mathrm{mph}\). A wind is blowing due south at \(30 \mathrm{mph}\). Does this cross wind affect the plane's speed?

    Since the cross wind is perpendicular to the plane, it pushes the plane south as the plane tries to go directly east. As a result the plane still has an airspeed of 400 mph but the groundspeed (true speed) needs to be calculated.

    \(\begin{aligned} 400^{2}+30^{2} &=x^{2} \\ x & \approx 401 \end{aligned}\)

    Review

    Consider vector \(\vec{v}=<1,3>\) and vector \(\vec{u}=<-2,4>\)

    1. Determine the component form of \(5 \vec{v}-2 \vec{u}\).

    2. Determine the component form of \(-2 \vec{v}+4 \vec{u}\).

    3. Determine the component form of \(6 \vec{v}+\vec{u}\).

    4. Determine the component form of \(3 \vec{v}-6 \vec{u}\).

    5. Find the magnitude of the resultant vector from #1.

    6. Find the magnitude of the resultant vector from # 2 .

    7. Find the magnitude of the resultant vector from \(\# 3\).

    8. Find the magnitude of the resultant vector from #4.

    9. The vector \(<3,4>\) starts at the origin. What is the direction of the vector?

    10. The vector \(<-1,2>\) starts at the origin. What is the direction of the vector?

    11. The vector \(<3,-4>\) starts at the origin. What is the direction of the vector?

    12. A bird flies due south at 8 miles an hour with a cross headwind blowing due east at 15 miles per hour. How far does the bird get in one hour?

    13. What direction is the bird in the previous problem actually moving?

    14. A football is thrown at 50 miles per hour due north. There is a wind blowing due east at 8 miles per hour. What is the actual speed of the football?

    15. What direction is the football in the previous problem actually moving?


    This page titled 7.2: Operations with Vectors is shared under a CK-12 license and was authored, remixed, and/or curated by CK-12 Foundation via source content that was edited to the style and standards of the LibreTexts platform.

    CK-12 Foundation
    LICENSED UNDER
    CK-12 Foundation is licensed under CK-12 Curriculum Materials License