Source: https://ww2.ac-poitiers.fr/math_sp/IMG/pdf/F01_fonctions_generalites.pdf