Source: https://www.math.univ-toulouse.fr/~genzmer/Documents/Exo-Supp-Courbe.pdf