I was studying matrices and I came to know the following two results:
- Real symmetric matrices, $A = P D P^{-1} = P D P^T$ where $D$ is diagonal
- For any real matrix $A$ and any vectors $x$ and $y$, $\langle A\mathbf{x},\mathbf{y}\rangle = \langle\mathbf{x},A^T\mathbf{y}\rangle.$
Please explain me the meaning of second and proof of the first. In general I want to understand the meaning of answer given here.