Math101Dot Product
The dot product combines two vectors into a scalar that measures directional alignment, angle, projection, and work.
The dot product is positive for broadly aligned vectors, zero for perpendicular vectors, and negative for opposing vectors.
Component definition
For vectors in three dimensions,
their dot product is
In two dimensions, omit the third component. The output is a scalar, not a vector.
Geometric definition
If $\theta$ is the angle between nonzero vectors,
This connects component algebra to direction. The angle between vectors is conventionally chosen from $0$ to $\pi$.
Worked example: compute a dot product
The sign gives useful qualitative information before the angle is calculated.
Finding an angle
For nonzero vectors,
Compute the dot product and both magnitudes, then use inverse cosine. Keep full precision before evaluating the angle and confirm the sign agrees with acute, right, or obtuse geometry.
Common mistakes
Returning a component vector. The dot product is one scalar.
Multiplying magnitudes without cosine. Direction matters.
Using inverse tangent for the angle between arbitrary vectors. Use inverse cosine of the normalized dot product.
Dividing vector projection by $\|v\|$ instead of $\|v\|^2$. Distinguish scalar and vector projection.
Rounding before inverse cosine. The angle can shift noticeably.
Quick self-check
- Were corresponding components multiplied and then added?
- Is the output a scalar?
- Does the sign match the expected angle type?
- Are both vectors nonzero before finding an angle?
- Is scalar versus vector projection distinguished?
- Do application units and direction interpretations make sense?
