TransWikia.com

Why is Mathematica not simplifying further even after providing assumptions?

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.

enter image description here

One Answer

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

Add your own answers!

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP