Note that the vector v is not well-defined because there is a whole range of vectors that make an angle of pi/3 with a given 3D vector . On the other hand, the dot product is just the product of the lengths times the cosine of the angle between the two vectors. So you don't need to know v exactly.