Irreducibility and the span of representation matrices
Let $k$ be an algebraically closed field, $\Gamma$ a group, $n\ge1$, and $\rho:\Gamma\to\operatorname{GL}_n(k)$ a representation. Then $\rho$ is irreducible if and only if $$\operatorname{span}_k\{\rho(g):g\in\Gamma\}=M_n(k).$$
Let $a\ge0$ be an integer, let $\sigma:\Gamma\to\operatorname{GL}_a(k)$ be a representation, and let $U\subseteq k^a$ be a nonzero invariant subspace with no proper nonzero invariant subspace. Every $k$-linear map $\varphi:U\to U$ is the restriction to $U$ of a matrix $$X\in\operatorname{span}_k\{\sigma(g):g\in\Gamma\}\subseteq M_a(k).$$