I saw this question earlier. I was wondering how did the answer found the antiderivative of $\frac{a}{a^2+\cos^2x}$ to be $\frac{1}{\sqrt{1+a^2}}\tan^{-1}(\frac{a \tan x}{\sqrt{1+a^2}})$?
I have not done Laplce transform previously and so is this purely by Laplace transform? I could verify that this is indeed the anti-derivative but could we get around Laplace transform to find the antiderivative straightaway?