Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
2005
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*November
*December
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

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: [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
> 
> 


  • Prev by Date: Re: Changing Plot Axis Displays
  • Next by Date: Re: Construcing correlation matrix from time-ordered list
  • Previous by thread: Re: Simplify and Abs
  • Next by thread: Why are permutations duplicated with LexicographicPermutations? How to avoid this?