MathGroup Archive 2005

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

Search the Archive

Re: FullSimplify with Assumptions

  • To: mathgroup at
  • Subject: [mg53348] Re: FullSimplify with Assumptions
  • From: Bill Rowe <readnewsciv at>
  • Date: Fri, 7 Jan 2005 01:18:48 -0500 (EST)
  • Sender: owner-wri-mathgroup at

On 1/6/05 at 10:00 PM, h.g.d.goyder at (Goyder Dr HGD)

>In the examples below I would expect FullSimplify to give L.
>However, I get results that depend on the symbols I use. It would
>appear that symbols x and y are treated differently.

>How can I force FullSimplify to use the LeafCount as the

You can force FullSimplify to use LeafCount using the syntax

FullSimplify[expr, ComplexityFunction->LeafCount]

However, for your specific example this doesn't have the desired effect. That is:

Out[1]="5.1 for Mac OS X (October 25, 2004)"

In[2]:=FullSimplify[(L - L*y^2)/x^2, 
                   {-1 + x^2 + y^2 == 0}, 
                   ComplexityFunction -> LeafCount]
Out[2]=-((L*(y^2 - 1))/x^2)

In[3]:=FullSimplify[(L - L*x^2)/y^2,
                    {-1 + x^2 + y^2 == 0}, 
                     ComplexityFunction ->LeafCount]
To reply via email subtract one hundred and four

  • Prev by Date: Re: Converting between Spherical and Cartesian coordinates
  • Next by Date: Re: Re: Run, RunThrough on OSX?
  • Previous by thread: Re: FullSimplify with Assumptions
  • Next by thread: Re:Re: FullSimplify with Assumptions