Mathematica Asked on April 29, 2021
m = {{0, 0, 1, 0}, {0, 0, 0, 1}, {-5 X^2, X^2, 0, 0}, {X^2, -X^2, 0, 0}};
Simplify[Eigenvalues[m], Assumptions -> X>0]
The output I get is this below. The last two eigenvalues are not in their simplest form. They too are complex numbers.
I found a simple way:
Simplify[Eigenvalues[m], Assumptions -> X > 0] // PowerExpand
I think the function ComplexityFunction
or function TransformationFunctions
is likely to do the same, but I don't know how to do it yet.
Correct answer by A little mouse on the pampas on April 29, 2021
Get help from others!
Recent Questions
Recent Answers
© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP