First work over a field of characteristic different from two. If a nonzero symmetric bilinear form had for every vector, polarization would give
a contradiction. Hence choose with . Every decomposes uniquely as
with the second summand orthogonal to . Induct on the orthogonal complement to obtain a diagonal basis. If the restricted form becomes zero, any basis of that remaining space completes the diagonalization. In this basis the rank of a quadratic form is exactly the number of nonzero diagonal coefficients; the remaining basis vectors span its radical of a bilinear form.
Over the reals, rescale the nonzero basis vectors so the diagonal entries are copies of , copies of and zeros. Define the signature of a quadratic form by , so . To prove it is basis independent, note that is the largest dimension of a linear subspace on which the form is positive-definite. The positive coordinate linear subspace attains dimension ; on any other positive linear subspace, projection to those positive coordinates is injective, since its kernel has nonpositive quadratic value. Thus its dimension is at most . The same argument for the negative form characterizes . This proves Sylvester's law of inertia and that the signature is well-defined.
Let and be positive and negative normalized basis vectors, and let be the radical of a bilinear form. The span of and for is a totally isotropic subspace: all mutual bilinear pairings vanish. Its dimension is . Conversely, project any totally isotropic subspace to the nondegenerate positive-plus-negative quotient. The projected linear subspace is still null, and its projections to both the positive and negative coordinate spaces are injective: a vector with one component zero would have strictly signed quadratic value unless it vanished. Its dimension is therefore at most , while the kernel of the quotient map on has dimension at most . Hence
This proves both construction and sharpness of the maximum dimension of a totally isotropic subspace.
For the five-variable example, the symmetric coefficient matrix is
Its cyclic structure makes the vectors , , eigenvectors with eigenvalues . Thus the eigenvalues are
Their product is , and three are positive and two negative. Therefore
The real and imaginary parts of each conjugate pair of eigenvectors give the corresponding real two-dimensional eigenspaces, consistent with the real inertia calculation.
A quadratic form over or is a function for a symmetric bilinear form , equivalently a homogeneous polynomial of degree two. Its polarization is . If is not identically zero, choose with . Every decomposes as
where the second term lies in and . The quadratic form is consequently a direct sum of its one-dimensional value on and its restriction to . Induction on dimension diagonalizes it. If , any basis suffices. Rescale every nonzero diagonal coefficient: over the reals it becomes or , while over the complexes a square root makes it . Hence
Over the negative coefficients can all be avoided.
For a real quadratic form, let and be its positive and negative indices in a diagonalization. Its rank of a quadratic form is and its signature of a quadratic form is , or the ordered pair in the alternative convention. These indices are intrinsic: the largest dimension of a subspace where the form is positive definite is , since any larger subspace intersects the nonpositive coordinate subspace nontrivially; similarly for . For the form here, completing squares gives
The two displayed linear coordinates, together with , form an invertible coordinate change. Therefore
There is one zero coordinate direction.
The PDF's final dimension condition is , not the fraction produced by the TeX conversion. We prove the requested common zero of complex quadratic forms by induction on . A complex quadratic form of rank has canonical expression . Pair its nonzero coordinates into vectors and add the radical coordinate vectors. Their span is a totally isotropic subspace, because the form is zero on every linear combination. This proves that complex quadratic forms have a large isotropic subspace: its dimension is
For there is a nonzero vector whenever . For , take such a subspace for . If , then . Apply the induction hypothesis to the restrictions of to . It supplies a nonzero annihilated by those forms, and by construction. Thus
The argument makes no nondegeneracy assumption on any of the forms.
Two real symmetric bilinear forms are congruent if an invertible linear map takes one to the other; in matrices, for some invertible . The spectral theorem for real symmetric matrices gives an orthogonal eigenbasis. Rescaling each basis vector with nonzero eigenvalue then reduces any such form to
Sylvester's law of inertia asserts that is independent of the congruence reduction. To prove it, is the greatest dimension of a subspace on which the form is positive definite: the positive coordinate subspace attains it, whereas any subspace of dimension greater than meets the nonpositive coordinate subspace of dimension and therefore cannot be positive definite. Applying the same argument to the negative of the form determines . Then is determined too.
The rank of a quadratic form is , and its signature of a quadratic form is under the signed-difference convention. They determine and hence the congruence class. Counting all pairs with gives
For , exactly two classes have every level set bounded: the positive-definite and negative-definite classes. Their nonempty nonzero levels are ellipsoids, and their zero level is the origin. A degenerate form has an entire null line in its zero level. An indefinite nondegenerate form also has a nonzero isotropic vector, for example the sum of one positive and one negative normalized basis vector, whose scalar multiples make the zero level unbounded.
For the displayed three-dimensional form,
Its leading principal minors are , all positive. Sylvester's criterion makes it positive definite, so the surface is a bounded ellipsoid. Directly, its quadratic expression is
which also proves positivity and boundedness of the unit level.
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 .
Associate to the symmetric bilinear form . If is identically zero, every basis is diagonal. Otherwise choose with . Every has the decomposition
whose second term lies in . Thus , with no cross term in . Induction on dimension gives a diagonal basis. Rescaling its nonzero entries reduces the form to
with additional zero coordinates. Define the rank of a quadratic form and its signature . Rank is intrinsic, since it is the rank of , equivalently . Also is the greatest dimension of a subspace on which the restriction of is a positive-definite quadratic form: any such subspace intersects the negative-plus-zero coordinate space only at zero, so its dimension is at most , while the positive coordinate space attains . The corresponding negative statement identifies . This proves the basis independence of and , the Sylvester's law of inertia conclusion.
For a totally isotropic subspace on which vanishes, polarization identity also makes vanish on . Quotient by the radical of a bilinear form. In the resulting nondegenerate form, projection of an isotropic subspace to either the positive or negative coordinate space is injective, so its dimension is at most . Consequently . The radical of a bilinear form together with the vectors , , attains this bound. The maximum dimension of a totally isotropic subspace is therefore
The criterion for membership in a diagonal basis follows similarly: a nonzero vector can belong to a diagonal basis if it has nonzero quadratic value, by the same orthogonal splitting, or if it lies in the radical of a bilinear form, by choosing a radical basis containing it. An isotropic vector in a diagonal basis must be orthogonal to every basis vector, and hence must lie in that radical. For the specified form, its radical is the -axis, giving exactly
The zero vector never belongs to a basis.
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