Source: https://www.math.univ-toulouse.fr/~slamy/teaching/L3anneaux/cours_anneaux_no1.pdf