Source: https://www.ljll.math.upmc.fr/~bokanowski/enseignement/2015/MP3/cours3_complement_integrales_impropres.pdf