Source: http://mathsbdp.fr/wp-content/uploads/2018/03/DS5_complexes_TS4_2014_2015_correction.pdf