Bilinear Forms and Matrix Representations
In this section we discuss bilinear forms over \mathbf{R} and \mathbf{C}. In some ways a bilinear form is a generalization of the notion of inner product, where we relax some of the conditions (such as symmetry or positive definiteness). For a thorough discussion of this topic, see Keith Conrad’s article Bilinear Forms.
In particular, we will consider only the case of vector spaces and bilinear forms over \mathbf{R} or \mathbf{C}. There are many interesting aspects of the theory over fields like \mathbf{Q} or finite fields; see Conrad’s notes for a discussion of this more general situation.
The definition doesn’t depend on the field F, however.
Definition: Let F be a field and V a vector space over F. A bilinear form on V is a function B:V\times V\to F that is linear in each variable when the other is fixed. In other words:
\begin{aligned} B(au+v,w)&=aB(u,w)+B(v,w)\\ B(u,av+w)&=aB(u,v)+B(u,w) \end{aligned}
If B(v,w)=B(w,v) for all v,w\in V, we call B symmetric. If B(v,w)=-B(w,v) for all v,w\in V we call B antisymmetric or skew-symmetric. If B(v,v)=0 for all v we call B alternating.
An inner product over a real vector space is a symmetric bilinear form. This isn’t true over a complex vector space, because we required such inner products to be hermitian.
Other examples:
- If A\in M_{n}(F), then B(v,w)=v^{\top}Aw is a bilinear form.
- If (u,v) and (a,b) are in F^{2}, then ub-va is a skew-symmetric bilinear form on F^{2}.
Lemma: Over \mathbf{R} or \mathbf{C} (or indeed any field of characteristic different from 2), alternating forms are the same thing as skew-symmetric forms.
Proof: If B is alternating, then B(x+y,x+y)=0=B(x,y)+B(y,x) so B is skew-symmetric. If B is skew-symmetric then B(x,x)=-B(x,x) so 2B(x,x)=0, so B is alternating assuming F does not have characteristic two.
From now on, every vector space is over \mathbf{R} or \mathbf{C}.
Proposition: Every bilinear form B on V is expressible uniquely as a sum B(u,v)=B_1(u,v)+B_2(u,v) for all u,v\in V where B_1 is symmetric and B_2 is skew-symmetric (alternating).
Proof: Let B_{1}(u,v) = \frac{B(u,v)+B(v,u)}{2} and B_{2}(u,v) = \frac{B(u,v)-B(v,u)}{2}. To see uniqueness, if B=B_1+B_2=B_1'+B_2', then B_1-B_1'=B_2'-B_2. The left side is symmetric, the right side alternating, so both sides are zero.
Finally, we have the polarization identity: Suppose B is symmetric. Then B(x,y) = \frac{1}{2}(B(x+y,x+y)-B(x,x)-B(y,y))
So a symmetric bilinear form is determined by its values B(v,v) for all v\in V.
Orthogonality
We can generalize the notion of orthogonality from inner products to general bilinear forms by saying that w \perp v when B(w,v)=0 and, more generally, that given a subspace W\subset V, then v\perp W provided B(v,w)=0 for all w\in W.
In general, this relation need not be symmetric; for a general bilinear form, one can have B(v,w)=0 (so v\perp w) but B(w,v)\not=0 so w\not\perp v. For symmetric or alternating forms, however, the relation is symmetric since B(v,w)=\pm B(w,v) for all v,w\in V in these cases.
One can show (see Conrad, Theorem 1.17 (Bilinear Forms) that \perp is a symmetric relation if and only if B is either symmetric or alternating.
If B is symmetric or alternating, and W\subset V is a subspace, then just as we did earlier with inner products we define W^{\perp} = \{ v\in V: v \perp w\quad \forall w\in W\}
Since it is quite possible, depending on B, for some nonzero vectors v to be perpendicular to themselves, one can have W\cap W^{\perp}\not=0. For example if B is the alternating form B((x,y),(u,v))=xv-yu on F^{2}, and W is the span of (1,1), then W^{\perp}=W. In fact every v\in V is perpendicular to itself in this situation.
Notice that if W\subset V is a subspace, then the restriction of a bilinear form B on V is a bilinear form on W. Also, if V_1 and V_2 are vector spaces with bilinear forms B_1 and B_2, then one can construct a bilinear form B=B_1\oplus B_2 on V_1\oplus V_2 by setting B((x,y),(z,w))=B_1(x,z)+B_2(y,w).
In this construction V_1 and V_2 are orthogonal in the sum, and so this sum is called the orthogonal direct sum of B_1 and B_2. Also, the restriction of B to V_1 and V_2 recovers B_1 and B_2.
Bilinear forms and duality
Let V be a vector space over F with a bilinear form B. For fixed v\in V, the map f(w)=B(v,w) is a linear functional on V and hence an element of the dual space \mathrm{Hom}(V,F). This gives a linear map L_{B}: V\to \mathrm{Hom}(V,F).
Alternatively we can fix v\in V and define g_{v}(w)=B(w,v). This gives a map R_{B}:V\to \mathrm{Hom}(V,F).
Proposition: If V is finite dimensional, and we identify V with \mathrm{Hom}(\mathrm{Hom}(V,F),F) then the two maps L_{B} and R_{B} are dual to one another. In particular \hat{L}_{B}:V=\mathrm{Hom}(\mathrm{Hom}(V,F),F)\to \mathrm{Hom}(V,F) is the same as R_{B} and vice versa.
Proof: This is a matter of keeping track of definitions. If v\in V, then the associated linear map from \mathrm{Hom}(V,F) to F is evaluation: \delta_{v}:f\mapsto f(v). Then \hat{L}_{B}(\delta_{v})=\delta_{v}\circ L_{B} But \hat{L}_{B}(\delta_{v})(w)=(\delta_{v}\circ L_{B})(w) = \delta_{v}(L_{B}(w))=L_{B}(w)(v) = B(w,v). Since R_{B}(v)=B(\cdot, v), we have R_{B}(v)(w)=B(w,v), so \hat{L}_{B}(\delta_{v})=R_{B}(v). The other duality follows similarly or via the fact that \hat{\hat{L}}_{B}=L_{B}=\hat{R}_{B}.
The Matrix of a Bilinear Form
Given a bilinear form on (finite dimensional) V, we can choose a basis E=\{e_{1},\ldots, e_{n}\} for V. Then B is determined by the values B(e_{i},e_{j}) for 1\le i,j\le n. Let M be the n\times n matrix with these entries. Then it’s easy to see by linearity that B(v,w) = [v]_{E}^{\top}M[w]_{E}
Conversely, given an n\times n matrix, the formula above gives a bilinear form on F^{n}. Thus we may construct any bilinear form on V by choosing a basis (an isomorphism with F^{n}) and an n\times n matrix.
Example: Let V=F^{n} and choose integers p,q with p+q=n. Let M be the matrix
M = \left(\begin{matrix} I_{p} & 0 \\ 0 & -I_{q} \end{matrix}\right)
where I_{k} is the identity matrix. This creates a “pseudo-Euclidean space” with signature p,q. If p=3 and q=1 we obtain Minkowski space, which is the flat spacetime of special relativity.
One can show (see Conrad, Theorem 2.5) that the matrix M defined above is the matrix of the linear map R_{B}:V\to \mathrm{Hom}(V,F) relative to the choice of the basis E on V and its dual on \mathrm{Hom}(V,F). He uses this to give a “coordinate free” proof of the following facts:
- B is symmetric iff M is symmetric.
- B is skew-symmetric (alternating) iff M^{\top}=-M.
One can also show (either in a fancy way as Conrad does, or by calculating) that if C is a change of basis matrix whose columns express the elements of a basis E_{2} in terms of E_{1}, and B is a bilinear form on V with matrix M relative to E_{1}, then the matrix of B relative to E_{2} is M' = C^{\top}M C.
If B_{2} is a bilinear form on V_{2}, and L:V_{1}\to V_{2} is a linear map, then B_{1}(v,w)=B_{2}(Lv,Lw) is a bilinear form on V_{1} (called the pullback of B_{2} to V_{1}).
If we are given forms B_{1} and B_{2} on V_{1} and V_{2} respectively, then we say B_{1} and B_{2} are equivalent if there is a linear isomorphism from V_{1} to V_{2} so that the pullback of B_{2} is B_{1}.
In matrix terms, two bilinear forms B_{1} and B_{2} with matrix representations M_{1} and M_{2} are equivalent if there is an invertible matrix C so that C^{\top}M_{1}C = M_{2}.
Nondegenerate Forms
A bilinear form B on a finite-dimensional vector space V is called nondegenerate if any of the following conditions are satisfied:
- There is a basis E=\{e_1,\ldots, e_{n}\} so that the matrix M=(B(e_{i},e_{j}))_{1\le i,j\le n} is invertible.
- B(v,v')=0 for all v'\in V implies v=0.
- The map L_{B}:V\to \mathrm{Hom}(V,F) given by L_{B}(v)(w)=B(v,w) is surjective.
- The map L_{B}:V\to \mathrm{Hom}(V,F) given by L_{B}(v)(w)=B(v,w) is bijective.
Following Conrad’s Theorem 3.1, points 2, 3, and 4 say that L_{B} is respectively injective, surjective, and bijective. Since V and \mathrm{Hom}(V,F) are vector spaces of the same finite dimension, these are all equivalent. Further, the matrix M is the matrix of the map R_{B} in the basis E on V and its dual basis \hat{E}=\{\hat{e}_{1},\ldots, \hat{e}_{n}\} on \mathrm{Hom}(V,F). To see this, we need to compute R_{B}(e_{i}) in terms of the \hat{e}_{j}. Since R_{B}(e_{i})(e_{j})=B(e_{j},e_{i})=M_{ji} we have R_{B}(e_{i}) = \sum_{j=1}^{n} M_{ji}\hat{e}_{j} which shows that the columns of M express R_{B}(e_{i}) in terms of \hat{e}_{j} as desired. Thus condition 1 says exactly that R_{B} is invertible. Since L_{B} is the dual of R_{B}, their matrices are transposes of each other and hence have the same rank. As a result, the invertibility of R_{B} is equivalent to that of L_{B} and so points 1 and 4 are equivalent.
If B is not nondegenerate, it is degenerate.
Examples:
- The dot product is nondegenerate.
- The bilinear form defining \mathbf{R}^{p,q} is nondegenerate.
- The bilinear form B((a,b),(c,d))=ad-bc is nondegenerate.
- Inner products over \mathbf{R} are nondegenerate bilinear forms. Over \mathbf{C}, they are not bilinear because of the Hermitian condition.
- The space \mathbf{R}^{2,1} is non degenerate, but the (2,1)-bilinear form restricted to the plane spanned by v_1=(1,0,1) and v_2=(0,1,0) is degenerate. Indeed, B(v_1,v_1)=1^2-1^2=0 and B(v_1,v_2)=0 so v_1 \perp v_1 and v_1 \perp v_2. So *the restriction of a nondegenerate form to a subspace need not be nondegenerate.
Orthogonal Bases (Symmetric Forms)
Our goal now is to classify symmetric and alternating forms (as usual, over \mathbf{R} or \mathbf{C}). Let’s consider the symmetric case first. So fix V with a symmetric bilinear form B.
As with inner products, we say a basis E=\{e_1,\ldots, e_{n}\} is orthogonal if B(e_{i},e_{j})=0 whenever i\not=j. (In the one-dimensional case, any basis is orthogonal by definition.)
Lemma: If B is not identically zero, then there is a vector v with B(v,v)\not=0.
Proof: We showed earlier that any symmetric form is determined by its values B(v,v) via the polarization identity B(v+w,v+w)=B(v,v)+2B(v,w)+B(w,w) so if B(v,v)=0 for all v, then B(v,w)=0 for all pairs v,w\in V.
Lemma: If v\in V has B(v,v)\not=0, then V = Fv\oplus v^{\perp} is an orthogonal decomposition of V. If B is nondegenerate, then the restriction of B to v^{\perp} is nondegenerate.
Proof: Given v'\in V, notice that v' = \frac{B(v',v)}{B(v,v)}v + (v'-\frac{B(v',v)}{B(v,v)}v). The second term in the sum is orthogonal to v, so this shows that Fv+v^{\perp}=V. Since B(v,v)\not=0, the intersection of Fv with v^{\perp} is zero, so the sum is direct.
To check the nondegeneracy, suppose v'\in v^{\perp} satisfies B(v',w)=0 for all w\in v^{\perp}. Then B(v', av+w)=0 for all w\in v^{\perp} and a\in F. Since the vectors av+w span V, the nondegeneracy of B on V implies v'=0.
Theorem: V has an orthogonal basis for B.
Proof: Use the above argument inductively, with the caveat that if B is identically zero then any basis is orthogonal. Note that this is essentially the Gram–Schmidt process. We can’t get an orthonormal basis because B(v,v) could be zero without v=0; and even if B(v,v) isn’t zero it need not be a square over a non-algebraically closed field like \mathbf{R}.
Corollary: Given a symmetric matrix M, there is an invertible matrix C so that C^{\top}MC is diagonal.
Alternating Forms
Now we consider equivalences of alternating forms. Since we’re over \mathbf{R} or \mathbf{C}, such forms are the same as skew-symmetric forms.
Proposition: If V is a finite-dimensional vector space with a nondegenerate alternating form B, then \dim{V} is even.
Proof: Choose a matrix M representing B relative to a choice of basis. Let n=\dim{V}. Now M^{\top}=-M so \det{M}=(-1)^{n}\det{M}. If B is nondegenerate, \det{M} is nonzero so n must be even.
Proposition: With V and B as above, given a nonzero v\in V, we can find w\in V so that:
- B(v,w)=1
- V = U\oplus U^{\perp} where U is the span of v and w.
- B is nondegenerate on U and U^{\perp}.
Proof: Since B is nondegenerate, the linear form x\mapsto B(v,x) is nonzero. Therefore there is a w\in V with B(v,w)=1. This means w is independent of v, so the span U of v and w is two-dimensional and the matrix of B on U is
\begin{pmatrix} 0 & 1 \\ -1 & 0 \end{pmatrix}.
This is invertible, so B is nondegenerate on U. If u\in U\cap U^{\perp}, then B(u,u')=0 for all u'\in U. Since B is nondegenerate on U, this means u=0; thus U\cap U^{\perp}=0. The space U^{\perp} is the kernel of the map V\to \mathrm{Hom}(U,F) defined by v\mapsto (u\mapsto B(u,v)). Since the latter space has dimension 2, U^{\perp} has dimension at least n-2.
Therefore V=U\oplus U^{\perp}. Finally, if x\in U^{\perp} is orthogonal to all of U^{\perp}, then since it is also orthogonal to U, it is orthogonal to all of V and is thus zero since B is nondegenerate.
Extending the ideas in this proposition by induction, we obtain the following “canonical form” for alternating bilinear forms.
Proposition: Let V be as above, with dimension n=2m\ge 2. Then V has a symplectic basis: that is, there are vectors e_{1},\ldots, e_{m} and f_{1},\ldots, f_{m} that together form a basis for V such that B(e_{i},f_{i})=1 and the planes U_{i} spanned by e_{i} and f_{i} are orthogonal. The matrix of B in this form has m blocks \begin{pmatrix} 0 & 1 \\ -1 & 0 \end{pmatrix} on the diagonal. In particular, all nondegenerate alternating forms of a given (even) dimension are equivalent.
In the event that B is alternating and degenerate, let N=V^{\perp} be the subspace of vectors x\in V such that B(x,v)=0 for all v\in V. Choose a basis h_1,\ldots, h_k for N and extend it by h_{k+1},\ldots, h_{n} to a basis for V. The form B is nondegenerate on the span W of h_{k+1},\ldots, h_{n}, so we can find a symplectic basis of pairs e_{i}, f_{i} for i=1,\ldots, (n-k)/2 for W. Combined with h_{1},\ldots, h_{k}, this gives a basis for V so that the matrix of B in this basis has (n-k)/2 blocks \begin{pmatrix} 0 & 1 \\ -1 & 0 \end{pmatrix} on the diagonal followed by k zeros.