How can we get an invertible matrix $W \in$ $\mathbb{R}$$^{3\times3}$ to make $W\hspace{-1mm}AW^{T}$ a diagonal matrix? Here,
$$ A = \begin{bmatrix} 2 & 1 & 3 \\ 1 & 0 & 1 \\ 3 & 1 & 3 \end{bmatrix} $$
I try to compute the eigenvalues of $A$, but it is difficult to factor the polynomial $t^3 - 5t^2 - 5t - 1 = 0$. I've also attempted to compute its SVD, but the polynomial becomes more complicated. Do we have other ways to solve it?