Mathematica solution with an imaginary part

3 replies · 3K views · last reply
ehrenfest
Messages
2,001
Reaction score
1
Can someone please explain why the result of the following has an imaginary part when I put it into mathematica 6.0?

Code:
Sum[Sin[n 6]/2^n, {n, 1, Infinity}]
 
Because
Code:
Sin[n 6] / 2^n
is
Code:
2^-n * Sin[n 6]
 
Wrap it in a full simplify command:

Code:
FullSimplify[Sum[Sin[n 6]/2^n, {n, 1, Infinity}]]
 
DeepakS said:
Because
Code:
Sin[n 6] / 2^n
is
Code:
2^-n * Sin[n 6]

So what?