I have the following to polar coördinates: $r=1+\cos(\theta)$ and $r=3\cos(\theta)$.
The question is to calculate the area in side $r=1+\cos(\theta)$ and outside $r=3\cos(\theta)$. I know I need to use the formula $$\int\frac{1}{2}r^2d\theta$$ But I don't really know which boundaries to choose for both polar coördinates.

Sometimes one function is outside, sometimes the other. How do you want to integrate such a region?