Dot product is proportional to cosine of angle between vectors (vector)¶
The dot product of two vectors is a scalar binary operation that can be defined as the product of the norms of the vectors and the cosine of the angle between them. Also see the scalar law.
Links:
- first_vector¶
First vector.
- Symbol:
u
- Latex:
\({\vec u}\)
- Dimension:
any_dimension
- second_vector¶
Second vector.
- Symbol:
v
- Latex:
\({\vec v}\)
- Dimension:
any_dimension
- angle_between_vectors¶
angle
betweenfirst_vector
andsecond_vector
.
- Symbol:
phi
- Latex:
\(\varphi\)
- Dimension:
angle
- law¶
dot(u, v) = norm(u) * norm(v) * cos(phi)
- Latex:
- \[\left( {\vec u}, {\vec v} \right) = \left \Vert {\vec u} \right \Vert \left \Vert {\vec v} \right \Vert \cos{\left(\varphi \right)}\]