Skip to main content
Physics LibreTexts

3.3: Vectors

  • Page ID
    24433
  • \( \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}\)

    The Use of Vectors in Physics

    From the last section we have three important ideas about vectors:

    1. vectors can exist at any point \(P\) in space,
    2. vectors have direction and magnitude, and
    3. any two vectors that have the same direction and magnitude are equal no matter where in space they are located.

    When we apply vectors to physical quantities it’s nice to keep in the back of our minds all these formal properties. However, from the physicist’s point of view, we are interested in representing physical quantities such as displacement, velocity, acceleration, force, impulse, and momentum as vectors. We can’t add force to velocity or subtract momentum from force. We must always understand the physical context for the vector quantity. Thus, instead of approaching vectors as formal mathematical objects we shall instead consider the following essential properties that enable us to represent physical quantities as vectors.

    Vectors in Cartesian Coordinates

    Vector Decomposition

    Choose a coordinate system with an origin, axes, and unit vectors. We can decompose a vector into component vectors along each coordinate axis (Figure 3.14).

    3.14.svg
    Figure 3.14 Component vectors in Cartesian coordinates. (CC BY-NC; Ümit Kaya)

    A vector \(\overrightarrow{\mathbf{A}}\) at P can be decomposed into the vector sum,

    \[\overrightarrow{\mathbf{A}}=\overrightarrow{\mathbf{A}}_{x}+\overrightarrow{\mathbf{A}}_{y}+\overrightarrow{\mathbf{A}}_{z} \nonumber \]

    where \(\overrightarrow{\mathbf{A}}_{x}\) is the \(x\)-component vector pointing in the positive or negative \(x\)-direction, \(\overrightarrow{\mathbf{A}}_{y}\) is the \(y\)-component vector pointing in the positive or negative \(y\)-direction, and \(\overrightarrow{\mathbf{A}}_{z}\) is the \(z\)-component vector pointing in the positive or negative \(z\)-direction.

    Vector Components

    Once we have defined unit vectors \(\left(\hat{\mathbf{i}}, \hat{\mathbf{j}}, \hat{\mathbf{k}}\right)\), we then define the components of a vector. Recall our vector decomposition, \(\overrightarrow{\mathbf{A}}=\overrightarrow{\mathbf{A}}_{x}+\overrightarrow{\mathbf{A}}_{y}+\overrightarrow{\mathbf{A}}_{z}.\) We define the \(x\)-component vector, \(\overrightarrow{\mathbf{A}}_{x},\) as \[\overrightarrow{\mathbf{A}}_{x}=A_{x} \, \hat{\mathbf{i}}. \nonumber \]In this expression the term \(A_{x}\) (without the arrow above) is called the \(x\)-component of the vector \(\overrightarrow{\mathbf{A}}_{x}.\) The \(x\)-component \(A_{x}\) can be positive, zero, or negative. It is not the magnitude of \(\overrightarrow{\mathbf{A}}_{x}\) which is given by \(\left(A_{x}^{2}\right)^{1 / 2}\). The \(x\)-component \(A_{x}\) is a scalar quantity and the x-component vector, \(\overrightarrow{\mathbf{A}}_{x}\) is a vector. In a similar fashion we define the \(y\)-component, \(A_{y}\) , and the \(z\)-component, \(A_{z}\) , of the vector \(\overrightarrow{\mathbf{A}}\) according to

    \[\overrightarrow{\mathbf{A}}_{y}=A_{y} \, \hat{\mathbf{j}}, \quad \overrightarrow{\mathbf{A}}_{z}=A_{z} \, \hat{\mathbf{k}}. \nonumber \]

    A vector \(\overrightarrow{\mathbf{A}}\) is represented by its three components \((A_{x},A_{y},A_{z})\). Thus we need three numbers to describe a vector in three-dimensional space. We write the vector \(\overrightarrow{\mathbf{A}}\) as

    \[\overrightarrow{\mathbf{A}}=A_{x} \, \hat{\mathbf{i}}+A_{y} \, \hat{\mathbf{j}}+A_{z} \, \hat{\mathbf{k}} \nonumber \]

    Magnitude

    Using the Pythagorean theorem, the magnitude of \(\overrightarrow{\mathbf{A}}\) is,\[A=\sqrt{A_{x}^{2}+A_{y}^{2}+A_{z}^{2}} \nonumber \]

    Direction

    Let’s consider a vector \(\overrightarrow{\mathbf{A}}=\left(A_{x}, A_{y}, 0\right)\). Because the \(z\)-component is zero, the vector \(\overrightarrow{\mathbf{A}}\) lies in the \(x-y\) plane. Let \(θ\) denote the angle that the vector \(\overrightarrow{\mathbf{A}}\) makes in the counterclockwise direction with the positive \(x\)-axis (Figure 3.15).

    3.15.svg
    Figure 3.15 Components of a vector in the xy -plane. (CC BY-NC; Ümit Kaya)

    Then the \(x\) -component and \(y\) -component are \[A_{\mathrm{r}}=A \cos (\theta), \quad A_{y}=A \sin (\theta) \nonumber \]We now write a vector in the \(xy\) -plane as

    \[\overrightarrow{\mathbf{A}}=A \cos (\theta) \hat{\mathbf{i}}+A \sin (\theta) \hat{\mathbf{j}} \nonumber \]

    Once the components of a vector are known, the tangent of the angle \(θ\) can be determined by

    \[\frac{A_{y}}{A_{x}}=\frac{A \sin (\theta)}{A \cos (\theta)}=\tan (\theta) \nonumber \]and hence the angle \(θ\) is given by \[\theta=\tan ^{-1}\left(\frac{A_{y}}{A_{x}}\right) \nonumber \]

    Clearly, the direction of the vector depends on the sign of \(A_{x}\) and \(A_{y}\). For example, if both \(A_{x} > 0\) and \(A_{y} > 0\), then \(0 < θ < \pi / 2\). If \(A_{x} < 0\) and \(A_{y} > 0\) then \(\pi / 2 < θ < \pi\). If \(A_{x} <0\) and \(A_{y} <0 \) then \( \pi<\theta<3 \pi / 2\). If \(A_{x} >0\) and \(A
    {y} <0\), then \(3 \pi/2< \theta<2 \). Note that tan\(\theta\) is a double valued function because

    \[\frac{-A_{y}}{-A_{x}}=\frac{A_{y}}{A_{x}}, \text { and } \frac{A_{y}}{-A_{x}}=\frac{-A_{y}}{A_{x}} \nonumber \]

    Unit Vectors

    Unit vector in the direction of \(\overrightarrow{\mathbf{A}}\): Let \(\overrightarrow{\mathbf{A}}=A_{x} \hat{\mathbf{i}}+A_{\mathrm{v}} \hat{\mathbf{j}}+A_{7} \hat{\mathbf{k}}\). Let \(\overrightarrow{\mathbf{A}}\) denote a unit vector in the direction of \(\overrightarrow{\mathbf{A}}\). Then, \[\hat{\mathbf{A}}=\frac{\overrightarrow{\mathbf{A}}}{|\overrightarrow{\mathbf{A}}|}=\frac{A_{x} \hat{\mathbf{i}}+A_{y} \hat{\mathbf{j}}+A_{z} \hat{\mathbf{k}}}{\left(A_x^{2}+A_y^{2}+A_z^{2}\right)^{1 / 2}} \nonumber \]

    Vector Addition

    Let \(\overrightarrow{\mathbf{A}}\) and \(\overrightarrow{\mathbf{B}}\) be two vectors in the \(x-y\) plane. Let \( \theta_{A}\) and \(\theta_{B}\) denote the angles that the vectors \(\overrightarrow{\mathbf{A}}\) and \(\overrightarrow{\mathbf{B}}\) make (in the counterclockwise direction) with the positive \(x\) -axis. Then \[
    \overrightarrow{\mathbf{A}}=A \cos \left(\theta_{A}\right) \hat{\mathbf{i}}+A \sin \left(\theta_{A}\right) \hat{\mathbf{j}} \nonumber \] \[\overrightarrow{\mathbf{B}}=B \cos \left(\theta_{B}\right) \hat{\mathbf{i}}+B \sin \left(\theta_{B}\right) \hat{\mathbf{j}} \nonumber \] In Figure 3.16, the vector addition \(\overrightarrow{\mathbf{C}}=\overrightarrow{\mathbf{A}}+\overrightarrow{\mathbf{B}}\) is shown. Let \(\theta_{C}\) denote the angle that the vector \(\overrightarrow{\mathbf{C}}\) makes with the positive \(x\) -axis.

    3.16.svg
    Figure 3.16 Vector addition using components. (CC BY-NC; Ümit Kaya)

    From Figure 3.16, the components of \(\overrightarrow{\mathbf{C}}\) are \[C_{x}=A_{x}+B_{x}, \quad C_{y}=A_{y}+B_{y} \nonumber \] In terms of magnitudes and angles, we have

    \[\begin{array}{l}
    C_{x}=C \cos \left(\theta_{C}\right)=A \cos \left(\theta_{A}\right)+B \cos \left(\theta_{B}\right) \\
    C_{y}=C \sin \left(\theta_{C}\right)=A \sin \left(\theta_{A}\right)+B \sin \left(\theta_{B}\right)
    \end{array} \nonumber \] We can write the vector \(\overrightarrow{\mathbf{C}}\) as \[\overrightarrow{\mathbf{C}}=\left(A_{x}+B_{x}\right) \hat{\mathbf{i}}+\left(A_{y}+B_{y}\right) \hat{\mathbf{j}}=C \cos \left(\theta_{C}\right) \hat{\mathbf{i}}+C \sin \left(\theta_{C}\right) \hat{\mathbf{j}} \nonumber \]

    Example 3.1: Vector Addition

    Given two vectors, \(\overrightarrow{\mathbf{A}}=2 \hat{\mathbf{i}}+-3 \hat{\mathbf{j}}+7 \hat{\mathbf{k}} \, \text {and} \, \overrightarrow{\mathbf{B}}=5 \hat{\mathbf{i}}+\hat{\mathbf{j}}+2 \hat{\mathbf{k}}\), find: (a) \(|\overrightarrow{\mathbf{A}}|\); (b) \(|\overrightarrow{\mathbf{B}}|\); (c) \(\overrightarrow{\mathbf{A}}+\overrightarrow{\mathbf{B}}\); (d) \(\overrightarrow{\mathbf{A}}-\overrightarrow{\mathbf{B}}\); (e) a unit vector \(\hat{\mathbf{A}}\) pointing in the direction of \(\overrightarrow{\mathbf{A}}\); (f) a unit vector \(\hat{\mathbf{B}}\) pointing in the direction of \(\overrightarrow{\mathbf{B}}\);

    Solution

    (a)

    \( |\overrightarrow{\mathbf{A}}|=\left(2^{2}+(-3)^{2}+7^{2}\right)^{1/2}=\sqrt{62}=7.87\).

    (b)

    \(|\overrightarrow{\mathbf{B}}|=\left(5^{2}+1^{2}+2^{2}\right)^{1 / 2}=\sqrt{30}=5.48\).

    (c)

    \(\begin{aligned}
    \overrightarrow{\mathbf{A}}+\overrightarrow{\mathbf{B}}&=\left(A_{x}+B_{x}\right) \hat{\mathbf{i}}+\left(A_{y}+B_{y}\right) \hat{\mathbf{j}}+\left(A_{z}+B_{z}\right) \hat{\mathbf{k}} \\
    &=(2+5) \hat{\mathbf{i}}+(-3+1) \hat{\mathbf{j}}+(7+2) \hat{\mathbf{k}} \\
    &=7 \hat{\mathbf{i}}-2 \hat{\mathbf{j}}+9 \hat{\mathbf{k}}
    \end{aligned} \nonumber\)

    (d)

    \(\begin{aligned}
    \overrightarrow{\mathbf{A}}-\overrightarrow{\mathbf{B}} &=\left(A_{x}-B_{x}\right) \hat{\mathbf{i}}+\left(A_{y}-B_{y}\right) \hat{\mathbf{j}}+\left(A_{z}-B_{z}\right) \hat{\mathbf{k}} \\
    &=(2-5) \hat{\mathbf{i}}+(-3-1) \hat{\mathbf{j}}+(7-2) \hat{\mathbf{k}} \\
    &=-3 \hat{\mathbf{i}}-4 \hat{\mathbf{j}}+5 \hat{\mathbf{k}}
    \end{aligned}\)

    (e)

    A unit vector \(\hat{\mathbf{A}}\) in the direction of \(\overrightarrow{\mathbf{A}}\) can be found by dividing the vector \(\overrightarrow{\mathbf{A}}\) by the magnitude of \(\overrightarrow{\mathbf{A}}\). Therfore \[\hat{\mathbf{A}}=\overrightarrow{\mathbf{A}} /|\overrightarrow{\mathbf{A}}|=(2 \hat{\mathbf{i}}+-3 \hat{\mathbf{j}}+7 \hat{\mathbf{k}}) / \sqrt{62} \nonumber \]

    (f)

    In a similar fashion, \(\hat{\mathbf{B}}=\overrightarrow{\mathbf{B}} /|\overrightarrow{\mathbf{B}}|=(5 \hat{\mathbf{i}}+\hat{\mathbf{j}}+2 \hat{\mathbf{k}}) / \sqrt{30}\)

    Example 3.2 Sinking Sailboat

    A Coast Guard ship is located 35 km away from a checkpoint in a direction \(52^{\circ}\) north of west. A distressed sailboat located in still water 24 km from the same checkpoint in a direction \(18^{\circ}\) south of east is about to sink. Draw a diagram indicating the position of both ships. In what direction and how far must the Coast Guard ship travel to reach the sailboat?

    Solution

    The diagram of the set-up is Figure 3.17.

    3.17.svg
    Figure 3.17 Example 3.2. (CC BY-NC; Ümit Kaya)
    3.18.svg
    Figure 3.18 Coordinate system for sailboat and ship. (CC BY-NC; Ümit Kaya)

    Choose the checkpoint as the origin of a Cartesian coordinate system with the positive x -axis in the East direction and the positive y –axis in the North direction. Choose the corresponding unit vectors \(\hat{\mathbf{i}}\) and\(\hat{\mathbf{j}}\) as shown in Figure 3.18. The Coast Guard ship is then a distance \(r = 35\) km at an angle \(\theta_{1}=180^{\circ}-52^{\circ}=128^{\circ}\) from the positive x -axis, The position of the Coast Guard ship is then

    \[\begin{aligned}
    &\overrightarrow{\mathbf{r}}_{1}=r_{1}\left(\cos \theta_{1} \hat{\mathbf{i}}+\sin \theta_{1} \hat{\mathbf{j}}\right)\\
    &\overrightarrow{\mathbf{r}}=-21.5 \mathrm{km} \hat{\mathbf{i}}+27.6 \mathrm{km} \hat{\mathbf{j}}
    \end{aligned} \nonumber \] and the position of the sailboat is \[\begin{array}{l}
    \overrightarrow{\mathbf{r}}_{2}=r_{2}\left(\cos \theta_{2} \hat{\mathbf{i}}+\sin \theta_{2} \hat{\mathbf{j}}\right) \\
    \overrightarrow{\mathbf{r}}_{2}=22.8 \mathrm{km} \hat{\mathbf{i}}-7.4 \mathrm{km} \hat{\mathbf{j}}
    \end{array} \nonumber \]

    3.19.svg
    Figure 3.19 Relative position vector from ship to sailboat. (CC BY-NC; Ümit Kaya)

    The relative position vector from the Coast Guard ship to the sailboat is (Figure 3.19) \[\begin{aligned}
    &\overrightarrow{\mathbf{r}}_{2}-\overrightarrow{\mathbf{r}}_{1}=(22.8 \mathrm{km} \hat{\mathbf{i}}-7.4 \mathrm{km} \hat{\mathbf{j}})-(-21.5 \mathrm{km} \hat{\mathbf{i}}+27.6 \mathrm{km} \hat{\mathbf{j}})\\
    &\overrightarrow{\mathbf{r}}_{2}-\overrightarrow{\mathbf{r}}_{1}=44.4 \mathrm{km} \hat{\mathbf{i}}-35.0 \mathrm{km} \hat{\mathbf{j}}
    \end{aligned} \nonumber \] The distance between the ship and the sailboat is \[\left|\overrightarrow{\mathbf{r}}_{2}-\overrightarrow{\mathbf{r}}_{1}\right|=\left((44.4 \mathrm{km})^{2}+(-35.0 \mathrm{km})^{2}\right)^{1 / 2}=56.5 \mathrm{km} \nonumber \] The rescue ship’s heading would be the inverse tangent of the ratio of the y - and x - components of the relative position vector, \[\theta_{21}=\tan ^{-1}(-35.0 \mathrm{km} / 44.4 \mathrm{km})=-38.3^{\circ} \nonumber \] or \(38.3^{\circ}\) South of East.

    Example 3.3: Vector Addition

    Two vectors \(\overrightarrow{\mathbf{A}}\) and \(\overrightarrow{\mathbf{B}}\), such that \(|\overrightarrow{\mathbf{B}}|=2|\overrightarrow{\mathbf{A}}|\), have a resultant \(\overrightarrow{\mathbf{C}}=\overrightarrow{\mathbf{A}}+\overrightarrow{\mathbf{B}}\) of magnitude 26.5. The vector \(\overrightarrow{\mathbf{C}}\) makes an angle \(\theta_{c} = 41^{\circ}\) with respect to vector \(\overrightarrow{\mathbf{A}}\). Find the magnitude of each vector and the angle between vectors \(\overrightarrow{\mathbf{A}}\) and \(\overrightarrow{\mathbf{B}}\).

    Solution: We begin by making a sketch of the three vectors, choosing \(\overrightarrow{\mathbf{A}}\) to point in the positive x-direction (Figure 3.20).

    3.20.svg
    Figure 3.20: Choice of coordinates system for Example 3.3. (CC BY-NC; Ümit Kaya)

    Denote the magnitude of \(\overrightarrow{\mathbf{C}}\) by \(C \equiv|\overrightarrow{\mathbf{C}}|=\sqrt{\left(C_{x}\right)^{2}+\left(C_{y}\right)^{2}}=26.5\). The components of \(\overrightarrow{\mathbf{C}}=\overrightarrow{\mathbf{A}}+\overrightarrow{\mathbf{B}}\) are given by

    \[ C_{x}=A_{x}+B_{x}=C \cos \theta_{C}=(26.5) \cos \left(41^{\circ}\right)=20 \nonumber \]

    \[ C_{y}=B_{y}=C \sin \theta_{C}=(26.5) \sin \left(41^{\circ}\right)=17.4. \nonumber \]

    From the condition that \(|\overrightarrow{\mathbf{B}}|=2|\overrightarrow{\mathbf{A}}|\), the square of their magnitudes satisfy

    \[\left(B_{x}\right)^{2}+\left(B_{y}\right)^{2}=4\left(A_{x}\right)^{2}. \nonumber \]

    Using Equations (3.3.17) and (3.3.18), Equation (3.3.19) becomes \[\left(C_{x}-A_{x}\right)^{2}+\left(C_{y}\right)^{2}=4\left(A_{x}\right)^{2} \nonumber \]

    \[ \left(C_{x}\right)^{2}-2C_{x}A_{x}+\left(A_{x}\right)^{2}+\left(C_{y}\right)^{2}=4\left(A_{x}\right)^{2} \nonumber \]

    This is a quadratic equation

    \[ 0=3\left(A_{x}\right)^{2}+2 C_{x} A_{x}-C^{2} \nonumber \]

    which we solve for the component \(A_{x}\):

    \[A_{x}=\frac{-2 C_{x} \pm \sqrt{\left(2 C_{x}\right)^{2}+(4)(3)\left(C^{2}\right)}}{6}=\frac{-2(20) \pm \sqrt{(40))^{2}+(4)(3)(26.5)^{2}}}{6}=10.0 \nonumber \]

    where we choose the positive square root because we originally chose \(A_{x} > 0\). The components of \(\overrightarrow{\mathbf{B}}\) are then given by Equations (3.3.17) and (3.3.18):

    \[B_{x}=C_{x}-A_{x}=20.0-10.0=10.0 \nonumber \]\[B_{.}=17.4 \nonumber \]

    The magnitude of \(|\overrightarrow{\mathbf{B}}|=\sqrt{\left(B_{x}\right)^{2}+\left(B_{y}\right)^{2}}=20.0\) which is equal to two times the magnitude of \(|\overrightarrow{\mathbf{A}}|=10.0\). The angle between \(\overrightarrow{\mathbf{A}}\) and \(\overrightarrow{\mathbf{B}}\) is given by

    \[\theta=\sin ^{-1}\left(B_{y} /|\overrightarrow{\mathbf{B}}|\right)=\sin ^{-1}(17.4 / 20.0 \mathrm{N})=60^{\circ} \nonumber \]

    Example 3.4 Vector Description of a Point on a Line

    Consider two points, \(P_{1}\) with coordinates \((x_{1}, y_{1})\) and \(P_{2}\) with coordinates \((x_{1}, y_{1})\) are separated by distance \(d\) . Find a vector \(\overrightarrow{\mathbf{A}}\) from the origin to the point on the line connecting \(P_{1}\) and \(P_{2}\) that is located a distance \(a\) from the point \(P_{2}\) (Figure 3.21).

    3.21.svg
    Figure \(\PageIndex{21}\): Example 3.4. (CC BY-NC; Ümit Kaya)

    Solution

    Let \(\overrightarrow{\mathbf{r}}_{1}=x_{1} \hat{\mathbf{i}}+y_{1} \hat{\mathbf{j}}\) be the position vector of \(P_{1}\) and \(\overrightarrow{\mathbf{r}}_{2}=x_{2} \hat{\mathbf{i}}+y_{2} \hat{\mathbf{j}}\) the position vector of \(P_{2}\). Let \(\overrightarrow{\mathbf{r}}_{1}-\overrightarrow{\mathbf{r}}_{2}\) be the vector from \(P_{2}\) to \(P_{1}\) (Figure 3.22a). The unit vector pointing from \(P_{2}\) to \(P_{1}\) is given by

    \(\hat{\mathbf{r}}_{21}=\left(\overrightarrow{\mathbf{r}}_{1}-\overrightarrow{\mathbf{r}}_{2}\right) /\left|\overrightarrow{\mathbf{r}}_{1}-\overrightarrow{\mathbf{r}}_{2}\right|=\left(\overrightarrow{\mathbf{r}}_{1}-\overrightarrow{\mathbf{r}}_{2}\right) / d\), where \(d=\left(\left(x_{2}-x_{1}\right)^{2}+\left(y_{2}-y_{1}\right)^{2}\right)^{1 / 2}\)

    3.22a.svg
    Figure 3.22a: Relative position vector
    3.22b.svg
    Figure 3.22b: Relative position vector

    The vector \(\overrightarrow{\mathbf{s}}\) in Figure 3.22b connects \(\overrightarrow{\mathbf{A}}\) to the point at \(\overrightarrow{\mathbf{r_{1}}}\), points in the direction of \(\overrightarrow{\mathbf{r_{12}}}\) and has length \(a\). Therefore \(\overrightarrow{\mathbf{s}}=a \hat{\mathbf{r}}_{21}=a\left(\overrightarrow{\mathbf{r}}_{1}-\overrightarrow{\mathbf{r}}_{2}\right) / d\). The vector \(\overrightarrow{\mathbf{r}}_{1}=\overrightarrow{\mathbf{A}}+\overrightarrow{\mathbf{s}}\). Therefore \[\overrightarrow{\mathbf{A}}=\overrightarrow{\mathbf{r}}_{1}-\overrightarrow{\mathbf{s}}=\overrightarrow{\mathbf{r}}_{1}-a\left(\overrightarrow{\mathbf{r}}_{1}-\overrightarrow{\mathbf{r}}_{2}\right) / d=(1-a / d) \overrightarrow{\mathbf{r}}_{1}+(a / d) \overrightarrow{\mathbf{r}}_{2} \nonumber \]\[\overrightarrow{\mathbf{A}}=(1-a / d)\left(x_{1} \hat{\mathbf{i}}+y_{1} \hat{\mathbf{j}}\right)+(a / d)\left(x_{2} \hat{\mathbf{i}}+y_{2} \hat{\mathbf{j}}\right) \nonumber \]\[\overrightarrow{\mathbf{A}}=\left(x_{1}+\frac{a\left(x_{2}-x_{1}\right)}{\left(\left(x_{2}-x_{1}\right)^{2}+\left(y_{2}-y_{1}\right)^{2}\right)^{1 / 2}}\right) \hat{\mathbf{i}}+\left(y_{1}+\frac{a\left(y_{2}-y_{1}\right)}{\left(\left(x_{2}-x_{1}\right)^{2}+\left(y_{2}-y_{1}\right)^{2}\right)^{1 / 2}}\right) \hat{\mathbf{j}} \nonumber \]

    Transformation of Vectors in Rotated Coordinate Systems

    Consider two Cartesian coordinate systems \(S\) and \(S'\) such that the \((x', y')\) coordinate axes in \(S'\) are rotated by an angle \( \theta \) with respect to the \((x, y)\) coordinate axes in \(S\), (Figure 3.23).

    3.23.svg
    Figure 3.23: Rotated coordinate systems. (CC BY-NC; Ümit Kaya)

    The components of the unit vector \(\hat{\mathbf{i^{\prime}}}\) in the \(\hat{\mathbf{i}}\) and \(\hat{\mathbf{j}}\) direction are given by

    \[i_{x}^{\prime}=\left|\hat{\mathbf{i}}^{\prime}\right| \cos \theta=\cos \theta \nonumber \]

    and

    \[i_{y}^{\prime}=\left|\hat{\mathbf{i}}^{\prime}\right| \sin \theta=\sin \theta. \nonumber \]

    Therefore

    \[\hat{\mathbf{i}}^{\prime}=i_{x}^{\prime} \hat{\mathbf{i}}+i_{y}^{\prime} \hat{\mathbf{j}}=\hat{\mathbf{i}} \cos \theta+\hat{\mathbf{j}} \sin \theta \nonumber \]

    A similar argument holds for the components of the unit vector \(\hat{\mathbf{j^{'}}}\). The components of \(\hat{\mathbf{j^{'}}}\) in the \(\hat{\mathbf{i}}\) and \(\hat{\mathbf{j}}\) direction are given by

    \[j_{x}^{\prime}=-\left|\hat{\mathbf{j}}^{\prime}\right| \sin \theta=-\sin \theta \nonumber \]

    and

    \[j_{y}^{\prime}=\left|\hat{\mathbf{j}}^{\prime}\right| \cos \theta=\cos \theta. \nonumber \]

    Therefore

    \[\hat{\mathbf{j}^{\prime}}=j_{x}^{\prime} \hat{\mathbf{i}}+j_{y}^{\prime} \hat{\mathbf{j}}=\hat{\mathbf{j}} \cos \theta-\hat{\mathbf{i}} \sin \theta \nonumber \]

    Conversely, from Figure 3.23 and similar vector decomposition arguments, the components of (\hat{\mathbf{i}}\) and (\hat{\mathbf{j}}\) in \(S'\) are given by

    \[\hat{\mathbf{i}}=\hat{\mathbf{i}}^{\prime} \cos \theta-\hat{\mathbf{j}}^{\prime} \sin \theta \nonumber \]\[\hat{\mathbf{j}}=\hat{\mathbf{i}}^{\prime} \sin \theta+\hat{\mathbf{j}}^{\prime} \cos \theta \nonumber \]

    Consider a fixed vector \(\overrightarrow{\mathbf{r}}=x \hat{\mathbf{i}}+y \hat{\mathbf{j}}\) with components \((x, y)\) in coordinate system \(S\). In coordinate system \(S'\), the vector is given by \(\overrightarrow{\mathbf{r}}=x^{\prime} \hat{\mathbf{i}}^{\prime}+y^{\hat{\prime}} \hat{\mathbf{j}}^{\prime}, \text { where }\left(x^{\prime}, y^{\prime}\right)\), where \((x',y')\) are the components in \(S'\), (Figure 3.24).

    3.24.svg
    Figure 3.24: Transformation of vector components. (CC BY-NC; Ümit Kaya)

    Using the Equations (3.3.20) and (3.3.21), we have that

    \[\begin{array}{l}
    \overrightarrow{\mathbf{r}}=x \hat{\mathbf{i}}+y \hat{\mathbf{j}}=x\left(\hat{\mathbf{i}}^{\prime} \cos \theta-\hat{\mathbf{j}}^{\prime} \sin \theta\right)+y\left(\hat{\mathbf{j}}^{\prime} \cos \theta+\hat{\mathbf{i}}^{\prime} \sin \theta\right) \\
    \overrightarrow{\mathbf{r}}=(x \cos \theta+y \sin \theta) \hat{\mathbf{i}}^{\prime}+(x \sin \theta-y \cos \theta) \hat{\mathbf{j}}^{\prime} \end{array} \nonumber \]

    Therefore the components of the vector transform according to

    \[ x^{\prime}=x \cos \theta+y \sin \theta \nonumber \]

    \[y^{\prime}=x \sin \theta-y \cos \theta \nonumber \]

    We now consider an alternate approach to understanding the transformation laws for the components of the position vector of a fixed point in space. In coordinate system \(S\), suppose the position vector \(\overrightarrow{\mathbf{r}}\) has length \(r=|\overrightarrow{\mathbf{r}}|\) and makes an angle \( \phi\) with respect to the positive \(x\)-axis (Figure 3.25).

    3.25.svg
    Figure 3.25: Transformation of vector components of the position vector. (CC BY-NC; Ümit Kaya)

    Then the components of \(\overrightarrow{\mathbf{r}}\) in \(S\) are given by \[x=r \cos \phi \nonumber \]\[y=r \sin \phi \nonumber \]. In coordinate system \(S'\), the components of \(\overrightarrow{\mathbf{r}}\) are given by

    \[x^{\prime}=r \cos (\phi-\theta) \nonumber \]\[y^{\prime}=r \sin (\phi-\theta) \nonumber \]

    Apply the addition of angle trigonometric identities to Equations (3.3.29) and (3.3.30) yielding

    \[ x^{\prime}=r \cos (\phi-\theta)=r \cos \phi \cos \theta+r \sin \phi \sin \theta=x \cos \theta+y \sin \theta \nonumber \]

    \[y^{\prime}=r \sin (\phi-\theta)=r \sin \phi \cos \theta-r \cos \phi \sin \theta=y \cos \theta-x \sin \theta \nonumber \]

    in agreement with Equations (3.3.25) and (3.3.26).

    Example 3.5 Vector Decomposition in Rotated Coordinate Systems

    With respect to a given Cartesian coordinate system \(S\), a vector \(\overrightarrow{\mathbf{A}}\) has components \(A_{x} = 5\), \(A_{y} = -3\), \(A_{z} = 0\). Consider a second coordinate system \(S'\) such that the \((x',y'\) coordinate axes in \(S'\) are rotated by an angle \( \theta = 60^{\circ} \) with respect to the \((x, y)\) coordinate axes in \(S\), (Figure 3.26).

    1. What are the components \(A_{x}\) and \(A_{y}\) of vector \(\overrightarrow{\mathbf{A}}\) in coordinate system \(S'\)?
    2. Calculate the magnitude of the vector using the \((A_{x}\), \(A_{y})\) components and using the \((A_{x}\), \(A_{y})\) components. Does your result agree with what you expect?
    3.26.svg
    Figure 3.26 Example 3.4. (CC BY-NC; Ümit Kaya)

    Solution:

    We begin by considering the vector decomposition of \(\overrightarrow{\mathbf{A}}\) with respect to the coordinate system \(S\), \[\overrightarrow{\mathbf{A}}=A_{x} \hat{\mathbf{i}}+A_{y} \hat{\mathbf{j}} \nonumber \] Now we can use our results for the transformation of unit vectors \(\overrightarrow{\mathbf{i}}\) and \(\overrightarrow{\mathbf{j}}\) in terms of \(\overrightarrow{\mathbf{i^{'}}}\) and \(\overrightarrow{\mathbf{j^{'}}}\), (Equations (3.3.22) and (3.3.23)) in order decompose the vector \(\overrightarrow{\mathbf{A}}\) in coordinate system \(S'\)

    \[\begin{array}{l}
    \overrightarrow{\mathbf{A}}=A \hat{\mathbf{i}}+A_{y} \hat{\mathbf{j}}=A_{x}\left(\cos \theta \hat{\mathbf{i}}^{\prime}-\sin \theta \hat{\mathbf{j}}^{\prime}\right)+A_{y}\left(\sin \theta \hat{\mathbf{i}}^{\prime}+\cos \theta \hat{\mathbf{j}}^{\prime}\right) \\
    =\left(A_{x} \cos \theta+A_{y} \sin \theta\right) \hat{\mathbf{i}}^{\prime}+\left(-A_{x} \sin \theta+A_{y} \cos \theta\right) \hat{\mathbf{j}}^{\prime} \\
    =A_{x} \hat{\mathbf{i}}+A_{y} \hat{\mathbf{j}}
    \end{array} \nonumber \]

    where

    \[A_{x^{\prime}}=A_{x} \cos \theta+A_{y} \sin \theta \nonumber \]\[A_{y^{\prime}}=-A_{x} \sin \theta+A_{y} \cos \theta \nonumber \]

    We now use the given information that \(A_{x} = 5\), \(A_{y} = -3\), and \( \theta = 60^{\circ} \) to solve for the components of \(\overrightarrow{\mathbf{A}}\) in coordinate system \(S'\)

    \[A_{x^{\prime}}=A_{x} \cos \theta+A_{y} \sin \theta=(1 / 2)(5-3 \sqrt{3}) \nonumber \]

    \[A_{y^{\prime}}=-A_{x} \sin \theta+A_{y} \cos \theta=(1 / 2)(-5 \sqrt{3}-3) \nonumber \]

    b) The magnitude can be calculated in either coordinate system

    \[|\overrightarrow{\mathbf{A}}|=\sqrt{\left(A_{x}\right)^{2}+\left(A_{y}\right)^{2}}=\sqrt{(5)^{2}+(-3)^{2}}=\sqrt{34} \nonumber \]

    \[|\overrightarrow{\mathbf{A}}|=\sqrt{\left(A_{x^{\prime}}\right)^{2}+\left(A_{y^{\prime}}\right)^{2}}=\sqrt{((1 / 2)(5-3 \sqrt{3}))^{2}+((1 / 2)(-5 \sqrt{3}-3))^{2}}=\sqrt{34} \nonumber \]

    This result agrees with what I expect because the length of vector \(\overrightarrow{\mathbf{A}}\) independent of the choice of coordinate system.


    This page titled 3.3: Vectors is shared under a CC BY-NC-SA 4.0 license and was authored, remixed, and/or curated by Peter Dourmashkin (MIT OpenCourseWare) via source content that was edited to the style and standards of the LibreTexts platform.