In a previous linear algebra course, you may have learned that if \(a, b \in \Rm \) then
\begin{equation*}
\widehat b = \frac{a^T b}{a^T a} a = \frac{a a^T}{a^T a} b
\end{equation*}
equals the component of \(b \) in the direction of \(a \) and
\begin{equation*}
b^\perp = b - \widehat b = ( I - \frac{a a^T}{a^T a}) b
\end{equation*}
equals the component of \(b \) orthogonal to \(a \text{,}\) since \(b = \widehat b + b^\perp \) and \(\widehat b^T b^\perp = 0 \text{.}\) Similarly, if \(a, b \in \Cm \) then
\begin{equation*}
\widehat b= \frac{a^H b}{a^H a} a = \frac{a a^H}{a^H a} b
\end{equation*}
equals the component of \(b \) in the direction of \(a \) and
\begin{equation*}
b^\perp = b - \widehat b = ( I - \frac{a a^H}{a^H a}) b
\end{equation*}
equals the component of \(b \) orthogonal to \(a \text{.}\)
Remark2.2.2.1.
The matrix that (orthogonally) projects the vector to which it is applied onto the vector \(a \) is given by
Interpretation: first orthogonally projecting onto the space orthogonal to vector \(a \) and then orthogonally projecting the resulting vector onto that \(a \) leaves you with the zero vector.
Homework2.2.2.3.
Let \(a, b \in \Cn \text{,}\) \(\widehat b = \frac{a a^H}{a^H a} b
\text{,}\) and \(b^\perp = b-\widehat b \text{.}\)