Let $A\in M_{n\times n}(\mathbb{F})$. The trace of $A$ is defined as $$ \begin{align*} \op{tr}(A) = \sum_{i=1}^{n} A_{i,i}. \end{align*} $$
$\op{tr} : M_{n\times n}(\mathbb{F}) \to \mathbb{F}$ is a linear map.
$\op{tr}(AB) = \op{tr}(BA)$. (Proof)
Similar matrices have equal trace. (Proof)
Let $V$ be a finite-dimensional vector space and $\alpha: V\to V$ be a linear map.
Define the trace of $\alpha$ as $\op{tr}(\alpha) =$ $\op{tr}$$($$[\alpha]^B_B$$)$.
This is independent of the choice of basis, since $[\alpha]^B_B$ and $[\alpha]^{B'}_{B'}$ are similar.