Mathematica [mathematica]- problem with the output

AI Thread Summary
The discussion addresses a user's issue with Mathematica, where the software outputs eigenvalues of a matrix in the form of Root symbols instead of explicit analytical expressions. This occurs when the polynomial is complex, leading Mathematica to represent roots in a more abstract manner. A solution is provided using the ToRadicals function, which can convert these roots into explicit forms, although the output may still be lengthy. The user expresses gratitude for the explanation and the command that resolves their issue. This highlights a common challenge in computational software when dealing with complex mathematical expressions.
sandoko
Messages
5
Reaction score
0
Hi everyone, i have a problem with mathematica. I am supposed to compute the eigenvalue of a matrix, and I need the expression for the eigenvalues analytically. But it output strange symbols. and I am unable to decipher what it means.

What I got is an output consisting of words like root and the symbol #. Can you guys explain to me why this happen. is there a way for me to obtain the analytical form all the time?
 

Attachments

Physics news on Phys.org
In Mathematica, when a polynomial is complicated enough it will sometimes return Root[p,n] for the n'th root of p[x] instead of the usually numbingly complicated root itself.

Rarely it is possible for Mathematica to find the actual root in that case.

Fortunately in your example if you evaluate
ToRadicals[Eigenvalues[A]]
you will find that it will give you the explicit form of the 3 complicated roots, the last root is zero.

Unfortunately I doubt you are going to be any happier with the 6.5 screenfulls at normal magnification that it takes to show the 3 complicated roots in explicit form. But now you have the analytical form for this particular problem.
 
oh, thanks for the the explanation especially the ToRadical command.. That's what I need. thanks!
 

Similar threads

Replies
5
Views
3K
Replies
1
Views
2K
Replies
7
Views
2K
Replies
2
Views
3K
Back
Top