[Math] Bases for null space and range

linear algebramatrices

Let $T: M_n(\mathbb F) \rightarrow \mathbb F$ defined by $T(A)=tr(A)$, where $tr(A)$ means the trace of $A$. Suppose that $T$ is a linear transformation.

I need to find bases for the $N(T)$, the null space of $T$, and for $R(T)$, the range of $T$.

I know that trace is just the sum of the diagonal entries, and the null space is just every $nxn$ matrix with trace zero. But how do I go about finding a basis for $N(T)$?

Thank You

Best Answer

The trace function is given by the formula $\DeclareMathOperator\tr{tr}\tr(A) = \sum_{i = 1}^n a_{ii}$, where $A$ is an $n \times n$ matrix $(a_{ij})$. Since the off-diagonal entries don't appear, for computations it is a simplification to think of $A$ as being the sum of two matrices, $A = D + B$, where $D$ is the diagonal part and $B$ is the off-diagonal part; $\tr(A) = \tr(D)$ and $\tr(B) = 0$. This turns the problem into two smaller problems:

  1. Find a basis for the kernel of the map $(x_1, \dots, x_n) \mapsto x_1 + \dots + x_n$, where we denote the diagonal entries of $D$ by $x_i = a_{ii}$.

  2. Find a basis for the set of matrices $B$ whose diagonal is zero.

The first one is amenable to the usual method for getting a basis for the kernel of a matrix; the second one is amenable to direct inspection. Does that help? (I don't think there's any further value in solving the problem here.)

Related Question