Rearranging the above equation, we get:

image

We know the following :

Since

image

and cos θ is positive in the first and fourth quadrants, we have:

image

or

image

So image or image