Let's assume I have a $2$ dimensional vector space with inner product, and a basis where the inner product can be represented as $$ \begin{bmatrix}x &y\end{bmatrix} \begin{bmatrix}E &F\\F &G\end{bmatrix} \begin{bmatrix}x\\y\end{bmatrix}$$ In this basis, I express an orthonormal basis $\{e_1;e_2\}$as $\{(e_{1x},e_{1y});(e_{2x},e_{2y})\}$.
I have the "suspicion", and I could not find any counterexample, that the inverse of the matrix above can be written as $$ \begin{bmatrix} e_{1x}^2+e_{2x}^2 & e_{1x}e_{1y}+e_{2x}e_{2y}\\ e_{1x}e_{1y}+e_{2x}e_{2y} & e_{1y}^2+e_{2y}^2 \end{bmatrix} $$ for any orthonormal basis $\{e_1;e_2\}$.
I tried to set up the equalities that derive from orthogonality and normality of the various vectors and arrange them in a identity matrix, but I am stuck there and I can't find any way to extraxt an inverse of my $EFFG$ matrix. I feel there may be a straightforward way to prove this (or I am wrong upfront).
What could be a method to prove this? Also, how would this extend to $n>2$?
thanks
What if A = \begin{bmatrix}2&0\0&1\end{bmatrix} and P = I, then $\delta{ij}\ne(P^TAP)_{ij}$ β Alex May 24 '23 at 16:20