Ask Your Question

Revision history [back]

This is because simplify_full does not attack square roots.

There is another method for doing that, which is called canonicalize_radical.

sage: y = (sin(x) + 2) * sqrt(sin(x) / (sin(x)^2 + 4 * sin(x) + 4))
sage: y.canonicalize_radical()
sqrt(sin(x))