ASKSAGE: Sage Q&A Forum - RSS feedhttps://ask.sagemath.org/questions/Q&A Forum for SageenCopyright Sage, 2010. Some rights reserved under creative commons license.Fri, 27 Apr 2012 03:28:34 +0200Simplify multiplication of SQRT()shttps://ask.sagemath.org/question/8931/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?
Fri, 27 Apr 2012 03:15:02 +0200https://ask.sagemath.org/question/8931/simplify-multiplication-of-sqrts/Answer by Shashank for <pre><code>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)
</code></pre>
<p>to simplify, the expressions under the square root have to be brought together. This is not happening. Is there any workaround?</p>
https://ask.sagemath.org/question/8931/simplify-multiplication-of-sqrts/?answer=13504#post-id-13504This question has been answered before. Please have a look at this
http://ask.sagemath.org/question/222/why-wont-simplify-multiply-out-square-rootsFri, 27 Apr 2012 03:28:34 +0200https://ask.sagemath.org/question/8931/simplify-multiplication-of-sqrts/?answer=13504#post-id-13504