Source: https://mathgm.fr/images/documents/seconde/cours_exercices/Chap6_inequationsFM.pdf