Now here is a really silly problem with tellsimp. I was working on miscellaneous functions related to signum and have a weird
problem.
Try
tellsimp('integrate(abs(xx),xx), integrate(xx*signum(xx),xx))$
tellsimp('integrate(max(xx,-xx),xx), integrate(xx*signum(xx),xx))$
tellsimp('integrate(max(-xx,xx),xx), integrate(xx*signum(xx),xx))$
tellsimp('integrate(min(xx,-xx),xx), integrate(-xx*signum(xx),xx))$
tellsimp('integrate(min(-xx,xx),xx), integrate(-xx*signum(xx),xx))$
(%i1) integrate(abs(x),x);
(%o1) (x^2*signum(x))/2
(%i2) integrate(min(x,-x),x);
(%o2) -(x^2*signum(x))/2
but I can't get these two to "take"
(%i3) integrate(max(x,-x),x);
(%o3) integrate(max(-x,x),x)
(%i4) integrate(max(-x,x),x);
(%o4) integrate(max(-x,x),x)
Why does min() and abs() work but not max()?
Rich
----- Original Message -----
From: "Richard Fateman" <fateman at cs.berkeley.edu>
To: "Richard Hennessy" <rvh2007 at comcast.net>
Cc: "Maxima List" <maxima at math.utexas.edu>
Sent: Saturday, November 29, 2008 2:14 PM
Subject: Re: [Maxima] tellsimp and limit
try tellsimpafter('limit(signum(xx),xx,0,minus), -1);