The dot product is an algebraic operation that takes 2 equally sized vectors and returns a single scalar number. The dot product is usually denoted with a
The dot product can be defined as follows:
Where
The dot product can also be defined geometrically
where
Two vectors are orthogonal iff their dot product is 0. This is evident from the
There are also more general properties:
Given a vector
This is because the angle