You can use radsimp() (short for "radical simplify") to simplify the expression. For whatever reason, simplify() isn't calling it automatically.
>>> radsimp((x+sqrt(x**2+y**2))/(x**2+y**2+x*sqrt(x**2+y**2))) 1/sqrt(x**2 + y**2) Aaron Meurer On Mon, Jun 5, 2017 at 4:01 PM, AlexHaifa <[email protected]> wrote: > Hi gays, > I am an expirence user of Mathematica (Wolfram) and newbie of Sympy. I have > an expression which Mathematica (and even me alone) can easily simplify. I > do not know how can I doit using Sympy functions. The expression is as > follows: > > (x+sqrt(x**2+y**2))/(x**2+y**2+x*sqrt(x**2+y**2)). > > Since the denominator can be rewritten as > > (x+sqrt(x**2+y**2))*sqrt(x**2+y**2) > > the expression reduces to > 1/sqrt(x**2+y**2). > Thank you in advance, > Alex] > > -- > 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/e0738f1a-1a42-4c3b-8498-cc5888cd0265%40googlegroups.com. > For more options, visit https://groups.google.com/d/optout. -- 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/CAKgW%3D6JFAJUaWyAwML3a07ymcjZxP6mXD5ZqesVueuZ7oGOPKQ%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
