I recently was fooling around with the eigenvectors of a matrix. Here is the
input:
var('p,q');
A =
Matrix([[-2*cos(q),sin(q)*cos(p)-i*sin(q)*sin(p),0,0,0],[sin(q)*cos(p)+i*sin(q)*sin(p),-cos(q),sqrt(6)/2*(sin(q)*cos(p)-i*sin(q)*sin(p)),0,0],[0,sqrt(6)/2*(sin(q)*cos(p)+i*sin(q)*sin(p)),0,sqrt(6)/2*(sin(q)*cos(p)-i*sin(q)*sin(p)),0],[0,0,sqrt(6)/2*(sin(q)*cos(p)+i*sin(q)*sin(p)),cos(q),(sin(q)*cos(p)-i*sin(q)*sin(p))],[0,0,0,(sin(q)*cos(p)+i*sin(q)*sin(p)),2*cos(q)]]);
assume(p > 0);
assume(q > 0);
A.eigenvectors_right()
The solutions are obtained and seem to work perfectly. However the expressión
of each eigenvector is huge and I have found no way to simplify it, despite
being trigonometríc functions. Is there a way to simplify the eigenvector
symbolic expressions?
--
You received this message because you are subscribed to the Google Groups
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/d/optout.