Skip to main content

Subsection 2.2.1 Orthogonal vectors

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:

Definition 2.2.1.1. Dot product (Inner product).

Given \(x, y \in \Cm \) their dot product (inner product) is defined as

\begin{equation*} x^H y = \overline x^T y = \overline{x^T} y = \overline \chi_0 \psi_0 + \overline \chi_1 \psi_1 + \cdots + \overline \chi_{m-1} \psi_{m-1} = \sum_{i=0}^{m-1} \overline \chi_i \psi_i . \end{equation*}

The notation \(x^H \) is short for \(\overline x^T \text{,}\) where \(\overline x \) equals the vector \(x \) with all its entries conjugated. So,

\begin{equation*} \begin{array}{l} x^H y \\ ~~~= ~~~~ \lt \mbox{ expose the elements of the vectors } \gt \\ \left( \begin{array}{c} \chi_0 \\ \vdots \\ \chi_{m-1} \end{array} \right)^H \left( \begin{array}{c} \psi_0 \\ \vdots \\ \psi_{m-1} \end{array} \right) \\ ~~~= ~~~~ \lt x^H = \overline{x}^T \gt \\ \overline{ \left( \begin{array}{c} \chi_0 \\ \vdots \\ \chi_{m-1} \end{array} \right)}^T \left( \begin{array}{c} \psi_0 \\ \vdots \\ \psi_{m-1} \end{array} \right) \\ ~~~= ~~~~ \lt \mbox{ conjugate the elements of } x \gt \\ \left( \begin{array}{c} \overline \chi_0 \\ \vdots \\ \overline \chi_{m-1} \end{array} \right)^T \left( \begin{array}{c} \psi_0 \\ \vdots \\ \psi_{m-1} \end{array} \right) \\ ~~~= ~~~~ \lt \mbox{ view } x \mbox{ as a } m \times 1 \mbox{ matrix and transpose } \gt \\ \left( \begin{array}{c| c | c} \overline \chi_0 \amp \cdots \amp \overline \chi_{m-1} \end{array} \right) \left( \begin{array}{c} \psi_0 \\ \vdots \\ \psi_{m-1} \end{array} \right) \\ ~~~ = ~~~~ \lt \mbox{ view } x^H \mbox{ as a matrix and perform matrix-vector multiplication } \gt \\ \sum_{i=0}^{m-1} \overline \chi_i \psi_i. \end{array} \end{equation*}
Homework 2.2.1.1.

Let \(x,y \in \Cm \text{.}\)

ALWAYS/SOMETIMES/NEVER: \(\overline {x^H y} = y^H x \text{.}\)

Answer

ALWAYS

Now prove it!

Solution
\begin{equation*} \overline{x^H y} = \overline{\sum_{i=0}^{m-1} \overline \chi_i \psi_i} = \sum_{i=0}^{m-1} \overline{\overline \chi_i \psi_i} = \sum_{i=0}^{m-1} {\overline \psi_i \chi_i} = y^H x. \end{equation*}
Homework 2.2.1.2.

Let \(x \in \Cm \text{.}\)

ALWAYS/SOMETIMES/NEVER: \({x^H x}\) is real-valued.

Answer

ALWAYS

Now prove it!

Solution

By the last homework,

\begin{equation*} \overline{x^H x} = x^H x, \end{equation*}

A complex number is equal to its conjugate only if it is real-valued.

The following defines orthogonality of two vectors with complex-valued elements:

Definition 2.2.1.2. Orthogonal vectors.

Let \(x, y \in \C^m \text{.}\) These vectors are said to be orthogonal (perpendicular) iff \(x^H y = 0 \text{.}\)