Source: https://perso.ens-lyon.fr/michael.rao/ASR2/cours_slides_4.pdf