SymPy should not to do anything automatically that is not generally true. 
In this case, making x nonnegative is sufficient to get it to do what you 
want.

>>> var('x', nonnegative=True)
x
>>> (x**8)**(Rational(1,4))
x**2

If you want that done without creating a new 'x' use powdenest with 
force=True:

>>> (x**8)**(Rational(1,4))
(x**8)**(1/4)
>>> powdenest(_, force=True)
x**2


On Wednesday, December 20, 2017 at 8:05:57 PM UTC-6, Miguel González Duque 
wrote:
>
> Doing some calculations, I came to the following sympy expression: 
> `x**10*y**5*(x**8)**(-1.25)`, I tried to simplify it (because, if one 
> performs the multiplication manually, it is evident that 
> x**10*y**5*(x**8)**(-1.25) = y**5. I realized that this happens even with x 
> alone: if one considers the expression `(x**8)**(0.25)` (or even 
> `(x**8)**(Rational(1,4))`), it doesn't simplify any further. *Is there a 
> way of simplifying these expressions?*
>
> Thanks.
>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"sympy" 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 https://groups.google.com/group/sympy.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sympy/38b96cc8-e0a3-4ae7-83b4-d0bb23596634%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to