Okay, so after a couple commenting/uncommenting tests, it seems that the error is located between the "\section{Eigenvalues and Eigenvectors}" line and the "\section{Diagonalizing a matrix and Jordan form}" line.
Actually, if I comment the lines and all the other ones below (except the \end ...
I am fairly new to LaTeX, have only written five 15-page physics papers, and did encounter some weird errors in the past, but the one I encountered today is by far the weirdest.
I suppose that I am doing something wrong somewhere in my documents, but since the only is, for the moment, an ...