Divergent integrals