10

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?

Samuel Lelièvre
  • 1,477
  • 8
  • 17
Ystar
  • 2,796
  • 2
  • 20
  • 36

1 Answers1

12

You could do this:

sage: expr = x/(x^2 + x)
sage: expr.simplify_full()
1/(x + 1)
Samuel Lelièvre
  • 1,477
  • 8
  • 17