Source: https://www.lamsade.dauphine.fr/~atif/lib/exe/fetch.php?media=teaching:coursad_ch2_2.pdf