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, 17 Jul 2020 20:13:18 +0200$e^\left({\frac{-alog(x1)}{a+b}+\frac{alog(x1)}{a+b}+\frac{alog(x2)}{a+b}-\frac{alog(x3)}{a+b}}\right)$ does not simplify in sagehttps://ask.sagemath.org/question/52531/eleftfrac-alogx1abfracalogx1abfracalogx2ab-fracalogx3abright-does-not-simplify-in-sage/I'm running the following code in sage but the answer is not simplified all the way:
eq=e^(-a*log(x1)/(a+b)+a*log(x1)/(a+b)+a*log(x2)/(a+b)-a*log(x3)/(a+b))
eq
Out: [e^(a*log(x2)/(a + b) - a*log(x3)/(a + b))]
show(eq)
$$e^{\left(\frac{alog(x2)}{a + b} - \frac{alog(x3)}{a + b}\right)}$$
what I wanted to get is along the lines of
$$\left(\frac{x_2}{x_3}\right)^\frac{1}{a+b}$$
I've tried using `simplify_full()` with no success. any help is appreciated.EconJohnFri, 17 Jul 2020 20:13:18 +0200https://ask.sagemath.org/question/52531/