I have to find the Eigen values of the following matrix: $$ \begin{bmatrix} 2 & -1 & 0 & 0\\ 0 & 3 & 0 & 0\\ 0 & 0 & -2 & 0\\ 0 & 0 & -1 &4 \end{bmatrix} $$
I used row operations : R4->R3-2R4
and I got : $$ \begin{bmatrix} 2 &-1 & 0 & 0\\ 0 & 3 & 0 & 0\\ 0 & 0 & -2 & 0\\ 0 & 0 & 0 & -8 \end{bmatrix} $$ Now, for a triangular matrix, Eigen values are the diagonal elements. Hence, E.V = {2,3,-2,-8}
But we also now that,
$\>$$\>$$\>$$\>$$\>$$\>$$\>$$\>$$\>$$\>$$\>$$\>$$\>$$\>$$\>$$\>$$\>$$\>$$\>$$\>$$\>$$\>$$\>$$\>$$\>$$\>$$\>$$\>$$\>$$\>$$\>$$\>$$\>$$\>$$\>$$\>$$\>$$\>$$\>$$\>$$\>$$\>$$\>$$\>$$\>$$\>$$\>$$\>$$\>$$\>$$\>$$\>$$\>$$\>$$\>$$\>$$\>$SUM of Eigen values = Trace(Matrix)
$\>$$\>$$\>$$\>$$\>$$\>$$\>$$\>$$\>$$\>$$\>$$\>$$\>$$\>$$\>$$\>$$\>$$\>$$\>$$\>$$\>$$\>$$\>$$\>$$\>$$\>$$\>$$\>$$\>$$\>$$\>$$\>$$\>$$\>$$\>$$\>$$\>$$\>$$\>$$\>$$\>$$\>$$\>$$\>$$\>$$\>$$\>$$\>$$\>$$\>$$\>$$\>$$\>$$\>$PRODUCT of Eigen values = Det(Matrix).
But by that logic the above mentioned Eigen values are not satisfied. Am i doing something wrong?