Ask Your Question

kavir1698's profile - activity

2019-05-06 01:25:42 +0200 received badge  Nice Question (source)
2019-05-06 00:55:33 +0200 received badge  Famous Question (source)
2018-04-24 17:25:26 +0200 received badge  Notable Question (source)
2017-07-30 19:39:21 +0200 received badge  Popular Question (source)
2014-12-13 12:19:01 +0200 received badge  Student (source)
2014-12-13 01:31:24 +0200 received badge  Scholar (source)
2014-12-12 22:04:54 +0200 commented answer Calculation of symbolic eigenvalues

Thanks a lot. Here is the link to the page where an example of symbolic eigenvalue is calculated. I tried it on my machine and it worked. I don't know how I should get the eigenvalues from the characteristic polynomial!

2014-12-12 18:17:24 +0200 asked a question Calculation of symbolic eigenvalues

Hello, I am very new to Sage. In my first trial, I sought for eigenvalues of a symbolic matrix. However, Sage returns the following error: ArithmeticError: could not determine eigenvalues exactly using symbolic matrices; try using a different type of matrix via self.change_ring(), if possible

I have seen an example of eigenvalues of a symbolic matrix being calculated by Sage on another page. So I wonder what the problem is in this case. Below is my code:

var('s b')
A = matrix([[0,0,b,b,b,b,b,b,b,b],[s,0,0,0,0,0,0,0,0,0],[0,s,0,0,0,0,0,0,0,0],[0,0,s,0,0,0,0,0,0,0],[0,0,0,s,0,0,0,0,0,0],[0,0,0,0,s,0,0,0,0,0],[0,0,0,0,0,s,0,0,0,0],[0,0,0,0,0,0,s,0,0,0],[0,0,0,0,0,0,0,s,0,0],[0,0,0,0,0,0,0,0,s,0]]); A
A_evals = A.eigenvalues()

Many thanks for your support.