Return a simplified version of this symbolic expression.
Note: Currently, this just sends the expression to Maxima and
converts it back to Sage.
See also: "simplify_full()", "simplify_trig()",
"simplify_rational()", "simplify_rectform()"
"simplify_factorial()", "simplify_log()", "simplify_real()",
"simplify_hypergeometric()", "canonicalize_radical()"
Not very informative, ... and Maxima's simplifications are numerous, complex and somewhat difficult to follow.
Apply "simplify_factorial()", "simplify_rectform()",
"simplify_trig()", "simplify_rational()", and then "expand_sum()"
to self (in that order).
Note that you have also:
sage: assumptions()
[]
sage: ((x^2+x)/x).collect_common_factors()
x + 1
sage: x.collect_common_factors?
This function does not perform a full factorization but only looks
for factors which are already explicitly present.
Polynomials can often be brought into a more compact form by
collecting common factors from the terms of sums. This is
accomplished by this function.
and
sage: ((x^2+x)/x).canonicalize_radical()
x + 1
sage: x.collect_common_factors?
This function does not perform a full factorization but only looks
for factors which are already explicitly present.
Polynomials can often be brought into a more compact form by
collecting common factors from the terms of sums. This is
accomplished by this function.
And, indeed, these functions do more or less undocumented assumptions...
HTH,