Let $s^*=\mathrm{inf}\Bigl\lbrace{\frac{1}{2}x^TMx+v^Tx+w:x \in \mathbb{R}^n\Bigr\rbrace}$ be a minimization problem with $M \in \mathbb{R}^{n \times n}$ symmetric, $v \in \mathbb{R}^n$ and $w \in \mathbb{R}$.
How to show:
If $M$ is positive semidefinite and $Mx^*=-v$ has no solution, it's $s^*=-\infty$.
My idea was:
Let $f(x)=\frac{1}{2}x^TMx+v^Tx+w$.
It's $\nabla f(x)=Mx+v$, so there is no maximum or minimum point which means it has to be unbounded. But I don't see why it's $s^*=-\infty$.
Is this way corrrect or how can it be shown properly?