Change the order of integration in $$\int_0^{\pi/2}\int_{a\cos\theta}^{a(1+\cos\theta)} f(r,\theta)\,r\,dr\,d\theta + \int_{\pi/2}^{\pi}\int_0^{a(1+\cos\theta)} f(r,\theta)\,r\,dr\,d\theta.$$
Tarun Kumar Yadav, AIR 49, 2025
Graph:
[a polar-plane graph of the circle $r=a\cos\theta$ and the cardioid $r=a(1+\cos\theta)$, with the axes $\theta=\pi/2$, $\theta=\pi$ and $\theta=0$, the outer curve reaching $2a$, and two radial lines from the origin]
for $r \in [0, a)$
$\theta$ goes from $a\cos\theta = r$ i.e $\cos\theta = \frac{r}{a}$
to $a(1+\cos\theta) = r$ i.e $\cos\theta = \frac{r}{a} - 1$
i.e $\theta$ goes from $\cos^{-1}\left(\frac{r}{a}\right)$ to $\pi - \cos^{-1}\left(1 - \frac{r}{a}\right)$
for $r \in [a, 2a]$
$\theta$ goes from 0 to $\cos^{-1}\left(\frac{r}{a} - 1\right)$
thus integration can be re-written as
Ans