A real symmetric matrix $\textbf{A}$ can be decomposed such that $$ \textbf{A}=\textbf{P}\textbf{D}\textbf{P}^{-1} $$ where $\textbf{P}$ is the orthonormal matrix ($\textbf{P}^{-1}=\textbf{P}^{\text{T}}$) consisting of the columns of the eigenvectors of $\textbf{A}$ and $\textbf{D}$ is the diagonal matrix with the entries as eigenvalues of $\textbf{A}$.
How can I show that the decomposition of $\textbf{A}$ can also be written as $$ \textbf{A}=\textbf{P}^{-1}\textbf{D}\textbf{P} $$ ?