I have:
z=−4−4i
Then I know that θ=arctan(y/x) which gives me:
arctan(1)=π/4
But, if we draw the angle for z=−4−4i, we can observe that we are in the 3thd quadrant.
So, one can just takes:
π4−π=−3π4
and I have my Arg(z), which is ∈[−π,π].
My result, which is in polar form is:
4√2e−3π4i
What I did (and I don't know if its correct) is:
z=−4−4i=−4(1+i)=−4√2(1√2+1√2i)
and my final result, which is in polar form is:
−4√2eπ4i
My question: It is possible to have more than two Arg(z) values?
Note that π4 is also ∈[−π,π].
Thank you very much for your help!
Answer
Both your restults are correct and reprensent the same number :
4√2e−3π4i=4√2e−πi+π4i=4√2×(−1)×e−π4i
In general, the "polar form" is the first you wrote (since we want the radius to be positive).
Use the atan function is a "bad good idea": you encounters problems because the results of this function is always in (−π/2,π/2). You should use remarkable values of both sine and cosine function to determine the argument: for instance
z=4√2(−1√2−1√2i)
we know that cos(θ)=−1√2=sin(θ). Hence (draw a circle if needed) θ=−3π4.
EDIT :
Hum well... the matter is not really in the atan function it self. When you calculate y/x, if x and y both are negative then y/x is positive and y've lost the information on the sign of x and y.
We can use the atan function but you have to check the sign of y before. For instance an "good algorithm" would be: arg(x+yi)={atan(y/x) if y≥0atan(y/x)+πif y<0
No comments:
Post a Comment