Eigenvectors |
Syntax |
Eigenvectors(M:MAT, X:POLY):LIST |
Description |
Example |
Use R ::= QQ[x]; M := Mat([[1,2,3],[4,5,6],[7,8,9]]); Eigenvectors(M, x); [Record[Eigenspace = [[-1, 2, -1]], MinPoly = x], Record[Eigenspace = [[1, 1/8x + 1/4, 1/4x - 1/2]], MinPoly = x^2 - 15x - 18]] ------------------------------- M := Mat([[0,2,0,0],[1,0,0,0],[0,0,0,2],[0,0,1,0]]); Eigenvectors(M, x); -- two irrational eigenvalues, each with eigenspace of dimension 2 [Record[Eigenspace = [[1, 1/2x, 0, 0], [0, 0, 1, 1/2x]], MinPoly = x^2 - 2]] ------------------------------- |