Suppose that $f(x) = x^{T}Qx$ where $Q$ is an $n \times n$ symmetric positive semidefinite matrix. Show that $f(x)$ is convex on the domain $\mathbb{R}^{n}$.
(Hint: It may be wise to prove the following equivalent property: $f(y + \alpha(x-y) ) - \alpha f(x) - (1-\alpha) f(y) \leq 0 $, for all $\alpha \in [0,1]$ and $x,y \in \mathbb{R}^{n}$).
What I have is the following:
$f(y + \alpha(x-y) ) = (y + \alpha(x-y))^{T}Q(y + \alpha(x-y)) = (y + \alpha(x-y))^{T}(Qy + \alpha Q(x-y).$
I am not sure what to do from here. Can someone give me some more hints on how to solve this?
Thank you very much!!!