Dot product is proportional to cosine of angle between vectors

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 vector law.

Links:

  1. Wikipedia.

dot_product

Dot product between \(\vec u\) and \(\vec v\).

Symbol:

dot(u, v)

Latex:

\(\left( \vec u, \vec v \right)\)

Dimension:

any_dimension

first_vector_length

Length of \(\vec u\).

Symbol:

u

Latex:

\(u\)

Dimension:

any_dimension

second_vector_length

Length of \(\vec v\).

Symbol:

v

Latex:

\(v\)

Dimension:

any_dimension

angle_between_vectors

angle between \(\vec u\) and \(\vec v\).

Symbol:

phi

Latex:

\(\varphi\)

Dimension:

angle

law

dot(u, v) = u * v * cos(phi)

Latex:
\[\left( \vec u, \vec v \right) = u v \cos{\left(\varphi \right)}\]