I am trying to understand bilinear forms and have a related problem, but unfortunately all of the examples I've been able to find deal with $V = \mathbb{R}^n$. I am dealing with $V = M_{n \times n}^{\mathbb{R}}$.
This question probably stems from my incomplete understanding of linear subspaces, so I apologize in advance if it's silly, but please give me a direction.
The matrix representation of a bilinear form is defined thus:
If $f : V\times V \rightarrow \mathbb{R}$ and $B = \{b_1, b_2, ..., b_n\}$ a basis of $V$ then:
$[f]_B = A$ so that $A_{ij} = f(b_i, b_j)$.
However, as far as I know, in the matrix space the basis has two parameters (for example, $b_{ij}$), so the above definition seems meaningless. How to reconcile this?
Right now I'm working with:
$f(A, B) = tr(A^tMB)$, where $M = \begin{pmatrix} 1 & 2 \\ 3 & 5\end{pmatrix}$
How to determine $[f]_B$? An example with B as the standard basis would be appreciated.
Your bilinear form is \begin{array}{ccc} M_{2\times 2}(\Bbb R)\times M_{2\times 2}(\Bbb R) & \xrightarrow{f} & \Bbb R \\ (A,B) & \mapsto & \DeclareMathOperator{trace}{trace}\trace(A^\top M B) \end{array} where $$ M=\begin{bmatrix}1&2\\3&5\end{bmatrix} $$ Note that $$ \beta=\left\{ e_1= \begin{bmatrix}1&0\\0&0\end{bmatrix}, e_2= \begin{bmatrix}0&1\\0&0\end{bmatrix}, e_3= \begin{bmatrix}0&0\\1&0\end{bmatrix}, e_4= \begin{bmatrix}0&0\\0&1\end{bmatrix} \right\} $$ is a basis for $M_{2\times 2}(\Bbb R)$. This implies that $[f]_\beta$ is an $4\times 4$ matrix whose $(i,j)$th entry is $f(e_i,e_j)$. For example, $$ f(e_2,e_4)=\trace\begin{bmatrix}0&0\\0&2\end{bmatrix}=2 $$ so $$ [f]_\beta= \begin{bmatrix} *&*&*&*\\*&*&*&2\\*&*&*&*\\*&*&*&* \end{bmatrix} $$ Can you fill in the rest of the matrix?