Since is invertible, the quadratic form gradient vanishes exactly at the origin. At every nonzero point of , the scalar derivative is surjective, so the regular level set theorem gives a smooth submanifold of dimension .
If , the nontriviality assumption forces the form to be an indefinite quadratic form: an invertible definite form would have zero set consisting only of the origin. Every nonzero point is regular. To show that the origin really fails to be a manifold point, use Sylvester's law of inertia to reduce to . With positive and negative coordinate vectors , the null vectors and span . Each line in one of these directions lies in the cone.
If a relatively open manifold neighborhood of the origin existed, its tangent space would contain all these line directions, so would have dimension . Such an embedded manifold would be open in , impossible for the zero set of a nonzero quadratic form. ConsequentlyThis gives the smooth locus of a nondegenerate real quadratic level set, including maximality at the singular vertex.
Expand the increment of the quadratic form, using :The last term obeys . Thus is differentiable andThis is the quadratic form gradient. The derivative is a linear functional of the increment , whereas the gradient is its representing vector under the Euclidean inner product.
The quadratic form gradient gives . Since is invertible, this linear map is nonzero exactly when . The regular level set theorem therefore makes every nonzero point of a smooth point of dimension . If , the entire level set is smooth.
If and the level set contains a nonzero point, the form is an indefinite quadratic form. Its only singular point is the origin. To prove this rather than merely observe a vanishing derivative, use Sylvester's law of inertia to write with both sign spaces nonzero. The null vectors span the whole ambient space. Their straight-line curves through the origin lie in the cone. If a relatively open neighborhood of the origin in the cone were an embedded submanifold, its tangent space would contain all these directions and hence have dimension . It would then be open in the ambient space, impossible for the zero set of this nonzero quadratic form. Thus the smooth locus is .
Three levels of an indefinite quadratic form in three dimensions
. Original diagrams and generic model calculations generated by the adjacent Python script. Details.For a real symmetric matrix and nonzero real vector , the quotient rule and the quadratic form gradient give the displayed gradient. It vanishes exactly when , so the stationary points are eigenvectors. Equivalently, the Lagrange multiplier condition for optimizing on the unit sphere is . The smallest and largest eigenvalues give the global extrema; other eigenvectors can be stationary without being extrema, as a direction mixing larger and smaller eigenvalues changes the quotient in opposite ways.
