The scalar or dot product of two vectors and is and the vectors are perpendicular or orthogonal if . From the point of view of matrices we can consider these vectors as column vectors
from which it follows that .
This leads us to define the scalar product of real column vectors and
B as and to define and to be orthogonal if .It is convenient to generalize this to cases where the vectors can have complex components and we adopt the following definition:
Definition 1. Two column vectors and are called orthogonal if , and is called the scalar product of and .
It should be noted also that if is a unitary matrix then , which means that the scalar product of with itself is 1 or equivalently is a unit vector, i.e. having length 1. Thus a unitary column vector is a unit vector. Because of these remarks we have the following
Definition 2. A set of vectors for which
is called a unitary set or system of vectors or, in the case where the vectors are real, an orthonormal set or an orthogonal set of unit vectors.