11
$\begingroup$

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?

$\endgroup$
1

1 Answer 1

13
$\begingroup$

You could do this:

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

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .