MathGroup Archive 2003

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

Search the Archive

Re: Log[Exp[r]] <> r?

  • To: mathgroup at smc.vnet.net
  • Subject: [mg39282] Re: Log[Exp[r]] <> r?
  • From: "David W. Cantrell" <DWCantrell at sigmaxi.org>
  • Date: Sun, 9 Feb 2003 04:50:28 -0500 (EST)
  • References: <b22jou$6bh$1@smc.vnet.net>
  • Sender: owner-wri-mathgroup at wolfram.com

Jonathan Greenberg <greenberg at ucdavis.edu> wrote:
> Hi there, why is it when I enter Log[Exp[r]] (or use Simplify or
> FullSimplify) I don't get r?  If I do Log[Exp[2]] I get 2!

I suppose that you intend r to be a real number. If so, then use

Simplify[Log[Exp[r]], Element[r, Reals]]

David


  • Prev by Date: Plot3D ? or sth
  • Next by Date: Pause[t], t<1
  • Previous by thread: Plot3D ? or sth
  • Next by thread: Re: Log[Exp[r]] <> r?