Source: https://www.ljll.math.upmc.fr/abadiej/documents/3M260-2017/3M260-TD1.pdf