In[]:=
matList={a,b,c}=MatrixSymbol[#]&/@Take[Alphabet[],3];​​poly=matList.x^Range[0,2];​​D[Tr[poly],x]//ArrayExpand​​
Out[]=
Tr
⥎
b
+2Tr[x
⥎
c
]