Math101learn.math101.caDot 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.
Orthogonality
Two nonzero vectors are perpendicular exactly when
This provides an algebraic perpendicularity test without needing a diagram. The zero vector has zero dot product with everything but has no direction, so it is handled separately in geometric statements.
Scalar projection
The signed scalar projection of $\vec u$ onto $\vec v$ is
It measures how much of $\vec u$ points along the direction of $\vec v$. A negative value points opposite that direction.
Vector projection
The vector projection is
Subtracting this projection from $\vec u$ gives a component perpendicular to $\vec v$. Together, the parallel and perpendicular components reconstruct $\vec u$.
Work
For a constant force $\vec F$ causing displacement $\vec d$, work is
Only the force component along the displacement contributes. Perpendicular force does no work under this idealized definition. Units are joules when force is in newtons and displacement in metres.
Useful properties
The dot product is commutative and distributive:
Also $\vec v\cdot\vec v=\|\vec v\|^2$.
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?
Related topics
Try it yourself
Hints are part of learning. Open one whenever it makes the next step feel possible.
Find ⟨2, −1, 3⟩ · ⟨1, 4, −2⟩.
- 2(1) + (−1)(4) + 3(−2)
- 2 − 4 − 6 = −8
End of lesson
Nice work making it this far.
Understanding grows through return visits. Save this lesson, try the practice, or continue when you are ready.
