Consider the unconstrained optimization problem
where is convex and differentiable.
The optimality condition
where the feasible set is now the whole space , reduces to
Example: