# 3.8: Products of Vectors (Part 1)

- Last updated

- Save as PDF

- Page ID
- 17870

- OpenStax
- General Physics at OpenStax CNX

Learning Objectives

- Explain the difference between the scalar product and the vector product of two vectors.
- Determine the scalar product of two vectors.
- Determine the vector product of two vectors.
- Describe how the products of vectors are used in physics.

A vector can be multiplied by another vector but may not be divided by another vector. There are two kinds of products of vectors used broadly in physics and engineering. One kind of multiplication is a **scalar multiplication** **of two vectors**. Taking a scalar product of two vectors results in a number (a scalar), as its name indicates. Scalar products are used to define work and energy relations. For example, the work that a force (a vector) performs on an object while causing its displacement (a vector) is defined as a scalar product of the force vector with the displacement vector. A quite different kind of multiplication is a **vector multiplication of vectors**. Taking a vector product of two vectors returns as a result a vector, as its name suggests. Vector products are used to define other derived vector quantities. For example, in describing rotations, a vector quantity called **torque **is defined as a vector product of an applied force (a vector) and its lever arm (a vector). It is important to distinguish between these two kinds of vector multiplications because the scalar product is a scalar quantity and a vector product is a vector quantity.

## The Scalar Product of Two Vectors (the Dot Product)

Scalar multiplication of two vectors yields a scalar product.

Definition: Scalar Product (Dot Product)

The scalar product \(\vec{A}\; \cdotp \vec{B}\) of two vectors \(\vec{A}\) and \(\vec{B}\) is a number defined by the equation

\[ \vec{A}\; \cdotp \vec{B} = AB \cos \varphi, \label{2.27}\]

where \(\phi\) is the angle between the vectors (shown in Figure \(\PageIndex{1}\)). The scalar product is also called the **dot product** because of the dot notation that indicates it.

In the definition of the dot product, the direction of angle \(\varphi\) does not matter, and \(\varphi\) can be measured from either of the two vectors to the other because \(\cos \varphi\) = \(\cos (−\varphi)\) = \(cos (2 \pi − \varphi)\). The dot product is a negative number when 90° < \(\varphi\) ≤ 180° and is a positive number when 0° ≤ \(\phi\) < 90°. Moreover, the dot product of two parallel vectors is \(\vec{A} \cdotp \vec{B}\) = AB cos 0° = AB, and the dot product of two antiparallel vectors is \(\vec{A}\; \cdotp \vec{B}\) = AB cos 180° = −AB. The scalar product of two orthogonal vectors vanishes: \(\vec{A}\; \cdotp \vec{B}\) = AB cos 90° = 0. The scalar product of a vector with itself is the square of its magnitude:

\[\vec{A}^{2} \equiv \vec{A}\; \cdotp \vec{A} = AA \cos 0^{o} = A^{2} \label{2.28}\]

Example \(\PageIndex{1}\): The Scalar Product

For the vectors shown in Figure 2.3.6, find the scalar product \(\vec{A}\; \cdotp \vec{F}\).

**Strategy**

From Figure 2.3.6, the magnitudes of vectors \(\vec{A}\) and \(\vec{B}\) are A = 10.0 and F = 20.0. Angle \(\theta\), between them, is the difference: \(\theta = \varphi - \alpha\) = 110° − 35° = 75°. Substituting these values into Equation \ref{2.27} gives the scalar product.

**Solution**

A straightforward calculation gives us

\[\vec{A}\; \cdotp \vec{F} = AF \cos \theta = (10.0)(20.0) \cos 75^{o} = 51.76 \ldotp\]

Exercise 2.11

For the vectors given in Figure 2.3.6, find the scalar products \(\vec{A}\; \cdotp \vec{B}\) and \(\vec{B}\; \cdotp \vec{C}\).

In the Cartesian coordinate system, scalar products of the unit vector of an axis with other unit vectors of axes always vanish because these unit vectors are orthogonal:

\[\hat{i}\; \cdotp\; \hat{j} = |\hat{i}||\hat{j}| \cos 90^{o} = (1)(1)(0) = 0, \label{2.29}\]

\[\hat{i}\; \cdotp\; \hat{k} = |\hat{i}||\hat{k}| \cos 90^{o} = (1)(1)(0) = 0,\]

\[\hat{k} \cdotp\; \hat{j} = |\hat{k}||\hat{j}| \cos 90^{o} = (1)(1)(0) = 0 \ldotp\]

In these equations, we use the fact that the magnitudes of all unit vectors are one: \(|\hat{i}| = |\hat{j}| = |\hat{k}|\) = 1. For unit vectors of the axes, Equation \ref{2.28} gives the following identities:

\[\hat{i}\; \cdotp\; \hat{i} = i^{2} = \hat{j}\; \cdotp\; \hat{j} = j^{2} = \hat{k}\; \cdotp\; \hat{k} = 1 \ldotp \label{2.30}\]

The scalar product \(\vec{A}\; \cdotp \vec{B}\) can also be interpreted as either the product of B with the projection A\(_{\parallel}\) of vector \(\vec{A}\) onto the direction of vector \(\vec{B}\) (Figure \(\PageIndex{1}\)(b)) or the product of A with the projection B\(_{\parallel}\) of vector \(\vec{B}\) onto the direction of vector \(\vec{A}\) (Figure \(\PageIndex{1}\)(c)):

\[\begin{split} \vec{A}\; \cdotp \vec{B} & = AB \cos \varphi \\ & = B(A \cos \varphi) = BA_{\parallel} \\ & = A(B \cos \varphi) = AB_{\parallel} \ldotp \end{split}\]

For example, in the rectangular coordinate system in a plane, the scalar x-component of a vector is its dot product with the unit vector \(\hat{i}\), and the scalar y-component of a vector is its dot product with the unit vector \(\hat{j}\):

\[ \begin{cases} \vec{A}\; \cdotp\; \hat{i} = |\vec{A}||\hat{i}| \cos \theta_{A} = A \cos \theta_{A} = A \cos \theta_{A} = A_{x} \\ \vec{A}\; \cdotp\; \hat{j} = |\vec{A}||\hat{j}| \cos (90^{o} - \theta_{A}) = A \sin \theta_{A} = A_{y} \end{cases}\]

Scalar multiplication of vectors is communtative,

\[\vec{A}\; \cdotp \vec{B} = \vec{B}\; \cdotp \vec{A}, \label{2.31}\]

and obeys the distributive law:

\[\vec{A}\; \cdotp (\vec{B} + \vec{C}) = \vec{A}\; \cdotp \vec{B} + \vec{A}\; \cdotp \vec{C} \ldotp \label{2.32}\]

We can use the commutative and distributive laws to derive various relations for vectors, such as expressing the dot product of two vectors in terms of their scalar components.

Exercise 2.12

For vector \(\vec{A} = A_{x}\; \hat{i} + A_{y}\; \hat{j} + A_{z}\; \hat{k}\) in a rectangular coordinate system, use Equation \ref{2.29} through Equation \ref{2.32} to show that \(\vec{A}\; \cdotp \hat{i} = A_{x} \vec{A}\; \cdotp\; \hat{j} = A_{y}\) and \(\vec{A}\; \cdotp\; \hat{k} = A_{z}\).

When the vectors in Equation \ref{2.27} are given in their vector component forms,

\[\vec{A} = A_{x}\; \hat{i} + A_{y}\; \hat{j} + A_{z}\; \hat{k}\; and \vec{B} = B_{x}\; \hat{i} + B_{y}\; \hat{j} + B_{z}\; \hat{k},\]

we can compute their scalar product as follows:

\[\begin{split} \vec{A}\; \cdotp \vec{B} & = (A_{x}\; \hat{i} + A_{y}\; \hat{j} + A_{z}\; \hat{k})\; \cdotp (B_{x}\; \hat{i} + B_{y}\; \hat{j} + B_{z}\; \hat{k}) \\ & = A_{x}B_{x}\; \hat{i}\; \cdotp\; \hat{i} + A_{x}B_{y}\; \hat{i}\; \cdotp\; \hat{j} + A_{x}B_{z}\; \hat{i}\; \cdotp\; \hat{k} \\ & + A_{y}B_{x}\; \hat{j} \cdotp\; \hat{i} + A_{y}B_{y}\; \hat{j}\; \cdotp\; \hat{j} + A_{y}B_{z}\; \hat{j} \cdotp\; \hat{k} \\ & + A_{z}B_{x}\; \hat{k}\; \cdotp\; \hat{i} + A_{z}B_{y}\; \hat{k}\; \cdotp\; \hat{j} + A_{z}B_{z}\; \hat{k}\; \cdotp\; \hat{k} \ldotp \end{split}\]

Since scalar products of two different unit vectors of axes give zero, and scalar products of unit vectors with themselves give one (see Equation \ref{2.29} and Equation \ref{2.30}), there are only three nonzero terms in this expression. Thus, the scalar product simplifies to

\[\vec{A}\; \cdotp \vec{B} = A_{x}B_{x} + A_{y}B_{y} + A_{z}B_{z} \ldotp \label{2.33}\]

We can use Equation \ref{2.33} for the scalar product in terms of scalar components of vectors to find the angle between two vectors. When we divide Equation \ref{2.27} by AB, we obtain the equation for cos \(\varphi\), into which we substitute Equation \ref{2.33}:

\[\cos \varphi = \frac{\vec{A}\; \cdotp \vec{B}}{AB} = \frac{A_{x}B_{x} + A_{y}B_{y} + A_{z}B_{z}}{AB} \ldotp \label{2.34}\]

Angle \(\varphi\) between vectors \(\vec{A}\) and \(\vec{B}\) is obtained by taking the inverse cosine of the expression in Equation \ref{2.34}.

Example \(\PageIndex{2}\)

Three dogs are pulling on a stick in different directions, as shown in Figure \(\PageIndex{2}\). The first dog pulls with force \(\vec{F}_{1}\) = (10.0 \(\hat{i}\) − 20.4 \(\hat{j}\) + 2.0 \(\hat{k}\))N, the second dog pulls with force \(\vec{F}_{2}\) = (−15.0 \(\hat{i}\) − 6.2 \(\hat{k}\))N , and the third dog pulls with force \(\vec{F}_{3}\) = (5.0 \(\hat{i}\) + 12.5 \(\hat{j}\))N . What is the angle between forces \(\vec{F}_{1}\) and \(\vec{F}_{2}\)?

**Strategy**

The components of force vector \(\vec{F}_{1}\) are F_{1x} = 10.0 N, F_{1y}= −20.4 N, and F_{1z} = 2.0 N, whereas those of force vector \(\vec{F}_{2}\) are F_{2x} = −15.0 N, F_{2y} = 0.0 N, and F_{2z} = −6.2 N. Computing the scalar product of these vectors and their magnitudes, and substituting into Equation \ref{2.34} gives the angle of interest.

**Solution**

The magnitudes of forces \(\vec{F}_{1}\) and \(\vec{F}_{2}\) are

\[F_{1} = \sqrt{F_{1x}^{2} + F_{1y}^{2} + F_{1z}^{2}} = \sqrt{10.0^{2} + 20.4^{2} + 2.0^{2}}N = 22.8\; N\]

and

\[F_{2} = \sqrt{F_{2x}^{2} + F_{2y}^{2} + F_{2z}^{2}} = \sqrt{15.0^{2} + 6.2^{2}}N = 16.2\; N \ldotp\]

Substituting the scalar components into Equation \ref{2.33} yields the scalar product

\[\begin{split} \vec{F}_{1}\; \cdotp \vec{F}_{2} & = F_{1x}F_{2x} + F_{1y}F_{2y} + F_{1z}F_{2z} \\ & = (10.0\; N)(-15.0\; N) + (-20.4\; N)(0.0\; N) + (2.0\; N)(-6.2\; N) \\ & = -162.4\; N^{2} \ldotp \end{split}\]

Finally, substituting everything into Equation \ref{2.34} gives the angle

\[\cos \varphi = \frac{\vec{F}_{1}\; \cdotp \vec{F}_{2}}{F_{1}F_{2}} = \frac{-162.4\; N^{2}}{(22.8\; N)(16.2\; N)} = -0.439 \Rightarrow \varphi = \cos^{-1} (-0.439) = 116.0^{o} \ldotp\]

**Significance**

Notice that when vectors are given in terms of the unit vectors of axes, we can find the angle between them without knowing the specifics about the geographic directions the unit vectors represent. Here, for example, the +x-direction might be to the east and the +y-direction might be to the north. But, the angle between the forces in the problem is the same if the +x-direction is to the west and the +y-direction is to the south.

Exercise 2.13

Find the angle between forces \(\vec{F}_{1}\) and \(\vec{F}_{3}\) in Example \(\PageIndex{2}\).

Example \(\PageIndex{3}\): The Work of a Force

When force \(\vec{F}\) pulls on an object and when it causes its displacement \(\vec{D}\), we say the force performs work. The amount of work the force does is the scalar product \(\vec{F}\; \cdotp \vec{D}\). If the stick in Example \(\PageIndex{2}\) moves momentarily and gets displaced by vector \(\vec{D}\) = (−7.9 \(\hat{j}\) − 4.2 \(\hat{k}\))cm, how much work is done by the third dog in Example \(\PageIndex{2}\)?

**Strategy**

We compute the scalar product of displacement vector \(\vec{D}\) with force vector \(\vec{F}_{3}\) = (5.0 \(\hat{i}\) + 12.5 \(\hat{j}\))N, which is the pull from the third dog. Let’s use W_{3} to denote the work done by force \(\vec{F}_{3}\) on displacement \(\vec{D}\).

**Solution**

Calculating the work is a straightforward application of the dot product:

\[\begin{split} W_{3} & = \vec{F}_{3}\; \cdotp \vec{D} = F_{3x}D_{x} + F_{3y}D_{y} + F_{3z}D_{z} \\ & = (5.0\; N)(0.0\; cm) + (12.5\; N)(-7.9\; cm) + (0.0\; N)(-4.2\; cm) \\ & = -98.7\; N\; \cdotp cm \ldotp \end{split}\]

**Significance**

The SI unit of work is called the joule (J) , where 1 J = 1 N · m. The unit cm · N can be written as 10^{−2 }m · N = 10^{−2} J, so the answer can be expressed as W_{3} = −0.9875 J ≈ −1.0 J.

Exercise 2.14

How much work is done by the first dog and by the second dog in Example \(\PageIndex{2}\) on the displacement in Example \(\PageIndex{3}\)?

## Contributors and Attributions

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).