Let $\left<\;,\;\right>$ be an inner product defined by $\left=$ tr$\left(A\overline{B}^{T}\right)$ over $M_n\left(\mathbb{C}\right).$
I am looking for the angle between: $$A=\begin{pmatrix}2+i & 1\\-1&0\end{pmatrix}\quad B=\begin{pmatrix}3-2i & 1+i\\0 & -i\end{pmatrix}$$
First we can see that:$$\overline{A}=\begin{pmatrix}2-i & 1\\-1&0\end{pmatrix}\quad \overline{B}=\begin{pmatrix}3+2i & 1-i\\0 & i\end{pmatrix}$$
$$\Downarrow$$
$$\overline{A}^T=\begin{pmatrix}2-i & -1\\1&0\end{pmatrix}\quad \overline{B}^T=\begin{pmatrix}3+2i & 0\\1-i & i\end{pmatrix}$$
And therefore:
- $\left=$ tr$\left(A\overline{B}^{T}\right)=\left(2+i\right)\left(3+2i\right)+1-i=5+6i$
- $\left=\left(2+i\right)\left(2-i\right)+1+1=7$
- $\left=\left(3-2i\right)\left(3+2i\right)+\left(1+i\right)\left(1-i\right)+1=16$
Now as the angle between any two vectors is defined we get that: $$\cos{\alpha}=\frac{\left}{\Vert{A}\Vert\Vert{B}\Vert}=\frac{5+6i}{\sqrt{112}}$$
$$\Downarrow$$
$$\alpha = \;?$$
I didn't even know a complex number could be an image for the cosine function.
Thanks for any help.