Let's take a trilinear function :g\colon R^2 \times R^2 \times R^2 \to R, where , and . A basis for each is \{\textbf{e}_{i1},\ldots,\textbf{e}_{id_i}\} = \{\textbf{e}_{1}, \textbf{e}_{2}\} = \{(1,0), (0,1)\}. Let :g(\textbf{e}_{1i},\textbf{e}_{2j},\textbf{e}_{3k}) = f(\textbf{e}_{i},\textbf{e}_{j},\textbf{e}_{k}) = A_{ijk}, where i,j,k \in \{1,2\}. In other words, the constant A_{i j k} is a function value at one of the eight possible triples of basis vectors (since there are two choices for each of the three V_i), namely: : \{\textbf{e}_1, \textbf{e}_1, \textbf{e}_1\}, \{\textbf{e}_1, \textbf{e}_1, \textbf{e}_2\}, \{\textbf{e}_1, \textbf{e}_2, \textbf{e}_1\}, \{\textbf{e}_1, \textbf{e}_2, \textbf{e}_2\}, \{\textbf{e}_2, \textbf{e}_1, \textbf{e}_1\}, \{\textbf{e}_2, \textbf{e}_1, \textbf{e}_2\}, \{\textbf{e}_2, \textbf{e}_2, \textbf{e}_1\}, \{\textbf{e}_2, \textbf{e}_2, \textbf{e}_2\}. Each vector \textbf{v}_i \in V_i = R^2 can be expressed as a
linear combination of the basis vectors :\textbf{v}_i = \sum_{j=1}^{2} v_{ij} \textbf{e}_{ij} = v_{i1} \times \textbf{e}_1 + v_{i2} \times \textbf{e}_2 = v_{i1} \times (1, 0) + v_{i2} \times (0, 1). The function value at an arbitrary collection of three vectors \textbf{v}_i \in R^2 can be expressed as :g(\textbf{v}_1,\textbf{v}_2, \textbf{v}_3) = \sum_{i=1}^{2} \sum_{j=1}^{2} \sum_{k=1}^{2} A_{i j k} v_{1i} v_{2j} v_{3k}, or in expanded form as : \begin{align} g((a,b),(c,d)&, (e,f)) = ace \times g(\textbf{e}_1, \textbf{e}_1, \textbf{e}_1) + acf \times g(\textbf{e}_1, \textbf{e}_1, \textbf{e}_2) \\ &+ ade \times g(\textbf{e}_1, \textbf{e}_2, \textbf{e}_1) + adf \times g(\textbf{e}_1, \textbf{e}_2, \textbf{e}_2) + bce \times g(\textbf{e}_2, \textbf{e}_1, \textbf{e}_1) + bcf \times g(\textbf{e}_2, \textbf{e}_1, \textbf{e}_2) \\ &+ bde \times g(\textbf{e}_2, \textbf{e}_2, \textbf{e}_1) + bdf \times g(\textbf{e}_2, \textbf{e}_2, \textbf{e}_2). \end{align} ==Relation to tensor products==