Topic 3 / 17basic
Dot Product
Compute dot products component-wise and geometrically; find angles, test orthogonality, project, and compute work done by a force.
The dot product takes two vectors and returns a scalar. It encodes the angle between them: parallel vectors give large positive values, perpendicular vectors give zero, anti-parallel vectors give large negatives. From the dot product we get angles, projections, and the formula for work.
Two formulas for the dot product
Component form: . Geometric form: . Setting them equal lets us solve for .
Key takeaways
- Component form is fastest for computation.
- Geometric form is best for interpretation (angles, orthogonality).
Orthogonality test
(assuming neither is the zero vector). This is the workhorse: any time you need to check perpendicularity, dot.
Angle between two vectors
. The angle . Negative dot product → obtuse angle; positive → acute.
Orthogonal projection
The projection of onto is . Be careful: the **denominator is **, not . The scalar projection (length, signed) is .
Strategy tips
- Always include the factor at the end so the answer is a vector.
- If you only want the length, divide by (not ).
Work done by a constant force
If a constant force moves an object through displacement , the work done is . Only the component of force along the displacement contributes.
Algebraic properties
Commutative: . Distributive: . . .
Worked examples
Example 1
Find the angle between and .
- 1Dot product.
- 2Magnitudes.
- 3Cosine of the angle.
- 4Take inverse cosine.
Answer
.Example 2
Find where and .
- 1Dot product.
- 2Magnitude squared.
- 3Projection formula.
Answer
.Example 3
A force moves an object from to . Find the work done.
- 1Displacement vector.
- 2Work is dot product.
Answer
(units of force × distance).Interactive visualizations
Loading visualization…
Adjust the components of and . Watch the dot product, angle, and projection update live.
Formulas in this topic
Dot product (components)
Compute via components.
Dot product (geometric)
Use to extract the angle between vectors.
Angle between vectors
Solve for θ ∈ [0, π].
Vector projection
Component of u along v as a vector.
Scalar projection
Signed length of the projection.
Work (constant force)
Constant force times displacement, dotted.