Complex Arithmetic - Mathematica agrees with me, textbook says I'm wrong.

Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
1 reply · 2K views
jdinatale
Messages
153
Reaction score
0
mathematica.png





Mathematica agrees with my second solution (not the first one though). The back of my textbook says: "[itex]\sqrt[4]{8}[\cos(\frac{5\pi}{8}) + i\sin(\frac{5\pi}{8})][/itex] and [itex]\sqrt[4]{8}[\cos(\frac{13\pi}{8}) + i\sin(\frac{13\pi}{8})][/itex]"


Edit: The second z in my picture should be |z|, the modulus.

Edit2: Here are the results from mathematica, confirming that both the textbook AND I are right...

http://www.wolframalpha.com/input/?i=(1+-+i)^(3/2)+=+(8^(1/4))[cos(45pi/8)+++i+sin(45pi/8)]
http://www.wolframalpha.com/input/?i=(1+-+i)^(3/2)+=+[8^(1/4)][cos(+13pi/8)+++isin(13pi/8)]

My question is, how did my textbook get that answer?
 
Physics news on Phys.org
You can get rid of multiples of ##2\pi##. For example, you have
$$\frac{21\pi}{8} = \frac{(16+5)\pi}{8} = 2\pi + \frac{5\pi}{8},$$ so your first answer is equivalent to the book's first answer. Similarly, you can show your second answer also matches the book's second answer.