Maths WorkshopMaths problems with full solutions
Exercise 1407Topology › Topology of Mn(ℝ) › Norms and metric structureL3Added 7 Nov 2026

Linear functionals on M_n(R) are traces against a matrix

#linear functionals#Riesz representation#continuity

Statement

Show that every linear functional φ:Mn(R)→R\varphi:M_n(\mathbb{R})\to\mathbb{R} is of the form φ(A)=tr⁡(BTA)\varphi(A)=\operatorname{tr}(B^TA) for a unique B∈Mn(R)B\in M_n(\mathbb{R}), and that every such functional is continuous.

Hint

Use the Frobenius inner product ⟨B,A⟩=tr⁡(BTA)\langle B,A\rangle=\operatorname{tr}(B^TA).

Or directly: expand A=∑aijEijA=\sum a_{ij}E_{ij} in the basis of matrix units.

Show solutionHide solution

Solution

Idea. In a finite-dimensional inner product space, every linear functional is "taking the inner product with a fixed vector" (Riesz representation). Here the inner product is tr⁡(BTA)\operatorname{tr}(B^TA).

Step 1: existence, by hand. Write A=∑i,jaijEijA=\sum_{i,j}a_{ij}E_{ij} where EijE_{ij} is the matrix with a 11 in position (i,j)(i,j) and zeros elsewhere. By linearity,
φ(A)=∑i,jaijφ(Eij)=∑i,jaijbij=tr⁡(BTA),bij:=φ(Eij).\varphi(A)=\sum_{i,j}a_{ij}\varphi(E_{ij})=\sum_{i,j}a_{ij}b_{ij}=\operatorname{tr}(B^TA),\qquad b_{ij}:=\varphi(E_{ij}).

Step 2: uniqueness. If tr⁡(BTA)=tr⁡(B′TA)\operatorname{tr}(B^TA)=\operatorname{tr}(B'^TA) for all AA, then ⟨B−B′,A⟩=0\langle B-B',A\rangle=0 for all AA, in particular for A=B−B′A=B-B', which gives ∥B−B′∥F2=0\|B-B'\|_F^2=0.

Step 3: continuity. By Cauchy-Schwarz,
∣φ(A)∣=∣⟨B,A⟩F∣≤∥B∥F∥A∥F,|\varphi(A)|=|\langle B,A\rangle_F|\le\|B\|_F\|A\|_F,
so φ\varphi is Lipschitz with constant ∥B∥F\|B\|_F, hence continuous (for ∥⋅∥F\|\cdot\|_F, and therefore for every norm by equivalence of norms).

Examples. tr⁡\operatorname{tr} corresponds to B=IB=I; the (i,j)(i,j) entry corresponds to B=EijB=E_{ij}; A↦xTAyA\mapsto x^TAy corresponds to B=xyTB=xy^T.

Remark. The same argument shows that every linear map between finite-dimensional normed spaces is continuous. The kernel of a non-zero functional is a hyperplane, which is therefore closed (and has empty interior), a fact we use in the topology of subspaces.