Relative to , the adjoint action has block form
Multiplying two such block-triangular matrices and taking the trace gives
the Killing form of a semidirect product with a module. It does not depend on or , so lies in its radical. Therefore can be nondegenerate only if . In that case , which is nondegenerate exactly when is semisimple by the Cartan criterion for semisimplicity. Thus