Find distance and angle between 2 matrices

1.8k Views Asked by At

$Let \ A, B ∈ M_2(Q) \ and\ let ⟨A, B⟩ = tr(A^T B) \ be\ an\ inner\ product \ on M_2 (Q).$
i.Find the distance between $ A=\begin{bmatrix}1 & 2\\1 & 0\end{bmatrix}$ and B= $\begin{bmatrix}3 & 3\\1 & 2\end{bmatrix}$ in this inner product space.

ii. Find the angle between them.

From the definition, i found the inner product, 10, but i don't know how to find the angle and distance for matrices. I know how to compute for vector spaces but i have no idea how to apply it for matrices.

2

There are 2 best solutions below

3
On BEST ANSWER

The following might help you

  1. $$\|A-B\|^2=\langle A-B, A-B\rangle$$
  2. $$\langle A, B \rangle=\|A\|\|B\| \cos \theta$$
0
On

Hint: $||A||^2 = tr (A^T A)=\langle A, A\rangle$, and $\langle A,B \rangle=||A|| ||B|| \cos(\theta)$, where $\theta$ is the angle between $A$ and $B$.