Source: https://www.i2m.univ-amu.fr/perso/raphaele.herbin/TELE/M1/chap3.pdf