MathGroup Archive 1997

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

Search the Archive

Re: How to make Mathematica to return "Log[Exp[x]]" as x?



On 7 Jan 1997, Cheng Li wrote:

> Dear friends, suppose x is a variable and when I type "Log[Exp[x]]" and then 
> enter, Mathematica gives me "Log[Exp[x]]" back. Could you please tell me how 
> to let Mathematica to return "Log[Exp[x]]" as x?

Hi,

Try ComplexExpand[ Log[Exp[x]] ].

The reason it doesn't default to x is that Log is a
many-valued function in complex analysis.

Regards,
David.

 David Pearson,            Phone: (0)1743 318741    
 ESSC, PO Box 227,         Fax:   (0)1734 755865
 University of Reading,    email: sgspedav at rdg.ac.uk           
 Reading, RG6 6AB, UK.     internet: http://www.nerc-essc.ac.uk/~dwcp/         
                  




  • Prev by Date: Compiling for speed for vectors and matrices
  • Next by Date: cover of Mathematica book (hyperbolic polyhedra)
  • Previous by thread: Re: How to make Mathematica to return "Log[Exp[x]]" as x?
  • Next by thread: Pls help me translate Laguerre poly to Hermite type "Hn" in MMA 2.2