Let $n\in \mathbb{N}$, and let tr: $\mathbb{R}^{n\times n}\rightarrow \mathbb{R}^{n\times n}$ be the trace map. Recall that a matrix $P\in \mathbb{R}^{n\times n}$ is a projection if $P^2 = P$
Prove that tr is the unique linear transformation $T:\mathbb{R}^{n\times n} \rightarrow \mathbb{R}$ suchthat $T(P) = rank(P)$ for every projection $P \in \mathbb{R}^{n\times n}$.
What does it mean to prove the linear transformation is unique? I proved in the previous part to this problem that for every projection $tr(P) = rank(P)$. How is the question any different?
It means that you need to show if some other linear transformation $T:\Bbb R^{n\times n}\to\Bbb R$ satisfies that for every projection $P$, $T(P)=\text{rank}(P)$, then as functions, $T=\text{tr}$.