Source: https://www.math.univ-paris13.fr/~chaussar/Teaching/2014-2015/Licence2/TP2.pdf