Symmetry of the real inner product gives . Moreover, i with shows that
so the Gram matrix is a positive semidefinite matrix. To also check reality of every eigenvalue, allow a nonzero vector with . Since is a real symmetric matrix,
Here is the conjugate transpose, and cancels the imaginary part. Thus
because . This proves both that every eigenvalue is real and that it is nonnegative.
Apply the matrix norm induced by an energy norm and set . Multiplication gives
The bracket factors as . Because and ,
Thus for the stated matrix. In particular is a positive semidefinite matrix. The Euclidean operator norm squared is the largest eigenvalue of , and all those eigenvalues are nonnegative. Consequently
This identity is the algebraic step in the energy-norm proof of convergence of SOR; spectral radius equals the largest eigenvalue here because .
Put . It is a symmetric matrix and a positive semidefinite matrix, while is also a positive semidefinite matrix. By the spectral theorem, choose an orthogonal matrix such that
The bounds follow directly from . Define the diagonal matrices
The columns of are mutually orthogonal, since . For each , set . These columns are orthonormal. At a zero , one has ; choose by completing the already prescribed columns to an orthonormal set of columns in . Such a completion exists because . This gives , including the zero columns.
Likewise, the Gram matrix of is . Normalize its nonzero columns and complete at its zero columns in , using . The resulting has orthonormal columns and . Combining the identities gives
This is a form of the cosine-sine decomposition. Completing the zero columns is essential: neither block was assumed to have full column rank.
First , so the spectral theorem for real symmetric matrices gives real eigenvalues and an orthonormal basis of eigenvectors. Moreover, for every real vector ,
Thus is a positive semidefinite matrix. For any nonzero eigenvector with eigenvalue ,
This matrix is a scaled example of the Wishart distribution.
The Hessian criterion for convexity, in the usual twice-differentiable multivariate setting, is
Thus the Hessian matrix must be a positive semidefinite matrix everywhere. The criterion follows by applying the second-derivative criterion for convexity to each line restriction , whose second derivative is . Continuous second partials are a sufficient regularity hypothesis for this line-restriction argument.
Interpret the norms as Euclidean norms and set . This is a real symmetric matrix with , hence a positive semidefinite matrix. Squaring the nonnegative objective does not change its argmin. Let be the smallest eigenvalue of and its eigenspace.
First minimize on the unit sphere. The Lagrange multiplier function has stationarity condition . Multiplication by shows that the squared objective at such a point is . The spectral theorem for real symmetric matrices also gives, for every unit vector, , with equality exactly in . This proves global minimality, rather than merely finding stationary candidates.
If , every point with has a strictly smaller objective after rescaling to unit length. Therefore
If , the kernel of a linear map satisfies , since implies , and the converse is immediate. The minimum is then zero, attained precisely at
In this case minimizers need not have unit length. This distinction is essential for a rank-deficient , including any real matrix with . The result is the minimum image norm outside a Euclidean unit ball, governed by the least singular value.
Penalized least squares Created 2026-10-05 Updated 2026-10-14
For , a full-column-rank design matrix , and a positive semidefinite matrix , minimize . Differentiation gives . The fitted-value matrix is , whose trace measures the effective degrees of freedom.
Polynomial SOS 2026-10-14
A sum of squares polynomial is a real polynomial expressible as for real polynomials . In the homogeneous degree- case the summands may be taken homogeneous of degree . Every such polynomial is nonnegative on real inputs; the converse fails for multivariate polynomials in general.
A real polynomial is a sum of squares polynomial if for real polynomials . Such a representation certifies global nonnegativity. If is the vector of relevant monomials, the identity with a positive semidefinite matrix encodes a sum of squares through a Gram matrix. Equating coefficients is linear in , so finding a certificate is a semidefinite program.
Positive definiteness of a Gram matrix Created 2026-10-18 Updated 2026-10-25
For real vectors in a Euclidean inner product space, their Gram matrix satisfies the displayed identity by expanding the squared norm. Thus every Gram matrix is a positive semidefinite matrix, and it is a positive-definite matrix exactly when the vector family is linearly independent. The complex version replaces transposes by conjugate transposes and uses .
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.
Positive linear map Created 2026-09-28 Updated 2026-10-25
A positive linear map sends every positive semidefinite matrix to a positive semidefinite matrix. Positivity need not persist after tensoring with the identity map on an ancillary system; requiring that stronger property gives a completely positive map.
Positive-semidefinite-plus-nonnegative cone Created 2026-10-05 Updated 2026-10-06
The sums of a real positive semidefinite matrix and a symmetric nonnegative matrix form a convex cone inside the copositive cone. Both terms have nonnegative quadratic forms on the nonnegative orthant. The Horn copositive matrix shows that the inclusion is strict in dimension five; the sum of squares criterion for a biquadratic form explains this cone's relation to semidefinite programming.
For real positive semidefinite matrices , their product need not be symmetric, but its matrix trace is nonnegative:
The equality uses the cyclic property of the matrix trace, and the last matrix is a positive semidefinite matrix. Consequently the Loewner order inequality implies whenever .
For coefficient column , is a Hermitian matrix and a positive semidefinite matrix because . Expanding on the unit circle gives coefficient . Thus has matrix rank one when and zero otherwise. General feasible Gram matrices need not have matrix rank one.
Runge-Kutta contractivity identity Created 2026-09-28 Updated 2026-10-14
For differences between corresponding stages and differences between their vector fields, a Runge--Kutta step satisfies
To derive the identity, expand the squared norm of and substitute in the linear term. Symmetrizing the double sum gives the displayed coefficients . For a dissipative vector field, the first sum is nonpositive when , and the second sum is nonnegative when the matrix is a positive semidefinite matrix. Thus algebraic stability implies B-stability.
Semidefinite programming 2026-10-05
A semidefinite program optimizes a linear function subject to equalities between affine functions and positive semidefinite matrix inequalities. It generalizes linear programming: a diagonal matrix is a positive semidefinite matrix exactly when its diagonal entries are nonnegative. Matrix trace expresses the objective as for real symmetric matrices.
Semidefinite relaxation of slab-constrained quadratic maximization Created 2026-10-05 Updated 2026-10-06
Replacing by a general positive semidefinite matrix relaxes maximization of subject to . The relaxed value is an upper bound because has trace and satisfies the same quadratic constraints. Both problems are unbounded if the fail to span the ambient space. If they span it, is positive definite and , proving boundedness and attainment of the relaxation.
Singular value Created 2026-09-24 Updated 2026-10-14
The singular values of a matrix measure stretching of Euclidean norm. They are the nonnegative square roots of the eigenvalues of , counting the diagonal slots of the singular value decomposition; when , has additional zero eigenvalues. Nonnegativity follows from , so is a positive semidefinite matrix. For the preceding matrix,
Both have eigenvalues , giving singular values . In particular,
Here the operator norm uses Euclidean norm: no unit vector stretches more than fivefold. Zero singular values identify lost directions; the number of positive singular values equals the matrix rank. This summarizes both amplification and information loss with nonnegative numbers.[ref]
Small positive singular values also explain sensitivity in an inverse problem. For a square invertible matrix, the matrix inverse sends to : a weak forward response becomes strong inverse amplification. The condition number for Euclidean norm is , equal to in our example. To see a larger effect, keep the same right singular vectors but change the second singular value to :
The output perturbation has Euclidean norm , but the recovered input changes by . Its hundredfold amplification follows from the direction of the perturbation, not just its size. The condition number is now ; it measures the disparity between the strongest and weakest responses.[ref]
Let be the interpolating cardinal basis and set . Linearity gives , and this Gram matrix is a positive semidefinite matrix. Its null space consists precisely of vectors , by the null-space statement for the second derivative roughness penalty. Thus its rank is , including the zero matrix when .