Solution (source code)

= Solution

The <Adjoint representation of a Lie algebra> acts on the algebra itself by $\operatorname{ad}_X(Y)=[X,Y]$. The <Jacobi identity> gives $[\operatorname{ad}_X,\operatorname{ad}_Y]=\operatorname{ad}_{[X,Y]}$, so this is a <Lie algebra representation>. In the generator basis, the column labelled $b$ records the coefficients of $[T_a,T_b]$, giving
$$
\boxed{(t_a^{\mathrm{Ad}})^c{}_b=i f_{abc}.}
$$
In the orthonormal compact-algebra convention, the <structure constants of a Lie algebra> are totally antisymmetric. With the row index written first this is $(t_a^{\mathrm{Ad}})_{bc}=-if_{abc}$.

Applying the representation to the generator <commutator> and taking a <trace> against $t_c^R$ gives
$$
\operatorname{tr}([t_a^R,t_b^R]t_c^R)
=i f_{abd}\operatorname{tr}(t_d^Rt_c^R)
=i C(R)f_{abc}.
$$
Consequently, for a nonzero <trace> normalization,
$$
\boxed{f_{abc}=-\frac{i}{C(R)}\operatorname{tr}([t_a^R,t_b^R]t_c^R).}
$$
The <cyclic property of the trace> also shows that this expression is antisymmetric in every pair of indices, justifying the orthonormal convention used for the adjoint matrices.

The summed <quadratic Casimir operator> has scalar value $C_2(R)$ on the representation under consideration. Taking its <trace> in two ways yields
$$
\sum_{a=1}^{d(G)}\operatorname{tr}(t_a^Rt_a^R)=C(R)d(G)=C_2(R)d(R),
$$
and hence
$$
\boxed{C(R)=\frac{d(R)C_2(R)}{d(G)}.}
$$
The constant $C(R)$ is the representation's <Dynkin index> in this normalization.

Differentiating the <tensor product of group representations> gives
$$
\boxed{t_a^{R_1\otimes R_2}=t_a^{R_1}\otimes I_{d(R_2)}+I_{d(R_1)}\otimes t_a^{R_2}.}
$$
The generators acting on the two factors commute, so the sum of their squares is
$$
\sum_a(t_a^{R_1\otimes R_2})^2
=[C_2(R_1)+C_2(R_2)]I+2\sum_at_a^{R_1}\otimes t_a^{R_2}.
$$
For a <semisimple Lie algebra>, every element is a sum of <commutators>. Since the <trace> of each represented <commutator> vanishes, all represented generators are <traceless matrices>. The <trace> of the cross term is therefore zero. Taking the <trace> after decomposition into <irreducible representations> instead gives the <tensor-product Casimir trace identity>
$$
\boxed{[C_2(R_1)+C_2(R_2)]d(R_1)d(R_2)=\sum_i C_2(R_i)d(R_i),}
$$
where repeated irreducible constituents occur repeatedly in the sum.

This step requires tracelessness, as holds for the special unitary groups used below. For an arbitrary algebra with an abelian factor, the general <trace> formula has the extra term $2\sum_a\operatorname{tr}(t_a^{R_1})\operatorname{tr}(t_a^{R_2})$. For example, one-dimensional representations of an abelian generator with charges one and one have individual Casimirs one, while the product generator has charge two and Casimir four. Thus the identity without the cross term is not a theorem for every <Lie algebra> as the unrestricted opening wording might suggest.

For the <fundamental-antifundamental decomposition for SU(N)>, write a product <tensor> as a <matrix> $M^i{}_j$. It transforms as $M\mapsto UMU^{-1}$, and decomposes uniquely as
$$
M=\frac{\operatorname{tr}M}{N}I+\left(M-\frac{\operatorname{tr}M}{N}I\right).
$$
The first term is a <trivial representation>, and the second is the invariant traceless subspace, of <dimension> $N^2-1$. Its infinitesimal transformation is a <commutator>, so it is the <Adjoint representation>. This representation is irreducible for $N\ge2$: an <invariant subspace> is an ideal of $\mathfrak{sl}_N$; commuting a nonzero ideal element with diagonal and elementary matrices produces off-diagonal elementary matrices, whose further <commutators> generate all off-diagonal matrices and traceless diagonal matrices. A purely diagonal nonzero element also produces an off-diagonal element unless it is scalar, and a traceless scalar in characteristic zero is zero. Therefore
$$
\boxed{\mathbf N\otimes\overline{\mathbf N}=\mathbf1\oplus\mathbf{Adj},\qquad d(\mathbf{Adj})=N^2-1.}
$$
For the conjugate defining representation the generators are $-t_a^T$, so its <trace> index and Casimir equal those of the defining representation. With $C(\mathbf N)=1/2$, the <trace> formula gives $C_2(\mathbf N)=(N^2-1)/(2N)$. The product <trace> identity, with the zero Casimir of the singlet, then reads
$$
2\frac{N^2-1}{2N}N^2=C_2(\mathbf{Adj})(N^2-1).
$$
Cancelling the nonzero factor yields
$$
\boxed{C_2(\mathbf{Adj})=N.}
$$