At some point in your education you were told that vectors are orthogonal (perpendicular) if and only if their dot product (inner product) equals zero. Let's review where this comes from. Given two vectors \(u, v \in \Rm \text{,}\) those two vectors, and their sum all exist in the same two dimensional (2D) subspace. So, they can be visualized as
where the page on which they are drawn is that 2D subspace. Now, if they are, as drawn, perpendicular and we consider the lengths of the sides of the triangle that they define then we can employ the first theorem you were probably ever exposed to, the Pythagorean Theorem, to find that
\begin{equation*}
\| u \|_2^2 + \| v \|_2^2 = \| u + v \|_2^2 .
\end{equation*}
Using what we know about the relation between the two norm and the dot product, we find that
\begin{equation*}
\begin{array}{l}
u^T u + v^T v =
( u + v )^T (u + v ) \\
~~~ \Leftrightarrow ~~~~ \lt \mbox{ multiply out } \gt \\
u^T u + v^T v = u^T u + u^T v + v^T u + v^T v \\
~~~ \Leftrightarrow ~~~~ \lt u^T v = v^T u \mbox{ if } u
\mbox{ and } v \mbox{ are real-valued} \gt \\
u^T u + v^T v = u^T u + 2 u^T v + v^T v \\
~~~ \Leftrightarrow ~~~~ \lt \mbox{ delete common terms }
\gt \\
0 = 2 u^T v
\end{array}
\end{equation*}
so that we can conclude that \(u^T v = 0 \text{.}\)
While we already encountered the notation \(x^H x \) as an alternative way of expressing the length of a vector, \(\| x
\|_2 = \sqrt{ x^H x } \text{,}\) we have not formally defined the inner product (dot product), for complex-valued vectors:
Definition2.2.1.1. Dot product (Inner product).
Given \(x, y \in \Cm \) their dot product (inner product) is defined as