The Math Forum

Search All of the Math Forum:

Views expressed in these public forums are not endorsed by NCTM or The Math Forum.

Math Forum » Discussions » Inactive » comp.soft-sys.math.mathematica

Notice: We are no longer accepting new posts, but the forums will continue to be readable.

Topic: Re: [mg5302] ComplexExpand
Replies: 0  

Advanced Search

Back to Topic List Back to Topic List  
Daniel Lichtblau

Posts: 1,761
Registered: 12/7/04
Re: [mg5302] ComplexExpand
Posted: Nov 26, 1996 3:40 AM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

E. Neely Atkinson wrote:
> Can anyone explain to me why the following two
> examples behave differently? Thanks.
> Mathematica 2.2 for IBM RISC System/6000
> Copyright 1988-93 Wolfram Research, Inc.
> -- Terminal graphics initialized --
> In[1]:= ComplexExpand[Log[1 / E^x]]
> Out[1]= -x
> In[2]:= ComplexExpand[Log[1 / (2 E^x)]]
> 1
> Out[2]= Log[----]
> x
> 2 E
> E. Neely Atkinson

Looks like a minor bug. The result is tolerable because it is separated
into explicitly real and imaginary parts. The latter just happens to be
zero, because x is assumed real.

Works better in version 3.0.

In[2]:= ComplexExpand[Log[1 / (2 E^x)]]
Out[2]= -x - Log[2]

In[3]:= $Version
Out[3]= Linux 3.0 (October 4, 1996)

Daniel Lichtblau
Wolfram Research

Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© The Math Forum at NCTM 1994-2018. All Rights Reserved.