It is well-known that the left term of the classical Hermite-Hadamard inequality is closer to the integral mean value than the right one. We show that in the multivariate case it is not true. Moreover, we introduce some related inequality comparing the methods of the approximate integration, which is optimal. We also present its counterpart of Fejér type.
The functional equations of the form are considered. They are connected with quadrature rules of the approximate integration. We show that such equations characterize polynomials in the class of continuous functions. It is also shown that if the number of components is sufficiently small, then the continuity is forced by the equation itself. Unique solvability of the considered problem are established.