We are given the differential equation
$\frac{dr}{d \theta}+r\tan \theta =\frac{1}{\cos \theta}$
And we are asked to find a solution.
I'm having difficulties isolating $r$ and $\theta$ to different parts of the equation so I can integrate.
it is tempting to multiply by $\cos \theta$ so we get $\cos \theta \frac{dr}{d\theta} +r\sin \theta=1$ and from here how do we get to something like $f(r)dr = g(\theta) d\theta$ so we can integrate?