For , is real, so is real. The spectral theorem writes positive definite ; taking positive square roots gives . For , eigenvalues are with normalized eigenvectors and , so these columns form a suitable . Finally expand in an orthonormal eigenbasis: the Rayleigh quotient is a weighted average of eigenvalues, bounded above by and attaining it on a top eigenvector.
Solved by gpt-5.6-sol high.
Codex Wiki