On page 245 of Weibel's An introduction to homological algebra, he assigns the following as an exercise:
The image of $c_M$ in the matrix ring $\operatorname{End}_k(M)$ is $r/m$ times the identity matrix.
Here's how the stuff in the exercise is defined:
- $\mathfrak{g}$ is a semisimple Lie algebra over a field $k$ of characteristic 0.
- $M$ is an $m$-dimensional $\mathfrak{g}$-module (not assumed irreducible).
- $r=\dim (\operatorname{im}(\rho))$, where $\rho\colon \mathfrak{g}\to \operatorname{End}_k(M)$ is the structure map.
- $c_M$ is the Casimir operator for $M$:
... $\mathfrak{g}\cong \mathfrak{h}\times \ker(\rho)$, $\mathfrak{h}\subseteq\mathfrak{gl}_m$, and the bilinear form $\beta$ on $\mathfrak{h}$ is nondegenerate by Cartan's criterion 7.8.4. Choose a basis $\{e_1,\ldots,e_r\}$ of $\mathfrak{h}$; by linear algebra there is a dual basis $\{e^1,\ldots,e^r\}$ of $\mathfrak{h}$ such that $\beta(e_i,e^j)=\delta_{ij}$. The element $c_M=\sum e_ie^i\in U\mathfrak{g}$ is called the Casimir operator for $M$;...
My Question
I seem to get a different answer when I compute this for $\mathfrak{g}=\mathfrak{sl}_2$.
Let $M$ be the irreducible representation of $\mathfrak{sl}_2$ with highest weight $2$. Then $\rho$ is injective, and therefore (using the usual basis $h,x,y$ of $\mathfrak{sl}_2$) we get $$c_M=\frac{h^2}{2}+h+2yx.$$ Computing the action of $c_M$ on a highest weight vector $v$ of $M$, we get $$c_Mv = \left(\frac{h^2}{2}+h+2yx\right)v = 4.$$ However, $r=\dim(\mathfrak{sl}_2)=3$ and $m=\dim(M)=3$, so the exercise from Weibel would predict that $$c_Mv = v.$$
What am I missing?