2.Let A=[(1,6),(0,-1)]
(a) Find the eigenvalues of A and for each eigenvalue λ, find a basis of the corresponding eigenspace Eλ. Show your work.
(b) Write down an invertible matrix P and a diagonal matrix D such that P−1AP = D. Show that the equation P−1AP = D is satisfied for your matrices P and D.
1 02. LetA— [6 _1]. (a) Find the eigenvalues of A and for each eigenvalue A, find a basisof the corresponding eigenspace EA. Show your work. (b) Write down an invertible matrix P and a diagonal matrix D suchthat P‘lAP = D. Show that the equation P‘lAP = D issatisfied for your matrices P and D.