MathGroup Archive 2009

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

Search the Archive

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



  • Prev by Date: FindRoot
  • Next by Date: tooltip - evaluate function at point
  • Previous by thread: Re: Simplify
  • Next by thread: Re: Simplify