Loading [MathJax]/jax/output/HTML-CSS/jax.js
Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

asked 4 years ago

EconJohn gravatar image

e(alog(x1)/(a+b)+alog(x1)/(a+b)+alog(x2)/(a+b)alog(x3)/(a+b)) 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(x4)/(a+b))
eq
Out: [e^(a*log(x2)/(a + b) - a*log(x3)/(a + b))]
show(eq)

e(alog(x2)a+balog(x3)a+b)

what I wanted to get is along the lines of (x2x3)1a+b

I've tried using simplify_full() with no success. any help is appreciated.

e(alog(x1)/(a+b)+alog(x1)/(a+b)+alog(x2)/(a+b)alog(x3)/(a+b)) 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(x4)/(a+b))
eq
Out: [e^(a*log(x2)/(a + b) - a*log(x3)/(a + b))]
show(eq)

e(alog(x2)a+balog(x3)a+b)

what I wanted to get is along the lines of (x2x3)1a+b

I've tried using simplify_full() with no success. any help is appreciated.

e(alog(x1)/(a+b)+alog(x1)/(a+b)+alog(x2)/(a+b)alog(x3)/(a+b)) ealog(x1)a+b+alog(x1)a+b+alog(x2)a+balog(x3)a+b 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(x4)/(a+b))
eq
Out: [e^(a*log(x2)/(a + b) - a*log(x3)/(a + b))]
show(eq)

e(alog(x2)a+balog(x3)a+b)

what I wanted to get is along the lines of (x2x3)1a+b

I've tried using simplify_full() with no success. any help is appreciated.

ealog(x1)a+b+alog(x1)a+b+alog(x2)a+balog(x3)a+b e(alog(x1)a+b+alog(x1)a+b+alog(x2)a+balog(x3)a+b) 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(x4)/(a+b))
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(alog(x2)a+balog(x3)a+b)

what I wanted to get is along the lines of (x2x3)1a+b

I've tried using simplify_full() with no success. any help is appreciated.