13

Theorem:

A symmetric bilinear form $H$ on a finite dimension vector space $V$ over a field $\mathbb{F}$, where it is not of characteristic two, is diagonalizable.

Proof:

By induction on $\text{dim} \; V=n$.

(induction base) $n=0$. Then it is trivial.

(induction hypothesis) Assume the above statement holds for all bilinear forms on vector spaces of dimension $n-1$.

(inductive step) Suppose the space $\text{dim} \; V=n$. If the bilinear form $H=0$, then it is trivial. Hence, assume that $H\neq0$, then there exists $z \in V$ such that $H(z,z) \neq 0$. Let $W = \operatorname{span}\{z\}^\perp$ and we have $V = W \oplus \operatorname{span}\{z\}$. As $\text{dim} \; W=n-1$, the theorem holds for this space and there is a basis $\beta = \{v_1, ..., v_{n-1}\}$ where $H$ is diagonal. Then, by extending the basis we have $\gamma = \beta \cup \{z\} \subset V$. Then we have: $H(v_{i},z) = 0$ for all $i=0, ..., n-1$. Hence, this implies that there exists a basis $\gamma \subset V$ such that the matrix corresponding to $H$ is diagonal.


Why is the field of characteristic two excluded?

Amin
  • 2,103
  • 3
    Can you say more about your proof? If you can find where it fails for characteristic $2$, you might be able to exploit that the find an explicit counterexample. – Travis Willse Nov 06 '17 at 14:06
  • 1
    I don't know the details of the proof, but it wouldn't surprise me if they somewhere divided by $2$, or assumed that $u$ and $-u$ are distinct vectors for $u\neq 0$. – Arthur Nov 06 '17 at 14:06
  • 1
    @Travis: I am writing the proof. Thanks. – Amin Nov 06 '17 at 14:08
  • Related to https://math.stackexchange.com/questions/2341854/linear-algebra-if-the-field-werent-characteristic-zero-then-what-would-change. – lhf Nov 06 '17 at 14:24
  • I find your inductive step very confusing. See https://mathoverflow.net/q/23629/123740 for a counterexample. – Bach Jul 29 '19 at 04:48
  • @Bach: Just typos due to the "Blackquote"! Thanks. :) – Amin Jul 29 '19 at 12:26
  • @Amin Right. But your induction is not correct, you can find a counterexample in the above MO post. – Bach Jul 29 '19 at 12:36
  • @Bach: where? would you please give the link? – Amin Jul 29 '19 at 12:42
  • @Bach: please be specific and write your exact counterexample and pointing out to the exact part of the proof. – Amin Jul 29 '19 at 12:54
  • @Amin https://mathoverflow.net/q/23629/123740 Can't you see my comment above? – Bach Jul 29 '19 at 12:55

2 Answers2

17

... Hence, assume that $H\neq0$, then there exists $z \in V$ such that $H(z,z) \neq 0$. ...

This is not true in characteristic $2$. Let $\Bbb F$ be any field of that characteristic, and, for example, take $V = \Bbb F^2$ and the bilinear form $H$ with matrix representation $$[H] = \pmatrix{0&1\\1&0}$$ with respect to the standard basis; then, the quadratic form $Q_H : {\bf x} \mapsto H({\bf x}, {\bf x})$ is the zero form. Indeed, we can see directly that $H$ is not diagonalizable: Computing directly for any $P \in \textrm{GL}(2, \Bbb F)$ gives $$P^T [H] P = (\det P) [H],$$ which is not diagonal.

Put another way, it is not true in characteristic $2$ that the map $H \mapsto Q_H$ is injective. In other characteristics it is injective, as we can recover $H$ from $Q$ via the Polarization Identity $$H({\bf x}, {\bf y}) = \tfrac{1}{4}[Q_H({\bf x} + {\bf y}) - Q_H({\bf x} - {\bf y})] ,$$ but in characteristic $2$ one cannot divide by $4$ (which in that setting coincides with $0$).

Remark The above facts imply (since the spaces of symmetric bilinear forms on $V$ and quadratic forms on $V$ both have dimension $\frac{1}{2} (\dim V)(\dim V + 1)$) that (only) in characteristic $2$ there are quadratic forms that are not induced by symmetric bilinear forms (that is, are not in the image of the map $H \mapsto Q_H$); the simplest example is $V = \Bbb F^2$ and $$\pmatrix{x\\y} \mapsto x y .$$

Travis Willse
  • 99,363
  • Thanks @Travis. I have two questions: first, based on the discussion of above in comments, here there is no such $P$ for which $P^{-1} [H] P$ is diagonal? The second question is how "the spaces of symmetric bilinear forms on $V$ and quadratic forms on $V$ both have dimension $1/2 (\text{dim} ; V)(\text{dim} ; V+1)$"? – Amin Nov 07 '17 at 02:20
  • 2
    (1) As mentioned in the comments in Jose's answer, since we are asking about diagonalization of a bilinear form (rather than a linear transformation), the question is whether there is a $P \in \operatorname{GL}(2, \Bbb F)$ such that $P^T [H] P$ is diagonal. And the answer is no: Computing directly gives for our $H$ that $P^T [H] P = (\det P) \pmatrix{0&1\1&0}$, which is not diagonal. – Travis Willse Nov 07 '17 at 09:30
  • 1
    (2) With respect to any basis we can specify any symmetric bilinear form $B$ by freely choosing the upper-triangular entries of the upper matrix $[B]$, but once we have done so symmetry (that is, that, $[B]^T = [B]$) implies determines the rest of the entries. So, the vector space of symmetric bilinear forms has the same dimension as the space of upper triangular matrices, namely, $\frac{1}{2}(\dim V)(\dim V + 1)$. For characteristic not $2$, the isomorphism $B \leftrightarrow Q$ then gives that the same is true for the dimension of the space of quadratic forms. – Travis Willse Nov 07 '17 at 09:47
  • Thanks @Travis for your complete answer. – Amin Nov 07 '17 at 09:48
  • 1
    For characteristic $2$ (and any characteristic), a choice of basis determines an isomorphism $V \cong \Bbb F^{\dim V}$, and we can write down an explicit basis of the space of quadratic forms, namely ${(x_1, \ldots, x_{\dim V}) \mapsto x_i x_j : i \leq j}$, and this basis has the claimed number of elements. – Travis Willse Nov 07 '17 at 09:51
  • @Amin You're welcome, I hope you found it useful. – Travis Willse Nov 07 '17 at 09:51
  • I accepted your answer as it is based on the proof provided in the question and your proof is a nice and complete one. – Amin Nov 07 '17 at 09:59
  • 1
    I upvoted this back in the day. And would have done so for the final example alone! For a "simpler" argument of its non-diagonalizability I once used the following (natural to coding theorists). The form $xy$ has three zeros in $\Bbb{F}_2^2$, but the number of zeros of any diagonalizable is a power of two because it really is just a linear function. – Jyrki Lahtonen Jul 31 '21 at 19:30
9

Over $\mathbb{F}_2$, you can find symmetric bilinear forms which are not diagonalizable. Take, for instance, the bilinear form $B\colon{\mathbb{F}_2}^2\times{\mathbb{F}_2}^2\longrightarrow\mathbb{F}_2$ defined by$$B\bigl((x_1,x_2),(y_1,y_2)\bigr)=x_1y_1+x_1y_2+x_2y_1+x_2y_2.$$In ${\mathbb{F}_2}^2$ there are only three bases (without caring about the order of the vectors): $\bigl\{(1,0),(0,1)\bigr\}$, $\bigl\{(1,0),(1,1)\bigr\}$, and $\bigl\{(0,1),(1,1)\bigr\}$. You can check that the matrix of $B$ with respect to each one of these bases is not diagonal.

Note: This is a corrected version of my answer, made after Omnomnomnom telling, in the comments, that I was using the wrong concept of diagonalizable.

  • 2
    $B\bigl((x_1,x_2),(y_1,y_2)\bigr)=x_1y_1+x_1y_2+x_2y_1+x_2y_2$? – SddS Nov 06 '17 at 15:16
  • 2
    @SdidS Thanks. I've edited my answer. – José Carlos Santos Nov 06 '17 at 15:17
  • Thanks, I'm also interested, but why your contradicting example is not diagonalizable? It might not be clear at the first glance. – SddS Nov 06 '17 at 15:19
  • 4
    It's matrix with respect to the canonical basis is $\left(\begin{smallmatrix}1&1\1&1\end{smallmatrix}\right)$. Since the characteristic of $F$ is $2$, the square of this matrix is $0$. But then it cannot be diagonalizable, because the only diagonal matrix whose square is $0$ is the null matrix. – José Carlos Santos Nov 06 '17 at 15:22
  • 4
    @JoséCarlosSantos Note that "diagonalizable" has a different meaning in the context of bilinear forms. In particular, we want to show that there is no invertible $P$ such that $P^T\left(\begin{smallmatrix}1&1\1&1\end{smallmatrix}\right)P$ is diagonal. While you have correctly deduced that there is no invertible $P$ such that $P^{-1}\left(\begin{smallmatrix}1&1\1&1\end{smallmatrix}\right)P$, this is not strictly relevant to our context. – Ben Grossmann Nov 06 '17 at 16:38
  • 1
    @JoséCarlosSantos Moreover, if your particular line of reasoning were valid, we would have trouble in any field of finite characteristic, as is briefly discussed here. – Ben Grossmann Nov 06 '17 at 16:43
  • @Omnomnomnom Thank you. I have edited my answer. – José Carlos Santos Nov 06 '17 at 17:08
  • @JoséCarlosSantos Glad to be helpful; your answer looks good to me now. – Ben Grossmann Nov 06 '17 at 19:01
  • The plural of "basis" is "bases". Note that it's pronounced "bay-sees". – Acccumulation Nov 06 '17 at 19:05
  • @Acccumulation Thank you. I have edited my answer. As you may have guessed, this was really a mistake, not a typo. – José Carlos Santos Nov 06 '17 at 19:09