Skip to main content
Physics LibreTexts

2.3: Algebra of Vectors

  • Page ID
    3975
  • [ "article:topic", "authorname:openstax", "equal vectors", "null vector", "license:ccby" ]

    Skills to Develop

    • 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.8) and commutative (Equation 2.7), and vector multiplication by a sum of scalars is distributive (Equation 2.9). Also, scalar multiplication by a sum of vectors is distributive:

    $$\alpha(\vec{A} + \vec{B}) = \alpha \vec{A} + \alpha{B} \ldotp \tag{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 \tag{2.23}$$

    Example 2.8

    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 \tag{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.19) 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 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} \tag{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 \tag{2.26}$$

    We see from this expression that the unit vector of direction is indeed dimensionless because the numerator and the denominator in Equation 2.26 have the same physical unit. In this way, Equation 2.26 allows us to express the unit vector of direction in terms of unit vectors of the axes. Example 2.14 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).