Solutions of optimization problems can be characterized nicely by variational equations if their associated functional is smooth. For nonsmooth functionals, variational inequalities provide a useful generalization while only requiring that part of the functional is differentiable.
After discussing the relation of minimization problems to variational inequalities, I will show how we can use the latter to extract some important features of such problems.