Ask Your Question

Why simplify doesn't work?

asked 2012-11-22 20:17:49 +0200

ozik gravatar image

updated 2012-11-22 20:42:42 +0200

calc314 gravatar image

Hi! My problem is that I don't want to use simplify_full(). It messes up the way my formulea look preety bad. Yet I have in them terms of the form:


and these a left untouched by simplify(). Is there any way for sage to recognize, that f=x without simplify_full()?


(Here's what i mean by messed up formula:


f1(x,b1,b2)= e^(-x/b2)/b2 - e^(-x/b1)/b1

f2(x,b1,b2)= x

f1=f1( x=log( (b1/b2)^(b1*b2/(b1-b2)) ) )

f2=f2( x=log( (b1/b2)^(b1*b2/(b1-b2)) ) )

show( f1.simplify_full() + f2.simplify_full()== (f1+f2).simplify_full() )

The lhs looks way better, doesn't it?)


Big thanks in advance for any comments!

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2012-11-23 04:11:55 +0200

simplify_full() just runs the specialized simplify_*() routines one by one. You can call them individually and see if they give you better results.

sage: x.sim<tab>
x.simplify            x.simplify_full       x.simplify_rational
x.simplify_exp        x.simplify_log        x.simplify_trig
x.simplify_factorial  x.simplify_radical
edit flag offensive delete link more


Great many thanks!

ozik gravatar imageozik ( 2012-11-27 10:54:13 +0200 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools


Asked: 2012-11-22 20:17:49 +0200

Seen: 564 times

Last updated: Nov 23 '12