ASKSAGE: Sage Q&A Forum - Individual question feedhttps://ask.sagemath.org/questions/Q&A Forum for SageenCopyright Sage, 2010. Some rights reserved under creative commons license.Thu, 26 Apr 2012 20:28:34 -0500Simplify 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?
Thu, 26 Apr 2012 20:15:02 -0500https://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-rootsThu, 26 Apr 2012 20:28:34 -0500https://ask.sagemath.org/question/8931/simplify-multiplication-of-sqrts/?answer=13504#post-id-13504