Let $E$ be a vector space endowed with a non-degenerate symmetric bilinear form. Show $\dim F+\dim F^{\perp}=\dim E=\dim\left(F+F^{\perp}\right)+\dim\left(F\cap F^{\perp}\right)$
Lang uses this formula in proposition 1.2, page 573 of his book "Algebra" (Graduate).
I did not find a straight forward argument to show it, the only argument I found was really long, and not very enlightening. But I assume if he stated it without proof
Here is what I want to show:
Let $E$ be a finite-dimensional vector space over a field K.
Let $g$ be a symmetric/alternating/hermitian form (it suffices to me if you prove it for symmetric and hopefuly I can go from there).
Assume g is non-degenerate.
Let F be a subspace of E.
I want to show the following:
$
\dim F+\dim F^{\perp}=\dim E=\dim\left(F+F^{\perp}\right)+\dim\left(F\cap F^{\perp}\right)
$
It may be that not all hypothesis are necessary, he just uses this formula in a proof but doesn't derive it.
Thanx to anyone who helps! cheers
\dim
for $\dim$. $\endgroup$