Disambiguating arccosine/arcsine functions

  • Thread starter Thread starter techninja
  • Start date Start date
  • Tags Tags
    Functions
AI Thread Summary
To determine the angle omega from the equations sin(omega) and cos(omega), one must first verify that the relationship sin²(omega) + cos²(omega) = 1 holds true, indicating the existence of omega. The signs of sine and cosine in the four quadrants help identify the quadrant where omega lies; sine is positive in the first and second quadrants, while cosine is positive in the first and third. If sine is positive and cosine negative, omega is in the second quadrant. The discussion also clarifies that if omega is restricted to the interval [0, 2pi), solutions can be expressed using arccosine functions with adjustments for sine's sign. Understanding these relationships is crucial for successfully implementing the trigonometric functions in programming.
techninja
Messages
14
Reaction score
0
Hi all,

I'm working on a program, and it seems that I can't get the trigonometry in my head right. I have two equations, sin(omega) = something and cos(omega) = something, and I need to find what omega is.

Given that there are two trig functions, I should be able to disambiguate what quadrant omega is in.

On the other hand, I don't quite understand the process of how this would be done.

Any help or input would be greatly appreciated!
 
Physics news on Phys.org
Thread moved to Homework Help forums (where homework and coursework should be posted).

What are the +/- signs of the sin and cos functions in the 4 quadrants?
 
Oh, sorry about that.

Well, if we're going to go thataway, sine is positive in I and II, cosine is positive in I and III. Arcsine is defined in I and IV, arccosine is defined in I and II.

Thanks!
 
techninja said:
Oh, sorry about that.

Well, if we're going to go thataway, sine is positive in I and II, cosine is positive in I and III. Arcsine is defined in I and IV, arccosine is defined in I and II.

Thanks!

You're welcome. So does that mean your question is answered?
 
Nope; not at all. :smile:
 
techninja said:
Hi all,

I'm working on a program, and it seems that I can't get the trigonometry in my head right. I have two equations, sin(omega) = something and cos(omega) = something, and I need to find what omega is.

Well, firstly, you have to check for the existence of omega. You know the relation between sine, and cosine function, right?

\sin ^ 2 \omega + \cos ^ 2 \omega = 1

If the above equation holds, then omega exists, if not, it doesn't. Do you know why?

Given that there are two trig functions, I should be able to disambiguate what quadrant omega is in.

On the other hand, I don't quite understand the process of how this would be done.

Any help or input would be greatly appreciated!

techninja said:
Well, if we're going to go thataway, sine is positive in I and II, cosine is positive in I and III...

We don't need the arcsin, and arccos part here.

Ok, so, say, if sin(omega) is positive, and cos(omega) is negative, what quadrant is omega in?

:)
 
That's a trig identity, I believe.

And, if sine is positive, it would be arccos(cos(omega)), and if not, it would be... 2*pi-arccos(cos(omega))?

Would that be right?

Thanks. (:
 
techninja said:
That's a trig identity, I believe.

And, if sine is positive, it would be arccos(cos(omega)), and if not, it would be... 2*pi-arccos(cos(omega))?

Would that be right?

Thanks. (:

Yup, correct. :)

However, does your omega has any restriction? i.e, say, must it be on the interval [0; 2pi[? Or anything along those line?

If omega must be on [0; 2pi[, then your solution would be:

\left[ \begin{array}{ll} \omega = \arccos (\cos (\omega)) , & \quad \mbox{for non-negative } \sin \omega \\ \omega = 2 \pi - \arccos \cos ( \omega ), & \quad \mbox{for negative } \sin \omega \end{array} \right.

If, omega can be anything, then the general solution for omega would be:

\left[ \begin{array}{ll} \omega = \arccos (\cos (\omega)) + \2 k \pi , & \quad \mbox{for non-negative } \sin \omega \\ \omega = - \arccos ( \cos \omega ) + 2 k' \pi , & \quad \mbox{for negative } \sin \omega \end{array} \right., where k, and k' are both integers.

You got it correctly. Congratulations. ^.^

Can you complete the programme? :)
 
Last edited:

Similar threads

Back
Top