Simplify function in Sage

7.9k Views Asked by At

In Sage,

simplify(x/(x^2 + x))

gives

x/(x^2 + x)

I would instead expect to get

1/(x + 1)

Is there a way to achieve that?

1

There are 1 best solutions below

0
On BEST ANSWER

You could do this:

sage: expr = x/(x^2 + x)
sage: expr.simplify_full()
1/(x + 1)