Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.soft-sys.math.mathematica > #13579 > unrolled thread

Re: ComplexExpand off by a factor of (-1)?

Started byBill Rowe <readnews@sbcglobal.net>
First post2013-02-23 12:01 +0000
Last post2013-02-23 12:01 +0000
Articles 1 — 1 participant

Back to article view | Back to comp.soft-sys.math.mathematica


Contents

  Re: ComplexExpand off by a factor of (-1)? Bill Rowe <readnews@sbcglobal.net> - 2013-02-23 12:01 +0000

#13579 — Re: ComplexExpand off by a factor of (-1)?

FromBill Rowe <readnews@sbcglobal.net>
Date2013-02-23 12:01 +0000
SubjectRe: ComplexExpand off by a factor of (-1)?
Message-ID<kgab2c$c7d$1@smc.vnet.net>
On 2/22/13 at 1:05 AM, charles.ces@gmail.com wrote:

>Would someone be able to help me understand why when I enter the
>expression:

>ComplexExpand[(E^(I*y) - E^(-I*y))/2*I] I get a result of -Sin[y]
>instead of Sin[y]?

You get -Sin[y] because that is the correct answer. You probably intended

In[4]:= ComplexExpand[(E^(I*y) - E^(-I*y))/(2*I)]

Out[4]= Sin[y]

that is divide by 2 I rather than divide by 2 and *multiply* by
I as you did. And since 1/I = -1 you got the correct result

[toc] | [standalone]


Back to top | Article view | comp.soft-sys.math.mathematica


csiph-web