Adding sinusoidal functions using phasors

Click For Summary
The discussion focuses on the addition of sinusoidal functions using phasors, specifically addressing a discrepancy in angle calculations. The original calculation yielded an angle of -65.51°, while the textbook provided 114.49°. Participants noted that the arctan function can lead to incorrect quadrant placements, emphasizing the importance of using the atan2 function for accurate angle determination. Additionally, they suggested checking results visually on the complex plane to ensure the correct quadrant is identified. Overall, the conversation highlights the need for careful consideration of angle calculations in phasor analysis.
Vishera
Messages
72
Reaction score
1

Homework Statement



tgiXxOl.png


Homework Equations


The Attempt at a Solution


$$3cos(20t+10°)-5cos(20t-30°)\\ =3\angle 10°-5\angle -30°\\ =-1.376+3.0209j\\ =3.32\angle -65.51°$$ In the last step, the textbook actually got ##3.32\angle 114.49°##.

I checked both answers and it seems that the textbook's answer is correct. All I did to get -65.51° is using the arctan function on my calculator. It looks like their angle is 180° greater than that. How did they choose the correct angle? I'm rusty on my trigonometry.
 
Physics news on Phys.org
Don't phasors need to be put in RMS before you work with them in this case?
 
Last edited:
Vishera said:

Homework Statement



tgiXxOl.png


Homework Equations





The Attempt at a Solution


$$3cos(20t+10°)-5cos(20t-30°)\\ =3\angle 10°-5\angle -30°\\ =-1.376+3.0209j\\ =3.32\angle -65.51°$$ In the last step, the textbook actually got ##3.32\angle 114.49°##.

I checked both answers and it seems that the textbook's answer is correct. All I did to get -65.51° is using the arctan function on my calculator. It looks like their angle is 180° greater than that. How did they choose the correct angle? I'm rusty on my trigonometry.

The arctan() function doesn't discriminate between the cases where the minus sign is to be associated with the numerator or the denominator of the argument; it only sees the overall sign of the single number it is given. To check what quadrant the correct angle should lie in, do a quick sketch of the x (real) and y (imaginary) values on the complex plane. Adjust the result by 180° if required.

If your calculator has an atan2() function, use that instead as it takes two arguments, one for the x component and one for the y, and sorts out the correct angle automatically. Failing that, your calculator might have rectangular to polar conversion built-in, which will also give the result in the correct quadrant automatically.
 
Draw a picture of your combined phasor. See the quadrant where the components locate the resultant?

Generally, the inverse trig functions on your calculator only return the principal angles, which for the tangent is in the range -π/2 ≤ θ ≤ π/2. When doing these types of calculations, you must give your result a separate check to make sure you obtain the correct angle.
 
Thanks for help guys. I completely forgot this part of trigonometry and I get it now. It's actually kind of scary that I forgot this because it's not like I stopped doing Math. Too much calculus has made me a bit rusty on my algebra (or at least trigonometry).
 
-1.376 + 3.02J never equals -65 degrees...check your math there...it always equals 114.49 degrees.
 
psparky said:
-1.376 + 3.02J never equals -65 degrees...check your math there...it always equals 114.49 degrees.

Weird. My calculator is always giving me a principal value of -65.
 
Vishera said:
Weird. My calculator is always giving me a principal value of -65.

Yes. Because you are calculating:
$$\phi = arctan\left( \frac{3.02}{-1.376} \right)$$
Which, after resolving the argument to -2.195, the arctan() function places in the fourth quadrant. It cannot distinguish ##\frac{3.02}{-1.376}## from ##\frac{-3.02}{1.376}## or ##-2.195##, and can only return a corresponding angle that lies within its principal range of +/- 90° .
 
gneill said:
Yes. Because you are calculating:
$$\phi = arctan\left( \frac{3.02}{-1.376} \right)$$
Which, after resolving the argument to -2.195, the arctan() function places in the fourth quadrant. It cannot distinguish ##\frac{3.02}{-1.376}## from ##\frac{-3.02}{1.376}## or ##-2.195##, and can only return a corresponding angle that lies within its principal range of +/- 90° .

Trig is certainly one way, another is simply using the rectangular to polar function on your calculator.
Or do them both. If they both agree, better yet.
 

Similar threads

  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 11 ·
Replies
11
Views
8K
  • · Replies 1 ·
Replies
1
Views
5K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 4 ·
Replies
4
Views
4K
  • · Replies 6 ·
Replies
6
Views
3K
Replies
2
Views
2K
  • · Replies 2 ·
Replies
2
Views
8K
  • · Replies 5 ·
Replies
5
Views
4K
  • · Replies 2 ·
Replies
2
Views
15K