Directions that survive the map
An eigenvector of a square matrix is a nonzero vector such that Its eigenvalue records what the map does along that direction. A negative value reverses it. A zero eigenvalue is allowed and signals a nonzero kernel.
For a candidate the condition is A nonzero solution exists exactly when Find these roots first, then solve a homogeneous system for each root. The entire kernel is the eigenspace and includes zero, although zero is never an eigenvector.
For the determinant polynomial is With take With solve and take
Change to eigenvector coordinates
If has an eigenbasis, put the eigenvectors into the columns of and the eigenvalues in the matching order on the diagonal of Then so Convert to eigenvector coordinates, scale each coordinate independently, then convert back. In a power the middle factors cancel, leaving A factor with magnitude below one decays as increases. For the example, is the sum of the two selected eigenvectors, so after steps it is
Distinct eigenvalues have independent eigenvectors. In a shortest nontrivial linear relation, applying for one eigenvalue in the relation would remove that vector and leave a shorter nontrivial relation. Thus distinct real eigenvalues suffice for a real eigenbasis. Repetition alone gives no verdict. Some real matrices also have complex eigenpairs and no real eigenbasis.
from sympy import Matrix
A = Matrix([[1, 1], [0, 1]])
for value, multiplicity, basis in A.eigenvects():
print(value, multiplicity, [list(v) for v in basis])
print((A**4).tolist())1 2 [[1, 0]]
[[1, 4], [0, 1]]Exercises
For find the eigenvalue of
Show solution✓ Checked
The first column is equal to times the given direction.
Compare eigenbases of and
Show solution✓ Checked
Every nonzero vector is an eigenvector of so the usual coordinate basis works. Subtracting from the other matrix forces the second coordinate to zero. There is only one independent eigenvector.
Use the eigenvectors in the worked example to find
Show solution✓ Checked
The starting vector is one copy of each eigenvector. Scale the first by and keep the second. The result is