$$\begin{array}{ll} \text{minimize} & x^2+xy-x+y\\ \text{subject to} & x, y \geq 0\end{array}$$
Gradient cannot be zero since $x$ and $y$ are non-negative.I know the minimum value is -1/4 and I do not want the minimum using inequalities.I am wondering how I can show at the minimum point there is no direction for improvement.Question from Jalil Hajimir
Write your term in the form $$\left(x-\frac{1}{2}\right)^2+y(x+1)-\frac{1}{4}$$ so the searched minimum is given by $-\frac{1}{4}$ and will be reached for $$x=\frac{1}{2},y=0$$