Each of these matrices has the same characteristic polynomial, \((2-\lambda )(1+\lambda )^2\). Which of the following is true? (Justify your answer.)
\(A\) is diagonalizable but \(B\) is not diagonalizable. \(A\) is not diagonalizable but \(B\) is
diagonalizable. Both \(A\) and \(B\) are diagonalizable. Neither \(A\) nor \(B\) is diagonalizable.