Re: How do I force Log[Exp[x]]=x

*To*: mathgroup at smc.vnet.net*Subject*: [mg22061] Re: How do I force Log[Exp[x]]=x*From*: "Dimiter Petsev" <dimiter at cmmr.uah.edu>*Date*: Fri, 11 Feb 2000 02:38:47 -0500 (EST)*Organization*: The University of Alabama in Huntsville*References*: <87tp95$5ia@smc.vnet.net>*Sender*: owner-wri-mathgroup at wolfram.com

Try: PowerExpand[Log[Exp[x]]] Works for me. Regards, Dimiter Petsev Bart Killam <sasrbk at unx.sas.com> wrote in message news:87tp95$5ia at smc.vnet.net... > > For real x, Log[Exp[x]]=x. For general complex x > Mathematical leaves this expression unevaluated. I > have tried Log[Exp[x/;Im[x]=0]], but this give a result > of 0. > > How do I tell Mathematica that I want the expression > simplied for real x ? Thanks for any help. > -- > Bart Killam Work: 919-677-8000 x7538 > SAS Institute Inc. Fax: 919-677-8123 > SAS Campus Dr., R5115 Email: sasrbk at unx.sas.com > Cary NC 27513-8000 >