Source: https://mathgrignard.blogs.laclasse.com/files/2017/11/Controle-Chapitre-4-Notion-de-fonction.pdf