Suppose $S$ is n by n matrix over a field F. Define
$gl_S(n,F)=\{A \in gl(n,F): SA+A^TS= 0\}$
Show that this is a subalgebra of $gl(n,F)$
I get as far as:
$A \in gl_S(n,F)$ and $B \in gl_S(n,F)$
$S[AB] +[AB]^T S =SAB -SBA + (AB)^TS-(BA)^TS $ $=SAB + B^TA^TS - (SBA + A^TB^TS)$
I guess it's supposed to equal to zero somehow.