I am studying Hermitian forms and I encountered the exercise below. For me it seems to be wrong, because $\dim (V)$ should be the dimension of the subspace $h$ is positive plus the dimension $h$ is negative plus the dimension of the kernel, right? (This occurs because of a version of Sylvester theorem for hermitian forms)
But I could not prove that the exercise is wrong or right.
Exercise: If a non-degenerate hermitian form $h: V \times V \to \mathbb{C}$ on a $2k$-dimensional complex vector space $V$ satisfies $h(v, v) = 0$, $\forall v \in E$, $E\subset V$, $\dim(E) = k$, then $h$ has signature $(k, k).$
If anyone could help me! Thank you very much.
two notes
(i) Since the form is non-degenerate but there is $h\big(\mathbf v,\mathbf v\big)=0$ for some $\mathbf v\neq \mathbf 0$ it is clear that the form cannot be negative definite or positive definite.
(ii) Also note all vectors $\in E$ are necessarily orthogonal to each other under the form i.e. for $\mathbf v, \mathbf v' \in E$
$h\big(\mathbf v' +\mathbf v, \mathbf v' +\mathbf v\big) = 0\longrightarrow re\Big(h\big( \mathbf v', \mathbf v\big)\Big) = 0$
so $h\big( \mathbf v', \mathbf v\big)$ is purely imaginary $\longrightarrow h\big( \mathbf v', \mathbf v\big) = 0$
To see this implication, suppose $h\big( \mathbf v', \mathbf v\big) = \lambda$ for some purely imaginary $\lambda$ and re-run the above argument on $h\big( \lambda\mathbf v' +\mathbf v, \lambda\mathbf v' + \mathbf v\big)$
main argument
suppose the signature is $\big(r, 2k-r\big)$
Each $\mathbf v\in E$ may be written as a linear combination of an ortho-'normal' set $\{\mathbf w_1, ...,\mathbf w_k, \mathbf w'_1, ..., \mathbf w_{2k-r}'\}$ where this is an ortho-'normal' basis associated with the signature, which generates $V$
'normal' is in quotes since $h\big(\mathbf w_i,\mathbf w_i\big)=1$ and $h\big(\mathbf w_i',\mathbf w_i'\big)=-1$
Begin by constructing a basis for $E$ using these generators
$\mathbf v_i := \big(\mathbf w_i + \mathbf w_i'\big)$
for $1\leq i\leq m= \min(r, 2k-r)$
if $m=r =k$ then we are done.
WLOG suppose for a contradiction that $r\gt k$. Then our basis creation algorithm for $V$ halted prematurely and we have
$\{\mathbf v_1, \mathbf v_2, ...., \mathbf v_m\}$
since $\dim E = k\gt m$ there is some vector in $E$ not in the span of the above set. Call this $\mathbf v_{m+1}$ and mimic the techniques used in the proof of Sylvester's Law of Inertia.
$\mathbf v_{m+1} = \big(\sum_{j\gt m}\alpha_j \mathbf w_j\big) +\big(\sum_{i\leq m}\alpha_i \mathbf w_i\big) + \big(\sum_{i\leq m}\alpha_i' \mathbf w_i'\big) $
$h\big(\mathbf v_{m+1}, \mathbf v_{m+1}\big)=0\longrightarrow \big(\sum_{j\gt m}\vert\alpha_j\vert^2\big) +\big(\sum_{i\leq m}\vert\alpha_i\vert^2\big) = \big(\sum_{i\leq m}\vert \alpha_i'\vert^2\big)\gt 0$
now if $\alpha_i = \alpha_i'$ for all $i \in \{1,2,...,m\}$ then $\alpha_j=0$ for all $j$ and $\mathbf v_{m+1} = \sum_{i\leq m }\alpha_i\mathbf v_i$ which cannot happen since $\mathbf v_{m+1}$ is linearly independent of those vectors by construction. Thus we know there must be some $i$ where $\alpha_i \neq \alpha_i'$.
and by (ii) we know
$0=h\big(\mathbf v_{m+1}, \mathbf v_i\big) = \alpha_i - \alpha_i'\neq 0$
which is a contradiction