Proposition (matrix of bilinear and sesquilinear forms)
Let $U$ and $V$ be finite-dimensional vector spaces with bases $B = \set{b_1, \ldots, b_n} \subseteq U$ and $C = \set{c_1, \ldots, c_m} \subseteq V$.
-
For any bilinear form $\phi$, the matrix of $\phi$ with respect to $B$ and $C$ $$ \begin{align*} [\phi]_{B,C} = (\phi(b_i, c_j))_{i,j} \in M_{n\times m}(\mathbb{F}) \end{align*} $$ is the unique matrix satisfying $$ \begin{align*} ([u]_B)^T\, [\phi]_{B,C} \,[v]_C = \phi(u, v) \qquad \text{for all }u\in U, v\in V. \end{align*} $$
-
For any sesquilinear form $\phi$, $[\phi]_{B,C}$ defined the same way is the unique matrix satisfyiing $$ \begin{align*} ([u]_B)^T \, [\phi]_{B,C} \, \overline{[v]_C} = \phi(u,v) \qquad \text{for all } u\in U, v\in V. \end{align*} $$
-
For $U=V$ and $B=C$, we write $[\phi]_B \equiv [\phi]_{B,B}$.