Under the displayed diagonal-sum convention, set on the unit circle. A Hermitian matrix then gives
Consequently proves nonnegativity. Conversely the Fejér–Riesz theorem produces the rank-one spectral-factor Gram matrix. This gives a semidefinite programming representation of nonnegative trigonometric polynomials. The reversed convention instead uses the unconjugated monomial vector.
On the unit circle, , so
Thus the trigonometric polynomial is nonnegative, with a zero at , and
Equivalently, writing gives . The factor has polynomial degree one as required. Multiplication of by any constant of modulus one leaves the factorization unchanged; uniqueness of is not claimed.
This is the simplest instance of the Fejér–Riesz theorem, where nonnegativity of a trigonometric polynomial on the unit circle admits a polynomial modulus-square factorization.
Pair the off-circle roots of a polynomial using reciprocal-conjugate root pairing, and split each unit-circle root of a polynomial's even multiplicity equally between the two members of a pair. The fundamental theorem of algebra and the leading coefficient give . None of the selected is zero.
On the unit circle, the identity
turns into
At a point of the unit circle outside the finite set of roots of a polynomial, the product is positive and is nonzero and nonnegative. Its ratio to the product is therefore real and strictly positive. This proves , even though the algebraic expression initially permits a complex constant. Consequently
This proves the Fejér–Riesz theorem for a nonzero trigonometric polynomial of actual order . A positive constant has a constant square-root factor, and the identically zero trigonometric polynomial has ; if for a specified upper order , reduce to the actual order first.
Although the PDF permits assuming even multiplicity, there is a short proof of even multiplicity of unit-circle roots of a nonnegative trigonometric polynomial. The real analytic function cannot have a zero of odd order. Near , has a simple zero, and the nonzero factor leaves the zero order of unchanged. Hence the multiplicity of a root must be even.
For on the unit circle, use the conjugated monomial vector
Then the prescribed diagonal sums give
Positive semidefiniteness proves
This is the Gram matrix representation of a trigonometric polynomial. The Hermitian condition also implies , so its values on the unit circle are real. The conjugated monomial vector is required by the source's convention; the unconjugated vector would represent instead.
In particular . If this matrix trace is zero, all nonnegative eigenvalues vanish and , so . A general feasible Gram matrix need not have matrix rank one; the Fejér–Riesz theorem ensures a rank-one representative exists whenever the nonnegative trigonometric polynomial is nonzero.