Diagonalize the matrix A, if possible. That is, find an invertible matrix P and a diagonal matrix D such that A = PDP⁻¹

A = [1 3 3]
[-3 -5 -3]
[3 3 1]



Answer :