Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

You could try canonicalize_radical:

sage: a = (sqrt(x)/(x+1))^n * (x+1)^n                                           
sage: a.canonicalize_radical()                                                  
x^(1/2*n)