11

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?

Ystar
  • 2,966
  • 4
  • 22
  • 39

1 Answers1

13

You could do this:

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