Source: https://igm.univ-mlv.fr/~vnozick/teaching/slides/imac2_math/06_determinant.pdf