Find the domain of the polar curve $r(\theta)=2\,\cos{2\theta}$ I am given the following polar function: $r(\theta)=2\,\cos{2\theta}$
And I am asked to find the domain of $f=r(\theta)$ if $r>0$
I understand that, in this context, finding the domain means to find the allowed values of $\theta$ when $r>0$, am I right?
I plotted the function (which, by the way, is the ultimate objective of this problem):
$\hskip2in$
So what I did was to impose: $$r(\theta)>0 \Leftrightarrow 2\,\cos{2\theta}>0\Leftrightarrow 2\theta \in \left(-\dfrac \pi 2,\, \dfrac \pi 2 \right)\Leftrightarrow \boxed{\theta \in \left(-\dfrac \pi 4,\, \dfrac \pi 4 \right)}$$
But I don't know what this really means (I think it's the rightmost petal in the plot?). The function is well defined everywhere.
My book's solution is: $$\theta \in \left[0,\, \dfrac \pi 4 \right] \cup\left[\dfrac {3\pi}{4},\, \dfrac{5\pi}{4} \right] \cup\left[ \dfrac{7\pi}{4}, 2\pi\right]$$
Maybe there is something I'm missing. How exactly was this solution obtained? How does it relate to mine? Is it possible to use negative angles in polar coordinates? If the function is well-defined everywhere, what does "domain" mean in this context? I'm still learning, apologies if this question was a bit too elementary. Thank you!
 A: The book seems to be assuming the domain is a subset of $[0,2\pi]$, and is simply removing the values of $\theta$ for which $\cos2\theta$ is negative.  When you require $r(\theta)\ge0$, you only get the right- and left-pointing lobes in your graph.  The upper and lower lobes come by allowing $r(\theta)\lt0$: the lower lobe is swept out as $\theta$ runs from $\pi/4$ to $3\pi/4$, and the upper lobe is swept out as $\theta$ runs from $5\pi/4$ to $7\pi/4$.
A: I may not be qualified to answer your question, and I am not trying to. From what I understand you have already figured it out, but i am posting this to help those like me coming to this topic for the first time. I want to say thanks for all the comments and the answers above they explained it well and helped me understand it but I just want to put my answer in hopes that it will make it easier for beginners like me to understand it.
So the first thing to keep in mind is the domain of a polar equation which is usually 
[$0$,$2\pi$] (and this is because of the fact that $\theta$ would be repeating it self after that point), but it could also some times be  [-$\pi$,$\pi$] . it would usually be given or you might have to figure it out depending on the problem. Then what you have to do is find the domain of your equation that is the subset of this domain. Lets take the above example.
$r(\theta)=2\,\cos{2\theta}$
First lets find the zeros of this equation. $r(\theta) = 0$ whenever $\cos{2 \theta} = 0$, and the first zero is at $\frac{\pi}{4}$ and because $cos(2 \theta)$ has a period of $\frac{2\pi}{2}$ the other zero's are $(...,-\frac{3\pi}{4},-\frac{\pi}{4},\frac{\pi}{4},\frac{3\pi}{4},...)$ and so on. Because it is easy to graph the $cos$ function we can identify on which intervals $\cos(2 \theta)>0$ hence we will know on which intervals $r >0$, but for the more harder equation you may need to use first derivative test and the like to find turning points and get a nice sketch of the graph to determine on which intervals it is greater than zero. In our case $\cos(2 \theta)>0$  for $(...,[\frac{-5\pi}{4},\frac{-3\pi}{4}],[\frac{-\pi}{4},\frac{\pi}{4}],[\frac{3\pi}{4},\frac{5\pi}{4}][\frac{7\pi}{4},\frac{9\pi}{4}],...)$. Now from this set of intervals, let choose the once that satisfy our first rule. ($\theta \in \left(0 , 2\pi  \right)$
when we do that we can see that $\theta \in \left[0,\, \dfrac \pi 4 \right] \cup\left[\dfrac {3\pi}{4},\, \dfrac{5\pi}{4} \right] \cup\left[ \dfrac{7\pi}{4}, 2\pi\right]$ so that would be our solution. The graph would then look like $\infty$. The graph if you are interested
