Source: http://hgurgey.free.fr/IMG/pdf/TD_1_fonctions_affines.pdf