Why Does Setting m=0 Matter in Calculating Complex Numbers?

Join the discussion
Registration is free. Ask a follow-up in this thread, or start your own.
1 reply · 1K views
ahmed markhoos
Messages
49
Reaction score
2
Hi,I'm facing a problem finding the values of complex numbers, I'll put two examples then I'll explain the issue.

ex1: [tex](-e)^{iπ}[/tex] , my answer is [tex](-e)^{π^2±2mπ^2}[/tex] The book answer is [tex](-e)^{π^2}[/tex]

ex2: [tex]e^{2 arctanh(i)}[/tex] , my answer is [tex]e^{[iπ/2±mπ/2]} = ie^{±mπ/2}[/tex] The book answer is [tex]i[/tex]

just to mention that the book answer are exactly like wolfram alpha's answers, the problem is that the answers were set as m=0 while they didn't do the same thing for other problems, When can I set m=0 and when I cannot do that?
 
Physics news on Phys.org
ahmed markhoos said:
When can I set m=0 and when I cannot do that?
Keep the m if you need some logarithm or inverse trigonometric function somewhere, unless the problem statement specifies the branch you are supposed to use.
 
  • Like
Likes   Reactions: ahmed markhoos