Indefinite matrix 2026-10-25
A real symmetric matrix is indefinite when is an indefinite quadratic form. Equivalently, has both a positive and a negative eigenvalue, by the spectral theorem. A zero eigenvalue is permitted, so an indefinite matrix need not be an invertible matrix.
Adopt the streamfunction convention , . Integrating the first component of the velocity field in gives . The second component then requires . Thus, omitting an arbitrary function of time,
At a fixed instant, the streamlines are the connected curves . To classify this quadratic form, introduce the invertible scaled and rotated coordinates
Then
For , both coefficients are positive. Every therefore gives an ellipse, and is the stagnation point at the origin. For , the quadratic form is an indefinite quadratic form: each gives a hyperbola. The level consists of the straight separatrices
whose rays approach or leave the origin; the origin itself is a stagnation point. At the transition , , so the nonstationary streamlines are parallel straight lines and is a line of stagnation points. These are instantaneous streamlines; the time dependence means that they need not coincide with pathlines.
Figure 1.
Instantaneous elliptical and hyperbolic streamlines at the same positive time
. Details.
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 origin is absent. Therefore the largest relatively open smooth subset is all of .
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. Consequently
This gives the smooth locus of a nondegenerate real quadratic level set, including maximality at the singular vertex.
Above the threshold, , the square root in part (d) is real. Both fields oscillate, but the first has envelope and the second . Thus the first is damped and the second amplified.
Below the threshold, set . The temporal factors are
They are nonoscillatory. For nonzero , , so both first-field branches decay and both second-field branches grow. At , one branch is constant; the other is for or for .
At equality, the repeated temporal root gives for the first field and for the second. The full two-field system is generically unstable on both sides because of the amplified sector. This is compatible with its autonomous Lagrangian: the total conserved energy is an indefinite quadratic form, rather than a positive energy forcing every component to remain bounded.
Vary the coupling in the opening example. The eigenvectors and form a fixed orthonormal eigenbasis, with eigenvalues and . Writing a vector as gives
For , both directions cost energy and is a positive-definite matrix. At , the quadratic form is : the entire line spanned by has zero energy, and is a singular positive semidefinite matrix. At , the flat line is instead spanned by . For , the quadratic form is an indefinite quadratic form; one direction lowers the energy without bound as its displacement grows. At , for instance, while .
Figure 1.
Eigenvalues and directional energies across the positivity threshold
. Details.
The geometric transition is precise. For , is an ellipse. At , it consists of the two parallel lines , extending freely in the zero-energy direction. For , it is a hyperbola. The boundary case retains nonnegative energy but loses both the bounded positive level sets and the unique zero-energy vector.
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 .
Figure 1.
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 , completing the square gives, when ,
Thus is a positive-definite matrix exactly when and . For necessity, test first, then ; for sufficiency, the displayed two positive squares give the result. These are the first two leading principal minors in Sylvester's criterion. A positive determinant alone is insufficient: has determinant but is a negative-definite matrix.
The eigenvalues provide an equivalent test under the same real-symmetric hypothesis:
The spectral theorem for real symmetric matrices supplies coordinates in an orthonormal basis in which . More generally, a complex Hermitian matrix has an orthonormal eigenbasis and , so it is a Hermitian positive-definite matrix exactly when every eigenvalue is positive. This is a short proof outline: test the eigenvectors for necessity, and sum the positive squared absolute values for sufficiency.[ref]
For a real positive semidefinite matrix, the condition is instead for all vectors, equivalent here to , , and . If , the same completing the square proves this; if , nonnegativity forces and leaves with . Merely replacing the strict inequalities on the leading principal minors by nonstrict ones fails: has both leading principal minors zero yet gives . An indefinite quadratic form takes both positive and negative values; its real symmetric matrix has eigenvalues of both signs.
Let be a real positive-definite matrix and minimize the displayed quadratic function over all of . Its gradient is , so its only stationary point solves the linear system . The matrix is an invertible matrix, making this solution exist and be unique. Completing the square around that solution proves the stronger global statement:
The quadratic function is strictly convex, and its level sets above the minimum are translated ellipsoids. Positivity therefore turns solving a linear system into locating the bottom of a bowl.[ref]
For the opening matrix , take and . Then , , and . Every displacement raises the value by ; along the unit eigenvectors and the increases are respectively and for displacement or .
For a singular positive semidefinite matrix, a solution of is still a global minimizer, but adding any kernel vector gives another. If is outside the image of a linear map defined by , some kernel vector has , and is unbounded below. For an indefinite quadratic form, a negative eigenvalue gives a direction along which the quadratic term tends to regardless of . Thus a stationary point alone does not establish a minimum. The same energy-difference identity extends to the quadratic variational principle for a symmetric positive operator, with additional existence hypotheses in infinite dimension.