How do you solve for a matrix by rearranging a matrix equation?

19 Views Asked by At

I am struggling with how you manipulate a matrix equation to solve for another. For example, I am trying to find the matrix that satisfies a given set of eigenvalues and eigenvectors, and I know that: $$ \mathbf{P^{-1}AP=D}$$ But how would I go about solving for matrix $ \mathbf{A}$? I see in the book it is given as: $$ \mathbf{A=PDP^{T}} $$ but not really sure how they got to that.