I'm reading about nonlinear programming and I stumbled into the following statement where I started to wonder a bit:
Consider the function
$$f(\textbf{x}) = \frac{1}{2}\textbf{x}^T\textbf{Q}\textbf{x}-\textbf{x}^T\textbf{b},$$
where $\textbf{Q}$ is a positive definite symmetric $n\times n$ matrix. Since $\textbf{Q}$ is positive definite, all of its eigenvalues are positive. We assume that these eigenvalues are ordered: $0<a=\lambda_1\leq \lambda_2, ..., \leq \lambda_n = A.$ With $\textbf{Q}$ positive definite, it follows (from proposition 5) that $f$ is strictly convex.
Proposition 5
Let $f\in C^2$. Then $f$ is convex over a convex set $\Omega$ containing an interior point if and only if the Hessian matrix $\textbf{F}$ of $f$ is positive semidefinite throughout $\Omega$.
My question is: Does the statement above imply then that $\textbf{Q}$ is the Hessian of $f$ and not just some arbitrary positive definite $n\times n $ matrix? This was not explicitly stated in the text of my book...
The book is : Linear and Nonlinear programming 3rd edition, Luenberger, page 235
Thank you for any help! =)
P.S. here you can see the same statement from the book:

As a complement to Henning's answer, here is the direct computation showing that $\mathbf{Q}$ is by construction the Hessian of $f(\mathbf{x})$.
For convenience I will work in index notation and employ the Einstein summation convention (i.e. indices appearing twice are summed over). Since the $ij$th element of the Hessian of $f(\mathbf{x})$ is by definition $\partial_i \partial_j f$, we have \begin{align} \partial_i \partial_j f &= \partial_i \partial_j\left( \frac{1}{2}x_k Q_{kl} x_l-x_k b_k\right)\\ &= \partial_i\left(\frac{1}{2} \delta_{j k} Q_{kl} x_l+\frac{1}{2} x_k Q_{kl} \delta_{jl}-\delta_{jk}b_k\right)\\ &=\frac{1}{2}Q_{kl}\left(\delta_{i l}\delta_{j k}+\delta_{j l}\delta_{i k}\right)-\delta_{j k}\cdot 0\\ &= \frac{1}{2}\left(Q_{j i}+Q_{i j}\right)=Q_{ij} \end{align}
where we have made use of $\partial_i x_j = \delta_{ij}$ in order to eliminate implied summations as wel as $Q_{ij}=Q_{ji}$ being a symmetric matrix.