MathGroup Archive 2005

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: Re: Re: Simplify and Abs

  • To: mathgroup at smc.vnet.net
  • Subject: [mg54737] Re: [mg54687] Re: [mg54640] Re: [mg54602] Simplify and Abs
  • From: DrBob <drbob at bigfoot.com>
  • Date: Mon, 28 Feb 2005 03:27:42 -0500 (EST)
  • References: <200502250618.BAA02358@smc.vnet.net> <200502270629.BAA25375@smc.vnet.net>
  • Reply-to: drbob at bigfoot.com
  • Sender: owner-wri-mathgroup at wolfram.com

Yes, but:

LeafCount@Abs[p-1]
LeafCount[1-p]

4
5

So the "simplest" answer isn't the one we think it should be.

Bobby

On Sun, 27 Feb 2005 01:29:11 -0500 (EST), Murray Eisenberg <murray at math.umass.edu> wrote:

> 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
>>> To: mathgroup at smc.vnet.net
>>> Subject: [mg54737] [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]
>
>



-- 
DrBob at bigfoot.com
www.eclecticdreams.net


  • Prev by Date: Re: Changing Plot Axis Displays
  • Next by Date: Re: Exporting output cells to .eps
  • Previous by thread: Re: Re: Simplify and Abs
  • Next by thread: Re: Re: Re: Simplify and Abs