Source: https://www.maths-france.fr/Terminale/TerminaleS/Cours/resume-21-matrices.pdf