A quadratic form on a finite-dimensional real vector space is a function for a symmetric bilinear form . Conversely recovers that bilinear form. Two quadratic forms are congruent if a linear isomorphism satisfies ; in coordinates this is matrix congruence, , with invertible.
Sylvester's law of inertia says that a real quadratic form admits coordinates in which
and the numbers of positive, negative and zero squares, , are independent of the coordinates. Here ; and are the maximal dimensions of subspaces on which the quadratic form is positive definite and negative definite, while is the dimension of its radical of a bilinear form. These numbers are the inertia of a bilinear form. The rank of a quadratic form is , and the signature of a quadratic form, in the signed-difference convention, is .
Completing squares gives
The change of coordinates is invertible, so the inertia is and the signature is . If signature is recorded as an ordered pair instead, that pair is .
The complexification of a Lie algebra is , with the Lie bracket extended complex-bilinearly. Equivalently write , where
Complex conjugation is an antilinear map and a Lie algebra automorphism whose fixed subalgebra is .
If the solvable radical of is nonzero, its complexification is a nonzero solvable ideal of . Conversely the solvable radical of is preserved by complex conjugation, because it is the unique largest solvable ideal. Consequently
for , both and belong to . If , is a solvable ideal of . This proves is semisimple if and only if is semisimple. Consistently, the complex Killing form is just the complex-bilinear extension of the real one; its determinant in a real basis is unchanged by extending scalars.
Take the sl2R Lie algebra and the special unitary Lie algebra . Both complexify to . This is immediate for the former; for the latter, the real basis consists of traceless matrices that are skew-Hermitian matrices and is also a complex basis of .
They are not isomorphic as real Lie algebras. Their Killing forms are , but on this is negative definite. On the basis has a diagonal Gram matrix with entries , so the signature of a quadratic form is . A Lie algebra isomorphism preserves the Killing form and therefore its signature.
A real split semisimple Lie algebra has a Cartan subalgebra whose Adjoint representation of a Lie algebra is simultaneously diagonalizable over , so its root-space decomposition is defined over . The example is split: the diagonal Cartan subalgebra has eigenvalues and real root spaces . The example is not split. Invariance makes every skew-adjoint for the positive definite inner product , so its eigenvalues are purely imaginary. If it were diagonalizable over , all these eigenvalues would be zero and . The center is zero, so only has this property; no nonzero split Cartan subalgebra exists. Thus is split and is not.
The symmetric bilinear form associated with a quadratic form is obtained by polarization:
To diagonalize it, argue by induction on . If for every , polarization gives , so every basis works. Otherwise choose with . Then
and diagonalize the restriction to inductively. Thus some basis gives a diagonal matrix with positive, negative, and zero entries. By Sylvester's law of inertia, their counts are basis-independent. In the convention relevant here, the signature of a quadratic form is
Suppose lies in the radical of a bilinear form, so for all . Then and
Hence is a well-defined quadratic form on the quotient vector space . In an adapted diagonal basis, quotienting by merely removes zero diagonal directions, so and , and therefore the signature, are unchanged.
Now let . Its Gram matrix is
which has determinant . Thus is nondegenerate and has one positive and one negative square: it is a hyperbolic plane (quadratic form) and has signature zero. Nondegeneracy gives the orthogonal direct sum
Signature is additive under orthogonal direct sums, so
The symmetric matrix of the quadratic form in the standard basis is
because the off-diagonal entries contribute twice to .
Apply Gram-Schmidt orthogonalization for a symmetric bilinear form to
These vectors are pairwise orthogonal for , and
Thus the form is diagonal in the basis , with matrix
It follows that its rank is and its signature is
For a real symmetric bilinear form, let and be the dimensions of its positive and negative diagonal subspaces. This pair gives the first two components of the inertia of a bilinear form and is independent of basis by the Sylvester's law of inertia. For a nondegenerate form their sum is the full dimension; otherwise the nullity is an additional invariant. Another convention calls the difference the signature of a quadratic form. The pair convention describes the positive and negative harmonic spaces of the real de Rham intersection form in dimension four.