Proposition (change of bases of bilinear and sesquilinear form)
Let $U$ and $V$ be finite-dimensional vector spaces. Suppose $B,B'$ are bases for $U$ and $C,C'$ are bases for $V$.
-
For a bilinear form $\phi$, $$ \begin{align*} [\phi]_{B',C'} = ([\id_U]^{B'}_B)^T \, [\phi]_{B,C} \, [\id_V]^{C'}_C. \end{align*} $$
-
For a sesquilinear form $\phi$, $$ \begin{align*} [\phi]_{B',C'} = ([\id_U]^{B'}_B)^T \, [\phi]_{B,C} \, \overline{[\id_V]^{C'}_C}. \end{align*} $$