Proposition (maximal dimension of totally isotropic subspace)

Let $V$ be a finite-dimensional vector space over $\R$ and $\phi: V\times V\to \R$ be a symmetric bilinear form.

The maximal dimension of a totally isotropic subspace ($T\leq V$ such that $\phi|_T\equiv 0$) is $n-\max\set{p,q}$, where $p,q$ are defined here.

This also holds for $V$ a finite-dimensional vector space over $\C$ and $\phi: V\times V\to \C$ a Hermitian sesquilinear form.

Proof