Source: https://wiki.epfl.ch/mathgeo2/documents/2014/FONCTIONS DIFFERENTIABLES 2014.pdf