I am trying to make $\theta$ disappear from the function $f(r,\theta)=r^2 + a^2 \cos^2 \theta$ by multiplying it by another real function $g(r,\theta)$ then use some identity such as $r^{2}+a^2\cos^{2}\theta+a^2\sin^{2}\theta=r^2+a^2$ so that $\theta$ disappears from the resulting function $h(r,\theta)=f(r,\theta)g(r,\theta)$.
This is why I am looking for this
I have problem that involves the following
$$ \frac{\text{some function of}\,\,r\,\,\text{and}\,\,\theta}{r^2 + a^2 \cos^2 \theta} $$
I am trying to multiply the top and the bottom by a function so that $\theta$ disappears from the bottom and only appears in the top.
Note: both $r$ and $\theta$ are real.
I hope you now what I mean.
Any help is appreciated.