3. The characteristic polynomial for A = [[1, -2, 1], [-1, 0, 1], [-1, -2, 3]] is -λ(λ - 2)^2.
(a) State the eigenvalues of the matrix A.
(b) Determine a basis for each eigenspace.
(c) Is A diagonalizable? If so, give the matrices P and D such that A = PDP^-1. If A is not diagonalizable, briefly explain why.