Let $A\in M_n(\mathbb R)$ be a symmetric matrix and $V=\mathbb R^n$. Let $T:\mathbb R^n \rightarrow \mathbb R^n$ be the operator such that $[T]_\alpha = A$, where $[T]_\alpha$ is the matrix of $T$ in the canonical basis $\alpha = \{e_1, \cdots, e_n\}$. If $f$ is the bilinear form such that $[f]_\alpha = A$, where $[f]_\alpha = [f(e_i,e_j)]_{i,j}$, prove or disprove:
If $\beta$ is another basis of $V$ such that $[f]_\beta$ is diagonal, then $[T]_\beta$ is also diagonal?
Since $\beta$ is an arbitrary basis, it seems to be false. If we have $[f]_\beta$ diagonal, then there exists $P$ such that $P^tAP = [f]_\beta$. If $P$ is orthogonal, then $P^t=P^{-1}$ implies that $[T]_\beta = P^{-1}AP = [f]_\beta $, so $[T]_\beta$ is diagonal. But the matrix $P$ is not necessarily orthogonal for any basis $\beta$. Can anyone provide a counterxample where this fails? That is, exhibit a matrix $A$ and a basis $\beta$ such that the form $[f]_\beta$ is diagonal, but $[T]_\beta$ is not diagonal?