Worked solution: angle between (1,0,2) and (3,1,1)
Step-by-step working for this vector problem, produced and checked by the solver.
Vectors
Answer
- Use
- Dot product
- Magnitudes
- Substitute
- Inverse cosine
Change the numbers and solve your own
The method in brief
- Magnitude: the square root of the sum of the squared components.
- Dot product: multiply matching components and add. It is zero when the vectors are perpendicular.
- Angle between vectors: cos θ = (a · b) ÷ (|a||b|).
- Cross product: a × b has components (a₂b₃ - a₃b₂, a₃b₁ - a₁b₃, a₁b₂ - a₂b₁).
Full guide: Vector calculator: dot product, cross product, angle.