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
θ=47.6∘\theta = 47.6^{\circ}
  1. Use
  2. Dot product
  3. Magnitudes
  4. Substitute
  5. Inverse cosine

Change the numbers and solve your own

The method in brief

  1. Magnitude: the square root of the sum of the squared components.
  2. Dot product: multiply matching components and add. It is zero when the vectors are perpendicular.
  3. Angle between vectors: cos θ = (a · b) ÷ (|a||b|).
  4. 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.

More A-level examples on this topic