Skip to main content

Section 7.8 Eigenvalues and Eigenvectors using SageMath

The computer algebra system SageMath can compute eigenvalues and eigenvectors of a given matrix. Please do the relevant changes on this page to verify your calculations.
In the following examples QQ denotes the field of rational numbers. You may change it to RR, the field of real numbers. Numbers in brackets are rows of \(A\text{.}\) You can change number of rows as well as entries of rows.
Computation of eigenvalues
Computation of eigenvectors
Computation of eigenspaces