Source: https://prof-launay.org/wp-content/uploads/2020/04/3e_cours_10_fcts_affines-2.pdf