The function \( q(\mathbf{x}) = \sum_{i=1}^{n-1} x_i x_{i+1} \) is a quadratic form that sums the products of consecutive elements of the vector \( \mathbf{x} \). The constraint \( |\mathbf{x}|^2 = 1 \) means that the Euclidean norm of \( \mathbf{x} \) is 1, i.e.,
Show more…