🌱 Tony's Memex Tony's Intertwingled Memex
Digital Garden | OER Curriculum
Home / Digital Garden / Dot and Cross Products

Dot and Cross Products

📊 Interactive Desmos Graph Open in Desmos ↗
Core Definition

Two ways to multiply vectors:

1. **Dot Product:** Yields a scalar mapping projection:
ab=a1b1+a2b2+a3b3=abcosθ\mathbf{a} \cdot \mathbf{b} = a_1 b_1 + a_2 b_2 + a_3 b_3 = |\mathbf{a}| |\mathbf{b}| \cos\theta
2. **Cross Product:** Yields an orthogonal vector:
a×b=ijka1a2a3b1b2b3=nabsinθ\mathbf{a} \times \mathbf{b} = \begin{vmatrix} \mathbf{i} & \mathbf{j} & \mathbf{k} \\ a_1 & a_2 & a_3 \\ b_1 & b_2 & b_3 \end{vmatrix} = \mathbf{n} |\mathbf{a}| |\mathbf{b}| \sin\theta

Concept Explanation

The dot product measures alignment; it evaluates to zero for orthogonal vectors. The cross product measures rotation/area; it evaluates to zero for parallel vectors and produces a vector perpendicular to the plane formed by the input vectors.

Visual / Geometric Intuition

Interactive Desmos Graph

Engineering Applications

Dot products calculate mechanical work (W=FdW = \mathbf{F} \cdot \mathbf{d}) and electrical power flow. Cross products compute torque (τ=r×F\mathbf{\tau} = \mathbf{r} \times \mathbf{F}) and the electromagnetic Lorentz force.

Example Problem

Compute the cross product of a=1,0,2\mathbf{a} = \langle 1, 0, 2 \rangle and b=0,3,1\mathbf{b} = \langle 0, 3, -1 \rangle.

Solution

Set up the determinant:

a×b=ijk102031\mathbf{a} \times \mathbf{b} = \begin{vmatrix} \mathbf{i} & \mathbf{j} & \mathbf{k} \\ 1 & 0 & 2 \\ 0 & 3 & -1 \end{vmatrix}

Expand the components:

i(0(1)2(3))j(1(1)2(0))+k(1(3)0(0))\mathbf{i} (0(-1) - 2(3)) - \mathbf{j} (1(-1) - 2(0)) + \mathbf{k} (1(3) - 0(0))
=i(6)j(1)+k(3)= \mathbf{i} (-6) - \mathbf{j} (-1) + \mathbf{k} (3)
=6,1,3= \langle -6, 1, 3 \rangle


Connections & References