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

  1. Commutative Property:
  2. Distributive Property:
  3. Scalar Multiplication:
  4. Positive Definiteness: with equality if and only if
  5. If then