Question about adding complex numbers

Click For Summary

Homework Help Overview

The discussion revolves around the addition of complex numbers, specifically phasors, and the conversion between rectangular and polar forms. Participants are examining the discrepancies in phase calculations after performing these conversions.

Discussion Character

  • Conceptual clarification, Mathematical reasoning, Assumption checking

Approaches and Questions Raised

  • The original poster attempts to understand why their calculated phase differs from the expected result, questioning the need to add 180 degrees to their phase. Some participants discuss the implications of using arctan and the quadrant considerations for the resulting angles.

Discussion Status

Participants are exploring the reasoning behind the phase calculation and the quadrant issues related to the arctan function. There is an acknowledgment of the differences in results when using manual calculations versus calculator conversions, indicating a productive exploration of the topic.

Contextual Notes

There is mention of the original rectangular form yielding a negative x and positive y, which suggests the angle should be in the second quadrant. The discussion highlights the limitations of arctan in determining the correct quadrant without additional context.

CE Trainee
Messages
14
Reaction score
0

Homework Statement



I was working on a problem dealing with complex numbers. I had to add two phasors together to get the combined phasor. I converted both numbers to rectangular form, added them and converted the result back to polar form. My magnitude was correct, but my phase was not.

Homework Equations



rectangular form of both complex numbers added together: -1.204 + j0.9476.

magnitude : 1.532.

phase: -38.2043 degrees

book answer: 1.532e^j141.79

The Attempt at a Solution



I don't really understand why I didn't get the phase right. I took the arctan of y / x and got the wrong answer. Just for the heck of it, I decided to randomly add 180 to my phase and got 141.79. What effect did this have? Why did I need to add 180? How was I supposed to know I needed to add 180?

Thanks
 
Physics news on Phys.org
tan(141.79) and tan(-38.2043) both give you the same y/x. The tip off is that the polar form of 141.79 will be in the second quadrant (negative x and positive y). The polar form of -38.2043 is in the fourth quadrant (positive x and negative y). arctan can't tell the difference. You can if you look at the original number. You want the second quadrant one.
 
CE Trainee said:

Homework Statement



I was working on a problem dealing with complex numbers. I had to add two phasors together to get the combined phasor. I converted both numbers to rectangular form, added them and converted the result back to polar form. My magnitude was correct, but my phase was not.

Homework Equations



rectangular form of both complex numbers added together: -1.204 + j0.9476.

magnitude : 1.532.

phase: -38.2043 degrees

book answer: 1.532e^j141.79

The Attempt at a Solution



I don't really understand why I didn't get the phase right. I took the arctan of y / x and got the wrong answer. Just for the heck of it, I decided to randomly add 180 to my phase and got 141.79. What effect did this have? Why did I need to add 180? How was I supposed to know I needed to add 180?

Thanks

rectangular form of both complex numbers added together: -1.204 + j0.9476.

tell you that it is r=-ve this give the phasor in the second quadrant.

your -38.2043 is from -ve r-axis to the phasor. The angle from +ve r-axis is 180-38.2043=141.79. Which is the same as the answer.
 
Dick said:
tan(141.79) and tan(-38.2043) both give you the same y/x. The tip off is that the polar form of 141.79 will be in the second quadrant (negative x and positive y). The polar form of -38.2043 is in the fourth quadrant (positive x and negative y). arctan can't tell the difference. You can if you look at the original number. You want the second quadrant one.


Hmm, that makes sense. The weird thing is, i took arctan manually with my calculator and got -38.2043. However, when I put the entered the number into my calculator as rectangular and let the calculator convert it to polar, it knew to print 141.79.
 
CE Trainee said:
Hmm, that makes sense. The weird thing is, i took arctan manually with my calculator and got -38.2043. However, when I put the entered the number into my calculator as rectangular and let the calculator convert it to polar, it knew to print 141.79.

When you used the polar converter it knew x was positive and y was negative. If you just put in y/x there is no way to tell the signs of x or y.
 

Similar threads

  • · Replies 3 ·
Replies
3
Views
2K
Replies
2
Views
2K
  • · Replies 1 ·
Replies
1
Views
4K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
Replies
14
Views
2K
Replies
2
Views
3K
  • · Replies 7 ·
Replies
7
Views
3K
  • · Replies 7 ·
Replies
7
Views
3K
  • · Replies 4 ·
Replies
4
Views
3K