Construct a symplectic basis two vectors at a time. Choose ; the nondegenerate bilinear form supplies with , and set . For any vector , remove its paired components by
Then . Thus, for , the symplectic orthogonal complement gives a direct sum ; its restricted bilinear form remains nondegenerate. Repeat there until no vectors remain, then put all before all . This proves even dimension and existence together. Only the nonzero pairing is divided out, so the construction also works in characteristic two. The pair-splitting argument is described in Bilinear Forms by Keith Conrad (Keith Conrad, Bilinear Forms, §5, proof of Theorem 5.1 and Theorem 5.4).
For a finite-dimensional vector space over any field with a nondegenerate alternating bilinear form , the symplectic group over a field consists of invertible linear maps preserving . In a symplectic basis its matrices satisfy . Matching two symplectic bases gives a unique such linear map, and a symplectic basis exists by successively splitting off paired vectors. This includes arbitrary-characteristic and infinite-field versions, beyond the real Lie group and the symplectic group over a finite field.
With a Lagrangian subspace first in a paired symplectic basis, its stabilizer consists of with symmetric. The additive symmetric-matrix unipotent radical has order ; the Levi subgroup is , acting by . Its index in is , the number of Lagrangian subspaces.
For a line , complete to a symplectic basis with complementary symplectic space . The unipotent radical has elements sending to , to and to . Its multiplication is , giving order . Its commutator is central with parameter . It is Heisenberg-type in odd characteristic and abelian in characteristic two. The full stabilizer also scales inversely and acts symplectically on .