Source: http://cours.math.pagesperso-orange.fr/troisieme/sav_fair_fonc_aff.pdf