Source: https://irma.math.unistra.fr/~callet/cours/algèbre_linéaireS2/chap2.pdf