The sum of all eigenvalues of any square matrix A is the same as the trace of A (that is, the sum of the diagonal elements of A).
ANSWER. The sum of the n eigenvalues of A is -1 + 1 + 2 = 2.
See this source
https://brilliant.org/discussions/thread/product-and-sum-of-eigenvalues/