[mathematica]- problem with the output

  • Context: Mathematica 
  • Thread starter Thread starter sandoko
  • Start date Start date
  • Tags Tags
    Mathematica Output
Click For Summary
SUMMARY

The discussion centers on an issue with obtaining analytical eigenvalues from a matrix in Mathematica. Users often encounter outputs like Root[p,n], which represent the n-th root of a polynomial, instead of explicit numerical values. The solution provided involves using the ToRadicals function to convert these roots into a more understandable analytical form. This method successfully reveals the explicit forms of the eigenvalues, although the output can be extensive and complex.

PREREQUISITES
  • Familiarity with Mathematica version 12.0 or later
  • Understanding of eigenvalues and eigenvectors in linear algebra
  • Knowledge of polynomial equations and their roots
  • Experience with Mathematica functions, specifically ToRadicals
NEXT STEPS
  • Research the use of the ToRadicals function in Mathematica
  • Explore advanced eigenvalue problems in linear algebra
  • Learn about the Root function and its applications in Mathematica
  • Investigate methods for simplifying complex polynomial expressions in Mathematica
USEFUL FOR

This discussion is beneficial for mathematicians, data scientists, and engineers who utilize Mathematica for computational tasks involving eigenvalues and require a deeper understanding of polynomial roots and their analytical representations.

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 3 ·
Replies
3
Views
4K
  • · Replies 4 ·
Replies
4
Views
4K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 5 ·
Replies
5
Views
4K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 7 ·
Replies
7
Views
2K
  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 21 ·
Replies
21
Views
6K
Replies
6
Views
2K