Products of Vectors

The Dot Product (Scalar Product)

Dot Product

Let a=(a1,a2,a3)\vec{a} = (a_1, a_2, a_3) and b=(b1,b2,b3)\vec{b} = (b_1, b_2, b_3). The dot product is

ab=a1b1+a2b2+a3b3\vec{a} \cdot \vec{b} = a_1b_1 + a_2b_2 + a_3b_3

The result is a scalar, hence the name scalar product.

Geometric Meaning

Geometric meaning of the dot product
ab=abcosθ\vec{a} \cdot \vec{b} = |\vec{a}| |\vec{b}| \cos\theta

where θ\theta is the angle between the two vectors.

  • When θ=0\theta = 0^\circ: ab=ab\vec{a} \cdot \vec{b} = |\vec{a}| |\vec{b}|
  • When θ=90\theta = 90^\circ: ab=0\vec{a} \cdot \vec{b} = 0
  • When θ=180\theta = 180^\circ: ab=ab\vec{a} \cdot \vec{b} = -|\vec{a}| |\vec{b}|

Properties

Properties of the dot product

Commutativity: ab=ba\vec{a} \cdot \vec{b} = \vec{b} \cdot \vec{a}

Distributivity: a(b+c)=ab+ac\vec{a} \cdot (\vec{b} + \vec{c}) = \vec{a} \cdot \vec{b} + \vec{a} \cdot \vec{c}

Scalar association: (ka)b=k(ab)(k\vec{a}) \cdot \vec{b} = k(\vec{a} \cdot \vec{b})

Self inner product: aa=a2\vec{a} \cdot \vec{a} = |\vec{a}|^2

Applications

Perpendicularity test:

abab=0\vec{a} \perp \vec{b} \Leftrightarrow \vec{a} \cdot \vec{b} = 0

Angle formula:

cosθ=abab\cos\theta = \frac{\vec{a} \cdot \vec{b}}{|\vec{a}| |\vec{b}|}

The Cross Product (Vector Product)

Cross Product

Let a=(a1,a2,a3)\vec{a} = (a_1, a_2, a_3) and b=(b1,b2,b3)\vec{b} = (b_1, b_2, b_3). The cross product is

a×b=(a2b3a3b2, a3b1a1b3, a1b2a2b1)\vec{a} \times \vec{b} = (a_2b_3 - a_3b_2,\ a_3b_1 - a_1b_3,\ a_1b_2 - a_2b_1)

The result is a vector, hence the name vector product.

Determinant Formula

Determinant representation of the cross product
a×b=ijka1a2a3b1b2b3\vec{a} \times \vec{b} = \begin{vmatrix} \vec{i} & \vec{j} & \vec{k} \\ a_1 & a_2 & a_3 \\ b_1 & b_2 & b_3 \end{vmatrix}

Geometric Meaning

Geometric meaning of the cross product

The result vector is perpendicular to the plane of a\vec{a} and b\vec{b}, with direction given by the right-hand rule:

a×b=absinθ|\vec{a} \times \vec{b}| = |\vec{a}| |\vec{b}| \sin\theta

Right-hand rule: curl the fingers of your right hand from a\vec{a} toward b\vec{b}; your thumb points in the direction of a×b\vec{a} \times \vec{b}.

Properties

Properties of the cross product

Anti-commutativity: a×b=b×a\vec{a} \times \vec{b} = -\vec{b} \times \vec{a}

Distributivity: a×(b+c)=a×b+a×c\vec{a} \times (\vec{b} + \vec{c}) = \vec{a} \times \vec{b} + \vec{a} \times \vec{c}

Scalar association: (ka)×b=k(a×b)(k\vec{a}) \times \vec{b} = k(\vec{a} \times \vec{b})

Self cross product: a×a=0\vec{a} \times \vec{a} = \vec{0}

Applications

Parallelism test:

aba×b=0\vec{a} \parallel \vec{b} \Leftrightarrow \vec{a} \times \vec{b} = \vec{0}

Area: the area of the parallelogram spanned by a\vec{a} and b\vec{b} is a×b|\vec{a} \times \vec{b}|.

The Scalar Triple Product

Scalar Triple Product

For vectors a,b,c\vec{a}, \vec{b}, \vec{c} in 3-space, the scalar triple product is

[a,b,c]=a(b×c)=a1a2a3b1b2b3c1c2c3[\vec{a}, \vec{b}, \vec{c}] = \vec{a} \cdot (\vec{b} \times \vec{c}) = \begin{vmatrix} a_1 & a_2 & a_3 \\ b_1 & b_2 & b_3 \\ c_1 & c_2 & c_3 \end{vmatrix}

Its absolute value equals the volume of the parallelepiped spanned by the three vectors.

Worked Example: Mixed Product

Find the scalar triple product of a=(1,0,0)\vec{a}=(1,0,0), b=(0,1,0)\vec{b}=(0,1,0), c=(0,0,1)\vec{c}=(0,0,1).

Solution: b×c=(1,0,0)\vec{b}\times\vec{c} = (1,0,0), so [a,b,c]=a(1,0,0)=1[\vec{a},\vec{b},\vec{c}] = \vec{a}\cdot(1,0,0) = 1. The three unit vectors span a unit cube of volume 1.


Summary

Symbols Used in This Article

SymbolTypeReading/ExplanationMeaning in This Article
ab\vec{a} \cdot \vec{b}scalara dot bThe dot product of a\vec{a} and b\vec{b}
a×b\vec{a} \times \vec{b}vectora cross bThe cross product of a\vec{a} and b\vec{b}
[a,b,c][\vec{a}, \vec{b}, \vec{c}]scalartriple productThe scalar triple product
θ\thetaGreek letterthetaThe angle between two vectors
i,j,k\vec{i}, \vec{j}, \vec{k}vectorsi, j, kThe standard unit vectors along the axes

English–Chinese Glossary

English termChinese termPhoneticExplanation
dot product数量积/dɒt ˈprɒdʌkt/The scalar product ab\vec{a}\cdot\vec{b}
cross product向量积/krɒs ˈprɒdʌkt/The vector product a×b\vec{a}\times\vec{b}
scalar triple product混合积/ˈskeɪlə ˈtrɪpəl ˈprɒdʌkt/a(b×c)\vec{a}\cdot(\vec{b}\times\vec{c})
perpendicular垂直/ˌpɜːpənˈdɪkjʊlə/At right angles
parallel平行/ˈpærəlel/Having the same direction
right-hand rule右手定则/raɪt hænd ruːl/Rule for the direction of a cross product
parallelogram平行四边形/ˌpærəˈleləɡræm/A four-sided figure with opposite sides parallel
parallelepiped平行六面体/ˌpærəlelˈepɪped/A 3-D figure of three parallelograms