# Revision history [back]

### Simplify multiplication of SQRTs

sage: a=var('a')
sage: b=var('b')
sage: sqrt(1/(a*b))*sqrt(a/b)
sqrt(a/b)*sqrt(1/(a*b))
sage: (1/(a*b))*(a/b)
b^(-2)


to simplify, the expressions under the square root have to be brought together. This is not happening. Is there any workaround?

### Simplify multiplication of SQRTsSQRT()s

sage: a=var('a')
sage: b=var('b')
sage: sqrt(1/(a*b))*sqrt(a/b)
sqrt(a/b)*sqrt(1/(a*b))
sage: (1/(a*b))*(a/b)
b^(-2)


to simplify, the expressions under the square root have to be brought together. This is not happening. Is there any workaround?