Source: https://ressources.unisciel.fr/sillages/mathematiques/exos_algebre_lineaire_ecs/res/04_Reduction_des_endomorphismes_et_des_matrices_Enonces.pdf