Generalized Hessian and external approximations in variational problems of second order