Re: How do I force Log[Exp[x]]=x
- To: mathgroup at smc.vnet.net
- Subject: [mg22044] Re: How do I force Log[Exp[x]]=x
- From: "Kevin J. McCann" <kevin.mccann at jhuapl.edu>
- Date: Fri, 11 Feb 2000 02:38:23 -0500 (EST)
- Organization: Johns Hopkins University Applied Physics Lab, Laurel, MD, USA
- References: <87tp95$5ia@smc.vnet.net>
- Sender: owner-wri-mathgroup at wolfram.com
ComplexExpand[Log[E^x]] does the trick. Kevin -- Kevin J. McCann Johns Hopkins University APL 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.