Let $M_n$ be the vector space of $n \times n$ matrices over $\mathbb{R}$. Find (with proof) all linear maps $f: M_n \longrightarrow \mathbb{R}$ such that $f(AB) = f(BA)$ for all matrices $A$ and $B$.
I know that the trace map is one such $f$. The determinant map satisfies $det(AB) = det(BA)$ -- but isn't a linear map, so it doesn't suffice.
Is there a constructive way to find all of the desired linear maps $f$, and show that there are no others ?
Any help would be appreciated. Thanks (=