Source: http://math.univ-lyon1.fr/~lerouvillois/Enseignement/2020/Proba/Correction_TD4.pdf