I'm helping my daughter on her calculus homework and it has been many years for me. The problem is $$ \int \frac{1}{2+3 \sin\left(x\right)} dx $$ From WolframAlpha, the substitution should be $u = \tan\frac{x}{2}$. Once you have the substitution, the solution is quite straightforward.
My question is how on earth do you come up with that substitution? Are there any rubrics/recipes? Or is it just intuition?