Formula
Angle between two vectors
Vector Algebra • Dot Product
Formula
For non-zero vectors , the angle between them satisfies . The angle with the positive -axis uses .
How to use it
- 1Compute the dot product, then the two lengths, then divide.
- 2For the angle with an axis, the dot product is just the matching component.
Worked example
Find the angle between and .
Step-by-step
- 1
Why: Only the component survives.
- 2,
- 3, so
Answer
Watch out
Divide by both lengths, not by , and take the square root in each length.
Builds on
Also known as
cos of angle between vectors, angle with an axis