The issue is that you have a nested power. x**a**b != x**(a*b) in
general (see http://docs.sympy.org/latest/tutorial/simplification.html#powers),
so SymPy doesn't simplify this automatically.

The solution should be to use powdenest, but it seems that
powdenest(force=True) is not working for me. So this is a bug. I
opened https://code.google.com/p/sympy/issues/detail?id=4022 for it.

Aaron Meurer

On Tue, Sep 10, 2013 at 4:59 AM, Boris Kheyfets <[email protected]> wrote:
> Ho do I cancel expression in a denominator:
>
>                    2/3
>                -8⋅2
> ─────────────────────────────────────
>                                   7/4
>   3 ___         22/3 ⎛     1     ⎞
> 3⋅╲╱ ν ⋅(yᵢ - 1)    ⋅⎜───────────⎟
>                      ⎜        8/3⎟
>                      ⎝(yᵢ - 1)   ⎠
>
> Expression:
>
> -8*2**(2/3)/(3*nu**(1/3)*(y_i - 1)**(22/3)*((y_i - 1)**(-8/3))**(7/4))
>
> --
> 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 http://groups.google.com/group/sympy.
> For more options, visit https://groups.google.com/groups/opt_out.

-- 
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 http://groups.google.com/group/sympy.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to