Find a Matrix A from two eigenvalues and eigenvectors

eigenvalues-eigenvectorslinear algebra

I have a Eigenvalues -1 corresponding to eigenvector

enter image description here

And another Eigenvalue 2 corresponding to eigenvector

enter image description here

But they are asking for a Matrix A with these corresponding Eigenvalues and Eigenvectors
My problem how do i find this Matrix i think i should use a Linear Combination of some sort but i don't know how??

Best Answer

Suppose $v_1, v_2$ are vectors to the eigenvalues $\lambda_1, \lambda_2$, let $S=(v_1,v_2)$. Let $A=diag(\lambda_1,\lambda_2)$, you are looking for $X$ such that $XS=SA$, so you can take $X=SAS^{-1}$.