Let be the given invariant bilinear form on a Lie algebra. Choose a basis and its -dual basis , so . The Casimir element is
The tensor is the inverse tensor of , so it is independent of the chosen basis. Multiplication in the universal enveloping algebra therefore makes independent of that choice as well.
For , write . Invariance means , whence . Therefore
by interchanging in the second sum. Since generates its universal enveloping algebra, is central. This argument does not require adding a symmetry assumption to the given bilinear form.
For the sl2 Lie algebra, take
The cyclic identity for the trace gives . The form is nondegenerate, since , , and all the other pairings except are zero. The dual of is , so
By the classification of finite-dimensional sl2 representations, an irreducible of dimension has a highest-weight vector with and , where . Since , one obtains
Centrality and the Schur lemma then give the answer on the entire representation:
This Casimir eigenvalue for sl2 depends on normalization. Choosing the Killing form instead, , scales the dual basis and the Casimir element by , giving .
Use the standard basis
of . For the invariant trace form , the dual basis is , so
On a highest-weight vector in the -dimensional irreducible module, and . Since and ,
Centrality and Schur lemma make this the eigenvalue on the whole module. Thus , the Casimir eigenvalue for sl2. If the form is instead the Killing form, which is four times the trace form on , the corresponding Casimir and eigenvalue are divided by four.
Write for the standard generators of the sl2 Lie algebra. For the representation , use the normalization
This is the quadratic Casimir element, and by assumption it commutes with every .
Schur lemma says that an endomorphism of a finite-dimensional irreducible complex representation which commutes with the representation is a scalar. Hence when is irreducible.
Let be a highest-weight vector of highest weight , so and . Since ,
Therefore
It follows from scalarity that
This is the Casimir eigenvalue for sl2 in the chosen normalization.