$\int \dfrac {dx}{\sqrt{4x^{2}+1}}$
I've been up to this one for quite a while already, and have tried several ways to integrate it, using substituion, with trigonometric as well as hyperbolic functions. I know(I think) I'm supposed to obtain:
$\dfrac {1}{2}\ln \left| 2\sqrt {x^2 +\dfrac {1}{4}}+2x\right|+c$
However, whatever idea I come up with to try to solve it, it seems I always obtain:
$\dfrac {1}{2}\ln \left| x + \sqrt {x^2 + 1} \right| + c$
Thanks for reading, and hopefully answering too.
Cheers
Yann
Hint: Use trigonometric substitution and put $$2x = \tan\theta^{(\dagger)} \implies 2\,dx = \sec^2\theta\,d\theta \iff dx = \frac 12 \sec^2 \theta\,d\theta$$
$(\dagger)\;\;\theta = \arctan(2x)$.
Recall, also, that $\tan^2 \theta + 1 = \sec^2\theta$.