Derivation (sum and product of eigenvalues)
Let $$\begin{align*} c_0 + c_1 \lambda + \ldots + c_n\lambda^n &= p_A(\lambda) \\ &= \det(A-\lambda I) \\ &= \epsilon_{J_1J_2\ldots J_n} (A_{J_1 1} - \lambda\delta_{J_1 1} )\ldots(A_{J_n n} - \lambda\delta_{J_nn}) \end{align*}$$ be the characteristic polynomial of an $n\times n$ matrix $A$.
-
For $c_n$, we always have to pick $J_i = i$, and we get $$ c_n = (-1)^n. $$
-
For $c_{n-1}$, we have to pick $J_i = i$ for every $i$ except one, but then in order for $\epsilon_{J_1J_2\ldots J_n}\neq 0$, we have to pick all $J_i = i$. $$ c_{n-1} = (-1)^{n-1} (A_{11} + A_{22} + \ldots + A_{nn}) = (-1)^{n-1}\,\mrm{tr}\,A $$ Therefore since sum of roots $= -c_{n-1}/c_n$, $$ \sum_{\text{eigenvalue }\lambda} \lambda = \mrm{tr}\, A.$$
-
For $c_0$, $$ c_0 = p_A(0) = \det A. $$ Therefore since product of roots $= (-1)^n c_0/c_n$, $$ \prod_{\text{eigenvalue }\lambda} \lambda = \det A. $$