Re: Simplify
- To: mathgroup at smc.vnet.net
- Subject: [mg98696] Re: Simplify
- From: "Sjoerd C. de Vries" <sjoerd.c.devries at gmail.com>
- Date: Thu, 16 Apr 2009 04:16:51 -0400 (EDT)
- References: <gs47pv$7tv$1@smc.vnet.net>
It doesn't simplify to that because the two are not equivalent. Try I for x and -1 for y. Cheers, Sjoerd On Apr 15, 11:01 am, dh <d... at metrohm.com> wrote: > Hi, > > can somebody explain, why > > Simplify[x^2/y^2,ComplexityFunction->LeafCount] > > does not simplify to (x/y)^2, although the LeafCount is: > > LeafCount[Hold[x^2/y^2]] gives 10 > > and > > LeafCount[Hold[(x/y)^2]] gives 8 > > Daniel