Inner Product of Vectors
The inner product of two vectors is a binary operation which takes two vectors and produces a scalar.
Let , then the inner product of and , denoted or , is defined as:
where and .
Computing the Angle between Vectors
The inner product can be used to compute the angle between two vectors and using the formula:
where and are the magnitude of the vectors and respectively.
Rearranging the formula gives:
Properties
- Commutative Property:
- Distributive Property:
- Scalar Multiplication:
- Positive Definiteness: with equality if and only if
- If then