Abstract
In this paper, we generalize the Pecaric work on Montgomery's identity via an arbitrary weight function, which no longer needs to be a probability density function, and apply it to derive some generalized Chebyshev type inequalities for any absolutely continuous function.