MathGroup Archive 2005

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

Search the Archive

Modifying displayed form of an expression?

  • To: mathgroup at
  • Subject: [mg57127] Modifying displayed form of an expression?
  • From: AES <siegman at>
  • Date: Mon, 16 May 2005 21:35:25 -0400 (EDT)
  • Organization: Stanford University
  • Sender: owner-wri-mathgroup at

I have a number of symbolic results which emerge from a Mathematica 
calculation in the form  

                a  Exp[b] 
  f  =  ----------------------------------
              Exp[c] - Exp[d]

where a is "other stuff" and b, c and d are simple sums like b = b1 + b2 
+ b3.  By default Mathematica seems to shuffle the elements of b, c and 
d in these results such that there will be only positive signs in the 
exponents b, c and d.

I want to force Mathematica to display each of these expressions in the 

                  a Exp[b - c]
               1 -  Exp[d - c]

so that the leading term in the denominator is always one (which will in 
fact mean that these expressions all have the same common denominator).  
How might I do this?

Note: I only want to force this display of each expression _once_, when 
I first calculate it, and I'm willing to do some handwork on each 
expression to accomplish this.  Thus, I don't need some sophisticated 
general tool, just a way to do this "by hand".  I've been trying Inputs  

      (Exp[-c] Numerator[f]) / (Exp[-c] Denominator[f])

and not getting anywhere.


  • Prev by Date: Re: How can one define variables to be local by default ?
  • Next by Date: Re: Re: Hold problems with FindRoot
  • Previous by thread: Re: UpSetDelayed and N
  • Next by thread: Re: Modifying displayed form of an expression?