Skip to main content
Physics LibreTexts

3.6: Algebra of Vectors

  • Page ID
    18116
  • \( \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}\)
    Learning Objectives
    • Apply analytical methods of vector algebra to find resultant vectors and to solve vector equations for unknown vectors.
    • Interpret physical situations in terms of vector expressions.

    Vectors can be added together and multiplied by scalars. Vector addition is associative (Equation 2.2.8) and commutative (Equation 2.2.7), and vector multiplication by a sum of scalars is distributive (Equation 2.2.9). Also, scalar multiplication by a sum of vectors is distributive:

    \[\alpha(\vec{A} + \vec{B}) = \alpha \vec{A} + \alpha{B} \ldotp \label{2.22}\]

    In this equation, \(\alpha\) is any number (a scalar). For example, a vector antiparallel to vector \(\vec{A}\) = Ax \(\hat{i}\) + Ay \(\hat{j}\) + Az \(\hat{k}\) can be expressed simply by multiplying \(\vec{A}\) by the scalar \(\alpha\) = −1:

    \[- \vec{A} = A_{x} \hat{i} - A_{y} \hat{j} - A_{z} \hat{k} \ldotp \label{2.23}\]

    Example \(\PageIndex{1}\): Direction of Motion

    In a Cartesian coordinate system where \(\hat{i}\) denotes geographic east, \(\hat{j}\) denotes geographic north, and \(\hat{k}\) denotes altitude above sea level, a military convoy advances its position through unknown territory with velocity \(\vec{v}\) = (4.0 \(\hat{i}\) + 3.0 \(\hat{j}\) + 0.1 \(\hat{k}\)) km/h. If the convoy had to retreat, in what geographic direction would it be moving?

    Solution

    The velocity vector has the third component \(\vec{v}_{z}\) = (+ 0.1 km/h) \(\hat{k}\), which says the convoy is climbing at a rate of 100 m/h through mountainous terrain. At the same time, its velocity is 4.0 km/h to the east and 3.0 km/h to the north, so it moves on the ground in direction tan−1 (3 /4) ≈ 37° north of east. If the convoy had to retreat, its new velocity vector \(\vec{u}\) would have to be antiparallel to \(\vec{v}\) and be in the form \(\vec{u} = - \alpha \vec{v}\), where \(\alpha\) is a positive number. Thus, the velocity of the retreat would be \(\vec{u}\) = \(\alpha\)(−4.0 \(\hat{i}\) − 3.0 \(\hat{j}\) − 0.1 \(\hat{k}\)) km/h. The negative sign of the third component indicates the convoy would be descending. The direction angle of the retreat velocity is tan−1 (−3 \(\alpha\) − 4 \(\alpha\)) ≈ 37° south of west. Therefore, the convoy would be moving on the ground in direction 37° south of west while descending on its way back.

    The generalization of the number zero to vector algebra is called the null vector, denoted by \(\vec{0}\). All components of the null vector are zero, \(\vec{0}\) = 0 \(\hat{i}\)+ 0 \(\hat{j}\) + 0 \(\hat{k}\), so the null vector has no length and no direction.

    Two vectors \(\vec{A}\) and \(\vec{B}\) are equal vectors if and only if their difference is the null vector: \(\vec{0}\) = \(\vec{A}\) − \(\vec{B}\) = (Ax \(\hat{i}\) + Ay \(\hat{j}\) + Az \(\hat{k}\)) − (Bx \(\hat{i}\) + By \(\hat{j}\) + Bz \(\hat{k}\)) = (Ax − Bx) \(\hat{i}\) + (Ay − By) \(\hat{j}\) + (Az − Bz) \(\hat{k}\). This vector equation means we must have simultaneously Ax − Bx = 0, Ay − By = 0, and Az − Bz = 0. Hence, we can write \(\vec{A} = \vec{B}\) if and only if the corresponding components of vectors \(\vec{A}\) and \(\vec{B}\) are equal:

    \[ \vec{A} = \vec{B} \Leftrightarrow \begin{cases} A_{x} = B_{x} \\ A_{y} = B_{y} \\ A_{z} = B_{z} \end{cases} \ldotp \label{2.24}\]

    Two vectors are equal when their corresponding scalar components are equal. Resolving vectors into their scalar components (i.e., finding their scalar components) and expressing them analytically in vector component form (given by Equation 2.5.4) allows us to use vector algebra to find sums or differences of many vectors analytically (i.e., without using graphical methods). For example, to find the resultant of two vectors \(\vec{A}\) and \(\vec{B}\), we simply add them component by component, as follows:

    \[\vec{R} = \vec{A} + \vec{B} = (A_{x}\; \hat{i} + A_{y}\; \hat{j} + A_{z}\; \hat{k}) + (B_{x}\; \hat{i} + B_{y}\; \hat{j} + B_{z}\; \hat{k}) = (A_{x} + B_{x})\; \hat{i} + (A_{y} + B_{y})\; \hat{j} + (A_{z} + B_{z})\; \hat{k} \ldotp\]

    In this way, using Equation \ref{2.24}, scalar components of the resultant vector \(\vec{R}\) = Rx \(\hat{i}\) + Ry \(\hat{j}\) + Rz \(\hat{k}\) are the sums of corresponding scalar components of vectors \(\vec{A}\) and \(\vec{B}\):

    \[ \begin{cases} R_{x} = A_{x} + B_{x}, \\ R_{y} = A_{y} + B_{y}, \\ R_{z} = A_{z} + B_{z} \end{cases} \ldotp\]

    Analytical methods can be used to find components of a resultant of many vectors. For example, if we are to sum up N vectors \(\vec{F}_{1}\), \(\vec{F}_{2}\), \(\vec{F}_{3}\), … , \(\vec{F}_{N}\), where each vector is \(\vec{F}_{k}\) = Fkx \(\hat{i}\) + Fky \(\hat{j}\) + Fkz \(\hat{k}\), the resultant vector \(\vec{F}_{R}\) is

    \[ \vec{F}_{R} = \vec{F}_{1} + \vec{F}_{2} + \vec{F}_{3} + \ldots + \vec{F}_{N} = \sum_{k = 1}^{N} \vec{F}_{k} = \sum_{k = 1}^{N} \big(F_{kx} \hat{i} + F_{ky} \hat{j} + F_{kz} \hat{k}\big) = \bigg(\sum_{k = 1}^{N} F_{kx}\bigg) \hat{i} + \bigg(\sum_{k = 1}^{N} F_{ky}\bigg) \hat{j} + \bigg(\sum_{k = 1}^{N} F_{kz}\bigg) \hat{k} \ldotp\]

    Therefore, scalar components of the resultant vector are

    \[ \begin{cases} F_{Rx} = \sum_{k = 1}^{N} F_{kx} = F_{1x} + F_{2x} + \ldots + F_{Nx} \\ F_{Ry} = \sum_{k = 1}^{N} F_{ky} = F_{1y} + F_{2y} + \ldots + F_{Ny} \\ F_{Rz} = \sum_{k = 1}^{N} F_{kz} = F_{1z} + F_{2z} + \ldots + F_{Nz} \ldotp \end{cases} \label{2.25}\]

    Having found the scalar components, we can write the resultant in vector component form:

    \[\vec{F}_{R} = F_{Rx}\; \hat{i} + F_{Ry}\; \hat{j} + F_{Rz}\; \hat{k} \ldotp\]

    Analytical methods for finding the resultant and, in general, for solving vector equations are very important in physics because many physical quantities are vectors. For example, we use this method in kinematics to find resultant displacement vectors and resultant velocity vectors, in mechanics to find resultant force vectors and the resultants of many derived vector quantities, and in electricity and magnetism to find resultant electric or magnetic vector fields.

    In many physical situations, we often need to know the direction of a vector. For example, we may want to know the direction of a magnetic field vector at some point or the direction of motion of an object. We have already said direction is given by a unit vector, which is a dimensionless entity—that is, it has no physical units associated with it. When the vector in question lies along one of the axes in a Cartesian system of coordinates, the answer is simple, because then its unit vector of direction is either parallel or antiparallel to the direction of the unit vector of an axis. For example, the direction of vector \(\vec{d}\) = −5 m \(\hat{i}\) is unit vector \(\hat{d}\) = − \(\hat{i}\). The general rule of finding the unit vector \(\hat{V}\) of direction for any vector \(\vec{V}\) is to divide it by its magnitude V:

    \[\hat{V} = \frac{\vec{V}}{V} \ldotp \label{2.26}\]

    We see from this expression that the unit vector of direction is indeed dimensionless because the numerator and the denominator in Equation \ref{2.26} have the same physical unit. In this way, Equation \ref{2.26} allows us to express the unit vector of direction in terms of unit vectors of the axes. Example 2.7.6 illustrates this principle.

    Contributors

    • Samuel J. Ling (Truman State University), Jeff Sanny (Loyola Marymount University), and Bill Moebs with many contributing authors. This work is licensed by OpenStax University Physics under a Creative Commons Attribution License (by 4.0).


    This page titled 3.6: Algebra of Vectors is shared under a CC BY license and was authored, remixed, and/or curated by OpenStax.