Hello Bastian, this simplification is valid only for positive x in general (try x = -1).
In [1]: x = Symbol("x", positive=True) In [2]: (x**2)**(3*numbers.One()/2) Out[2]: 3 x for real x, it simplifies to absolute value In [3]: x = Symbol("x", real=True) In [4]: (x**2)**(3*numbers.One()/2) Out[4]: 3 │x│ Best regards Stepan On 24 June 2010 16:56, Bastian Weber <bastian.we...@gmx-topmail.de> wrote: > Hello all, > > > is there a way to simplify > > (x**2)**(3*numbers.One()/2) > > to > > x**3 > > ? > > It is not that important for me but the expressions would look cleaner. > > Thanks, > Bastian. > > > -- > You received this message because you are subscribed to the Google Groups > "sympy" group. > To post to this group, send email to sy...@googlegroups.com. > To unsubscribe from this group, send email to > sympy+unsubscr...@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/sympy?hl=en. > > -- You received this message because you are subscribed to the Google Groups "sympy" group. To post to this group, send email to sy...@googlegroups.com. To unsubscribe from this group, send email to sympy+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/sympy?hl=en.