An expression is found for the integral of the density of states, rho (r, E), over an arbitrary volume in terms of the Green's function of the medium, its energy and spatial derivatives, evaluated on the surface of the volume. It is also possible, within the rigid muffin-tin approximation, to express the phonon energies in terms of similar functions.