The trace by the sum of the elements on the diagonals is and . This can be verified by noting that the trace of a matrix equals the sum of its eigenvalues. The eigenvalues of A is obtained as shown below.
One eigenvalue is 1 , and the other two can be obtained from the quadratic equation . The sum of the eigenvalues is equal to , as expected. For matrix , the only thing that is different is the element , and the characteristic equation can be changed as . The first eigenvalue changes to , while the other two remains the same. Therefore, the sum of the eigenvalues will be , as expected.
-1