MathGroup Archive 2008

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

Search the Archive

Re: signs in the mathematica output

  • To: mathgroup at
  • Subject: [mg92483] Re: signs in the mathematica output
  • From: Jens-Peer Kuska <kuska at>
  • Date: Wed, 1 Oct 2008 18:32:42 -0400 (EDT)
  • Organization: Uni Leipzig
  • References: <gbulqi$lcr$>
  • Reply-to: kuska at


the problem can't be solved, because Mathematica orders sums
due to the complexity of the summands, the lowest complexity has
a single number and so -1 comes before a variable like "s" or "a".
Second your expression is


after FullSimplify[] it is


and that is simpler than you input.

You can play around with the ExcludeForms and ComplexityFunction
options of FullSimplify[] but I would not expect that a general
solution exist.


Simone Moriconi wrote:
> Hello everybody! I have a problem in using the Mathematica Package which is probably a bit stupid but very annoying when you have long expressions.. 
> When I "FullSimplify" big equations, in the output the negative sign is always put aside i.e. if I do something like:
> FullSimplify[(1-s)(1-a)]
> I obtain 
> (-1+s)(-1+a).
> Which is very confusing with long and tedius expressions. Does anybody know a way to solve this problem?
> Thanks a lot for your help!!

  • Prev by Date: Re: extracting contour points
  • Next by Date: Re: Font size in plot coordinates?
  • Previous by thread: Re: signs in the mathematica output
  • Next by thread: Re: signs in the mathematica output