Re: Re: Re: Simplify and Abs
- To: mathgroup at smc.vnet.net
- Subject: [mg54729] Re: [mg54687] Re: [mg54640] Re: [mg54602] Simplify and Abs
- From: Bob Hanlon <hanlonr at cox.net>
- Date: Mon, 28 Feb 2005 03:27:19 -0500 (EST)
- Reply-to: hanlonr at cox.net
- Sender: owner-wri-mathgroup at wolfram.com
As pointed out by another posting, the leaf count causes Simplify to exclude the result from FunctionExpand. Using FunctionExpand directly avoids any subsequent "simplification." Bob Hanlon > > From: Murray Eisenberg <murray at math.umass.edu> To: mathgroup at smc.vnet.net > Date: 2005/02/27 Sun AM 01:29:11 EST > To: mathgroup at smc.vnet.net > Subject: [mg54729] [mg54687] Re: [mg54640] Re: [mg54602] Simplify and Abs > > Strangely, though, the docs for version 5.1 say: > > FunctionExpand is automatically called by FullSimplify > > > Bob Hanlon wrote: > > FunctionExpand[Abs[p-1],p<1&&p>1/2] > > > > 1-p > > > >>From: Simon Anders <simon.anders at uibk.ac.at> To: mathgroup at smc.vnet.net > > > >>Date: 2005/02/24 Thu AM 03:21:06 EST > >>Subject: [mg54729] [mg54687] [mg54640] [mg54602] Simplify and Abs > >> > >>can it really be that this is already beyond Mathematica? > >> > >> In := FullSimplify[Abs[p - 1], p < 1 && p > 1/2] > >> > >> Out := Abs[-1 + p] > > > -- > Murray Eisenberg murray at math.umass.edu > Mathematics & Statistics Dept. > Lederle Graduate Research Tower phone 413 549-1020 (H) > University of Massachusetts 413 545-2859 (W) > 710 North Pleasant Street fax 413 545-1801 > Amherst, MA 01003-9305 > >